-
Notifications
You must be signed in to change notification settings - Fork 34
Add navigational search component #2398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Do we want to move the divider above the content dropdown selector |
- Move ALPHA badge, feedback link, and keyboard shortcuts to footer - Remove SearchDropdownHeader component usage - Add inline KeyboardKey, KeyboardIcon, KeyboardShortcutItem components - Consolidate footer styling in NavigationSearch component
- Update search result titles to bold font-weight - Change mark highlights background to backgroundLightPrimary - Update empty state message and styling to match placeholder - Improve scroll behavior (scrollIntoView block: end) - Increase max height to 454px and add border-radius - Enhance hover and selection states
- Replace EuiIcon with custom SVG search icon - Simplify ⌘K shortcut display (remove border/background, match placeholder style) - Update keyboard shortcuts pills styling: - Background: backgroundBaseHighlighted - Border: 1px solid borderBasePlain - Text color: textSubdued - Font-size: 11px, line-height: 16px - Different padding for icon vs text shortcuts - Adjust input padding to prevent text overlap with shortcut - Remove search-or-ask-ai from header
- Remove wrapper div around search-or-ask-ai component - Move padding-top to nav-tree container (pt-6) - Add EuiHorizontalRule-style separator below search component
- Change padding vertical from euiTheme.size.s (8px) to calc(euiTheme.size.s + 2px) (10px) - Keep horizontal padding at euiTheme.size.m (12px)
25e64aa to
1ae854c
Compare
- Maintain keyboard-selected item highlighted even when mouse hovers over other items - Keep 'Jump to' indicator visible for keyboard-selected items during hover - Preserve selection styles priority: selected state overrides hover styles - Reset keyboard selection when user clicks on an item
- Remove complex keyboard selection preservation logic - Show 'Jump to' indicator for all selected items (keyboard or mouse) - Disable hover styles when navigating with keyboard - Simplify mouse interaction: hover changes selection normally - First element remains selected by default when results open
...ocumentation.Site/Assets/web-components/SearchOrAskAi/NavigationSearch/SearchResultsList.tsx
Fixed
Show fixed
Hide fixed
|
I’m not sure why the assembler-preview is failing, so I’ll defer to those more familiar with it. Craft.mov |
|
@itsalexcm The PR branch was a bit behind main. The new assembler preview depends on new declarations in a configuration file, so that's why it was failing. Merging main seems to have done the trick! |
|
Thanks a lot, @cotti! Happy to keep learning new stuff every day. |
|
@Mpdreamz couldn't reproduce it here...
|
|
Cant reproduce it either any longer LGTM Slight issue when rendering for mobile (pre-existing on main its the dropdown thats covered by the header).
command+K doesn't work for me, might be my use of https://github.com/asmvik/skhd |




cursorful-video-1766478402775.mp4