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

Remove the right drawer full page button for emails and calendar events #8612

Closed
bosiraphael opened this issue Nov 20, 2024 · 2 comments
Closed
Labels
good first issue Good for newcomers scope: front Issues that are affecting the frontend side only size: short type: chore

Comments

@bosiraphael
Copy link
Contributor

Scope & Context

The full page is implemented only for records for the moment, it redirects to the record showpage. There is no implementation of the full page for the calendar events and the emails.

Technical inputs

Remove the right drawer full page button for emails and calendar events.

Image

@bosiraphael bosiraphael added good first issue Good for newcomers scope: front Issues that are affecting the frontend side only size: short labels Nov 20, 2024
@khuddite
Copy link
Contributor

I will take a look

@yeonicy
Copy link
Contributor

yeonicy commented Nov 20, 2024

Hello @bosiraphael, I’d like to work on this issue. Could you please assign it to me? Thank you!

Weiko added a commit that referenced this issue Nov 20, 2024
)

### 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 <[email protected]>
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Product development ✅ Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers scope: front Issues that are affecting the frontend side only size: short type: chore
Projects
Status: ✅ Done
Development

No branches or pull requests

3 participants