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

Cmd K Bar for Rowy #598

Open
harinij opened this issue Dec 13, 2021 · 4 comments
Open

Cmd K Bar for Rowy #598

harinij opened this issue Dec 13, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request job-task

Comments

@harinij
Copy link
Member

harinij commented Dec 13, 2021

Is your feature request related to a problem? Please describe.
It would great to have a cmd+K bar for Rowy to search and do most commonly used actions like create table, extensions. Filter, sort etc.

Exploration of different options for implementing this and discussion welcome.

@gibsonliketheguitar
Copy link
Contributor

I began a basic implementation of HotKeys. I notice that there is already a custom hook and Component for Hotkeys.

@harinij
Copy link
Member Author

harinij commented Jul 14, 2022

This issue is still available for Good First issue. A library like this can be used for implementation https://github.com/timc1/kbar

@Hardiegogo
Copy link

This is interesting, I would like to take this up.
Can you assign this to me? @harinij

@Hardiegogo
Copy link

Hardiegogo commented Oct 20, 2023

In this demo, I have implemented major navigation shortcuts throughout the app using kbar:
Demo Link

Apart from this, I am considering the following approach to implement specific actions on the pages using kbar:

  • Creating a global atom called "hotkeys." This will be an object containing boolean state variables based on various actions.
  • We can then use these properties in combination with useEffect to perform actions immediately upon opening specific pages when the user interacts with the kbar.
  • These actions may include opening a pre-toggled view or perhaps opening the "createTable" modal directly through kbar.

I would appreciate your opinions and any feedback on this. @harinij @Chadha93

EDIT: I found a better way to implement this and currently working on it.

This was referenced Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request job-task
Projects
None yet
Development

No branches or pull requests

3 participants