[FLI-919] Context based command bar #2904
Labels
dx
Developer experience
enhancement
Created by Linear-GitHub Sync
help wanted
Halp
md
Not too big, not too small
ui
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 toNew Flag
, same for segmentsIf 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 UITheres likely more we can do, but these seem like good first steps
Search
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
The text was updated successfully, but these errors were encountered: