Workspace search dialog: scope dropdown (#570) - #468
Merged
Conversation
The Workspace chip becomes a real scope dropdown per the approved
design: "Everywhere" (globe icon + hint) plus every workspace the
user can access, with deterministic letter avatars and a checkmark on
the selection (keyed by path, so same-titled workspaces stay
distinct). Livesearch, Ask AI and the Enter results page all follow
the selected scope, switching in place without leaving the dialog.
- Scope model: SearchScope grows from binary workspace|global to
everywhere | current workspace | picked workspace {path, title}
- Workspace list: the navigation tree's workspace switcher data
(shared redux subrequest, security-trimmed by the backend);
useWorkspaceSwitcher gains an enabled option so the dialog only
fetches once opened
- Result rows show a location label: containing workspace title, or
"Intranet Portal" outside the workspaces
- Empty scoped search names the scope and offers a one-click
"Search everywhere" escape
- i18n: German translations for the new messages
- Cypress: second workspace in the spec - pick-other-workspace
scoping (livesearch + Enter), location labels, widen link
The "Intranet Portal" (portal-without-workspaces) scope needs backend
exclusion support in kitconcept.solr and is descoped to a follow-up
per team decision.
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Implements the search-scope dropdown for the workspace search overlay, per the approved design on GitLab ticket #570.
What's in
useWorkspaceSwitchergains anenabledoption so the dialog only fetches once openedOut of scope
The "Intranet Portal" (portal-without-workspaces) scope needs backend exclusion support in kitconcept.solr and is descoped to a follow-up per team decision (see ticket discussion).
Verification