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

Consolidate options form components #468

Merged
merged 3 commits into from
Apr 12, 2024

Conversation

JamieCleare2525
Copy link
Contributor

Context

  • SchoolOptionsFormComponent and ProviderOptionsFormComponent shared almost identical code. These have been replaced with a more reusable OptionsFormComponent

Changes proposed in this pull request

  • Add OptionsFormComponent
  • Replace SchoolOptionsFormComponent with OptionsFormComponent
  • Replace ProviderOptionsFormComponent with OptionsFormComponent

Guidance to review

(as Support User Colin)
Claims

  • Test onboarding schools without javascript

Placements

  • Test onboarding provider without javascript
  • Test onboarding schools without javascript

Previews available
http://placements.localhost:3000/rails/view_components
http://placements.localhost:3000/rails/view_components/options_form_component/less_than_15_providers
http://placements.localhost:3000/rails/view_components/options_form_component/less_than_15_schools
http://placements.localhost:3000/rails/view_components/options_form_component/more_than_15_providers
http://placements.localhost:3000/rails/view_components/options_form_component/more_than_15_schools

http://claims.localhost:3000/rails/view_components
http://claims.localhost:3000/rails/view_components/options_form_component/less_than_15_providers
http://claims.localhost:3000/rails/view_components/options_form_component/less_than_15_schools
http://claims.localhost:3000/rails/view_components/options_form_component/more_than_15_providers
http://claims.localhost:3000/rails/view_components/options_form_component/more_than_15_schools

Link to Trello card

https://trello.com/c/4Olltsra/234-consolidate-schooloptionsformcomponent-and-provideroptionsformcomponent-into-1-reusable-component

Screenshots

More than 15 schools
screencapture-placements-localhost-3000-rails-view-components-options-form-component-more-than-15-schools-2024-04-11-11_57_12

More than 15 providers
screencapture-placements-localhost-3000-rails-view-components-options-form-component-more-than-15-providers-2024-04-11-11_57_03

Less than 15 schools
screencapture-placements-localhost-3000-rails-view-components-options-form-component-less-than-15-schools-2024-04-11-11_56_52

Less that 15 providers
screencapture-placements-localhost-3000-rails-view-components-options-form-component-less-than-15-providers-2024-04-11-11_56_41

@JamieCleare2525 JamieCleare2525 self-assigned this Apr 11, 2024
@JamieCleare2525 JamieCleare2525 requested review from a team as code owners April 11, 2024 10:58
@JamieCleare2525 JamieCleare2525 added the deploy A Review App will be created for PRs with this label label Apr 11, 2024
@JamieCleare2525 JamieCleare2525 changed the title Jc/consolidate options form components Consolidate options form components Apr 11, 2024
Copy link

github-actions bot commented Apr 11, 2024

Review app track and pay deployed to https://track-and-pay-468.test.teacherservices.cloud was deleted
Review app school placements deployed to https://manage-school-placements-468.test.teacherservices.cloud was deleted

Copy link
Contributor

@CatalinVoineag CatalinVoineag left a comment

Choose a reason for hiding this comment

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

Nice

@JamieCleare2525 JamieCleare2525 merged commit 6d3cecd into main Apr 12, 2024
7 checks passed
@JamieCleare2525 JamieCleare2525 deleted the jc/consolidate_options_form_components branch April 12, 2024 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy A Review App will be created for PRs with this label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants