Skip to content

Conversation

@Adarsh765-jpg
Copy link

@Adarsh765-jpg Adarsh765-jpg commented Jan 4, 2026

Summary

Adds a GitHub-style modal search palette (Ctrl-K or /) to the resource detail page, allowing users to quickly search and navigate project resources without leaving the current page.

Fixes #870

Changes

  • Added modal search interface with keyboard shortcuts (Ctrl-K, /)
  • Integrated with existing AJAX resource search endpoint
  • Keyboard navigation support (Arrow keys, Enter, Esc)
  • Scoped styles and scripts to the resource detail template
  • Added safety guards to prevent runtime errors

Features

  • Ctrl-K or / to open search modal
  • Live search as you type (300ms debounce)
  • Smart search by filename, extension, or path
  • Keyboard navigation with arrows + Enter
  • Esc or click outside to close
  • Loading and empty states

Testing

  • Modal opens with Ctrl-K
  • Search returns and displays results
  • Keyboard navigation works correctly
  • Esc key closes modal
  • No JavaScript errors in console

Screenshots

image

@Adarsh765-jpg
Copy link
Author

Waiting for the approval

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When I look at a resource details, I want to search resources

1 participant