-
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
Add Header to Email & Calendar Tabs #7288 #7293
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
This pull request adds a header to the Email and Calendar tabs when no account is connected, improving consistency across the settings interface.
- Added 'description' prop to SubMenuTopBarContainer in
packages/twenty-front/src/modules/ui/layout/page/SubMenuTopBarContainer.tsx
- Updated title to "Connected Accounts" and added description "Manage your internet accounts" in
packages/twenty-front/src/pages/settings/accounts/SettingsAccountsEmails.tsx
- SettingsAccountsCalendars.tsx should be updated to match the new style of the Email settings page for consistency
2 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings
@@ -33,9 +34,18 @@ const StyledTitle = styled.h3` | |||
margin: ${({ theme }) => theme.spacing(8, 8, 2)}; | |||
`; | |||
|
|||
const StyledDescription = styled.h3` |
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.
style: Consider using a more semantic HTML tag like 'p' instead of 'h3' for the description
This reverts commit 421bcd6.
Thanks @kant-github for your contribution! |
# Fix: 7288 - Add Header to Email & Calendar Tabs (No Account Connected) ## Description Added a header to the **Email** and **Calendar** tabs when no account is connected, matching the style and spacing of the account page to prevent layout issues when switching between pages. ### Header Content: - **Connected Accounts** - **Manage your internet accounts** ## Screenshot: <img width="1440" alt="Screenshot 2024-09-27 at 5 20 55 PM" src="https://github.com/user-attachments/assets/0c641dd6-e17f-47c4-9e30-45a3f8a9eac9"> Fixes twentyhq#7288 --------- Co-authored-by: Félix Malfait <[email protected]>
Fix: 7288 - Add Header to Email & Calendar Tabs (No Account Connected)
Description
Added a header to the Email and Calendar tabs when no account is connected, matching the style and spacing of the account page to prevent layout issues when switching between pages.
Header Content:
Screenshot:
Fixes #7288