Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(tags): fix link to tag util (#6189)

Seamus33409ddab4b9
diff --git a/apps/web/src/features/property/tags/tagNavigation.ts b/apps/web/src/features/property/tags/tagNavigation.ts
index 723917aa4a..9276a2550c 100644
--- a/apps/web/src/features/property/tags/tagNavigation.ts
+++ b/apps/web/src/features/property/tags/tagNavigation.ts
@@ -41,10 +41,11 @@ export function buildTaggedItemsSplitContent(
return {
type: 'component',
id: 'search',
- preserveParams: true,
- params: {
- initialFilters: buildTaggedItemsQuery(tag),
- initialClientFilters: searchPreset?.clientFilters,
+ // Entry state outranks the user's persisted Search filters during Soup
+ // initialization, so this explicit navigation always opens on the tag.
+ state: {
+ 'search.filters': buildTaggedItemsQuery(tag),
+ 'search.predicates': searchPreset?.clientFilters,
},
};
}
diff --git a/docs/AGENT_GUIDE/navigation.md b/docs/AGENT_GUIDE/navigation.md
index 47c4d6f9a6..c1408950b6 100644
--- a/docs/AGENT_GUIDE/navigation.md
+++ b/docs/AGENT_GUIDE/navigation.md
@@ -58,4 +58,4 @@ category, Esc closes.
- `/` — search everything. `j`/`k` — move in lists. `e` — mark done. `g` then `i` — inbox.
- Splits: `` ` `` split, `Shift+H`/`Shift+L` move focus, `Shift+Esc` maximize.
- In any text surface: `@` mentions (bidirectional links), `#` tags, `/` block commands,
- `:` emoji.
+ `:` emoji. Clicking a rendered tag opens a Search split filtered to that tag.