-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8928 refactor page header buttons #8952
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
Here's my summary of the key changes in this pull request:
Refactored page header buttons across the application to improve consistency and accessibility.
- Replaced IconButton with standardized Button component in multiple components, adding proper aria labels and titles
- Added command menu button (⌘K shortcut) to RecordIndexPageHeader and RecordShowPageBaseHeader
- Moved pagination buttons to right side of PageHeader alongside other action buttons for better layout consistency
- Changed button sizes from 'medium' to 'small' across page headers for visual consistency
- Added ariaLabel prop to base Button component in twenty-ui package to support accessibility improvements
9 file(s) reviewed, 7 comment(s)
Edit PR Review Bot Settings | Greptile
packages/twenty-front/src/modules/favorites/components/PageFavoriteButton.tsx
Outdated
Show resolved
Hide resolved
...wenty-front/src/modules/ui/layout/page-header/components/PageHeaderOpenCommandMenuButton.tsx
Show resolved
Hide resolved
...wenty-front/src/modules/ui/layout/page-header/components/PageHeaderOpenCommandMenuButton.tsx
Outdated
Show resolved
Hide resolved
packages/twenty-front/src/modules/ui/layout/page/components/PageHeader.tsx
Show resolved
Hide resolved
packages/twenty-front/src/modules/ui/layout/page/components/PageHeader.tsx
Show resolved
Hide resolved
packages/twenty-front/src/modules/ui/layout/page/components/PageAddButton.tsx
Show resolved
Hide resolved
packages/twenty-front/src/modules/ui/layout/page/components/PageAddButton.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Closes #8928