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

componentize query page checkboxes #181

Conversation

fzhao99
Copy link
Collaborator

@fzhao99 fzhao99 commented Nov 27, 2024

PULL REQUEST

Summary

Refactors the customize query page to use the checkbox component introduced in another PR to fix some accessibility issues related to making the checkbox via CSS.

Also removed a demo test file that we don't need

Also added a config option to set the local FHIR server url for use for in local e2e runs

Related Issue

Fixes #124

Additional Information

Because the checkbox on this page is different than the out-of-box checkbox we have from USWDS, made a vanity component wrapper for use only on this page. Can chat with design to see if we need this elsewhere.

For design

This is changing some of the frontend code for checkbox stylings, so just double check that the checkboxes on the query customization screen match Figma.

Screenshot 2024-12-02 at 10 37 58 AM

Checklist

  • Descriptive Pull Request title
  • Link to relevant issues
  • Provide necessary context for design reviewers
  • Update documentation

Copy link

linear bot commented Nov 27, 2024

@fzhao99 fzhao99 force-pushed the bob/que-57-replace-checkboxes-on-customize-query-page-with-checkbox branch from ba65b50 to 0c18ae3 Compare November 27, 2024 15:36
@fzhao99 fzhao99 changed the title Bob/que 57 replace checkboxes on customize query page with checkbox componentize query page with checkbox Nov 27, 2024
@fzhao99 fzhao99 changed the title componentize query page with checkbox componentize query page checkboxes Nov 27, 2024
@fzhao99 fzhao99 marked this pull request as ready for review December 2, 2024 15:42
@mikang
Copy link
Collaborator

mikang commented Dec 2, 2024

Styling looks good! Thanks @fzhao99 !

Copy link
Collaborator

@robertandremitchell robertandremitchell left a comment

Choose a reason for hiding this comment

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

works for me. are we getting rid of the minus state?
Screenshot 2024-12-02 at 2 59 13 PM

@fzhao99
Copy link
Collaborator Author

fzhao99 commented Dec 2, 2024

works for me. are we getting rid of the minus state?
ahhh good catch. I'll go back and add this

@fzhao99 fzhao99 marked this pull request as draft December 2, 2024 20:07
@fzhao99 fzhao99 marked this pull request as ready for review December 4, 2024 08:34
@fzhao99
Copy link
Collaborator Author

fzhao99 commented Dec 4, 2024

@robertandremitchell

ready for re-review after adding back in the minus state!

Screen.Recording.2024-12-04.at.9.36.29.AM.mov

@fzhao99 fzhao99 enabled auto-merge (squash) December 4, 2024 15:46
@fzhao99 fzhao99 merged commit 356ccbb into main Dec 4, 2024
5 checks passed
@fzhao99 fzhao99 deleted the bob/que-57-replace-checkboxes-on-customize-query-page-with-checkbox branch December 4, 2024 15:46
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.

Replace checkboxes on customize query page with Checkbox component
3 participants