-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency filegood first issueGood for newcomersGood for newcomersno-issue-activityNo issue activityNo issue activityparentParent issueParent issuerefactorRefactoring tasksRefactoring taskssecuritySecurity fixSecurity fixui/uxissue related and being worked with the figma file of the Admin UIissue related and being worked with the figma file of the Admin UI
Description
Description:
Create a reusable StandardHeaderDropdown component that wraps the existing SortingButton to provide consistent dropdown button styling across all screen headers.
Context:
This is part of the header standardization effort (parent issue #7290). Currently, dropdown buttons have inconsistent styling, spacing, and behavior across different screens. The existing SortingButton component already handles dropdown functionality, but needs a standardized wrapper.
Requirements:
- Create
StandardHeaderDropdowncomponent insrc/components/StandardHeader/directory - Wrap the existing
SortingButtoncomponent (do not rewrite it) - Implement consistent styling:
- Standardized hover effects
- Consistent border and background colors
- Uniform spacing and icon alignment
- Proper focus states for accessibility
- Use design tokens for theming support
- Ensure dropdown menu positioning is consistent
- Add TypeScript types and prop validation
- Include Storybook stories
- Write unit tests
Acceptance Criteria:
- Component successfully wraps
SortingButtonwithout breaking existing functionality - Consistent hover, focus, and active states
- Dropdown menu appears in consistent position across all screens
- Responsive design works on mobile and desktop
- Accessible (keyboard navigation, ARIA attributes)
- TypeScript types are properly defined
- Unit tests achieve >80% coverage
- Storybook stories demonstrate various dropdown configurations
Dependencies: None (can be worked in parallel)
Related Issues: Parent issue #7290
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency filegood first issueGood for newcomersGood for newcomersno-issue-activityNo issue activityNo issue activityparentParent issueParent issuerefactorRefactoring tasksRefactoring taskssecuritySecurity fixSecurity fixui/uxissue related and being worked with the figma file of the Admin UIissue related and being worked with the figma file of the Admin UI
Type
Projects
Status
Backlog
Status
Backlog