Skip to content

Command palette lacks keyboard shortcut for resolving outages #269

Description

@usmanimamu17-create

The CommandPalette component (src/components/CommandPalette.tsx) provides quick actions for navigation, but does not expose a keyboard shortcut for resolving the current outage. Operators managing multiple outages must click the "Resolve Outage" button in the UI. Adding a command palette action would speed up the resolution workflow.

Proposal

  • Add a new command entry "Resolve current outage" in the command palette
  • The action is only enabled when viewing an outage detail page (/outages/[id])
  • The action opens the resolve modal (setIsResolveModalOpen(true))
  • Display the keyboard shortcut hint (e.g., "Ctrl+K → R")

Acceptance criteria

  • Typing "resolve" in command palette shows "Resolve current outage" action
  • Selecting the action opens the resolve modal on outage detail page
  • The action is disabled when not on an outage detail page

Getting started

Files: src/components/CommandPalette.tsx, src/app/outages/[id]/page.tsx

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third CampaignenhancementNew feature or requestuxtracking label

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions