-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
fix: conditionally rendered Tablist only if there are multiple accounts. #6274
fix: conditionally rendered Tablist only if there are multiple accounts. #6274
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
- Conditionally render
TabList
inSettingsAccountsCalendarChannelsContainer.tsx
if multiple calendar channels exist (packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarChannelsContainer.tsx
). - Conditionally render
TabList
inSettingsAccountsMessageChannelsContainer.tsx
if multiple accounts exist (packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelsContainer.tsx
).
2 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
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
(updates since last review)
- Added
CalendarEventDetailsEffect
component to handle upsertion of calendar event records (packages/twenty-front/src/modules/activities/calendar/components/CalendarEventDetailsEffect.tsx
) - Included
CalendarEventDetailsEffect
andRecordValueSetterEffect
inRightDrawerCalendarEvent.tsx
(packages/twenty-front/src/modules/activities/calendar/right-drawer/components/RightDrawerCalendarEvent.tsx
) - Removed exclusion of 'probability' fields in filter definitions (
packages/twenty-front/src/modules/object-metadata/utils/formatFieldMetadataItemsAsFilterDefinitions.ts
) - Introduced Recoil state for dynamic mutation page size in
useDeleteManyRecords
(packages/twenty-front/src/modules/object-record/hooks/useDeleteManyRecords.ts
) - Removed
FieldMetadataType.PROBABILITY
from various files, impacting field handling and validation (packages/twenty-server/src/engine/metadata-modules/field-metadata/field-metadata.entity.ts
,packages/twenty-server/src/engine/metadata-modules/field-metadata/utils/validate-default-value-for-type.util.ts
)
37 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
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
(updates since last review)
- Conditionally render
TabList
inSettingsAccountsCalendarChannelsContainer.tsx
if multiple calendar channels (/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarChannelsContainer.tsx
) - Conditionally render
TabList
inSettingsAccountsMessageChannelsContainer.tsx
if multiple accounts (/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelsContainer.tsx
) - Remove
padding-top
fromStyledDetailsContainer
inSettingsAccountsCalendarChannelDetails.tsx
(/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarChannelDetails.tsx
) - Remove
padding-top
fromStyledDetailsContainer
inSettingsAccountsMessageChannelDetails.tsx
(/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelDetails.tsx
) - Introduce
StyledMessageContainer
for bottom padding inSettingsAccountsMessageChannelsContainer.tsx
(/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelsContainer.tsx
)
4 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
Hi @charlesBochet, I noticed the conversation regarding the padding issue. I have rectified it , let me know it need any more changes |
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.
LGTM!
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
(updates since last review)
- Conditionally render
TabList
inSettingsAccountsCalendarChannelsContainer.tsx
if multiple calendar channels (/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsCalendarChannelsContainer.tsx
) - Conditionally render
TabList
inSettingsAccountsMessageChannelsContainer.tsx
if multiple accounts (/packages/twenty-front/src/modules/settings/accounts/components/SettingsAccountsMessageChannelsContainer.tsx
)
2 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
Thanks @adithej for your contribution! |
issue - 6267