Repository navigation
style(explore): normalize typography in widget settings panels - #36781
manojshetty2004 wants to merge 10 commits into
Conversation
Code Review Agent Run #c58012Actionable Suggestions - 0Additional Suggestions - 2
Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
|
CodeAnt AI is reviewing your PR. Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
Nitpicks 🔍
|
|
CodeAnt AI finished reviewing your PR. |
|
@manojshetty2004 can you add before and after screenshots to your PR? |
There was a problem hiding this comment.
Pull request overview
This PR attempts to normalize typography in widget settings/sidebar panels by standardizing font weights and spacing for sub-section headers. The changes replace theme.fontWeightStrong with theme.typography.weights.medium and theme.sizeUnit with theme.gridUnit * 2.
Sequence DiagramThis PR updates the styled ControlSubSectionHeader used in Explore widget settings so subsection titles use a medium font weight and increased bottom spacing for clearer visual hierarchy without changing functional behavior. sequenceDiagram
participant User
participant ExploreUI as Explore UI
participant Theme
User->>ExploreUI: Open widget settings panel
ExploreUI->>Theme: Request subsection header styles
Theme-->>ExploreUI: Return medium weight and increased margin
ExploreUI-->>User: Render panel with normalized subsection titles
Generated by CodeAnt AI |
|
Hi @sadpandajoe , I've addressed the CI failures and pushed the fixes. The checks are currently running. Please let me know if any further changes are needed. Looking forward to your feedback when convenient. Thanks! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #36781 +/- ##
=======================================
Coverage 64.54% 64.54%
=======================================
Files 2565 2565
Lines 133665 133663 -2
Branches 31056 31055 -1
=======================================
Hits 86269 86269
+ Misses 45904 45902 -2
Partials 1492 1492
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Sequence DiagramThis PR standardizes how subsection titles are styled in Explore widget settings and sidebar panels. It routes subsection headers through a single shared style so titles render with consistent medium weight and spacing, improving readability without changing behavior. sequenceDiagram
participant User
participant Explore UI
participant Settings Panel
participant Shared Header Style
User->>Explore UI: Open widget settings sidebar
Explore UI->>Settings Panel: Render section and subsection headers
Settings Panel->>Shared Header Style: Apply normalized header typography
Shared Header Style-->>Settings Panel: Medium weight and consistent spacing
Settings Panel-->>User: Show cleaner and consistent hierarchy
Generated by CodeAnt AI |
…onents/ControlSubSectionHeader.tsx Co-authored-by: Copilot <[email protected]>
…onents/ControlSubSectionHeader.tsx Co-authored-by: Copilot <[email protected]>
Sequence DiagramThis PR adjusts the subsection header styling used in Explore widget settings panels by increasing bottom spacing while keeping typography tokens consistent. The core flow remains the same, but rendered headers now show clearer visual separation for improved readability. sequenceDiagram
participant User
participant ExplorePanel
participant SubSectionHeader
participant Theme
User->>ExplorePanel: Open widget settings panel
ExplorePanel->>SubSectionHeader: Render subsection title
SubSectionHeader->>Theme: Resolve typography style tokens
Theme-->>SubSectionHeader: Return same weight and size with larger bottom spacing
SubSectionHeader-->>User: Show clearer subsection hierarchy
Generated by CodeAnt AI |
|
Hi , just checking in — is there any feedback or changes needed from my side? Happy to update this PR. |
|
@manojshetty2004 thanks for the ping! The branch has drifted and now has merge conflicts with master — could you rebase onto the latest master and resolve them? Once that's done and CI is green I'll take another look. Also, the current diff is just a one-line |
|
@rusackas Rebased onto latest master and resolved conflicts. Ready for another look |
|
Thanks for rebasing! Heads up though — looking at the PR after the rebase, the diff is now empty (0 additions / 0 deletions / 0 changed files across 10 commits). It looks like the conflict resolution dropped the original |
|
@rusackas Thanks for pointing that out! It looks like the original change was dropped during conflict resolution and the current diff is empty. Given the scope is minimal, I’ll go ahead and close this PR. Appreciate the review and guidance. |
User description
SUMMARY
Normalizes typography in widget settings/sidebar panels to improve visual hierarchy and readability.
Inner sub-section titles previously relied on varying font weights, which created visual noise. This change uses a single, consistent font weight and spacing to establish hierarchy more clearly, without altering layout or behavior.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N/A
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION
CodeAnt-AI Description
Increase spacing under subsection headers in widget settings panels
What Changed
Impact
✅ Clearer section separation in widget settings✅ Improved readability of settings panels✅ Consistent typography hierarchy💡 Usage Guide
Checking Your Pull Request
Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.
Talking to CodeAnt AI
Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.
Example
Preserve Org Learnings with CodeAnt
You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:
This helps CodeAnt AI learn and adapt to your team's coding style and standards.
Example
Retrigger review
Ask CodeAnt AI to review the PR again, by typing:
Check Your Repository Health
To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.