mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 23:36:20 +00:00
feat(core): a page's direct hub is an implicit tag
Members of a hub are indexed under the hub's title in page_tags, tag_catalog and the graph tag nodes, merged with a same-name type or tag. Hub rename, delete and membership changes re-index the derived index (no ops). Schema v7 rebuilds it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3585ce67af
commit
6f483ce763
10 files changed
+273
-77
No files matched your search
@@ -199,7 +199,7 @@ class NetworkCanvasState extends State<NetworkCanvas>
|
||||
? -1
|
||||
: (() {
|
||||
final i = g.tags.indexOf(n.primaryTag!);
|
||||
return i < 10 ? i : -1;
|
||||
return i >= 0 && i < 10 ? i : -1;
|
||||
})(),
|
||||
ColorBy.hub =>
|
||||
n.homeHub == null
|
||||
|
||||
Reference in new issue
Block a user