Skip to content

UI: Redesign Issue Status and Priority Dropdowns #744

@timothyfroehlich

Description

@timothyfroehlich

Following the _issue-status-redesign plan, we need to upgrade the status, severity, priority, and consistency dropdowns to use rich UI components instead of standard HTML select elements.

Requirements:

  • Visual Design: Match _issue-status-redesign/03_dropdown_status.png.
  • Text Selectors: Use custom trigger designs that show icons and colors.
  • Categorization: Use SelectGroup and SelectSeparator to divide statuses into 'New', 'In Progress', and 'Closed' groups as defined in src/lib/issues/status.ts.
  • Icons & Colors: Every entry should include its respective icon and maintain the established color system (e.g., Cyan for New, Purple for In Progress, etc.).
  • Descriptions/Tooltips:
    • Include tooltips for each status entry that show their detailed description from STATUS_CONFIG.
    • Note: Do NOT include subtitles (descriptions) directly in the dropdown items for severity (as they were removed/redundant).
  • Functionality:
    • Maintain progressive enhancement support where possible (or ensure the custom components work reliably with Server Actions).
    • Auto-submit form on value change (matching current behavior).

Proposed Plan:

  1. Create shared Select components: Create StatusSelect, SeveritySelect, PrioritySelect, and ConsistencySelect in src/components/issues/fields/.
  2. Integrate tooltips: Wrap SelectItem or the content within it with Tooltip components from shadcn/ui.
  3. Update update forms: Replace standard <select> in:
    • src/app/(app)/m/[initials]/i/[issueNumber]/update-issue-status-form.tsx
    • src/app/(app)/m/[initials]/i/[issueNumber]/update-issue-severity-form.tsx
    • src/app/(app)/m/[initials]/i/[issueNumber]/update-issue-priority-form.tsx
    • src/app/(app)/m/[initials]/i/[issueNumber]/update-issue-consistency-form.tsx
  4. Update Unified Report Form: Apply the same rich selectors to src/app/report/unified-report-form.tsx.

Reference Documentation:

  • _issue-status-redesign/README.md
  • src/lib/issues/status.ts (Config and mapping source of truth)

Metadata

Metadata

Labels

enhancementNew feature or requesthigh-priorityuiTasks related to the user interface

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions