diff --git a/.changeset/39210-menu-clear-label-keeps-keywords.md b/.changeset/39210-menu-clear-label-keeps-keywords.md new file mode 100644 index 00000000000..bad08b15746 --- /dev/null +++ b/.changeset/39210-menu-clear-label-keeps-keywords.md @@ -0,0 +1,8 @@ +--- +"@object-ui/app-shell": patch +--- + +Clause-②: no +Metadata-protocol: none + +Clearing an entry's translated name in the design mode's menu now keeps that entry's translated search keywords in the language's menu translation. Before, the save deleted the entry's whole translation node, so the keywords written for that language went with the name. A node left with no keywords is still deleted (objectstack#39210). diff --git a/.changeset/39210-nav-keywords-never-empty.md b/.changeset/39210-nav-keywords-never-empty.md new file mode 100644 index 00000000000..19a817fb8b5 --- /dev/null +++ b/.changeset/39210-nav-keywords-never-empty.md @@ -0,0 +1,19 @@ +--- +'@objectstack/spec': minor +'@object-ui/types': patch +--- + +feat(spec)!: a navigation `keywords` list is never empty, on the nav item and on the translation node + +Clause-②: yes (narrowing) +Metadata-protocol: narrowed + + + +**BREAKING** for metadata that writes an empty list: `keywords: []` on a navigation item, or on a translation bundle's navigation node `apps.APP.navigation.ID`, is now refused at every door where 19.0.0-next.4 accepted it. Fix: leave the key out. An empty list never matched a search and never translated anything, and no writer in the platform produces one: the nav editor and the design-mode menu omit the key instead. + +Narrowed: each `keywords` array now takes at least 1 and at most 20 words, at the nav item and at the translation node, with a message that says to leave the key out. A translation node carrying only `keywords: []` was accepted as a node that has keywords; it is now refused like a node with neither `label` nor `keywords`. + +The same node shape is also part of `PlatformTranslationData` and of `ServedTranslationData`, the body of `GET /i18n/translations/:locale`. Both took the 19.0.0-next.4 widening (a node may carry `keywords` without `label`) and now take this narrowing too. + +`@object-ui/types` mirrors the rule on its navigation item schema, so `objectui validate` refuses what the platform's save door refuses. diff --git a/content/docs/references/ui/app.mdx b/content/docs/references/ui/app.mdx index a430f20918a..2465cb12d66 100644 --- a/content/docs/references/ui/app.mdx +++ b/content/docs/references/ui/app.mdx @@ -30,7 +30,7 @@ const result = ActionNavItemSchema.parse(data); | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -107,7 +107,7 @@ const result = ActionNavItemSchema.parse(data); | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -132,7 +132,7 @@ const result = ActionNavItemSchema.parse(data); | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -151,7 +151,7 @@ const result = ActionNavItemSchema.parse(data); | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -171,7 +171,7 @@ const result = ActionNavItemSchema.parse(data); | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -191,7 +191,7 @@ const result = ActionNavItemSchema.parse(data); | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -210,7 +210,7 @@ const result = ActionNavItemSchema.parse(data); | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -229,7 +229,7 @@ const result = ActionNavItemSchema.parse(data); | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -251,7 +251,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -279,7 +279,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -399,7 +399,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -432,7 +432,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -466,7 +466,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -499,7 +499,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -542,7 +542,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -567,7 +567,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -586,7 +586,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -606,7 +606,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -626,7 +626,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -645,7 +645,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -664,7 +664,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -686,7 +686,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -714,7 +714,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -751,7 +751,7 @@ A navigation contribution: a package injecting nav items into an app it does not | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -776,7 +776,7 @@ A navigation contribution: a package injecting nav items into an app it does not | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -795,7 +795,7 @@ A navigation contribution: a package injecting nav items into an app it does not | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -815,7 +815,7 @@ A navigation contribution: a package injecting nav items into an app it does not | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -835,7 +835,7 @@ A navigation contribution: a package injecting nav items into an app it does not | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -854,7 +854,7 @@ A navigation contribution: a package injecting nav items into an app it does not | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -873,7 +873,7 @@ A navigation contribution: a package injecting nav items into an app it does not | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -895,7 +895,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -923,7 +923,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -957,7 +957,7 @@ This schema accepts one of the following structures: | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -996,7 +996,7 @@ This schema accepts one of the following structures: | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -1029,7 +1029,7 @@ This schema accepts one of the following structures: | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -1063,7 +1063,7 @@ This schema accepts one of the following structures: | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -1097,7 +1097,7 @@ This schema accepts one of the following structures: | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -1130,7 +1130,7 @@ This schema accepts one of the following structures: | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -1170,7 +1170,7 @@ This schema accepts one of the following structures: | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -1206,7 +1206,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -1254,7 +1254,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -1290,7 +1290,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -1327,7 +1327,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -1360,7 +1360,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | @@ -1392,7 +1392,7 @@ Documentation entry on the app menu (ADR-0046). Targets a `book` and/or a `doc` | :--- | :--- | :--- | :--- | | **id** | `string` | ✅ | Unique identifier for this navigation item (lowercase snake_case) | | **label** | `string \| Record` | optional | Display proper label. Optional. Resolved in one order: (1) the bundle entry `apps..navigation..label` for the active locale chain, keyed by this entry's `id` — `translateApp` applies it at the `/meta` boundary, over the app's `navigation` tree (not `areas`); (2) else a present label as authored — its inline locale map's value for that locale, else its text; (3) else (absent) the CURRENT label of what the entry opens, at render time — the view's label when it names a labelled view, else the object's / dashboard's label — localized by the target's own translation. A present label is never replaced by its target's label and never translated by matching its text. Every real destination must have identity and text: identity is the target, text is inherited at render. No stored inherited flag; nothing is materialised for the absent case. | -| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | +| **keywords** | `string[]` | optional | Search aliases: other words a person may type to find this entry, such as its old name after a rename. Source-language strings as authored; another locale's aliases come from the translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: never shown as the entry's text, never a route, never a gate. Each trimmed, non-empty, at most 60 characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), and on a group, whose keywords find the entries under it. | | **icon** | `string` | optional | Icon name | | **order** | `number` | optional | Sort order within the same level (lower = first) | | **badge** | `string \| number` | optional | Badge text or count displayed on the item | diff --git a/packages/spec/src/migrations/entries/semantic/19.nav-keywords-empty-list-refused.ts b/packages/spec/src/migrations/entries/semantic/19.nav-keywords-empty-list-refused.ts new file mode 100644 index 00000000000..cbee7202daa --- /dev/null +++ b/packages/spec/src/migrations/entries/semantic/19.nav-keywords-empty-list-refused.ts @@ -0,0 +1,29 @@ +// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license. + +import type { SemanticMigration } from '../../types.js'; + +// [#39210] A narrowing of one value, not of a key: an empty `keywords` list on +// a navigation item, or on a translation bundle's navigation node, is refused +// where 19.0.0-next.4 accepted it. The key stays; only `[]` goes. No stored +// row has a meaning to carry over (an empty list matched no search and +// translated nothing), so no D2 conversion: the fix is to drop the key. +export const entry: SemanticMigration = { + id: 'nav-keywords-empty-list-refused', + surface: + 'An empty keywords list (keywords: []) on a navigation item in an app\'s navigation, or on a translation ' + + 'bundle\'s navigation node apps.APP.navigation.ID (the file bundle, a registered translation item, the ' + + 'platform translations and the served GET /i18n/translations/:locale body). Each keywords array now takes ' + + 'at least 1 and at most 20 words', + replacement: + 'Leave the keywords key out. A translation node whose only key was keywords: [] translates nothing: delete ' + + 'the node, or give it its translated label.', + reason: + 'An empty list matched no search and translated nothing, yet a translation node carrying only keywords: [] ' + + 'passed the rule that a node owes a label or keywords. Refusing it keeps that rule true and keeps the nav ' + + 'item and the translation node to one accept set. No writer in the platform produces an empty list.', + acceptanceCriteria: + 'AppSchema refuses a navigation item with keywords: [] and TranslationDataSchema refuses ' + + 'apps.APP.navigation.ID with keywords: [], each with a message that says to leave the key out; the same ' + + 'documents without the key, or with one keyword, parse.', + relevantWhen: { kind: 'stack-declares', keys: ['apps', 'translations'] }, +}; diff --git a/packages/spec/src/migrations/semantic-relevance-coverage-38929.test.ts b/packages/spec/src/migrations/semantic-relevance-coverage-38929.test.ts index ed857d95f0b..4481d5749f6 100644 --- a/packages/spec/src/migrations/semantic-relevance-coverage-38929.test.ts +++ b/packages/spec/src/migrations/semantic-relevance-coverage-38929.test.ts @@ -370,7 +370,7 @@ const SITES: ReadonlyArray<{ site: string; stack: Record; entri entries: ['action-locations-page-parts-retired', 'object-grid-single-click-edit-retired', 'ui-action-type-ask-ai-retired', 'view-bulk-actions-declared-on-the-action', 'cel-list-equality-refused'], }, { site: 'dashboards[] (a header action)', stack: { dashboards: [{ name: 'd' }] }, entries: ['ui-action-type-ask-ai-retired', 'publish-refuses-views-and-dashboards-that-save-and-do-not-work'] }, - { site: 'apps[]', stack: { apps: [{ name: 'a' }] }, entries: ['publish-refuses-views-and-dashboards-that-save-and-do-not-work'] }, + { site: 'apps[]', stack: { apps: [{ name: 'a' }] }, entries: ['nav-keywords-empty-list-refused', 'publish-refuses-views-and-dashboards-that-save-and-do-not-work'] }, { site: 'hooks[]', stack: { hooks: [{ name: 'h' }] }, @@ -418,7 +418,7 @@ const SITES: ReadonlyArray<{ site: string; stack: Record; entri { site: 'translations[]', stack: { translations: [{ en: {} }] }, - entries: ['translation-form-tails-move-to-forms', 'translation-related-list-key-under-arrangement-refused', 'validation-rule-message-template-holes'], + entries: ['nav-keywords-empty-list-refused', 'translation-form-tails-move-to-forms', 'translation-related-list-key-under-arrangement-refused', 'validation-rule-message-template-holes'], }, { site: 'mappings[]', stack: { mappings: [{ name: 'm' }] }, entries: ['incremental-source-delete-policy-stated'] }, { site: 'books[]', stack: { books: [{ name: 'b' }] }, entries: ['book-audience-two-gates-and-catch-all-claim-refused'] }, diff --git a/packages/spec/src/migrations/semantic-relevance.test.ts b/packages/spec/src/migrations/semantic-relevance.test.ts index 1e9c764c25d..2c659a0f946 100644 --- a/packages/spec/src/migrations/semantic-relevance.test.ts +++ b/packages/spec/src/migrations/semantic-relevance.test.ts @@ -103,6 +103,7 @@ const EXPECTED_RELEVANCE: Readonly> = { '19:lookup-filter-record-path-structured-refused': ['objects', 'objectExtensions'], '19:lowered-hook-and-action-bodies-capabilities-judged': ['hooks', 'actions', 'objects'], '19:master-detail-related-list-tab-by-default': ['objects', 'objectExtensions'], + '19:nav-keywords-empty-list-refused': ['apps', 'translations'], '19:navigation-mode-record-open-deprecated': ['views', 'viewItems', 'objects'], '19:object-extension-place-and-cross-package-lists': ['objects', 'objectExtensions'], '19:object-grid-single-click-edit-retired': ['pages'], diff --git a/packages/spec/src/system/translation-contributed-nav-bundle.test.ts b/packages/spec/src/system/translation-contributed-nav-bundle.test.ts index 77d4c1cc6bd..70f90c68028 100644 --- a/packages/spec/src/system/translation-contributed-nav-bundle.test.ts +++ b/packages/spec/src/system/translation-contributed-nav-bundle.test.ts @@ -21,7 +21,9 @@ * (this file is compiled by the package's test type-check); * - `defineStack` (strict) accepts the module stack carrying it; * - the bare schema parse — the `os validate` door's — accepts it; - * - CONTROL: a navigation entry still owes its own `label`, at both layers; + * - CONTROL: a navigation entry with neither `label` nor `keywords` is refused + * at the schema (the type takes it, since #39146 made `label` optional so a + * node may carry only this locale's `keywords`); * - CONTROL: an app entry that does author `label` keeps it. * * The `os validate` exit-code pin lives in diff --git a/packages/spec/src/system/translation.zod.ts b/packages/spec/src/system/translation.zod.ts index 7bb1d62e519..baa4601a933 100644 --- a/packages/spec/src/system/translation.zod.ts +++ b/packages/spec/src/system/translation.zod.ts @@ -1391,7 +1391,7 @@ const appTranslationDataShape = () => ({ * half of the nav item's `keywords`, keyed by the same entry id as * `label`. The accept set is the nav item's (ui/app.zod.ts * `navKeywordsSchema`: each trimmed, non-empty, at most 60 characters, - * at most 20), restated here because this module does not import the + * at least 1 and at most 20), restated here because this module does not import the * app schema; `app-nav-keywords.test.ts` holds both doors to the same * verdicts. * @@ -1413,11 +1413,14 @@ const appTranslationDataShape = () => ({ + 'leading or trailing whitespace, no line break. The schema refuses rather than trims it, so what is ' + 'stored is what was written.', }), - ).max(20, { error: () => 'an entry takes at most 20 keywords — keep the words people actually use for it.' }) + ).min(1, { + error: () => 'a navigation entry\'s `keywords` list is never empty — give at least one word a person would ' + + 'type to find the entry in this locale, or leave the key out.', + }).max(20, { error: () => 'an entry takes at most 20 keywords — keep the words people actually use for it.' }) .optional().describe( 'Search aliases for this navigation entry in this locale: the words a person ' + 'may type to find it, such as its old name after a rename. Each trimmed, non-empty, at most 60 ' - + 'characters; at most 20. They add to the entry\'s own keywords, never replace them; the command ' + + 'characters; at least 1, at most 20. They add to the entry\'s own keywords, never replace them; the command ' + 'palette matches both.', ), }).refine(requiredOneOf(['label', 'keywords']), { diff --git a/packages/spec/src/ui/app-nav-keywords.test.ts b/packages/spec/src/ui/app-nav-keywords.test.ts index 4305778e556..6213a301e8b 100644 --- a/packages/spec/src/ui/app-nav-keywords.test.ts +++ b/packages/spec/src/ui/app-nav-keywords.test.ts @@ -56,9 +56,9 @@ const BRANCHES: Array<[string, Branch, Record]> = [ const BASE = { id: 'nav_position_members', label: 'Position Members' }; const KEYWORDS = ['Position Holders', 'Assignments']; -/** Refused at both doors: blank, untrimmed, a line break, over 60 characters, over 20 entries, not strings. */ +/** Refused at both doors: an empty list (#39210), blank, untrimmed, a line break, over 60 characters, over 20 entries, not strings. */ const REFUSED_KEYWORDS: unknown[] = [ - [''], ['ok', ''], [' '], [' Holders'], ['Holders '], ['Position\nHolders'], ['x'.repeat(61)], + [], [''], ['ok', ''], [' '], [' Holders'], ['Holders '], ['Position\nHolders'], ['x'.repeat(61)], Array.from({ length: 21 }, (_, i) => `word ${i}`), [42], 'Position Holders', ]; /** Accepted at both doors: an inner space, CJK, and the two bounds exactly. */ diff --git a/packages/spec/src/ui/app.zod.ts b/packages/spec/src/ui/app.zod.ts index 54842b3cbe3..cbf3044447b 100644 --- a/packages/spec/src/ui/app.zod.ts +++ b/packages/spec/src/ui/app.zod.ts @@ -193,7 +193,7 @@ const NAV_GROUP_ALIASES_GUIDANCE = /** * The accept set of one search alias, shared by a nav item's `keywords` and a * translation bundle node's `keywords` (`system/translation.zod.ts` restates - * the same three numbers and rule; `app-nav-keywords.test.ts` holds the two + * the same numbers and rule; `app-nav-keywords.test.ts` holds the two * doors to the same verdicts). The rule is the dataset synonym's (ADR-0149 D1), * the repo's precedent for match-input words: one word or short phrase as a * person types it, refused rather than trimmed, so what is stored is what was @@ -205,6 +205,9 @@ const NAV_KEYWORD_NOT_TRIMMED = 'a navigation keyword is one word or phrase as a person types it in search: not empty, no leading or ' + 'trailing whitespace, no line break. The schema refuses rather than trims it, so what is stored is ' + 'what was written.'; +const NAV_KEYWORDS_EMPTY = + 'a navigation entry\'s `keywords` list is never empty — give at least one word a person would type to ' + + 'find the entry, or leave the key out.'; const navKeywordsSchema = () => z.array( z.string() .max(NAV_KEYWORD_MAX_LENGTH, { @@ -212,7 +215,7 @@ const navKeywordsSchema = () => z.array( + 'phrase a person would type to find the entry.', }) .regex(/^\S(?:.*\S)?$/u, { error: () => NAV_KEYWORD_NOT_TRIMMED }), -).max(NAV_KEYWORDS_MAX, { +).min(1, { error: () => NAV_KEYWORDS_EMPTY }).max(NAV_KEYWORDS_MAX, { error: () => `an entry takes at most ${NAV_KEYWORDS_MAX} keywords — keep the words people actually use for it.`, }); @@ -434,7 +437,7 @@ const BaseNavItemSchema = z.object({ + 'name after a rename. Source-language strings as authored; another locale\'s aliases come from the ' + "translation bundle entry `apps..navigation..keywords`, keyed by this entry's `id`. Search only: " + 'never shown as the entry\'s text, never a route, never a gate. Each trimmed, non-empty, at most 60 ' - + 'characters; at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, ' + + 'characters; at least 1, at most 20. The command palette reads it on the eight leaf kinds, object, dashboard, ' + 'page, report, component, url, doc and action entries (an action hit is drawn apart and runs the action), ' + 'and on a group, whose keywords find the entries under it.', ), diff --git a/ui/packages/app-shell/src/layout/__tests__/designModeMenuSave-39210.test.ts b/ui/packages/app-shell/src/layout/__tests__/designModeMenuSave-39210.test.ts new file mode 100644 index 00000000000..f4d28fb305f --- /dev/null +++ b/ui/packages/app-shell/src/layout/__tests__/designModeMenuSave-39210.test.ts @@ -0,0 +1,82 @@ +// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license. + +/** + * Clearing an entry's translated label in the design mode's menu keeps that + * entry's translated keywords (objectstack#39210, review N4 of #39207). + * + * A navigation translation node may carry only this locale's `keywords` + * (#39146). The menu save used to delete the whole node when a label was + * cleared, so the locale's search words went with it. Now a cleared label + * drops `label` only; a node left with no keywords translates nothing and is + * still deleted. + */ + +import { describe, expect, it, vi } from 'vitest'; + +vi.mock('../../assistant/assistantBus', async (importOriginal) => ({ + ...(await importOriginal>()), + emitMetadataRefresh: vi.fn(), +})); + +import { menuTranslationName, writeAppMenu, type AppMenuSaveDoors } from '../designModeMenuSave'; + +const TEXTS = { pendingDraft: 'pending draft' }; +const PKG = 'com.acme.crm'; +const TRANSLATION = menuTranslationName('crm', 'zh-CN'); + +/** Write `labels` over the stored translation item `stored`; answers the body saved. */ +async function saveOver(stored: Record, labels: Record) { + const saved: unknown[] = []; + const doors: Pick = { + client: { + layered: async () => ({ code: stored, effective: stored, overlayVersion: 'v1' }), + save: async (_type, _name, body) => { + saved.push(body); + return {}; + }, + publish: async () => ({}), + reset: async () => ({}), + }, + }; + await writeAppMenu( + { + appName: 'crm', + target: PKG, + body: {}, + publishPin: { ifMatch: 'v1' }, + writesMenu: false, + translation: { name: TRANSLATION, locale: 'zh-CN', labels }, + }, + TEXTS, + doors, + ); + return saved[0] as { apps: { crm: { navigation: Record } } }; +} + +const storedWith = (navigation: Record) => ({ + name: TRANSLATION, + locale: 'zh-CN', + apps: { crm: { navigation } }, +}); + +describe('a cleared translated label keeps the entry\'s keywords (objectstack#39210)', () => { + it('a node with keywords loses only its label', async () => { + const body = await saveOver(storedWith({ leads: { label: '线索', keywords: ['潜客', '商机'] } }), { leads: null }); + expect(body.apps.crm.navigation).toEqual({ leads: { keywords: ['潜客', '商机'] } }); + }); + + it('CONTROL: a node with a label only is deleted', async () => { + const body = await saveOver(storedWith({ leads: { label: '线索' }, cases: { label: '工单' } }), { leads: null }); + expect(body.apps.crm.navigation).toEqual({ cases: { label: '工单' } }); + }); + + it('CONTROL: a node whose keywords are an empty list is deleted, since it translates nothing', async () => { + const body = await saveOver(storedWith({ leads: { label: '线索', keywords: [] } }), { leads: null }); + expect(body.apps.crm.navigation).toEqual({}); + }); + + it('CONTROL: a set label keeps the node\'s keywords', async () => { + const body = await saveOver(storedWith({ leads: { label: '线索', keywords: ['潜客'] } }), { leads: '潜在客户' }); + expect(body.apps.crm.navigation).toEqual({ leads: { label: '潜在客户', keywords: ['潜客'] } }); + }); +}); diff --git a/ui/packages/app-shell/src/layout/designModeMenuSave.ts b/ui/packages/app-shell/src/layout/designModeMenuSave.ts index d4c4b1c167d..6f9bc42dbe3 100644 --- a/ui/packages/app-shell/src/layout/designModeMenuSave.ts +++ b/ui/packages/app-shell/src/layout/designModeMenuSave.ts @@ -407,8 +407,9 @@ export function menuTranslationName(appName: string, locale: string): string { * Write the menu labels `write` as the translation of the app `appName` in * `target` (objectstack#36504), and publish it: the item as stored, its other * keys kept, with `apps.APP.navigation.ID.label` set (or dropped, for - * `null`) for each label. Translations of app navigation are read by entry - * id at those keys (`translateApp`), the pair's own first on a customized + * `null`, keeping the node's `keywords` when it has any) for each label. + * Translations of app navigation are read by entry id at those keys + * (`translateApp`), the pair's own first on a customized * installed app (ADR-0146 D2), so the reader's language reads the new name * and every other language keeps its own. * @@ -429,8 +430,16 @@ async function writeMenuTranslation( const app = isRecord(apps[appName]) ? apps[appName] : {}; const navigation: Record = { ...(isRecord(app.navigation) ? app.navigation : {}) }; for (const [id, label] of Object.entries(write.labels)) { - if (label === null) delete navigation[id]; - else navigation[id] = { ...(isRecord(navigation[id]) ? navigation[id] : {}), label }; + const node = isRecord(navigation[id]) ? navigation[id] : {}; + if (label !== null) navigation[id] = { ...node, label }; + else { + // objectstack#39210 — a cleared label drops the label, not the node: a + // node may carry only this locale's `keywords` (#39146), and those stay. + // A node left with no keywords translates nothing and is deleted. + const { label: _cleared, ...rest } = node; + if (Array.isArray(rest.keywords) && rest.keywords.length > 0) navigation[id] = rest; + else delete navigation[id]; + } } const body = { ...stored, name: write.name, locale: write.locale, apps: { ...apps, [appName]: { ...app, navigation } } }; const pin = publishPinAt(layers); diff --git a/ui/packages/types/src/zod/app.zod.ts b/ui/packages/types/src/zod/app.zod.ts index 0b85f8d0ad6..311a10fec25 100644 --- a/ui/packages/types/src/zod/app.zod.ts +++ b/ui/packages/types/src/zod/app.zod.ts @@ -287,9 +287,9 @@ const NavigationItemObject = z.looseObject({ // clean here and been thrown away. Spec: the nav base's `keywords` // (objectstack#39052), read by the command palette (objectstack#39055); // nothing in objectui reads it yet. The spec's accept set, restated (each - // trimmed, non-empty, at most 60 characters; at most 20), so `objectui + // trimmed, non-empty, at most 60 characters; at least 1 and at most 20), so `objectui // validate` refuses what the platform's save door refuses. - keywords: z.array(z.string().max(60).regex(/^\S(?:.*\S)?$/u)).max(20).optional().describe('Search aliases: other words a person may type to find this entry, such as its old name after a rename (spec field name)'), + keywords: z.array(z.string().max(60).regex(/^\S(?:.*\S)?$/u)).min(1).max(20).optional().describe('Search aliases: other words a person may type to find this entry, such as its old name after a rename (spec field name)'), // Type-specific target fields objectName: z.string().optional().describe('Target object name (type: object)'),