Skip to content

Conversation

@ggsawatyanon
Copy link
Contributor

Summary

This pull request fixes some minor UI bugs in preparation for the pre-reviewathon deployment.

  • Fixed collapsible ratings spacing
  • Disable like button for own reviews (this now disallows users to visually and programmatically click the like button altogether)

Test Plan

Collapsible ratings spacing BEFORE the fix:
(Notice that "Maintenance" is too close to the ratings bar)
image

AFTER the fix
Collapsible ratings spacing on desktop:
image
Collapsible ratings spacing on mobile
image

Disable like button for own reviews:
https://github.com/user-attachments/assets/fc258654-ed16-468c-a3e8-be7fd3515c40

@dti-github-bot
Copy link
Member

[diff-counting] Significant lines: 6.

Copy link
Contributor

@CasperL1218 CasperL1218 left a comment

Choose a reason for hiding this comment

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

  • The change to the review rating bars make the UI more organized and less crowded.
  • The implementation of the likeDisabled state now make the UI button more intuitive by disabling it, as well as improved the readability of the code section.

@ggsawatyanon ggsawatyanon merged commit a031711 into main Apr 22, 2025
4 checks passed
@ggsawatyanon ggsawatyanon deleted the fix-UI-bugs branch April 22, 2025 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants