Skip to content
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

feat(command-palette): Add command palette for quick switching between requests and workspaces #6968

Merged
merged 6 commits into from
Jan 5, 2024

Conversation

gatzjames
Copy link
Contributor

@gatzjames gatzjames commented Jan 4, 2024

Adds a command palette that allows for quick switching between requests, documents and collections.

Highlights:

  • Displays a list of the requests available in the current workspace.
  • Displays a list of all workspaces (collections/documents) in the current project.
  • Supports fuzzy search of requests (name, url, method) and workspaces (name, type)
  • Fully keyboard accessible (arrow navigation, esc, search etc.)
  • Opens using the Switch Requests keybinding (default CMD+P on macOS)
  • Tested with all request types (ws, grpc, http) and workspace types
  • Contains an e2e smoke test
image

Closes #6301
Closes INS-3391

changelog(Improvements): Re-introducing the new and improved Command Palette. This is a feature that allows you to quickly switch between requests, collections and documents.

@gatzjames gatzjames requested a review from a team January 4, 2024 15:57
@gatzjames gatzjames self-assigned this Jan 4, 2024
@gatzjames gatzjames merged commit 4085d34 into Kong:develop Jan 5, 2024
8 checks passed
@gatzjames gatzjames deleted the feat/command-palette branch January 5, 2024 11:16
@hugh-unicenta
Copy link

Doesn't seem to work on MacOS

@niranjan-differenzsystem
Copy link

niranjan-differenzsystem commented Feb 5, 2024

Also, The command pallet is not working with my screen reading software NVDA. Arrowing does not read requests list so for screen reader accessibility point of view, it is not useful even though it is useful for sighted guys.
Tested with other screen reader software Narrator as well still the behavior is the same.

jackkav pushed a commit to jackkav/insomnia that referenced this pull request Mar 13, 2024
…n requests and workspaces (Kong#6968)

* Add command palette for quick switching between requests and workspaces

* truncate text

* small style update

* add smoke test for command-palette

* fix shortcut for different platforms

* wait for request to switch
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.

Request switcher keyboard shortcuts not working
4 participants