Files
OpsMastery.v5-Client/.github/instructions/ui.md
2026-07-12 20:27:42 -04:00

742 B

UI Instructions

Scope

  • Applies to page/component work under src/app, src/components, and src/features.

Rules

  • Preserve existing design language and component primitives from src/components/ui.
  • Keep layouts responsive with explicit overflow control for dense views (e.g., kanban horizontal overflow).
  • Prefer composition over one-off custom widgets; reuse dialog, card, table, and form primitives.
  • Keep interaction states clear (loading, empty, error) for data-driven pages.
  • Avoid visual regressions in header/sidebar containment when introducing horizontal scroll regions.

Accessibility

  • Maintain keyboard access for dialogs, menus, and drag handles.
  • Keep meaningful sr-only labels for icon-only controls.