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

Admin panel fixes #10792

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

ehconitin
Copy link
Contributor

No description provided.

Copy link
Contributor

@greptile-apps greptile-apps bot left a 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 and IconId 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

@@ -2,6 +2,7 @@ import styled from '@emotion/styled';

const StyledText = styled.span`
color: ${({ theme }) => theme.font.color.tertiary};
white-space: pre-wrap;
Copy link
Contributor Author

@ehconitin ehconitin Mar 11, 2025

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

after:
Screenshot 2025-03-12 at 02 09 20

Copy link
Contributor

@Devessier Devessier Mar 12, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants