Skip to content

Conversation

@Adel0n
Copy link

@Adel0n Adel0n commented Aug 3, 2025

This PR addressing db-test/issues/299, focusing on bringing two new filters for cleaner Graph view, as well as fixing couple of bugs.
The only two things I wasn't able to fix is that "Orphan Notes" and "N-hops from selected nodes" are not working in DB graph, my current Clojure knowledge are not enough for adress this, unfortunately.

Logseq.2025-08-02.182852.mp4

Features

  • added "Tags" filter (works both for MD and DB)
  • added "Properties" filter (works both for MD and DB)

Improvements

  • "Built-in pages" filter now also hides built-in classes and properties for DB (the same way as it's working in MD)
  • "Reset graph" also resets toggles (according to default state described in config.edn)

Fixes

  • "Reset forces" didn't save new force values to config.edn

@lhewett946
Copy link
Contributor

I pulled this change into my repository as it's something I wanted to write for myself, but it seems that there is a lint issue in your code:

src/main/frontend/common/graph_view.cljs:145:34: error: Unresolved symbol: tags
linting took 18410ms, errors: 1, warnings: 0

I think it's to do with the logic you have for excluding tags in a file graph :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants