Files
twenty/packages/twenty-front
chaeyeon 8772f8aac7 Hide the "Expand to Full Page" button on Email and Calendar pages (#8615)
### Overview
This pull request addresses issue #8612 by ensuring the "Expand to Full
Page" button does not appear on the Email and Calendar pages in the
right drawer.

### Changes Made
- Added conditions in the `RightDrawerTopBar` component to prevent the
`RightDrawerTopBarExpandButton` from rendering on:
  - Email pages (`RightDrawerPages.ViewEmailThread`)
  - Calendar pages (`RightDrawerPages.ViewCalendarEvent`)
- Verified that the button still renders correctly on other pages, such
as Record pages.

### Testing
Since I couldn't run the project locally, I was unable to confirm the
changes in a running environment. However, the logic has been carefully
updated to ensure the button is conditionally hidden based on the
current `rightDrawerPage` state.

### Additional Notes
Please let me know if further adjustments are needed or if there are any
issues during testing. Thank you for reviewing this PR!

---------

Co-authored-by: Weiko <corentin@twenty.com>
2024-11-20 20:33:54 +01:00
..
2024-03-31 10:53:37 +02:00
2024-10-24 15:38:52 +02:00
2024-10-19 10:58:20 +02:00
2023-12-10 18:10:54 +01:00
2024-07-29 13:03:09 +02:00
2024-10-24 16:59:59 +02:00
2024-10-30 15:50:56 +01:00
2024-11-13 19:35:15 +01:00
2024-08-09 08:38:01 +02:00

Run yarn dev while server running on port 3000