Skip to content
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

8976 modify mobile page header #9020

Merged
merged 4 commits into from
Dec 11, 2024
Merged

Conversation

bosiraphael
Copy link
Contributor

Closes #8976

@bosiraphael bosiraphael linked an issue Dec 11, 2024 that may be closed by this pull request
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This PR implements mobile-responsive page headers by consolidating actions into a command menu for better space utilization on smaller screens.

  • Hides RecordIndexActionMenuButtons on mobile when page header v2 is enabled in /packages/twenty-front/src/modules/action-menu/components/RecordIndexActionMenu.tsx
  • Adjusts button sizes to 'medium' on mobile and 'small' on desktop across page header components
  • Removes keyboard shortcut display on mobile in /packages/twenty-front/src/modules/ui/layout/page-header/components/PageHeaderOpenCommandMenuButton.tsx
  • Hides favorite and add buttons on mobile while keeping command menu button in /packages/twenty-front/src/pages/object-record/RecordShowPageBaseHeader.tsx
  • Maintains accessibility with consistent aria labels throughout mobile adaptations

5 file(s) reviewed, 3 comment(s)
Edit PR Review Bot Settings | Greptile

Copy link
Contributor

@martmull martmull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bosiraphael bosiraphael merged commit ad04040 into main Dec 11, 2024
19 checks passed
@bosiraphael bosiraphael deleted the 8976-modify-mobile-page-header branch December 11, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modify mobile page header
2 participants