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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLI-919] Context based command bar #2904

Open
1 task done
markphelps opened this issue Mar 25, 2024 · 0 comments
Open
1 task done

[FLI-919] Context based command bar #2904

markphelps opened this issue Mar 25, 2024 · 0 comments
Labels
dx Developer experience enhancement Created by Linear-GitHub Sync help wanted Halp md Not too big, not too small ui

Comments

@markphelps
Copy link
Collaborator

markphelps commented Mar 25, 2024

Problem

Now that we have a command bar in v1.39: https://twitter.com/flipt_io/status/1772254008809251019, it would be neat if it took into account the current section in the application that you are on.

More below 馃憞馃徎

Ideal Solution

If im on the /flags page, and I open the command bar it should allow me to quickly jump to New Flag, same for segments

If I'm on a specific flag page like /flags/example, and I hit the command bar, it should allow me to quickly create a new variant or rule (variant flag type), or rollout (boolean flag type)

Similiar for segment -> constraint

Additional actions like Copy To Namespace should be able to be performed quickly by opening the command bar on a single flag or segment page in the UI

Theres likely more we can do, but these seem like good first steps

Search

  • I searched for other open and closed issues before opening this

Additional Context

This is the library we use for command bar: https://github.com/pacocoursey/cmdk

Here is where its implemented in Flipt UI: https://github.com/flipt-io/flipt/blob/main/ui/src/components/command/CommandDialog.tsx

FLI-919

@markphelps markphelps added the enhancement Created by Linear-GitHub Sync label Mar 25, 2024
@markphelps markphelps changed the title Context based command bar [FLI-919] Context based command bar Mar 25, 2024
@markphelps markphelps added dx Developer experience ui md Not too big, not too small help wanted Halp labels Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dx Developer experience enhancement Created by Linear-GitHub Sync help wanted Halp md Not too big, not too small ui
Projects
Status: No status
Development

No branches or pull requests

1 participant