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

Address doctor subtitle #197

Merged
merged 4 commits into from
Sep 27, 2022
Merged

Conversation

stephanieharrison-maximus
Copy link
Contributor

Please check if the PR fulfills these requirements:

  • After these changes, the app was run and still works as expected
  • Tests for these changes were added (if applicable)
  • All existing unit tests were run and still pass

Please specify the type of change this PR introduces (Bug fix, feature addition, content update, chore, etc.):

Introduces ability to add a subtitle and/or placeholder text to the Address Doctor Input component. Also formatted some unit tests.

Additional Notes:

I looked into a few ways to potentially unit test these changes and ultimately decided against it. They'd come too close to implementation detail tests for my comfort, but I'm open to adding them if there's disagreement on that.

Copy link
Collaborator

@cyrilbravo cyrilbravo left a comment

Choose a reason for hiding this comment

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

Changes looks good to me. Approved! :)

Copy link
Contributor

@bryce-mcmath bryce-mcmath left a comment

Choose a reason for hiding this comment

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

Do you think you could conditionally render the <p> so that it doesn't exist if there is no subtitle? I'd prefer to avoid empty unused elements as much as possible

@stephanieharrison-maximus stephanieharrison-maximus deleted the address-doctor-subtitle branch September 27, 2022 16:04
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.

3 participants