Skip to content

Conversation

@laurenp-2
Copy link

Summary

This pull request makes all fields in the review modal required to leave a review. Additionally, it adjusts some of the visual features in the review modal.

New features:

  • Made bedrooms and price fields required
  • Made Location, Conditions, Safety, and Maintenance required
  • Implemented a 15 char minimum for reviews
  • Added required indicators for all fields
  • Made field labels red if improperly filled out

Test Plan

Error messages and red labels:
Screenshot 2025-04-10 at 5 19 55 PM
15 char min requirement:
Screenshot 2025-04-10 at 5 20 15 PM

Lauren Pothuru added 6 commits March 22, 2025 15:14
- Make bedrooms and price fields required
- Make additional info fields (location, conditions, etc) required
- Implement 15 char min for review message
- Change message for helper text in review message
- Style the required indicators
- Close required indicators when canceling reviews
- Make it 15 character minimum (not 16)
@CLAassistant
Copy link

CLAassistant commented Apr 10, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ ggsawatyanon
❌ Lauren Pothuru


Lauren Pothuru seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@dti-github-bot
Copy link
Member

[diff-counting] Significant lines: 104.

@laurenp-2 laurenp-2 requested a review from ggsawatyanon April 10, 2025 21:21
Copy link
Contributor

@ggsawatyanon ggsawatyanon left a comment

Choose a reason for hiding this comment

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

Thanks for the great work on this PR, Lauren! This greatly improves the quality of data collected by the Leave A Review modal. The styling of the changes is also consistent with the existing frontend and looks clean.

@ggsawatyanon ggsawatyanon merged commit b2363bf into main Apr 17, 2025
4 checks passed
@ggsawatyanon ggsawatyanon deleted the review_modal branch April 17, 2025 19:09
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.

5 participants