-
Notifications
You must be signed in to change notification settings - Fork 461
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
feat(ui): standardize button styles and sizes across components #771
Conversation
Implements consistent button styling system with sm/md/lg/xl/2xl sizes, adds flex layout and gaps for icons, updates button classes in AddToCollections, EmptyCommunity, NewCommunityDiscussion, TheNavbar and RepoClone components
MR Evaluation:This feature is still under test, evaluation are given by AI and might be inaccurate. After evaluation, the code changes in the Merge Request get score: 81-83. Analysis for the evaluation score:
TipsCodeReview Commands (invoked as MR or PR comments)
CodeReview Discussion ChatThere are 2 ways to chat with Starship CodeReview:
Note: Be mindful of the bot's finite context window. CodeReview Documentation and Community
About Us:Visit the OpenCSG StarShip website for the Dashboard and detailed information on CodeReview, CodeGen, and other StarShip modules. |
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
The TipsCodeReview Commands (invoked as MR or PR comments)
CodeReview Discussion ChatThere are 2 ways to chat with Starship CodeReview:
Note: Be mindful of the bot's finite context window. CodeReview Documentation and Community
|
…CSGs#771) * feat(ui): standardize button styles and sizes across components Implements consistent button styling system with sm/md/lg/xl/2xl sizes, adds flex layout and gaps for icons, updates button classes in AddToCollections, EmptyCommunity, NewCommunityDiscussion, TheNavbar and RepoClone components * remove portal file
Implements consistent button styling system with sm/md/lg/xl/2xl sizes, adds flex layout and gaps for icons, updates button classes in AddToCollections, EmptyCommunity, NewCommunityDiscussion, TheNavbar and RepoClone components
What this PR does:
Which issue(s) this PR fixes:
Fixes #
Type of changes
Please delete options that are not relevant.
Feature/Issue validation/testing:
Please describe the tests that you ran to verify your changes and relevant result summary.
Test A
Test B
Logs
Special notes for your reviewer:
Checklist:
Release note:
MR Summary:
The summary is added by @codegpt.
This Merge Request introduces a standardized button styling system across various components in the UI, implementing a consistent look and feel with predefined sizes (sm, md, lg, xl, 2xl). It also incorporates flex layout and gaps for icons, enhancing the UI's overall usability and aesthetics. Key updates include:
AddToCollections
,EmptyCommunity
,NewCommunityDiscussion
,TheNavbar
, andRepoClone
components.btn
class, along with modifiers for size (btn-sm
,btn-md
) and color themes (btn-primary
,btn-secondary-gray
).