mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-26 13:31:45 +03:00
8772f8aac7
### 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> |
||
---|---|---|
.. | ||
__mocks__ | ||
.storybook | ||
public | ||
scripts | ||
src | ||
.env.example | ||
.eslintrc-ci.cjs | ||
.eslintrc.cjs | ||
.gitignore | ||
.prettierignore | ||
.swcrc | ||
codegen-metadata.cjs | ||
codegen.cjs | ||
folderStructure.json | ||
index.html | ||
jest.config.ts | ||
nyc.config.cjs | ||
package.json | ||
project.json | ||
README.md | ||
setupTests.ts | ||
tsconfig.build.json | ||
tsconfig.dev.json | ||
tsconfig.json | ||
tsconfig.spec.json | ||
tsconfig.storybook.json | ||
tsup.config.ts | ||
tsup.ui.index.tsx | ||
vite.config.ts |
Run yarn dev
while server running on port 3000