-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Admin panel fixes #10792
base: main
Are you sure you want to change the base?
Admin panel fixes #10792
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
Here's my review of the admin panel fixes PR:
This PR enhances the admin panel UI with improved component organization, consistent styling, and better visual hierarchy across environment variables, health status, and workspace management sections.
- Added new
SettingsAdminTableCard
component for standardized table layouts within cards, improving UI consistency - Improved environment variables display with better spacing and expandable rows using
TableBody
components - Extracted
WorkerMetricsTooltip
into separate component with themed styling for better metrics visualization - Simplified health indicator labels by removing redundant "Status" suffix and standardizing descriptions
- Added
IconEyeShare
andIconId
for enhanced visual feedback in workspace impersonation features
The changes focus on UI refinements while maintaining existing functionality, making the admin panel more polished and maintainable.
16 file(s) reviewed, 8 comment(s)
Edit PR Review Bot Settings | Greptile
.../twenty-front/src/modules/settings/admin-panel/components/SettingsAdminEnvVariablesTable.tsx
Outdated
Show resolved
Hide resolved
packages/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminTableCard.tsx
Outdated
Show resolved
Hide resolved
...s/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminVersionContainer.tsx
Outdated
Show resolved
Hide resolved
...s/twenty-front/src/modules/settings/admin-panel/components/SettingsAdminWorkspaceContent.tsx
Outdated
Show resolved
Hide resolved
...nty-front/src/modules/settings/admin-panel/health-status/components/WorkerMetricsTooltip.tsx
Outdated
Show resolved
Hide resolved
packages/twenty-front/src/modules/settings/components/SettingsListItemCardContent.tsx
Show resolved
Hide resolved
packages/twenty-front/src/pages/settings/admin-panel/SettingsAdminIndicatorHealthStatus.tsx
Outdated
Show resolved
Hide resolved
...s/twenty-server/src/engine/core-modules/admin-panel/constants/health-indicators.constants.ts
Outdated
Show resolved
Hide resolved
@@ -2,6 +2,7 @@ import styled from '@emotion/styled'; | |||
|
|||
const StyledText = styled.span` | |||
color: ${({ theme }) => theme.font.color.tertiary}; | |||
white-space: pre-wrap; |
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.
@Devessier can we do this? Or would we prefer ellipses? @Bonapara suggested ellipses, but won't that crop important information?
before:
2025-03-12.02-10-05.mov
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.
Thank you, @ehconitin. I think the best solution would be to make the container scrollable. That's what I did in https://github.com/twentyhq/twenty/blob/4d0450069c43b7059c4adcd1d1925ab84d7bb1aa/packages/twenty-front/src/modules/workflow/workflow-steps/components/WorkflowRunStepInputDetail.tsx.
If you want to display a big nested object, the JSON visualizer would become quite unreadable.
No description provided.