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

refactor(prompts): standardize UI components and styling #905

Merged

Conversation

youngbeom-shin
Copy link
Member

What this PR does:

  • Replace custom buttons with CsgButton,
  • update color scheme to use Tailwind classes,
  • improve responsive design,
  • standardize component spacing across prompts pages.
  • Enhance accessibility with hover states and consistent text sizes.

Which issue(s) this PR fixes:

Fixes #

Type of changes
Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

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:

  • I have added unit/e2e tests that prove your fix is effective or that this feature works.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • I have reviewed my own code and ensured that it follows the project's style guidelines.

Release note:


Replace custom buttons with CsgButton, update color scheme to use Tailwind classes, improve responsive design, and standardize component spacing across prompts pages. Enhance accessibility with hover states and consistent text sizes.
…sList.vue

Updated the button in NewPromptsList.vue to use dynamic classes for improved styling based on the button's state. The button is now visually distinct when disabled, enhancing user experience and accessibility.
Copy link
Collaborator

@zhendi zhendi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@youngbeom-shin youngbeom-shin merged commit 68ef616 into main Jan 16, 2025
3 checks passed
@youngbeom-shin youngbeom-shin deleted the csghub__refactor-UI-components-in-prompts-section branch January 16, 2025 06:13
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