oxidecomputer / oxidecomputer/console

Search quick actions by nav group label as well as item label

Open
#1,723 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
228
Forks
22
Avg merge
19h 42m
Merged PRs (30d)
32

Description

Currently we only filter by the item label. This can be unfortunate if you're in system pages and have a "Back to silo" group with a "Projects" entry. I want that to come up if I type "silo".

https://github.com/oxidecomputer/console/blob/e18f32620b732a451a6f676c8ab85c351e3ef564/libs/ui/lib/action-menu/ActionMenu.tsx#L41-L45

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in libs/ui/lib/action-menu/ActionMenu.tsx at lines 41-45, where quick actions are filtered by item label. Trace how each action exposes its navigation group label, then make the search match either label so typing “silo” finds the “Projects” entry in the “Back to silo” group. Done means group-label searches return the expected quick actions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.