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

start moving FAA to use bootstrap 4 #3855

Merged
merged 7 commits into from
May 24, 2024

Conversation

kristinmerbach
Copy link
Contributor

PR Checklist

Please check if your PR fulfills the following requirements

  • The title follows our guidelines
  • Tests for the changes have been added (for bugfixes/features), they use let helpers and before blocks
  • For all UI changes, there is cucumber coverage
  • Any endpoint touched in the PR has an appropriate Pundit policy. For open endpoints, reasoning is documented in PR and code
  • Any endpoint modified in the PR only responds to the expected MIME types.
  • For all scripts or rake tasks, how to run it is documented on both the PR and in the code
  • There are no inline styles added
  • There are no inline javascript added
  • There is no hard coded text added/updated in helpers/views/Javascript. New/updated translation strings do not include markup/styles, unless there is supporting documentation
  • Code does not use .html_safe
  • All images added/updated have alt text
  • Doesn’t bypass rubocop rules in any way

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature (requires Feature flag)
  • Data fix or migration (inert code, no impact until run)
  • Refactoring (no functional changes, no API changes)
  • Build related changes
  • CI related changes
  • Dependency updates (e.g., add a new gem or update to a version)

What is the ticket # detailing the issue?

Ticket:

A brief description of the changes

Current behavior:

New behavior:

Feature Flag

For all new feature development, a feature flag is required to control the exposure of the feature to our end users. A feature flag needs a corresponding environment variable to initialize the state of the flag. Please share the name of the environment variable below that would enable/disable the feature and which client(s) it applies to.

Variable name:

  • DC
  • ME

Additional Context

Include any additional context that may be relevant to the peer review process.

AppScan CodeSweep Failure

In the event of a failed check on the AppScan CodeSweep step of our GitHub Actions workflow, please review the False Positive protocol outlined here: appscan_codesweep/CODESWEEP_FALSE_POSITIVES_README.MD

Add all required notes to this section if the failure is a suspected false positive.

@kristinmerbach kristinmerbach merged commit 1318f36 into clean-bootstrap-4-upgrade May 24, 2024
78 of 111 checks passed
@kristinmerbach kristinmerbach deleted the start_faa_bs4 branch May 24, 2024 15:22
kristinmerbach added a commit that referenced this pull request May 29, 2024
* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>
scaustin34 pushed a commit that referenced this pull request Jun 3, 2024
* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>
scaustin34 added a commit that referenced this pull request Jun 3, 2024
* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
charlienparker pushed a commit that referenced this pull request Jun 3, 2024
* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

mc
kristinmerbach added a commit that referenced this pull request Jun 6, 2024
* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>
kristinmerbach added a commit that referenced this pull request Jun 6, 2024
* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
charlienparker pushed a commit that referenced this pull request Jun 6, 2024
* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

mc
kristinmerbach added a commit that referenced this pull request Jun 10, 2024
* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>
kristinmerbach added a commit that referenced this pull request Jun 10, 2024
* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
charlienparker pushed a commit that referenced this pull request Jun 10, 2024
* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

mc
kristinmerbach added a commit that referenced this pull request Jun 13, 2024
* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>
kristinmerbach added a commit that referenced this pull request Jun 13, 2024
* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
kristinmerbach added a commit that referenced this pull request Sep 10, 2024
* personal information page redo

mc

* mc

* mc

* mc

* feature flags, faa layouts

mc

mc

* header progress

mc

* add bs4 upgrade icons, collapsed header tweaks

mc

* started family information

mc

mc

* registration process

mc

* more work on consumer flow

mc

mc

* client specific files re-organized

mc

* footer updates

mc

* authority & consent ridp page

mc

* progress nav accessibility

mc

* fix fonts, more ridp work started

mc

* added ME colors, revert app controller flag

mc

* ridp flow

mc

* don't touch FAA yet

mc

mc#

mc

* starting to rubocop

mc

* fix brakeman, other text changes

mc

* reformat devide translations

mc

* id bad bullets

mc

* id bad bullet

mc

* id bad bullet

mc

* previous and continue buttons dryed out

mc

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

mc

mc#

* add missing underscore prefix to partial (#3840)

mc

* show help shopping button

mc

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

mc

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

mc

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

mc

* merge conflicts

* merge conflicts

* outline for sep page

* more detail work, passes in bs4 flag for date check, implements modal

mc

* add get_date method for date parsing based on bs4 param

* add date formatting for other date param

* localize error text, use progress buttons, shop link in success message

* reset continue button on init, remove line break with bs4

* date input work

* cleanup

* cleanup

* add missing closing tag

* uses correct key for number

* update date entry to be time-based instead of focus

* default continue button to qle_submit, enable it on date entry, update it to submit on date validation

* rename check_qle_date and get_qle_date methods for clarity, update *_reason js files to update submit id, update reason handler to update submit id and disable button in fail case

* adds bs4 layout for reason partials

* missing label tag

* undo debug line

* indentation fix

* remove unneeded div

* remove uneeded class

* replace values for radio

* remove todo

* cleanup, add zip view for bs4

* update moving handlers to allow for button id switching

* fix bug which allows zip partial to permeate when selecting another link

* localized special reasons

* add modal handling

* localize zip error

* fix modal handler

* move date chose hide

* consolidate check date error case

* further check ql date refactoring

* localize middle of month coverage error string

* localize future error

* refactor get_date helper for clarity

* use var instead of const to avoid redeclaration error

* move id to nav partial

* clean up error arg

* move qle zip id reset

* remove unneeded class

* updates moves bs4 param check for some actions into refactored enable_bs4_layout method

* upgrade to bs4 base

mc

* revert temp changes for design review to trunk

mc

* personal information page redo

mc

* feature flags, faa layouts

mc

mc

* header progress

mc

* add bs4 upgrade icons, collapsed header tweaks

mc

* started family information

mc

mc

* registration process

mc

* more work on consumer flow

mc

* client specific files re-organized

mc

* authority & consent ridp page

mc

* progress nav accessibility

mc

* fix fonts, more ridp work started

mc

* ridp flow

mc

* don't touch FAA yet

mc

mc#

mc

* starting to rubocop

mc

* fix brakeman, other text changes

mc

* reformat devide translations

mc

* id bad bullets

mc

* id bad bullet

mc

* id bad bullet

mc

* previous and continue buttons dryed out

mc

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

mc

mc

* add missing underscore prefix to partial (#3840)

mc

* mc show help shopping button

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

mc

* fix fonts, more ridp work started

* choose cov page wip

mc

* plan shopping progress bars updated

mc

* plan shopping nav refactoring

mc

* family information conversion, fixed progress nav buttons

mc

* translation fixes

* removed debugging code

* rebase cleanup

mc

* fix link_to CSS vunerabilities

mc

* webpacker depreciation warning cleanup

* integrate progress nav into sep

* fix success link to match new id

* add record_sep to bs4 conditionally enabled to account for date parsing

* add modal comment

* rename submit method

* remove sep-form, add sep-date class

* add missing span

* add personal to conditionally enabled

* add missing semi colon

* move date change text set out of js, add calc translation

* add translation to other partial

* rebase clenaup

mc

* more rebase cleanup

* more rebase cleanup

* more rebase cleanup

* renames event label, adds date label

* remove unneeded var

* unbind selector on load

* add bs4 qle_submit handler, add missing zip submit handler that was also missing in legacy

* fix enter navigation

* remove unneeded check

* remove enter keydown from qle for bs4, move moving id reset out of completion, remove typing timer

* removes button id switching, adds button partials to each special reason partial, and details landing/date/error/success divs

* cleanup

* undo gemfile

* remove debug special case

* remove whitespace

* fix legacy date continue

* move sep-date class up to parent to capture both date field and button

* fix for keydown suppression

* add effective handling

* remove unneeded fields, add label to select

* restore selector for form keydown

* adds missing nav title

* restore kinds check

* remove if debug for moving fields

* remove random semi colon

* use symbols for conditional def

* remove extraneous param for button partial, update effective on kinds setup to only disable submit button when there are multiple kinds

* rebase cleanup

* indentation fix

* fixes dangling form labels

* fix keyboard bug preventing all input

* rebase cleanup

* rebase cleanup

* remove style attr

* fix enter press

---------

Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
kristinmerbach added a commit that referenced this pull request Sep 10, 2024
* upgrade to bs4 base

* revert temp changes for design review to trunk

* registration process

* more work on consumer flow

* fix fonts, more ridp work started

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

* bs4 income adjustments (#3954)

* todos

* add red required asterisk

mc

* remove date debug comments

* remove newline

* more section work

mc

* work through coverage

mc

* remove hack for frozen string and update displayable_field?

mc

* add income table

* translation work, use existing gray colors for table borders

mc

* modal work

* fix modal id

* modal title fix

* continue text for mec banner

* coverage required fixes

mc

* move caretaker string to review section

mc

* translation cleanup

* more localization work

mc

* fix hover color

* fix asterisk

* m
mcodernize review_benefits partial (need to remove debug)

* debug removal, translation esi work

mc

* move esi fields to partial

* add bottom sections

mc

* fix formatted string

* add subsection partial

* pass in applicant for summary section

mc

* move hash helpers to new file

mc

* add translation helper for review and submit hashes

mc

* add private helpers for displayable field and add missing row map calls for foster care keys

* move translator module into helper module, fix displayable helper callers for applicant

* cleanup

mc

* use key for expected

* fix caretaker key, view cleanup

mc

* use human boolean for parent outside

* undo rebase issue

* fix continue application content

* add missing upcase

* undo lock file change

* update hover

* remove todo

* titleize relationship, add helpers for hash constructors

* classify displayable helpers

* remove class_name method

* add include, fix wrong variable name for relationship builder

* remove unneeded helper declaration

* remove newline

Signed-off-by: Charlie Parker <[email protected]>

* add bs4 outline to view, logic to controller

mc

* inital review work - update controller to support action, implement Personal Info and Tax rows

mc

mc

* fix for review and submit layout

mc

* move selectric handling to js for other questions

* initial page work

mc

* update form, update date formatting for date fields, disable selectric on drop downs

* save cancel button work

* remove debug

* remove unneeded ids, fix error on translations but still need correct content

mc

* add nav, update form partial to default save button to disabled

* fix save button and form disabling

* fix add more link permeance after removal

* fix created income UI showing legacy, fix edit button not working

* remove unneeded bs4 set

* move other actions to conditional

mc

* add date field for income, fix bug causing fake input fields to be enabled upon edit -> cancel flow

* use date field for unemployment

* fix add button permeance bug after remove for unemployment

mc

* cleanup

mc

* update disable for deductions

* cleanup

* cancel fix, other income form class fixes

* fix cancel button reseting checkbox bug, update padding for elements in form partials to be consistent with non-form partials

* update edit and remove buttons for deductions, remove repeated edit class for other income

* swap id and class for add more button in both legacy and bs4

* add missing enable from rebase

* add missing when from rebase

* fix destroy/destroy all handling to ensure permeance of add new button when there are still other deductions for the kind, fix replace bug that caused the add new button to be hidden when adding a new deduction after deleting a deduction

* update add new button hiding

* button fixes - use outline for remove and use button class for edit to allow edit disabling

* remove add more on destroy all

* modal and translation work

* add logic to reset deduction form when empty and uncheck

* edit, cancel, add new fixes for other income

* fix deduction remove not causing checkbox reset, break out deduction kind remove to function, refactor deduction kind remove to handle concurrency

* disable all income edit buttons while editing for other/unemployment along with class update to btn to allow disable, start selector syntax fix for removeDeduction method, add removeIncome method, add other income checkbox uncheck handling for no created deductions case, button styling fix for modals

* support add new disable for unemployment, remove unneeded selector from replace, margin fixes for unemployment cancel and unemployment add more

* support add more disable for other income

* margin fixes for buttons, apply other income add disable universally

* add more fixes

* add progress button disable functionality

* fix new form permeating when removing all deduction kinds, fix add more permeating when unchecking kind with open form

* fix other income add more permeating when unchecking kind with an income and form, fix doubling up of income when creating income after removing all kind with an income and form

* cleanup cancel, fix unemployment add more to not appear for initial entry

* remove cleanup

* add legacy handling for deductions

* hide add more on cancel when no other existing

* auto uncheck unemployment on final delete, fix cancel handling

* fix add more permeance for cancel new deduction, break out reset into function, update income edit disabling to account for unemployment

* selector fixes, make frequency required

* update modals and allow disabling of a tags

* fix broken translation

* translation cleanup for me, remove labels from subsection partial and replace with dl, add required class for dt

* rename key string

* remove unneeded style

* remove unused strings

* update margins of form buttons and checkboxes to match mockups

* remove add new deduction bottom margin, add x margin for deduction/other driver radios, update deduction form edit/create to disable remove button of other forms

* restructure other markup, update save input class to button to match disabled styling, disable remove button for income.js when editing

* class fixes

* update edit toggling selectors to not disable divs which directly own buttons

* ss string fix

* fix leave warning modal

* cleanup

* add support for ai an

* set deductions actions from params

* restore legacy add replace

* consolidate add link

* update disabled style to select all bottom level, non a & button elements so that a & buttons can be individually styled, update new form cloning to prevent multiple form label error

* remove debug

* comment fixes

* update forms to validate date warnings using bs4 date format, add date warning UI for bs4, update date warning content to match mockups

* fix date parsing for bs4

* income note field work

* add end date translation

* fix syntax error

* remove unneeded keys from merge

* fix legacy income note

* translation cleanup

* update leave edit to not enable submit buttons, remove redundant disable on fake inputs

* more translation cleanup

* disable help links

* fix review description list

* cleanup

* fix unemployment edit delete

* fix date parsing

* update other questions date parsing

* modal work

* add date warning to other income, remove undefined check in js

* move warning partials

* flex work

* rollback debug

* remove extra semi colon

* disable yes/no text

* remove left margins on inputs

* more margin updates

* remove margin on unemployment add more

* add leave ids

---------

Signed-off-by: Charlie Parker <[email protected]>

* uplift job income page to bs4 (#3974)

* personal information page redo

* job income changes

* missing translations

* updates to translation

* cleanup unneeded class changes

* remove extra changed file

* more cleanup

* changes from PR comments

* fixed

* header sizing order issue

* remove br

* small nav bug for nonbs4

* improve spacing

* fix income_kind

* clean up nits

* phone input masking

* more changings

---------

Co-authored-by: Kristin Merbach <[email protected]>

* refactor: Add unique IDs to input fields in consumer roles docs shared partials

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Signed-off-by: Charlie Parker <[email protected]>
Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
kristinmerbach added a commit that referenced this pull request Sep 10, 2024
* upgrade to bs4 base

mc

* revert temp changes for design review to trunk

mc

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

mc

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

mc

* add bs4 UI for review, update helper to toggle edit button in applicant summary, update controller to render new UI for flag

* add application id

* fix button margins, init displayable service for review, update check on all_relationships to handle nil

* add breadcrumbs styles, add breadcrumbs for review

mc

* move progress nav styles into nav stylesheet

mc

* add translations for app detail

mc

* add family side nav partial to FA views, call from review page, update side nav list case for applications nav to handle applications and review actions for active selection

* update legacy review layout

* move review back to nav for flag off, add other subsections matching review and submit

* remove todo

* remove unneeded divs

* remove more unneeded divs

* sanitize back buttons

* restore nav from rebase

* rebase cleanup

mc

* rebase cleanup

* translation refactor

mc

* update partial from other PR

---------

Signed-off-by: kristinmerbach <[email protected]>
Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
kristinmerbach added a commit that referenced this pull request Sep 10, 2024
* upgrade to bs4 base

* revert temp changes for design review to trunk

* registration process

* more work on consumer flow

* fix fonts, more ridp work started

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

* bs4 income adjustments (#3954)

* todos

* add red required asterisk

mc

* remove date debug comments

* remove newline

* more section work

mc

* work through coverage

mc

* remove hack for frozen string and update displayable_field?

mc

* add income table

* translation work, use existing gray colors for table borders

mc

* modal work

* fix modal id

* modal title fix

* continue text for mec banner

* coverage required fixes

mc

* move caretaker string to review section

mc

* translation cleanup

* more localization work

mc

* fix hover color

* fix asterisk

* m
mcodernize review_benefits partial (need to remove debug)

* debug removal, translation esi work

mc

* move esi fields to partial

* add bottom sections

mc

* fix formatted string

* add subsection partial

* pass in applicant for summary section

mc

* move hash helpers to new file

mc

* add translation helper for review and submit hashes

mc

* add private helpers for displayable field and add missing row map calls for foster care keys

* move translator module into helper module, fix displayable helper callers for applicant

* cleanup

mc

* use key for expected

* fix caretaker key, view cleanup

mc

* use human boolean for parent outside

* undo rebase issue

* fix continue application content

* add missing upcase

* undo lock file change

* update hover

* remove todo

* titleize relationship, add helpers for hash constructors

* classify displayable helpers

* remove class_name method

* add include, fix wrong variable name for relationship builder

* remove unneeded helper declaration

* remove newline

Signed-off-by: Charlie Parker <[email protected]>

* add bs4 outline to view, logic to controller

mc

* inital review work - update controller to support action, implement Personal Info and Tax rows

mc

mc

* fix for review and submit layout

mc

* move selectric handling to js for other questions

* initial page work

mc

* update form, update date formatting for date fields, disable selectric on drop downs

* save cancel button work

* remove debug

* remove unneeded ids, fix error on translations but still need correct content

mc

* add nav, update form partial to default save button to disabled

* fix save button and form disabling

* fix add more link permeance after removal

* fix created income UI showing legacy, fix edit button not working

* remove unneeded bs4 set

* move other actions to conditional

mc

* add date field for income, fix bug causing fake input fields to be enabled upon edit -> cancel flow

* use date field for unemployment

* fix add button permeance bug after remove for unemployment

mc

* cleanup

mc

* update disable for deductions

* cleanup

* cancel fix, other income form class fixes

* fix cancel button reseting checkbox bug, update padding for elements in form partials to be consistent with non-form partials

* update edit and remove buttons for deductions, remove repeated edit class for other income

* swap id and class for add more button in both legacy and bs4

* add missing enable from rebase

* add missing when from rebase

* fix destroy/destroy all handling to ensure permeance of add new button when there are still other deductions for the kind, fix replace bug that caused the add new button to be hidden when adding a new deduction after deleting a deduction

* update add new button hiding

* button fixes - use outline for remove and use button class for edit to allow edit disabling

* remove add more on destroy all

* modal and translation work

* add logic to reset deduction form when empty and uncheck

* edit, cancel, add new fixes for other income

* fix deduction remove not causing checkbox reset, break out deduction kind remove to function, refactor deduction kind remove to handle concurrency

* disable all income edit buttons while editing for other/unemployment along with class update to btn to allow disable, start selector syntax fix for removeDeduction method, add removeIncome method, add other income checkbox uncheck handling for no created deductions case, button styling fix for modals

* support add new disable for unemployment, remove unneeded selector from replace, margin fixes for unemployment cancel and unemployment add more

* support add more disable for other income

* margin fixes for buttons, apply other income add disable universally

* add more fixes

* add progress button disable functionality

* fix new form permeating when removing all deduction kinds, fix add more permeating when unchecking kind with open form

* fix other income add more permeating when unchecking kind with an income and form, fix doubling up of income when creating income after removing all kind with an income and form

* cleanup cancel, fix unemployment add more to not appear for initial entry

* remove cleanup

* add legacy handling for deductions

* hide add more on cancel when no other existing

* auto uncheck unemployment on final delete, fix cancel handling

* fix add more permeance for cancel new deduction, break out reset into function, update income edit disabling to account for unemployment

* selector fixes, make frequency required

* update modals and allow disabling of a tags

* fix broken translation

* translation cleanup for me, remove labels from subsection partial and replace with dl, add required class for dt

* rename key string

* remove unneeded style

* remove unused strings

* update margins of form buttons and checkboxes to match mockups

* remove add new deduction bottom margin, add x margin for deduction/other driver radios, update deduction form edit/create to disable remove button of other forms

* restructure other markup, update save input class to button to match disabled styling, disable remove button for income.js when editing

* class fixes

* update edit toggling selectors to not disable divs which directly own buttons

* ss string fix

* fix leave warning modal

* cleanup

* add support for ai an

* set deductions actions from params

* restore legacy add replace

* consolidate add link

* update disabled style to select all bottom level, non a & button elements so that a & buttons can be individually styled, update new form cloning to prevent multiple form label error

* remove debug

* comment fixes

* update forms to validate date warnings using bs4 date format, add date warning UI for bs4, update date warning content to match mockups

* fix date parsing for bs4

* income note field work

* add end date translation

* fix syntax error

* remove unneeded keys from merge

* fix legacy income note

* translation cleanup

* update leave edit to not enable submit buttons, remove redundant disable on fake inputs

* more translation cleanup

* disable help links

* fix review description list

* cleanup

* fix unemployment edit delete

* fix date parsing

* update other questions date parsing

* modal work

* add date warning to other income, remove undefined check in js

* move warning partials

* flex work

* rollback debug

* remove extra semi colon

* disable yes/no text

* remove left margins on inputs

* more margin updates

* remove margin on unemployment add more

* add leave ids

---------

Signed-off-by: Charlie Parker <[email protected]>

* uplift job income page to bs4 (#3974)

* personal information page redo

* job income changes

* missing translations

* updates to translation

* cleanup unneeded class changes

* remove extra changed file

* more cleanup

* changes from PR comments

* fixed

* header sizing order issue

* remove br

* small nav bug for nonbs4

* improve spacing

* fix income_kind

* clean up nits

* phone input masking

* more changings

---------

Co-authored-by: Kristin Merbach <[email protected]>

* fix: update privacy_statement translation remove redundant links

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Signed-off-by: Charlie Parker <[email protected]>
Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
kristinmerbach added a commit that referenced this pull request Sep 10, 2024
* registration process

* more work on consumer flow

* upgrade to bs4 base

* revert temp changes for design review to trunk

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

* bs4 income adjustments (#3954)

* todos

* add red required asterisk

mc

* remove date debug comments

* remove newline

* more section work

mc

* work through coverage

mc

* remove hack for frozen string and update displayable_field?

mc

* add income table

* translation work, use existing gray colors for table borders

mc

* modal work

* fix modal id

* modal title fix

* continue text for mec banner

* coverage required fixes

mc

* move caretaker string to review section

mc

* translation cleanup

* more localization work

mc

* fix hover color

* fix asterisk

* m
mcodernize review_benefits partial (need to remove debug)

* debug removal, translation esi work

mc

* move esi fields to partial

* add bottom sections

mc

* fix formatted string

* add subsection partial

* pass in applicant for summary section

mc

* move hash helpers to new file

mc

* add translation helper for review and submit hashes

mc

* add private helpers for displayable field and add missing row map calls for foster care keys

* move translator module into helper module, fix displayable helper callers for applicant

* cleanup

mc

* use key for expected

* fix caretaker key, view cleanup

mc

* use human boolean for parent outside

* undo rebase issue

* fix continue application content

* add missing upcase

* undo lock file change

* update hover

* remove todo

* titleize relationship, add helpers for hash constructors

* classify displayable helpers

* remove class_name method

* add include, fix wrong variable name for relationship builder

* remove unneeded helper declaration

* remove newline

Signed-off-by: Charlie Parker <[email protected]>

* add bs4 outline to view, logic to controller

mc

* inital review work - update controller to support action, implement Personal Info and Tax rows

mc

mc

* fix for review and submit layout

mc

* move selectric handling to js for other questions

* initial page work

mc

* update form, update date formatting for date fields, disable selectric on drop downs

* save cancel button work

* remove debug

* remove unneeded ids, fix error on translations but still need correct content

mc

* add nav, update form partial to default save button to disabled

* fix save button and form disabling

* fix add more link permeance after removal

* fix created income UI showing legacy, fix edit button not working

* remove unneeded bs4 set

* move other actions to conditional

mc

* add date field for income, fix bug causing fake input fields to be enabled upon edit -> cancel flow

* use date field for unemployment

* fix add button permeance bug after remove for unemployment

mc

* cleanup

mc

* update disable for deductions

* cleanup

* cancel fix, other income form class fixes

* fix cancel button reseting checkbox bug, update padding for elements in form partials to be consistent with non-form partials

* update edit and remove buttons for deductions, remove repeated edit class for other income

* swap id and class for add more button in both legacy and bs4

* add missing enable from rebase

* add missing when from rebase

* fix destroy/destroy all handling to ensure permeance of add new button when there are still other deductions for the kind, fix replace bug that caused the add new button to be hidden when adding a new deduction after deleting a deduction

* update add new button hiding

* button fixes - use outline for remove and use button class for edit to allow edit disabling

* remove add more on destroy all

* modal and translation work

* add logic to reset deduction form when empty and uncheck

* edit, cancel, add new fixes for other income

* fix deduction remove not causing checkbox reset, break out deduction kind remove to function, refactor deduction kind remove to handle concurrency

* disable all income edit buttons while editing for other/unemployment along with class update to btn to allow disable, start selector syntax fix for removeDeduction method, add removeIncome method, add other income checkbox uncheck handling for no created deductions case, button styling fix for modals

* support add new disable for unemployment, remove unneeded selector from replace, margin fixes for unemployment cancel and unemployment add more

* support add more disable for other income

* margin fixes for buttons, apply other income add disable universally

* add more fixes

* add progress button disable functionality

* fix new form permeating when removing all deduction kinds, fix add more permeating when unchecking kind with open form

* fix other income add more permeating when unchecking kind with an income and form, fix doubling up of income when creating income after removing all kind with an income and form

* cleanup cancel, fix unemployment add more to not appear for initial entry

* remove cleanup

* add legacy handling for deductions

* hide add more on cancel when no other existing

* auto uncheck unemployment on final delete, fix cancel handling

* fix add more permeance for cancel new deduction, break out reset into function, update income edit disabling to account for unemployment

* selector fixes, make frequency required

* update modals and allow disabling of a tags

* fix broken translation

* translation cleanup for me, remove labels from subsection partial and replace with dl, add required class for dt

* rename key string

* remove unneeded style

* remove unused strings

* update margins of form buttons and checkboxes to match mockups

* remove add new deduction bottom margin, add x margin for deduction/other driver radios, update deduction form edit/create to disable remove button of other forms

* restructure other markup, update save input class to button to match disabled styling, disable remove button for income.js when editing

* class fixes

* update edit toggling selectors to not disable divs which directly own buttons

* ss string fix

* fix leave warning modal

* cleanup

* add support for ai an

* set deductions actions from params

* restore legacy add replace

* consolidate add link

* update disabled style to select all bottom level, non a & button elements so that a & buttons can be individually styled, update new form cloning to prevent multiple form label error

* remove debug

* comment fixes

* update forms to validate date warnings using bs4 date format, add date warning UI for bs4, update date warning content to match mockups

* fix date parsing for bs4

* income note field work

* add end date translation

* fix syntax error

* remove unneeded keys from merge

* fix legacy income note

* translation cleanup

* update leave edit to not enable submit buttons, remove redundant disable on fake inputs

* more translation cleanup

* disable help links

* fix review description list

* cleanup

* fix unemployment edit delete

* fix date parsing

* update other questions date parsing

* modal work

* add date warning to other income, remove undefined check in js

* move warning partials

* flex work

* rollback debug

* remove extra semi colon

* disable yes/no text

* remove left margins on inputs

* more margin updates

* remove margin on unemployment add more

* add leave ids

---------

Signed-off-by: Charlie Parker <[email protected]>

* uplift job income page to bs4 (#3974)

* personal information page redo

* job income changes

* missing translations

* updates to translation

* cleanup unneeded class changes

* remove extra changed file

* more cleanup

* changes from PR comments

* fixed

* header sizing order issue

* remove br

* small nav bug for nonbs4

* improve spacing

* fix income_kind

* clean up nits

* phone input masking

* more changings

---------

Co-authored-by: Kristin Merbach <[email protected]>

* personal information page redo

* started enrollment submitted page

* plan shopping page visuals work

* more plan shopping styling

* minor fixes

* clean up from rebase

* receipt page translations

* upgrade to bs4 base

* revert temp changes for design review to trunk

* fix fonts, more ridp work started

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* plan shopping page visuals work

* more plan shopping styling

* All filters working not sorts

* HSA and Carrier filters working

* format js

* fix selectric reactivating

* format

* fix html format error

* Hide Sort by in filter list when on individual

* sorting working with filtering

* fix rebase issues

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Signed-off-by: Charlie Parker <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
kristinmerbach added a commit that referenced this pull request Sep 10, 2024
* more work on consumer flow

* upgrade to bs4 base

* revert temp changes for design review to trunk

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

* personal information page redo

* started enrollment submitted page

* plan shopping page visuals work

* more plan shopping styling

* minor fixes

* clean up from rebase

* receipt page translations

* main scss rebase issues

* receipt page pr comments

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
kristinmerbach added a commit that referenced this pull request Sep 10, 2024
* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

* starting to remove other income step files (#3907)

* starting to remove step files

* continued to remove step pattern

* improve personal info keyboard nav (#3905)

* fix outstanding documents bug

* fix no route error

* align fdsh and insured pages for bs4 changes (#3893)

* merge conflicts registration process

* more work on consumer flow

merge conflicts#

* whitespace fix, update fdsh modal to match insured

* remove unneeded class from merge

* move modal options to helper

---------

Co-authored-by: Kristin Merbach <[email protected]>

* verify identity documents accessibility lift (#3918)

* improve ridp upload page

* first changes

* keyboard navigation auth and consent (#3912)

keyboard nav auth & consent

* improve tab focus verify identity (#3913)

improve tab focus id verify

* fixes for sarah b

* personal info navigation improvements (#3922)

improve personal info page

* use new header for dc

* improve ridp service unavailable nav (#3924)

* clean up ridp unavailable page

* fix button

* dc bs4 logo

* mobile nav to bs4 (#3901)

* fix fonts, more ridp work started

* mobile nav

* title attribute for svgs

* started removing step pattern from benefits (#3930)

* started removing step pattern from benefits

* add pundit back for step

* app for reduction navigation improvement (#3929)

improve assistance year navigation

* deductions remove step pattern (#3933)

* started removing step pattern from benefits

* add pundit back for step

* start removing step pattern from deductions

* clean up deductions controller

---------

Signed-off-by: kristinmerbach <[email protected]>

* cleanup of header

* 187141008 preferences and submit (#3935)

* started removing step pattern from benefits

* add pundit back for step

* start removing step pattern from deductions

* clean up deductions controller

* start moving preferences page out of step pattern

* more work on getting out of step pattern

* fix redirect

* controller specs

* pundit policies

* preferences page cucumbers

* finish up cucumbers

* rubocop

* appscan

---------

Signed-off-by: kristinmerbach <[email protected]>

* header fixes

* other income page to bs4 (#3928)

* more work on other icome

* translations

* bs4 fa other options (#3926)

* initial markup transfer

* margin updates, move student questions into student block, translation cleanup

* todos

* add helper to handle subject substring for bs4 and legacy

* refactor helper to default to legacy behavior, add helper method to view to use true argument for bs4 section

* add missing helper call

* fix date validation - use date_field helper, add row-form-wrapper for dependent field toggling, allow date formatting on questions save

* add red required asterisk

* fix selectric bug for pregnant, fix wrong id for paying bills

* modal work

mc

* add close button

* remove date debug comments

* remove newline

* removes fa style, updates required class per new 106 reqs

* remove todos

* reuse enable method

* remove unneeded def

* remove unneeded def

* remove comments

* add missing field, move asterisk for primary caregiver string out of translation

* whitespace fix, add labels to legends to fix dangling form labels

* add more missing labels

* cleanup

* bs4 faa family info pg (#3937)

* faa family info pg

* small fixes

* moved strings to translations

* wave scan fixes

* accessibility error on flash, remove mailing button color, mailing address title added  (#3941)

bugs worked with Ann

* submit your application to bs4 (#3945)

* submit your application to bs4

* add missing translation

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix for error banners

* accessibility for other questions, family info (#3951)

* navigation, small fixes

* remove change

* Insured consumer flow dc (#3925)

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

…
kristinmerbach added a commit that referenced this pull request Sep 10, 2024
* upgrade to bs4 base

mc

mc

* revert temp changes for design review to trunk

mc

mc

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

mc

mc

* UI work

mc

mc

* use correct nav partial, add start date header

mc

* add due date element and resizing support

* update local var name for due date to match global due date helper method

* add absent badge class, update badge col to have different offset based on presence of actions button

* add FA card

mc

* indentation cleanup, add missing end

* fix actions button

* add padding on type

* remove date driving layout

* remove unneeded d-flex

* remove date layout for fa section

* fix button padding

* fix due date padding

* add file list for non-fa

* remove header for doc types

* add FA file section

* add missing translations

mc

mc

* rebase cleanup

* remove sanitize

* more rebase cleanup

mc

* restore lost file from rebase

mc

* fix spacing

* refactor faq link

* support admin actions

mc

* layout fix

mc

mc

* add info badge

* rebase cleanup

mc

* restore fa progress nav

* restore whitespace

* restore eof newline

* move resolve layout to parent controller

* whitespace fix

* minor style fixes

---------

Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
charlienparker pushed a commit that referenced this pull request Sep 13, 2024
* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>
charlienparker added a commit that referenced this pull request Sep 13, 2024
* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
charlienparker added a commit that referenced this pull request Sep 13, 2024
* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

* starting to remove other income step files (#3907)

* starting to remove step files

* continued to remove step pattern

* improve personal info keyboard nav (#3905)

* fix outstanding documents bug

* fix no route error

* align fdsh and insured pages for bs4 changes (#3893)

* merge conflicts registration process

* more work on consumer flow

merge conflicts#

* whitespace fix, update fdsh modal to match insured

* remove unneeded class from merge

* move modal options to helper

---------

Co-authored-by: Kristin Merbach <[email protected]>

* verify identity documents accessibility lift (#3918)

* improve ridp upload page

* first changes

* keyboard navigation auth and consent (#3912)

keyboard nav auth & consent

* improve tab focus verify identity (#3913)

improve tab focus id verify

* fixes for sarah b

* personal info navigation improvements (#3922)

improve personal info page

* use new header for dc

* improve ridp service unavailable nav (#3924)

* clean up ridp unavailable page

* fix button

* dc bs4 logo

* mobile nav to bs4 (#3901)

* fix fonts, more ridp work started

* mobile nav

* title attribute for svgs

* started removing step pattern from benefits (#3930)

* started removing step pattern from benefits

* add pundit back for step

* app for reduction navigation improvement (#3929)

improve assistance year navigation

* deductions remove step pattern (#3933)

* started removing step pattern from benefits

* add pundit back for step

* start removing step pattern from deductions

* clean up deductions controller

---------

Signed-off-by: kristinmerbach <[email protected]>

* cleanup of header

* 187141008 preferences and submit (#3935)

* started removing step pattern from benefits

* add pundit back for step

* start removing step pattern from deductions

* clean up deductions controller

* start moving preferences page out of step pattern

* more work on getting out of step pattern

* fix redirect

* controller specs

* pundit policies

* preferences page cucumbers

* finish up cucumbers

* rubocop

* appscan

---------

Signed-off-by: kristinmerbach <[email protected]>

* header fixes

* other income page to bs4 (#3928)

* more work on other icome

* translations

* bs4 fa other options (#3926)

* initial markup transfer

* margin updates, move student questions into student block, translation cleanup

* todos

* add helper to handle subject substring for bs4 and legacy

* refactor helper to default to legacy behavior, add helper method to view to use true argument for bs4 section

* add missing helper call

* fix date validation - use date_field helper, add row-form-wrapper for dependent field toggling, allow date formatting on questions save

* add red required asterisk

* fix selectric bug for pregnant, fix wrong id for paying bills

* modal work

mc

* add close button

* remove date debug comments

* remove newline

* removes fa style, updates required class per new 106 reqs

* remove todos

* reuse enable method

* remove unneeded def

* remove unneeded def

* remove comments

* add missing field, move asterisk for primary caregiver string out of translation

* whitespace fix, add labels to legends to fix dangling form labels

* add more missing labels

* cleanup

* bs4 faa family info pg (#3937)

* faa family info pg

* small fixes

* moved strings to translations

* wave scan fixes

* accessibility error on flash, remove mailing button color, mailing address title added  (#3941)

bugs worked with Ann

* submit your application to bs4 (#3945)

* submit your application to bs4

* add missing translation

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix for error banners

* accessibility for other questions, family info (#3951)

* navigation, small fixes

* remove change

* update pom libaries

* disable bs4 for individual features

* diable bs4 consumer flow insured folder dc

* disable bs4 feature to scenarios

* update disable bs4 for dc

* update dc scenarios

* update individual_ridp_admin_intervention scenarios

* update scenarios for dc client

* update help paying for coverage scenarios for dc client

* update consumer scenarios for dc and maine

* update household info scenario

* update scenarios for dc and maine

* update dc and maine scenarios

* update scenarios for dc

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: Diana Quisbert <[email protected]>
charlienparker added a commit that referenced this pull request Sep 13, 2024
* personal information page redo

mc

* mc

* mc

* mc

* feature flags, faa layouts

mc

mc

* header progress

mc

* add bs4 upgrade icons, collapsed header tweaks

mc

* started family information

mc

mc

* registration process

mc

* more work on consumer flow

mc

mc

* client specific files re-organized

mc

* footer updates

mc

* authority & consent ridp page

mc

* progress nav accessibility

mc

* fix fonts, more ridp work started

mc

* added ME colors, revert app controller flag

mc

* ridp flow

mc

* don't touch FAA yet

mc

mc#

mc

* starting to rubocop

mc

* fix brakeman, other text changes

mc

* reformat devide translations

mc

* id bad bullets

mc

* id bad bullet

mc

* id bad bullet

mc

* previous and continue buttons dryed out

mc

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

mc

mc#

* add missing underscore prefix to partial (#3840)

mc

* show help shopping button

mc

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

mc

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

mc

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

mc

* merge conflicts

* merge conflicts

* outline for sep page

* more detail work, passes in bs4 flag for date check, implements modal

mc

* add get_date method for date parsing based on bs4 param

* add date formatting for other date param

* localize error text, use progress buttons, shop link in success message

* reset continue button on init, remove line break with bs4

* date input work

* cleanup

* cleanup

* add missing closing tag

* uses correct key for number

* update date entry to be time-based instead of focus

* default continue button to qle_submit, enable it on date entry, update it to submit on date validation

* rename check_qle_date and get_qle_date methods for clarity, update *_reason js files to update submit id, update reason handler to update submit id and disable button in fail case

* adds bs4 layout for reason partials

* missing label tag

* undo debug line

* indentation fix

* remove unneeded div

* remove uneeded class

* replace values for radio

* remove todo

* cleanup, add zip view for bs4

* update moving handlers to allow for button id switching

* fix bug which allows zip partial to permeate when selecting another link

* localized special reasons

* add modal handling

* localize zip error

* fix modal handler

* move date chose hide

* consolidate check date error case

* further check ql date refactoring

* localize middle of month coverage error string

* localize future error

* refactor get_date helper for clarity

* use var instead of const to avoid redeclaration error

* move id to nav partial

* clean up error arg

* move qle zip id reset

* remove unneeded class

* updates moves bs4 param check for some actions into refactored enable_bs4_layout method

* upgrade to bs4 base

mc

* revert temp changes for design review to trunk

mc

* personal information page redo

mc

* feature flags, faa layouts

mc

mc

* header progress

mc

* add bs4 upgrade icons, collapsed header tweaks

mc

* started family information

mc

mc

* registration process

mc

* more work on consumer flow

mc

* client specific files re-organized

mc

* authority & consent ridp page

mc

* progress nav accessibility

mc

* fix fonts, more ridp work started

mc

* ridp flow

mc

* don't touch FAA yet

mc

mc#

mc

* starting to rubocop

mc

* fix brakeman, other text changes

mc

* reformat devide translations

mc

* id bad bullets

mc

* id bad bullet

mc

* id bad bullet

mc

* previous and continue buttons dryed out

mc

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

mc

mc

* add missing underscore prefix to partial (#3840)

mc

* mc show help shopping button

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

mc

* fix fonts, more ridp work started

* choose cov page wip

mc

* plan shopping progress bars updated

mc

* plan shopping nav refactoring

mc

* family information conversion, fixed progress nav buttons

mc

* translation fixes

* removed debugging code

* rebase cleanup

mc

* fix link_to CSS vunerabilities

mc

* webpacker depreciation warning cleanup

* integrate progress nav into sep

* fix success link to match new id

* add record_sep to bs4 conditionally enabled to account for date parsing

* add modal comment

* rename submit method

* remove sep-form, add sep-date class

* add missing span

* add personal to conditionally enabled

* add missing semi colon

* move date change text set out of js, add calc translation

* add translation to other partial

* rebase clenaup

mc

* more rebase cleanup

* more rebase cleanup

* more rebase cleanup

* renames event label, adds date label

* remove unneeded var

* unbind selector on load

* add bs4 qle_submit handler, add missing zip submit handler that was also missing in legacy

* fix enter navigation

* remove unneeded check

* remove enter keydown from qle for bs4, move moving id reset out of completion, remove typing timer

* removes button id switching, adds button partials to each special reason partial, and details landing/date/error/success divs

* cleanup

* undo gemfile

* remove debug special case

* remove whitespace

* fix legacy date continue

* move sep-date class up to parent to capture both date field and button

* fix for keydown suppression

* add effective handling

* remove unneeded fields, add label to select

* restore selector for form keydown

* adds missing nav title

* restore kinds check

* remove if debug for moving fields

* remove random semi colon

* use symbols for conditional def

* remove extraneous param for button partial, update effective on kinds setup to only disable submit button when there are multiple kinds

* rebase cleanup

* indentation fix

* fixes dangling form labels

* fix keyboard bug preventing all input

* rebase cleanup

* rebase cleanup

* remove style attr

* fix enter press

---------

Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
charlienparker added a commit that referenced this pull request Sep 13, 2024
* upgrade to bs4 base

* revert temp changes for design review to trunk

* registration process

* more work on consumer flow

* fix fonts, more ridp work started

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

* bs4 income adjustments (#3954)

* todos

* add red required asterisk

mc

* remove date debug comments

* remove newline

* more section work

mc

* work through coverage

mc

* remove hack for frozen string and update displayable_field?

mc

* add income table

* translation work, use existing gray colors for table borders

mc

* modal work

* fix modal id

* modal title fix

* continue text for mec banner

* coverage required fixes

mc

* move caretaker string to review section

mc

* translation cleanup

* more localization work

mc

* fix hover color

* fix asterisk

* m
mcodernize review_benefits partial (need to remove debug)

* debug removal, translation esi work

mc

* move esi fields to partial

* add bottom sections

mc

* fix formatted string

* add subsection partial

* pass in applicant for summary section

mc

* move hash helpers to new file

mc

* add translation helper for review and submit hashes

mc

* add private helpers for displayable field and add missing row map calls for foster care keys

* move translator module into helper module, fix displayable helper callers for applicant

* cleanup

mc

* use key for expected

* fix caretaker key, view cleanup

mc

* use human boolean for parent outside

* undo rebase issue

* fix continue application content

* add missing upcase

* undo lock file change

* update hover

* remove todo

* titleize relationship, add helpers for hash constructors

* classify displayable helpers

* remove class_name method

* add include, fix wrong variable name for relationship builder

* remove unneeded helper declaration

* remove newline

Signed-off-by: Charlie Parker <[email protected]>

* add bs4 outline to view, logic to controller

mc

* inital review work - update controller to support action, implement Personal Info and Tax rows

mc

mc

* fix for review and submit layout

mc

* move selectric handling to js for other questions

* initial page work

mc

* update form, update date formatting for date fields, disable selectric on drop downs

* save cancel button work

* remove debug

* remove unneeded ids, fix error on translations but still need correct content

mc

* add nav, update form partial to default save button to disabled

* fix save button and form disabling

* fix add more link permeance after removal

* fix created income UI showing legacy, fix edit button not working

* remove unneeded bs4 set

* move other actions to conditional

mc

* add date field for income, fix bug causing fake input fields to be enabled upon edit -> cancel flow

* use date field for unemployment

* fix add button permeance bug after remove for unemployment

mc

* cleanup

mc

* update disable for deductions

* cleanup

* cancel fix, other income form class fixes

* fix cancel button reseting checkbox bug, update padding for elements in form partials to be consistent with non-form partials

* update edit and remove buttons for deductions, remove repeated edit class for other income

* swap id and class for add more button in both legacy and bs4

* add missing enable from rebase

* add missing when from rebase

* fix destroy/destroy all handling to ensure permeance of add new button when there are still other deductions for the kind, fix replace bug that caused the add new button to be hidden when adding a new deduction after deleting a deduction

* update add new button hiding

* button fixes - use outline for remove and use button class for edit to allow edit disabling

* remove add more on destroy all

* modal and translation work

* add logic to reset deduction form when empty and uncheck

* edit, cancel, add new fixes for other income

* fix deduction remove not causing checkbox reset, break out deduction kind remove to function, refactor deduction kind remove to handle concurrency

* disable all income edit buttons while editing for other/unemployment along with class update to btn to allow disable, start selector syntax fix for removeDeduction method, add removeIncome method, add other income checkbox uncheck handling for no created deductions case, button styling fix for modals

* support add new disable for unemployment, remove unneeded selector from replace, margin fixes for unemployment cancel and unemployment add more

* support add more disable for other income

* margin fixes for buttons, apply other income add disable universally

* add more fixes

* add progress button disable functionality

* fix new form permeating when removing all deduction kinds, fix add more permeating when unchecking kind with open form

* fix other income add more permeating when unchecking kind with an income and form, fix doubling up of income when creating income after removing all kind with an income and form

* cleanup cancel, fix unemployment add more to not appear for initial entry

* remove cleanup

* add legacy handling for deductions

* hide add more on cancel when no other existing

* auto uncheck unemployment on final delete, fix cancel handling

* fix add more permeance for cancel new deduction, break out reset into function, update income edit disabling to account for unemployment

* selector fixes, make frequency required

* update modals and allow disabling of a tags

* fix broken translation

* translation cleanup for me, remove labels from subsection partial and replace with dl, add required class for dt

* rename key string

* remove unneeded style

* remove unused strings

* update margins of form buttons and checkboxes to match mockups

* remove add new deduction bottom margin, add x margin for deduction/other driver radios, update deduction form edit/create to disable remove button of other forms

* restructure other markup, update save input class to button to match disabled styling, disable remove button for income.js when editing

* class fixes

* update edit toggling selectors to not disable divs which directly own buttons

* ss string fix

* fix leave warning modal

* cleanup

* add support for ai an

* set deductions actions from params

* restore legacy add replace

* consolidate add link

* update disabled style to select all bottom level, non a & button elements so that a & buttons can be individually styled, update new form cloning to prevent multiple form label error

* remove debug

* comment fixes

* update forms to validate date warnings using bs4 date format, add date warning UI for bs4, update date warning content to match mockups

* fix date parsing for bs4

* income note field work

* add end date translation

* fix syntax error

* remove unneeded keys from merge

* fix legacy income note

* translation cleanup

* update leave edit to not enable submit buttons, remove redundant disable on fake inputs

* more translation cleanup

* disable help links

* fix review description list

* cleanup

* fix unemployment edit delete

* fix date parsing

* update other questions date parsing

* modal work

* add date warning to other income, remove undefined check in js

* move warning partials

* flex work

* rollback debug

* remove extra semi colon

* disable yes/no text

* remove left margins on inputs

* more margin updates

* remove margin on unemployment add more

* add leave ids

---------

Signed-off-by: Charlie Parker <[email protected]>

* uplift job income page to bs4 (#3974)

* personal information page redo

* job income changes

* missing translations

* updates to translation

* cleanup unneeded class changes

* remove extra changed file

* more cleanup

* changes from PR comments

* fixed

* header sizing order issue

* remove br

* small nav bug for nonbs4

* improve spacing

* fix income_kind

* clean up nits

* phone input masking

* more changings

---------

Co-authored-by: Kristin Merbach <[email protected]>

* refactor: Add unique IDs to input fields in consumer roles docs shared partials

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Signed-off-by: Charlie Parker <[email protected]>
Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
charlienparker added a commit that referenced this pull request Sep 13, 2024
* upgrade to bs4 base

mc

* revert temp changes for design review to trunk

mc

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

mc

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

mc

* add bs4 UI for review, update helper to toggle edit button in applicant summary, update controller to render new UI for flag

* add application id

* fix button margins, init displayable service for review, update check on all_relationships to handle nil

* add breadcrumbs styles, add breadcrumbs for review

mc

* move progress nav styles into nav stylesheet

mc

* add translations for app detail

mc

* add family side nav partial to FA views, call from review page, update side nav list case for applications nav to handle applications and review actions for active selection

* update legacy review layout

* move review back to nav for flag off, add other subsections matching review and submit

* remove todo

* remove unneeded divs

* remove more unneeded divs

* sanitize back buttons

* restore nav from rebase

* rebase cleanup

mc

* rebase cleanup

* translation refactor

mc

* update partial from other PR

---------

Signed-off-by: kristinmerbach <[email protected]>
Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
charlienparker added a commit that referenced this pull request Sep 13, 2024
* upgrade to bs4 base

* revert temp changes for design review to trunk

* registration process

* more work on consumer flow

* fix fonts, more ridp work started

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

* bs4 income adjustments (#3954)

* todos

* add red required asterisk

mc

* remove date debug comments

* remove newline

* more section work

mc

* work through coverage

mc

* remove hack for frozen string and update displayable_field?

mc

* add income table

* translation work, use existing gray colors for table borders

mc

* modal work

* fix modal id

* modal title fix

* continue text for mec banner

* coverage required fixes

mc

* move caretaker string to review section

mc

* translation cleanup

* more localization work

mc

* fix hover color

* fix asterisk

* m
mcodernize review_benefits partial (need to remove debug)

* debug removal, translation esi work

mc

* move esi fields to partial

* add bottom sections

mc

* fix formatted string

* add subsection partial

* pass in applicant for summary section

mc

* move hash helpers to new file

mc

* add translation helper for review and submit hashes

mc

* add private helpers for displayable field and add missing row map calls for foster care keys

* move translator module into helper module, fix displayable helper callers for applicant

* cleanup

mc

* use key for expected

* fix caretaker key, view cleanup

mc

* use human boolean for parent outside

* undo rebase issue

* fix continue application content

* add missing upcase

* undo lock file change

* update hover

* remove todo

* titleize relationship, add helpers for hash constructors

* classify displayable helpers

* remove class_name method

* add include, fix wrong variable name for relationship builder

* remove unneeded helper declaration

* remove newline

Signed-off-by: Charlie Parker <[email protected]>

* add bs4 outline to view, logic to controller

mc

* inital review work - update controller to support action, implement Personal Info and Tax rows

mc

mc

* fix for review and submit layout

mc

* move selectric handling to js for other questions

* initial page work

mc

* update form, update date formatting for date fields, disable selectric on drop downs

* save cancel button work

* remove debug

* remove unneeded ids, fix error on translations but still need correct content

mc

* add nav, update form partial to default save button to disabled

* fix save button and form disabling

* fix add more link permeance after removal

* fix created income UI showing legacy, fix edit button not working

* remove unneeded bs4 set

* move other actions to conditional

mc

* add date field for income, fix bug causing fake input fields to be enabled upon edit -> cancel flow

* use date field for unemployment

* fix add button permeance bug after remove for unemployment

mc

* cleanup

mc

* update disable for deductions

* cleanup

* cancel fix, other income form class fixes

* fix cancel button reseting checkbox bug, update padding for elements in form partials to be consistent with non-form partials

* update edit and remove buttons for deductions, remove repeated edit class for other income

* swap id and class for add more button in both legacy and bs4

* add missing enable from rebase

* add missing when from rebase

* fix destroy/destroy all handling to ensure permeance of add new button when there are still other deductions for the kind, fix replace bug that caused the add new button to be hidden when adding a new deduction after deleting a deduction

* update add new button hiding

* button fixes - use outline for remove and use button class for edit to allow edit disabling

* remove add more on destroy all

* modal and translation work

* add logic to reset deduction form when empty and uncheck

* edit, cancel, add new fixes for other income

* fix deduction remove not causing checkbox reset, break out deduction kind remove to function, refactor deduction kind remove to handle concurrency

* disable all income edit buttons while editing for other/unemployment along with class update to btn to allow disable, start selector syntax fix for removeDeduction method, add removeIncome method, add other income checkbox uncheck handling for no created deductions case, button styling fix for modals

* support add new disable for unemployment, remove unneeded selector from replace, margin fixes for unemployment cancel and unemployment add more

* support add more disable for other income

* margin fixes for buttons, apply other income add disable universally

* add more fixes

* add progress button disable functionality

* fix new form permeating when removing all deduction kinds, fix add more permeating when unchecking kind with open form

* fix other income add more permeating when unchecking kind with an income and form, fix doubling up of income when creating income after removing all kind with an income and form

* cleanup cancel, fix unemployment add more to not appear for initial entry

* remove cleanup

* add legacy handling for deductions

* hide add more on cancel when no other existing

* auto uncheck unemployment on final delete, fix cancel handling

* fix add more permeance for cancel new deduction, break out reset into function, update income edit disabling to account for unemployment

* selector fixes, make frequency required

* update modals and allow disabling of a tags

* fix broken translation

* translation cleanup for me, remove labels from subsection partial and replace with dl, add required class for dt

* rename key string

* remove unneeded style

* remove unused strings

* update margins of form buttons and checkboxes to match mockups

* remove add new deduction bottom margin, add x margin for deduction/other driver radios, update deduction form edit/create to disable remove button of other forms

* restructure other markup, update save input class to button to match disabled styling, disable remove button for income.js when editing

* class fixes

* update edit toggling selectors to not disable divs which directly own buttons

* ss string fix

* fix leave warning modal

* cleanup

* add support for ai an

* set deductions actions from params

* restore legacy add replace

* consolidate add link

* update disabled style to select all bottom level, non a & button elements so that a & buttons can be individually styled, update new form cloning to prevent multiple form label error

* remove debug

* comment fixes

* update forms to validate date warnings using bs4 date format, add date warning UI for bs4, update date warning content to match mockups

* fix date parsing for bs4

* income note field work

* add end date translation

* fix syntax error

* remove unneeded keys from merge

* fix legacy income note

* translation cleanup

* update leave edit to not enable submit buttons, remove redundant disable on fake inputs

* more translation cleanup

* disable help links

* fix review description list

* cleanup

* fix unemployment edit delete

* fix date parsing

* update other questions date parsing

* modal work

* add date warning to other income, remove undefined check in js

* move warning partials

* flex work

* rollback debug

* remove extra semi colon

* disable yes/no text

* remove left margins on inputs

* more margin updates

* remove margin on unemployment add more

* add leave ids

---------

Signed-off-by: Charlie Parker <[email protected]>

* uplift job income page to bs4 (#3974)

* personal information page redo

* job income changes

* missing translations

* updates to translation

* cleanup unneeded class changes

* remove extra changed file

* more cleanup

* changes from PR comments

* fixed

* header sizing order issue

* remove br

* small nav bug for nonbs4

* improve spacing

* fix income_kind

* clean up nits

* phone input masking

* more changings

---------

Co-authored-by: Kristin Merbach <[email protected]>

* fix: update privacy_statement translation remove redundant links

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Signed-off-by: Charlie Parker <[email protected]>
Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
charlienparker added a commit that referenced this pull request Sep 13, 2024
* registration process

* more work on consumer flow

* upgrade to bs4 base

* revert temp changes for design review to trunk

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

* bs4 income adjustments (#3954)

* todos

* add red required asterisk

mc

* remove date debug comments

* remove newline

* more section work

mc

* work through coverage

mc

* remove hack for frozen string and update displayable_field?

mc

* add income table

* translation work, use existing gray colors for table borders

mc

* modal work

* fix modal id

* modal title fix

* continue text for mec banner

* coverage required fixes

mc

* move caretaker string to review section

mc

* translation cleanup

* more localization work

mc

* fix hover color

* fix asterisk

* m
mcodernize review_benefits partial (need to remove debug)

* debug removal, translation esi work

mc

* move esi fields to partial

* add bottom sections

mc

* fix formatted string

* add subsection partial

* pass in applicant for summary section

mc

* move hash helpers to new file

mc

* add translation helper for review and submit hashes

mc

* add private helpers for displayable field and add missing row map calls for foster care keys

* move translator module into helper module, fix displayable helper callers for applicant

* cleanup

mc

* use key for expected

* fix caretaker key, view cleanup

mc

* use human boolean for parent outside

* undo rebase issue

* fix continue application content

* add missing upcase

* undo lock file change

* update hover

* remove todo

* titleize relationship, add helpers for hash constructors

* classify displayable helpers

* remove class_name method

* add include, fix wrong variable name for relationship builder

* remove unneeded helper declaration

* remove newline

Signed-off-by: Charlie Parker <[email protected]>

* add bs4 outline to view, logic to controller

mc

* inital review work - update controller to support action, implement Personal Info and Tax rows

mc

mc

* fix for review and submit layout

mc

* move selectric handling to js for other questions

* initial page work

mc

* update form, update date formatting for date fields, disable selectric on drop downs

* save cancel button work

* remove debug

* remove unneeded ids, fix error on translations but still need correct content

mc

* add nav, update form partial to default save button to disabled

* fix save button and form disabling

* fix add more link permeance after removal

* fix created income UI showing legacy, fix edit button not working

* remove unneeded bs4 set

* move other actions to conditional

mc

* add date field for income, fix bug causing fake input fields to be enabled upon edit -> cancel flow

* use date field for unemployment

* fix add button permeance bug after remove for unemployment

mc

* cleanup

mc

* update disable for deductions

* cleanup

* cancel fix, other income form class fixes

* fix cancel button reseting checkbox bug, update padding for elements in form partials to be consistent with non-form partials

* update edit and remove buttons for deductions, remove repeated edit class for other income

* swap id and class for add more button in both legacy and bs4

* add missing enable from rebase

* add missing when from rebase

* fix destroy/destroy all handling to ensure permeance of add new button when there are still other deductions for the kind, fix replace bug that caused the add new button to be hidden when adding a new deduction after deleting a deduction

* update add new button hiding

* button fixes - use outline for remove and use button class for edit to allow edit disabling

* remove add more on destroy all

* modal and translation work

* add logic to reset deduction form when empty and uncheck

* edit, cancel, add new fixes for other income

* fix deduction remove not causing checkbox reset, break out deduction kind remove to function, refactor deduction kind remove to handle concurrency

* disable all income edit buttons while editing for other/unemployment along with class update to btn to allow disable, start selector syntax fix for removeDeduction method, add removeIncome method, add other income checkbox uncheck handling for no created deductions case, button styling fix for modals

* support add new disable for unemployment, remove unneeded selector from replace, margin fixes for unemployment cancel and unemployment add more

* support add more disable for other income

* margin fixes for buttons, apply other income add disable universally

* add more fixes

* add progress button disable functionality

* fix new form permeating when removing all deduction kinds, fix add more permeating when unchecking kind with open form

* fix other income add more permeating when unchecking kind with an income and form, fix doubling up of income when creating income after removing all kind with an income and form

* cleanup cancel, fix unemployment add more to not appear for initial entry

* remove cleanup

* add legacy handling for deductions

* hide add more on cancel when no other existing

* auto uncheck unemployment on final delete, fix cancel handling

* fix add more permeance for cancel new deduction, break out reset into function, update income edit disabling to account for unemployment

* selector fixes, make frequency required

* update modals and allow disabling of a tags

* fix broken translation

* translation cleanup for me, remove labels from subsection partial and replace with dl, add required class for dt

* rename key string

* remove unneeded style

* remove unused strings

* update margins of form buttons and checkboxes to match mockups

* remove add new deduction bottom margin, add x margin for deduction/other driver radios, update deduction form edit/create to disable remove button of other forms

* restructure other markup, update save input class to button to match disabled styling, disable remove button for income.js when editing

* class fixes

* update edit toggling selectors to not disable divs which directly own buttons

* ss string fix

* fix leave warning modal

* cleanup

* add support for ai an

* set deductions actions from params

* restore legacy add replace

* consolidate add link

* update disabled style to select all bottom level, non a & button elements so that a & buttons can be individually styled, update new form cloning to prevent multiple form label error

* remove debug

* comment fixes

* update forms to validate date warnings using bs4 date format, add date warning UI for bs4, update date warning content to match mockups

* fix date parsing for bs4

* income note field work

* add end date translation

* fix syntax error

* remove unneeded keys from merge

* fix legacy income note

* translation cleanup

* update leave edit to not enable submit buttons, remove redundant disable on fake inputs

* more translation cleanup

* disable help links

* fix review description list

* cleanup

* fix unemployment edit delete

* fix date parsing

* update other questions date parsing

* modal work

* add date warning to other income, remove undefined check in js

* move warning partials

* flex work

* rollback debug

* remove extra semi colon

* disable yes/no text

* remove left margins on inputs

* more margin updates

* remove margin on unemployment add more

* add leave ids

---------

Signed-off-by: Charlie Parker <[email protected]>

* uplift job income page to bs4 (#3974)

* personal information page redo

* job income changes

* missing translations

* updates to translation

* cleanup unneeded class changes

* remove extra changed file

* more cleanup

* changes from PR comments

* fixed

* header sizing order issue

* remove br

* small nav bug for nonbs4

* improve spacing

* fix income_kind

* clean up nits

* phone input masking

* more changings

---------

Co-authored-by: Kristin Merbach <[email protected]>

* personal information page redo

* started enrollment submitted page

* plan shopping page visuals work

* more plan shopping styling

* minor fixes

* clean up from rebase

* receipt page translations

* upgrade to bs4 base

* revert temp changes for design review to trunk

* fix fonts, more ridp work started

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* plan shopping page visuals work

* more plan shopping styling

* All filters working not sorts

* HSA and Carrier filters working

* format js

* fix selectric reactivating

* format

* fix html format error

* Hide Sort by in filter list when on individual

* sorting working with filtering

* fix rebase issues

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Signed-off-by: Charlie Parker <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
charlienparker added a commit that referenced this pull request Sep 13, 2024
* more work on consumer flow

* upgrade to bs4 base

* revert temp changes for design review to trunk

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

* personal information page redo

* started enrollment submitted page

* plan shopping page visuals work

* more plan shopping styling

* minor fixes

* clean up from rebase

* receipt page translations

* main scss rebase issues

* receipt page pr comments

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
charlienparker added a commit that referenced this pull request Sep 13, 2024
* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

* starting to remove other income step files (#3907)

* starting to remove step files

* continued to remove step pattern

* improve personal info keyboard nav (#3905)

* fix outstanding documents bug

* fix no route error

* align fdsh and insured pages for bs4 changes (#3893)

* merge conflicts registration process

* more work on consumer flow

merge conflicts#

* whitespace fix, update fdsh modal to match insured

* remove unneeded class from merge

* move modal options to helper

---------

Co-authored-by: Kristin Merbach <[email protected]>

* verify identity documents accessibility lift (#3918)

* improve ridp upload page

* first changes

* keyboard navigation auth and consent (#3912)

keyboard nav auth & consent

* improve tab focus verify identity (#3913)

improve tab focus id verify

* fixes for sarah b

* personal info navigation improvements (#3922)

improve personal info page

* use new header for dc

* improve ridp service unavailable nav (#3924)

* clean up ridp unavailable page

* fix button

* dc bs4 logo

* mobile nav to bs4 (#3901)

* fix fonts, more ridp work started

* mobile nav

* title attribute for svgs

* started removing step pattern from benefits (#3930)

* started removing step pattern from benefits

* add pundit back for step

* app for reduction navigation improvement (#3929)

improve assistance year navigation

* deductions remove step pattern (#3933)

* started removing step pattern from benefits

* add pundit back for step

* start removing step pattern from deductions

* clean up deductions controller

---------

Signed-off-by: kristinmerbach <[email protected]>

* cleanup of header

* 187141008 preferences and submit (#3935)

* started removing step pattern from benefits

* add pundit back for step

* start removing step pattern from deductions

* clean up deductions controller

* start moving preferences page out of step pattern

* more work on getting out of step pattern

* fix redirect

* controller specs

* pundit policies

* preferences page cucumbers

* finish up cucumbers

* rubocop

* appscan

---------

Signed-off-by: kristinmerbach <[email protected]>

* header fixes

* other income page to bs4 (#3928)

* more work on other icome

* translations

* bs4 fa other options (#3926)

* initial markup transfer

* margin updates, move student questions into student block, translation cleanup

* todos

* add helper to handle subject substring for bs4 and legacy

* refactor helper to default to legacy behavior, add helper method to view to use true argument for bs4 section

* add missing helper call

* fix date validation - use date_field helper, add row-form-wrapper for dependent field toggling, allow date formatting on questions save

* add red required asterisk

* fix selectric bug for pregnant, fix wrong id for paying bills

* modal work

mc

* add close button

* remove date debug comments

* remove newline

* removes fa style, updates required class per new 106 reqs

* remove todos

* reuse enable method

* remove unneeded def

* remove unneeded def

* remove comments

* add missing field, move asterisk for primary caregiver string out of translation

* whitespace fix, add labels to legends to fix dangling form labels

* add more missing labels

* cleanup

* bs4 faa family info pg (#3937)

* faa family info pg

* small fixes

* moved strings to translations

* wave scan fixes

* accessibility error on flash, remove mailing button color, mailing address title added  (#3941)

bugs worked with Ann

* submit your application to bs4 (#3945)

* submit your application to bs4

* add missing translation

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix for error banners

* accessibility for other questions, family info (#3951)

* navigation, small fixes

* remove change

* Insured consumer flow dc (#3925)

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidde…
charlienparker added a commit that referenced this pull request Sep 13, 2024
* upgrade to bs4 base

mc

mc

* revert temp changes for design review to trunk

mc

mc

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

mc

mc

* UI work

mc

mc

* use correct nav partial, add start date header

mc

* add due date element and resizing support

* update local var name for due date to match global due date helper method

* add absent badge class, update badge col to have different offset based on presence of actions button

* add FA card

mc

* indentation cleanup, add missing end

* fix actions button

* add padding on type

* remove date driving layout

* remove unneeded d-flex

* remove date layout for fa section

* fix button padding

* fix due date padding

* add file list for non-fa

* remove header for doc types

* add FA file section

* add missing translations

mc

mc

* rebase cleanup

* remove sanitize

* more rebase cleanup

mc

* restore lost file from rebase

mc

* fix spacing

* refactor faq link

* support admin actions

mc

* layout fix

mc

mc

* add info badge

* rebase cleanup

mc

* restore fa progress nav

* restore whitespace

* restore eof newline

* move resolve layout to parent controller

* whitespace fix

* minor style fixes

---------

Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
charlienparker pushed a commit that referenced this pull request Sep 16, 2024
* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>
charlienparker added a commit that referenced this pull request Sep 16, 2024
* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
charlienparker added a commit that referenced this pull request Sep 16, 2024
* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

* starting to remove other income step files (#3907)

* starting to remove step files

* continued to remove step pattern

* improve personal info keyboard nav (#3905)

* fix outstanding documents bug

* fix no route error

* align fdsh and insured pages for bs4 changes (#3893)

* merge conflicts registration process

* more work on consumer flow

merge conflicts#

* whitespace fix, update fdsh modal to match insured

* remove unneeded class from merge

* move modal options to helper

---------

Co-authored-by: Kristin Merbach <[email protected]>

* verify identity documents accessibility lift (#3918)

* improve ridp upload page

* first changes

* keyboard navigation auth and consent (#3912)

keyboard nav auth & consent

* improve tab focus verify identity (#3913)

improve tab focus id verify

* fixes for sarah b

* personal info navigation improvements (#3922)

improve personal info page

* use new header for dc

* improve ridp service unavailable nav (#3924)

* clean up ridp unavailable page

* fix button

* dc bs4 logo

* mobile nav to bs4 (#3901)

* fix fonts, more ridp work started

* mobile nav

* title attribute for svgs

* started removing step pattern from benefits (#3930)

* started removing step pattern from benefits

* add pundit back for step

* app for reduction navigation improvement (#3929)

improve assistance year navigation

* deductions remove step pattern (#3933)

* started removing step pattern from benefits

* add pundit back for step

* start removing step pattern from deductions

* clean up deductions controller

---------

Signed-off-by: kristinmerbach <[email protected]>

* cleanup of header

* 187141008 preferences and submit (#3935)

* started removing step pattern from benefits

* add pundit back for step

* start removing step pattern from deductions

* clean up deductions controller

* start moving preferences page out of step pattern

* more work on getting out of step pattern

* fix redirect

* controller specs

* pundit policies

* preferences page cucumbers

* finish up cucumbers

* rubocop

* appscan

---------

Signed-off-by: kristinmerbach <[email protected]>

* header fixes

* other income page to bs4 (#3928)

* more work on other icome

* translations

* bs4 fa other options (#3926)

* initial markup transfer

* margin updates, move student questions into student block, translation cleanup

* todos

* add helper to handle subject substring for bs4 and legacy

* refactor helper to default to legacy behavior, add helper method to view to use true argument for bs4 section

* add missing helper call

* fix date validation - use date_field helper, add row-form-wrapper for dependent field toggling, allow date formatting on questions save

* add red required asterisk

* fix selectric bug for pregnant, fix wrong id for paying bills

* modal work

mc

* add close button

* remove date debug comments

* remove newline

* removes fa style, updates required class per new 106 reqs

* remove todos

* reuse enable method

* remove unneeded def

* remove unneeded def

* remove comments

* add missing field, move asterisk for primary caregiver string out of translation

* whitespace fix, add labels to legends to fix dangling form labels

* add more missing labels

* cleanup

* bs4 faa family info pg (#3937)

* faa family info pg

* small fixes

* moved strings to translations

* wave scan fixes

* accessibility error on flash, remove mailing button color, mailing address title added  (#3941)

bugs worked with Ann

* submit your application to bs4 (#3945)

* submit your application to bs4

* add missing translation

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix for error banners

* accessibility for other questions, family info (#3951)

* navigation, small fixes

* remove change

* update pom libaries

* disable bs4 for individual features

* diable bs4 consumer flow insured folder dc

* disable bs4 feature to scenarios

* update disable bs4 for dc

* update dc scenarios

* update individual_ridp_admin_intervention scenarios

* update scenarios for dc client

* update help paying for coverage scenarios for dc client

* update consumer scenarios for dc and maine

* update household info scenario

* update scenarios for dc and maine

* update dc and maine scenarios

* update scenarios for dc

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: Diana Quisbert <[email protected]>
charlienparker added a commit that referenced this pull request Sep 16, 2024
* personal information page redo

mc

* mc

* mc

* mc

* feature flags, faa layouts

mc

mc

* header progress

mc

* add bs4 upgrade icons, collapsed header tweaks

mc

* started family information

mc

mc

* registration process

mc

* more work on consumer flow

mc

mc

* client specific files re-organized

mc

* footer updates

mc

* authority & consent ridp page

mc

* progress nav accessibility

mc

* fix fonts, more ridp work started

mc

* added ME colors, revert app controller flag

mc

* ridp flow

mc

* don't touch FAA yet

mc

mc#

mc

* starting to rubocop

mc

* fix brakeman, other text changes

mc

* reformat devide translations

mc

* id bad bullets

mc

* id bad bullet

mc

* id bad bullet

mc

* previous and continue buttons dryed out

mc

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

mc

mc#

* add missing underscore prefix to partial (#3840)

mc

* show help shopping button

mc

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

mc

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

mc

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

mc

* merge conflicts

* merge conflicts

* outline for sep page

* more detail work, passes in bs4 flag for date check, implements modal

mc

* add get_date method for date parsing based on bs4 param

* add date formatting for other date param

* localize error text, use progress buttons, shop link in success message

* reset continue button on init, remove line break with bs4

* date input work

* cleanup

* cleanup

* add missing closing tag

* uses correct key for number

* update date entry to be time-based instead of focus

* default continue button to qle_submit, enable it on date entry, update it to submit on date validation

* rename check_qle_date and get_qle_date methods for clarity, update *_reason js files to update submit id, update reason handler to update submit id and disable button in fail case

* adds bs4 layout for reason partials

* missing label tag

* undo debug line

* indentation fix

* remove unneeded div

* remove uneeded class

* replace values for radio

* remove todo

* cleanup, add zip view for bs4

* update moving handlers to allow for button id switching

* fix bug which allows zip partial to permeate when selecting another link

* localized special reasons

* add modal handling

* localize zip error

* fix modal handler

* move date chose hide

* consolidate check date error case

* further check ql date refactoring

* localize middle of month coverage error string

* localize future error

* refactor get_date helper for clarity

* use var instead of const to avoid redeclaration error

* move id to nav partial

* clean up error arg

* move qle zip id reset

* remove unneeded class

* updates moves bs4 param check for some actions into refactored enable_bs4_layout method

* upgrade to bs4 base

mc

* revert temp changes for design review to trunk

mc

* personal information page redo

mc

* feature flags, faa layouts

mc

mc

* header progress

mc

* add bs4 upgrade icons, collapsed header tweaks

mc

* started family information

mc

mc

* registration process

mc

* more work on consumer flow

mc

* client specific files re-organized

mc

* authority & consent ridp page

mc

* progress nav accessibility

mc

* fix fonts, more ridp work started

mc

* ridp flow

mc

* don't touch FAA yet

mc

mc#

mc

* starting to rubocop

mc

* fix brakeman, other text changes

mc

* reformat devide translations

mc

* id bad bullets

mc

* id bad bullet

mc

* id bad bullet

mc

* previous and continue buttons dryed out

mc

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

mc

mc

* add missing underscore prefix to partial (#3840)

mc

* mc show help shopping button

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

mc

* fix fonts, more ridp work started

* choose cov page wip

mc

* plan shopping progress bars updated

mc

* plan shopping nav refactoring

mc

* family information conversion, fixed progress nav buttons

mc

* translation fixes

* removed debugging code

* rebase cleanup

mc

* fix link_to CSS vunerabilities

mc

* webpacker depreciation warning cleanup

* integrate progress nav into sep

* fix success link to match new id

* add record_sep to bs4 conditionally enabled to account for date parsing

* add modal comment

* rename submit method

* remove sep-form, add sep-date class

* add missing span

* add personal to conditionally enabled

* add missing semi colon

* move date change text set out of js, add calc translation

* add translation to other partial

* rebase clenaup

mc

* more rebase cleanup

* more rebase cleanup

* more rebase cleanup

* renames event label, adds date label

* remove unneeded var

* unbind selector on load

* add bs4 qle_submit handler, add missing zip submit handler that was also missing in legacy

* fix enter navigation

* remove unneeded check

* remove enter keydown from qle for bs4, move moving id reset out of completion, remove typing timer

* removes button id switching, adds button partials to each special reason partial, and details landing/date/error/success divs

* cleanup

* undo gemfile

* remove debug special case

* remove whitespace

* fix legacy date continue

* move sep-date class up to parent to capture both date field and button

* fix for keydown suppression

* add effective handling

* remove unneeded fields, add label to select

* restore selector for form keydown

* adds missing nav title

* restore kinds check

* remove if debug for moving fields

* remove random semi colon

* use symbols for conditional def

* remove extraneous param for button partial, update effective on kinds setup to only disable submit button when there are multiple kinds

* rebase cleanup

* indentation fix

* fixes dangling form labels

* fix keyboard bug preventing all input

* rebase cleanup

* rebase cleanup

* remove style attr

* fix enter press

---------

Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
charlienparker added a commit that referenced this pull request Sep 16, 2024
* upgrade to bs4 base

* revert temp changes for design review to trunk

* registration process

* more work on consumer flow

* fix fonts, more ridp work started

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

* bs4 income adjustments (#3954)

* todos

* add red required asterisk

mc

* remove date debug comments

* remove newline

* more section work

mc

* work through coverage

mc

* remove hack for frozen string and update displayable_field?

mc

* add income table

* translation work, use existing gray colors for table borders

mc

* modal work

* fix modal id

* modal title fix

* continue text for mec banner

* coverage required fixes

mc

* move caretaker string to review section

mc

* translation cleanup

* more localization work

mc

* fix hover color

* fix asterisk

* m
mcodernize review_benefits partial (need to remove debug)

* debug removal, translation esi work

mc

* move esi fields to partial

* add bottom sections

mc

* fix formatted string

* add subsection partial

* pass in applicant for summary section

mc

* move hash helpers to new file

mc

* add translation helper for review and submit hashes

mc

* add private helpers for displayable field and add missing row map calls for foster care keys

* move translator module into helper module, fix displayable helper callers for applicant

* cleanup

mc

* use key for expected

* fix caretaker key, view cleanup

mc

* use human boolean for parent outside

* undo rebase issue

* fix continue application content

* add missing upcase

* undo lock file change

* update hover

* remove todo

* titleize relationship, add helpers for hash constructors

* classify displayable helpers

* remove class_name method

* add include, fix wrong variable name for relationship builder

* remove unneeded helper declaration

* remove newline

Signed-off-by: Charlie Parker <[email protected]>

* add bs4 outline to view, logic to controller

mc

* inital review work - update controller to support action, implement Personal Info and Tax rows

mc

mc

* fix for review and submit layout

mc

* move selectric handling to js for other questions

* initial page work

mc

* update form, update date formatting for date fields, disable selectric on drop downs

* save cancel button work

* remove debug

* remove unneeded ids, fix error on translations but still need correct content

mc

* add nav, update form partial to default save button to disabled

* fix save button and form disabling

* fix add more link permeance after removal

* fix created income UI showing legacy, fix edit button not working

* remove unneeded bs4 set

* move other actions to conditional

mc

* add date field for income, fix bug causing fake input fields to be enabled upon edit -> cancel flow

* use date field for unemployment

* fix add button permeance bug after remove for unemployment

mc

* cleanup

mc

* update disable for deductions

* cleanup

* cancel fix, other income form class fixes

* fix cancel button reseting checkbox bug, update padding for elements in form partials to be consistent with non-form partials

* update edit and remove buttons for deductions, remove repeated edit class for other income

* swap id and class for add more button in both legacy and bs4

* add missing enable from rebase

* add missing when from rebase

* fix destroy/destroy all handling to ensure permeance of add new button when there are still other deductions for the kind, fix replace bug that caused the add new button to be hidden when adding a new deduction after deleting a deduction

* update add new button hiding

* button fixes - use outline for remove and use button class for edit to allow edit disabling

* remove add more on destroy all

* modal and translation work

* add logic to reset deduction form when empty and uncheck

* edit, cancel, add new fixes for other income

* fix deduction remove not causing checkbox reset, break out deduction kind remove to function, refactor deduction kind remove to handle concurrency

* disable all income edit buttons while editing for other/unemployment along with class update to btn to allow disable, start selector syntax fix for removeDeduction method, add removeIncome method, add other income checkbox uncheck handling for no created deductions case, button styling fix for modals

* support add new disable for unemployment, remove unneeded selector from replace, margin fixes for unemployment cancel and unemployment add more

* support add more disable for other income

* margin fixes for buttons, apply other income add disable universally

* add more fixes

* add progress button disable functionality

* fix new form permeating when removing all deduction kinds, fix add more permeating when unchecking kind with open form

* fix other income add more permeating when unchecking kind with an income and form, fix doubling up of income when creating income after removing all kind with an income and form

* cleanup cancel, fix unemployment add more to not appear for initial entry

* remove cleanup

* add legacy handling for deductions

* hide add more on cancel when no other existing

* auto uncheck unemployment on final delete, fix cancel handling

* fix add more permeance for cancel new deduction, break out reset into function, update income edit disabling to account for unemployment

* selector fixes, make frequency required

* update modals and allow disabling of a tags

* fix broken translation

* translation cleanup for me, remove labels from subsection partial and replace with dl, add required class for dt

* rename key string

* remove unneeded style

* remove unused strings

* update margins of form buttons and checkboxes to match mockups

* remove add new deduction bottom margin, add x margin for deduction/other driver radios, update deduction form edit/create to disable remove button of other forms

* restructure other markup, update save input class to button to match disabled styling, disable remove button for income.js when editing

* class fixes

* update edit toggling selectors to not disable divs which directly own buttons

* ss string fix

* fix leave warning modal

* cleanup

* add support for ai an

* set deductions actions from params

* restore legacy add replace

* consolidate add link

* update disabled style to select all bottom level, non a & button elements so that a & buttons can be individually styled, update new form cloning to prevent multiple form label error

* remove debug

* comment fixes

* update forms to validate date warnings using bs4 date format, add date warning UI for bs4, update date warning content to match mockups

* fix date parsing for bs4

* income note field work

* add end date translation

* fix syntax error

* remove unneeded keys from merge

* fix legacy income note

* translation cleanup

* update leave edit to not enable submit buttons, remove redundant disable on fake inputs

* more translation cleanup

* disable help links

* fix review description list

* cleanup

* fix unemployment edit delete

* fix date parsing

* update other questions date parsing

* modal work

* add date warning to other income, remove undefined check in js

* move warning partials

* flex work

* rollback debug

* remove extra semi colon

* disable yes/no text

* remove left margins on inputs

* more margin updates

* remove margin on unemployment add more

* add leave ids

---------

Signed-off-by: Charlie Parker <[email protected]>

* uplift job income page to bs4 (#3974)

* personal information page redo

* job income changes

* missing translations

* updates to translation

* cleanup unneeded class changes

* remove extra changed file

* more cleanup

* changes from PR comments

* fixed

* header sizing order issue

* remove br

* small nav bug for nonbs4

* improve spacing

* fix income_kind

* clean up nits

* phone input masking

* more changings

---------

Co-authored-by: Kristin Merbach <[email protected]>

* refactor: Add unique IDs to input fields in consumer roles docs shared partials

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Signed-off-by: Charlie Parker <[email protected]>
Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
charlienparker added a commit that referenced this pull request Sep 16, 2024
* upgrade to bs4 base

mc

* revert temp changes for design review to trunk

mc

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

mc

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

mc

* add bs4 UI for review, update helper to toggle edit button in applicant summary, update controller to render new UI for flag

* add application id

* fix button margins, init displayable service for review, update check on all_relationships to handle nil

* add breadcrumbs styles, add breadcrumbs for review

mc

* move progress nav styles into nav stylesheet

mc

* add translations for app detail

mc

* add family side nav partial to FA views, call from review page, update side nav list case for applications nav to handle applications and review actions for active selection

* update legacy review layout

* move review back to nav for flag off, add other subsections matching review and submit

* remove todo

* remove unneeded divs

* remove more unneeded divs

* sanitize back buttons

* restore nav from rebase

* rebase cleanup

mc

* rebase cleanup

* translation refactor

mc

* update partial from other PR

---------

Signed-off-by: kristinmerbach <[email protected]>
Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
charlienparker added a commit that referenced this pull request Sep 16, 2024
* upgrade to bs4 base

* revert temp changes for design review to trunk

* registration process

* more work on consumer flow

* fix fonts, more ridp work started

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

* bs4 income adjustments (#3954)

* todos

* add red required asterisk

mc

* remove date debug comments

* remove newline

* more section work

mc

* work through coverage

mc

* remove hack for frozen string and update displayable_field?

mc

* add income table

* translation work, use existing gray colors for table borders

mc

* modal work

* fix modal id

* modal title fix

* continue text for mec banner

* coverage required fixes

mc

* move caretaker string to review section

mc

* translation cleanup

* more localization work

mc

* fix hover color

* fix asterisk

* m
mcodernize review_benefits partial (need to remove debug)

* debug removal, translation esi work

mc

* move esi fields to partial

* add bottom sections

mc

* fix formatted string

* add subsection partial

* pass in applicant for summary section

mc

* move hash helpers to new file

mc

* add translation helper for review and submit hashes

mc

* add private helpers for displayable field and add missing row map calls for foster care keys

* move translator module into helper module, fix displayable helper callers for applicant

* cleanup

mc

* use key for expected

* fix caretaker key, view cleanup

mc

* use human boolean for parent outside

* undo rebase issue

* fix continue application content

* add missing upcase

* undo lock file change

* update hover

* remove todo

* titleize relationship, add helpers for hash constructors

* classify displayable helpers

* remove class_name method

* add include, fix wrong variable name for relationship builder

* remove unneeded helper declaration

* remove newline

Signed-off-by: Charlie Parker <[email protected]>

* add bs4 outline to view, logic to controller

mc

* inital review work - update controller to support action, implement Personal Info and Tax rows

mc

mc

* fix for review and submit layout

mc

* move selectric handling to js for other questions

* initial page work

mc

* update form, update date formatting for date fields, disable selectric on drop downs

* save cancel button work

* remove debug

* remove unneeded ids, fix error on translations but still need correct content

mc

* add nav, update form partial to default save button to disabled

* fix save button and form disabling

* fix add more link permeance after removal

* fix created income UI showing legacy, fix edit button not working

* remove unneeded bs4 set

* move other actions to conditional

mc

* add date field for income, fix bug causing fake input fields to be enabled upon edit -> cancel flow

* use date field for unemployment

* fix add button permeance bug after remove for unemployment

mc

* cleanup

mc

* update disable for deductions

* cleanup

* cancel fix, other income form class fixes

* fix cancel button reseting checkbox bug, update padding for elements in form partials to be consistent with non-form partials

* update edit and remove buttons for deductions, remove repeated edit class for other income

* swap id and class for add more button in both legacy and bs4

* add missing enable from rebase

* add missing when from rebase

* fix destroy/destroy all handling to ensure permeance of add new button when there are still other deductions for the kind, fix replace bug that caused the add new button to be hidden when adding a new deduction after deleting a deduction

* update add new button hiding

* button fixes - use outline for remove and use button class for edit to allow edit disabling

* remove add more on destroy all

* modal and translation work

* add logic to reset deduction form when empty and uncheck

* edit, cancel, add new fixes for other income

* fix deduction remove not causing checkbox reset, break out deduction kind remove to function, refactor deduction kind remove to handle concurrency

* disable all income edit buttons while editing for other/unemployment along with class update to btn to allow disable, start selector syntax fix for removeDeduction method, add removeIncome method, add other income checkbox uncheck handling for no created deductions case, button styling fix for modals

* support add new disable for unemployment, remove unneeded selector from replace, margin fixes for unemployment cancel and unemployment add more

* support add more disable for other income

* margin fixes for buttons, apply other income add disable universally

* add more fixes

* add progress button disable functionality

* fix new form permeating when removing all deduction kinds, fix add more permeating when unchecking kind with open form

* fix other income add more permeating when unchecking kind with an income and form, fix doubling up of income when creating income after removing all kind with an income and form

* cleanup cancel, fix unemployment add more to not appear for initial entry

* remove cleanup

* add legacy handling for deductions

* hide add more on cancel when no other existing

* auto uncheck unemployment on final delete, fix cancel handling

* fix add more permeance for cancel new deduction, break out reset into function, update income edit disabling to account for unemployment

* selector fixes, make frequency required

* update modals and allow disabling of a tags

* fix broken translation

* translation cleanup for me, remove labels from subsection partial and replace with dl, add required class for dt

* rename key string

* remove unneeded style

* remove unused strings

* update margins of form buttons and checkboxes to match mockups

* remove add new deduction bottom margin, add x margin for deduction/other driver radios, update deduction form edit/create to disable remove button of other forms

* restructure other markup, update save input class to button to match disabled styling, disable remove button for income.js when editing

* class fixes

* update edit toggling selectors to not disable divs which directly own buttons

* ss string fix

* fix leave warning modal

* cleanup

* add support for ai an

* set deductions actions from params

* restore legacy add replace

* consolidate add link

* update disabled style to select all bottom level, non a & button elements so that a & buttons can be individually styled, update new form cloning to prevent multiple form label error

* remove debug

* comment fixes

* update forms to validate date warnings using bs4 date format, add date warning UI for bs4, update date warning content to match mockups

* fix date parsing for bs4

* income note field work

* add end date translation

* fix syntax error

* remove unneeded keys from merge

* fix legacy income note

* translation cleanup

* update leave edit to not enable submit buttons, remove redundant disable on fake inputs

* more translation cleanup

* disable help links

* fix review description list

* cleanup

* fix unemployment edit delete

* fix date parsing

* update other questions date parsing

* modal work

* add date warning to other income, remove undefined check in js

* move warning partials

* flex work

* rollback debug

* remove extra semi colon

* disable yes/no text

* remove left margins on inputs

* more margin updates

* remove margin on unemployment add more

* add leave ids

---------

Signed-off-by: Charlie Parker <[email protected]>

* uplift job income page to bs4 (#3974)

* personal information page redo

* job income changes

* missing translations

* updates to translation

* cleanup unneeded class changes

* remove extra changed file

* more cleanup

* changes from PR comments

* fixed

* header sizing order issue

* remove br

* small nav bug for nonbs4

* improve spacing

* fix income_kind

* clean up nits

* phone input masking

* more changings

---------

Co-authored-by: Kristin Merbach <[email protected]>

* fix: update privacy_statement translation remove redundant links

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Signed-off-by: Charlie Parker <[email protected]>
Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
charlienparker added a commit that referenced this pull request Sep 16, 2024
* registration process

* more work on consumer flow

* upgrade to bs4 base

* revert temp changes for design review to trunk

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

* bs4 income adjustments (#3954)

* todos

* add red required asterisk

mc

* remove date debug comments

* remove newline

* more section work

mc

* work through coverage

mc

* remove hack for frozen string and update displayable_field?

mc

* add income table

* translation work, use existing gray colors for table borders

mc

* modal work

* fix modal id

* modal title fix

* continue text for mec banner

* coverage required fixes

mc

* move caretaker string to review section

mc

* translation cleanup

* more localization work

mc

* fix hover color

* fix asterisk

* m
mcodernize review_benefits partial (need to remove debug)

* debug removal, translation esi work

mc

* move esi fields to partial

* add bottom sections

mc

* fix formatted string

* add subsection partial

* pass in applicant for summary section

mc

* move hash helpers to new file

mc

* add translation helper for review and submit hashes

mc

* add private helpers for displayable field and add missing row map calls for foster care keys

* move translator module into helper module, fix displayable helper callers for applicant

* cleanup

mc

* use key for expected

* fix caretaker key, view cleanup

mc

* use human boolean for parent outside

* undo rebase issue

* fix continue application content

* add missing upcase

* undo lock file change

* update hover

* remove todo

* titleize relationship, add helpers for hash constructors

* classify displayable helpers

* remove class_name method

* add include, fix wrong variable name for relationship builder

* remove unneeded helper declaration

* remove newline

Signed-off-by: Charlie Parker <[email protected]>

* add bs4 outline to view, logic to controller

mc

* inital review work - update controller to support action, implement Personal Info and Tax rows

mc

mc

* fix for review and submit layout

mc

* move selectric handling to js for other questions

* initial page work

mc

* update form, update date formatting for date fields, disable selectric on drop downs

* save cancel button work

* remove debug

* remove unneeded ids, fix error on translations but still need correct content

mc

* add nav, update form partial to default save button to disabled

* fix save button and form disabling

* fix add more link permeance after removal

* fix created income UI showing legacy, fix edit button not working

* remove unneeded bs4 set

* move other actions to conditional

mc

* add date field for income, fix bug causing fake input fields to be enabled upon edit -> cancel flow

* use date field for unemployment

* fix add button permeance bug after remove for unemployment

mc

* cleanup

mc

* update disable for deductions

* cleanup

* cancel fix, other income form class fixes

* fix cancel button reseting checkbox bug, update padding for elements in form partials to be consistent with non-form partials

* update edit and remove buttons for deductions, remove repeated edit class for other income

* swap id and class for add more button in both legacy and bs4

* add missing enable from rebase

* add missing when from rebase

* fix destroy/destroy all handling to ensure permeance of add new button when there are still other deductions for the kind, fix replace bug that caused the add new button to be hidden when adding a new deduction after deleting a deduction

* update add new button hiding

* button fixes - use outline for remove and use button class for edit to allow edit disabling

* remove add more on destroy all

* modal and translation work

* add logic to reset deduction form when empty and uncheck

* edit, cancel, add new fixes for other income

* fix deduction remove not causing checkbox reset, break out deduction kind remove to function, refactor deduction kind remove to handle concurrency

* disable all income edit buttons while editing for other/unemployment along with class update to btn to allow disable, start selector syntax fix for removeDeduction method, add removeIncome method, add other income checkbox uncheck handling for no created deductions case, button styling fix for modals

* support add new disable for unemployment, remove unneeded selector from replace, margin fixes for unemployment cancel and unemployment add more

* support add more disable for other income

* margin fixes for buttons, apply other income add disable universally

* add more fixes

* add progress button disable functionality

* fix new form permeating when removing all deduction kinds, fix add more permeating when unchecking kind with open form

* fix other income add more permeating when unchecking kind with an income and form, fix doubling up of income when creating income after removing all kind with an income and form

* cleanup cancel, fix unemployment add more to not appear for initial entry

* remove cleanup

* add legacy handling for deductions

* hide add more on cancel when no other existing

* auto uncheck unemployment on final delete, fix cancel handling

* fix add more permeance for cancel new deduction, break out reset into function, update income edit disabling to account for unemployment

* selector fixes, make frequency required

* update modals and allow disabling of a tags

* fix broken translation

* translation cleanup for me, remove labels from subsection partial and replace with dl, add required class for dt

* rename key string

* remove unneeded style

* remove unused strings

* update margins of form buttons and checkboxes to match mockups

* remove add new deduction bottom margin, add x margin for deduction/other driver radios, update deduction form edit/create to disable remove button of other forms

* restructure other markup, update save input class to button to match disabled styling, disable remove button for income.js when editing

* class fixes

* update edit toggling selectors to not disable divs which directly own buttons

* ss string fix

* fix leave warning modal

* cleanup

* add support for ai an

* set deductions actions from params

* restore legacy add replace

* consolidate add link

* update disabled style to select all bottom level, non a & button elements so that a & buttons can be individually styled, update new form cloning to prevent multiple form label error

* remove debug

* comment fixes

* update forms to validate date warnings using bs4 date format, add date warning UI for bs4, update date warning content to match mockups

* fix date parsing for bs4

* income note field work

* add end date translation

* fix syntax error

* remove unneeded keys from merge

* fix legacy income note

* translation cleanup

* update leave edit to not enable submit buttons, remove redundant disable on fake inputs

* more translation cleanup

* disable help links

* fix review description list

* cleanup

* fix unemployment edit delete

* fix date parsing

* update other questions date parsing

* modal work

* add date warning to other income, remove undefined check in js

* move warning partials

* flex work

* rollback debug

* remove extra semi colon

* disable yes/no text

* remove left margins on inputs

* more margin updates

* remove margin on unemployment add more

* add leave ids

---------

Signed-off-by: Charlie Parker <[email protected]>

* uplift job income page to bs4 (#3974)

* personal information page redo

* job income changes

* missing translations

* updates to translation

* cleanup unneeded class changes

* remove extra changed file

* more cleanup

* changes from PR comments

* fixed

* header sizing order issue

* remove br

* small nav bug for nonbs4

* improve spacing

* fix income_kind

* clean up nits

* phone input masking

* more changings

---------

Co-authored-by: Kristin Merbach <[email protected]>

* personal information page redo

* started enrollment submitted page

* plan shopping page visuals work

* more plan shopping styling

* minor fixes

* clean up from rebase

* receipt page translations

* upgrade to bs4 base

* revert temp changes for design review to trunk

* fix fonts, more ridp work started

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* plan shopping page visuals work

* more plan shopping styling

* All filters working not sorts

* HSA and Carrier filters working

* format js

* fix selectric reactivating

* format

* fix html format error

* Hide Sort by in filter list when on individual

* sorting working with filtering

* fix rebase issues

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Signed-off-by: Charlie Parker <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
charlienparker added a commit that referenced this pull request Sep 16, 2024
* more work on consumer flow

* upgrade to bs4 base

* revert temp changes for design review to trunk

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

* personal information page redo

* started enrollment submitted page

* plan shopping page visuals work

* more plan shopping styling

* minor fixes

* clean up from rebase

* receipt page translations

* main scss rebase issues

* receipt page pr comments

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
charlienparker added a commit that referenced this pull request Sep 16, 2024
* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

* starting to remove other income step files (#3907)

* starting to remove step files

* continued to remove step pattern

* improve personal info keyboard nav (#3905)

* fix outstanding documents bug

* fix no route error

* align fdsh and insured pages for bs4 changes (#3893)

* merge conflicts registration process

* more work on consumer flow

merge conflicts#

* whitespace fix, update fdsh modal to match insured

* remove unneeded class from merge

* move modal options to helper

---------

Co-authored-by: Kristin Merbach <[email protected]>

* verify identity documents accessibility lift (#3918)

* improve ridp upload page

* first changes

* keyboard navigation auth and consent (#3912)

keyboard nav auth & consent

* improve tab focus verify identity (#3913)

improve tab focus id verify

* fixes for sarah b

* personal info navigation improvements (#3922)

improve personal info page

* use new header for dc

* improve ridp service unavailable nav (#3924)

* clean up ridp unavailable page

* fix button

* dc bs4 logo

* mobile nav to bs4 (#3901)

* fix fonts, more ridp work started

* mobile nav

* title attribute for svgs

* started removing step pattern from benefits (#3930)

* started removing step pattern from benefits

* add pundit back for step

* app for reduction navigation improvement (#3929)

improve assistance year navigation

* deductions remove step pattern (#3933)

* started removing step pattern from benefits

* add pundit back for step

* start removing step pattern from deductions

* clean up deductions controller

---------

Signed-off-by: kristinmerbach <[email protected]>

* cleanup of header

* 187141008 preferences and submit (#3935)

* started removing step pattern from benefits

* add pundit back for step

* start removing step pattern from deductions

* clean up deductions controller

* start moving preferences page out of step pattern

* more work on getting out of step pattern

* fix redirect

* controller specs

* pundit policies

* preferences page cucumbers

* finish up cucumbers

* rubocop

* appscan

---------

Signed-off-by: kristinmerbach <[email protected]>

* header fixes

* other income page to bs4 (#3928)

* more work on other icome

* translations

* bs4 fa other options (#3926)

* initial markup transfer

* margin updates, move student questions into student block, translation cleanup

* todos

* add helper to handle subject substring for bs4 and legacy

* refactor helper to default to legacy behavior, add helper method to view to use true argument for bs4 section

* add missing helper call

* fix date validation - use date_field helper, add row-form-wrapper for dependent field toggling, allow date formatting on questions save

* add red required asterisk

* fix selectric bug for pregnant, fix wrong id for paying bills

* modal work

mc

* add close button

* remove date debug comments

* remove newline

* removes fa style, updates required class per new 106 reqs

* remove todos

* reuse enable method

* remove unneeded def

* remove unneeded def

* remove comments

* add missing field, move asterisk for primary caregiver string out of translation

* whitespace fix, add labels to legends to fix dangling form labels

* add more missing labels

* cleanup

* bs4 faa family info pg (#3937)

* faa family info pg

* small fixes

* moved strings to translations

* wave scan fixes

* accessibility error on flash, remove mailing button color, mailing address title added  (#3941)

bugs worked with Ann

* submit your application to bs4 (#3945)

* submit your application to bs4

* add missing translation

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix for error banners

* accessibility for other questions, family info (#3951)

* navigation, small fixes

* remove change

* Insured consumer flow dc (#3925)

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidde…
charlienparker added a commit that referenced this pull request Sep 16, 2024
* upgrade to bs4 base

mc

mc

* revert temp changes for design review to trunk

mc

mc

* bs4 plan shopping family info & choose cov for HH pages (#3821)

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* fix fonts, more ridp work started

* choose cov page wip

* plan shopping progress bars updated

* plan shopping nav refactoring

* remove debug line

* choose cov for hh progress, added pg nav buttons for first flow

* family information page progress

* family information conversion, fixed progress nav buttons

* translation fixes

* removed debugging code

* convert to html.erb

* rebase cleanup

* removed duped code  & unnecessary vars, erb convert for ps compare modal

* fix link_to CSS vunerabilities

* baseline post convrsion

* plan shopping progress refactor

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* pr feedback, small fixes

* upgrade to bs4 base

* revert temp changes for design review to trunk

* add feature flag and switch consumer role controler layout

* personal information page redo

* feature flags, faa layouts

* bs4 footer

* fix for dynamic footer

* header wip, stable

* header progress

* sticky footer fix

* header logo update, move styling to new file

* add bs4 upgrade icons, collapsed header tweaks

* started family information

* privacy page and personal information, button mixin

* registration process

* more work on consumer flow

* fix semicolon

* client specific files re-organized

* authorization & consent page

* footer updates

* footer phone # fix

* authority & consent ridp page

* progress nav accessibility

* fix fonts, more ridp work started

* added ME colors, revert app controller flag

* ridp flow

* add new progress layout

* create account page plus additional translations

* immigration doc partials

* translations for other clients

* don't touch FAA yet

* app scan warnings

* app scan warnings

* app scan issues

* starting to rubocop

* navigation helper rubocop

* fix brakeman, other text changes

* app scan flags

* sanitize links

* fix link

* devise translations

* fix devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* devise translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* reformat devide translations

* redo devise translations

* id bad bullets

* id bad bullet

* id bad bullet

* id bad bullet text

* previous and continue buttons dryed out

* properly sanitize link

* fix for no ssn info text

* sign in text fix

* header contact number not clickable (#3812)

add missing href attribute to link

* fix personal info step 3 content (#3819)

* fix duplicate for, fix missing asterisk for home address fields with introduction of form builder helper that builds a text field which abstracts out setting required field and asterisk append

* update helper method to allow callers to not specify class param, fix contact_info_for in other translations

* remove unrelated changes

* update race legend subtitle to be inline (#3833)

move parenthetical to inline with legend title

* remove disagree placeholder text (#3831)

remove disagree_placeholder_text div

* fix auth and consent previous button layout (#3825)

* wrap progress button in vertically aligned flex box

* combines prev and continue link partial into one partial, updates consumers of the old partials to use the new one and keep functionality

* remove unneeded div

* remove unneeded argument

* ssn number mask format (#3824)

* add mask for ssn, add mask-ssn class on text field

* update class name to not be repetitive

* use preexisting input mask for ssn

* phone number mask format (#3823)

* add script tag for phone number mask, add phone_number class on text field, update placeholder to match expected format

* replace new mask with a call to inputMasks

* add missing underscore prefix to partial (#3840)

* right align header account links (#3832)

* add ml-auto class to link column

* remove unneeded span

* adds newline for each span

* remove ml-auto class from span and adds align-items-end to both columns

* unbold demo info questions (#3836)

* localize incarcerated and citizen strings, remove asterisk from tribe_member_2 to allow space and non-space cases, add new selector to allow for unbold form labels and legends

* remove asterisk from tribal_name translation

* use weight-n instead of new class for enforcing non-bold titles in form

* add class for immigrant doc labels

* replace header content (#3838)

add new devise entry for bs4 welcome message, update controller to drive the flash message using bs4 flag

* remove repeated header text (#3839)

add translations for user roles, remove fallback on role check in portal helper, use new translation keys in portal helper

* rubocop

* give continue buttons shared selectors

* resolve ticket 187618984 previous button underlined

* ridp agreement text bold

* disabled dob on more info

* session warning pop up

* privacy spacing

* add not sure for is applying coverage

* duplicated *s for aiant question

* load correct ridp partials

* show help shopping button

* progress nav buttons cleanup

* auto build feature branch on new changes

* fix failed validation page

* start fixing rspec failures

* continuing spec work

* continuing spec work

* more spec fixes

* ridp admin actions

* rubocop fixes

* fix warning

* make bs4 layout more conditional for dc

* bs4 flag for layouts already using bs4 layout

* wlecome controller

* rubocop

* fix address and contact row spacing (#3843)

* use margin bottom 2 for first address and contact rows, wrap address hidden fields in span to lose input + label styling

* remove span, update selector to disregard hidden inputs

* fix contact method alert (#3851)

* adds localized string for contact options, update checkbox setup to use unique ids for each option and localize the label, adds missing class on BS4 checkbox span

* adds check for non-person which crashed on null check and stopped further validations in the call

* remove checked call in combined get

* unbold personal info immigration fields (#3852)

add weight-n to other status questions legend and all missing immigration doc labels

* remove extra personal info contact text (#3850)

* fix fonts, more ridp work started

* remove unneeded please provide disclaimer label

* remove weird merge tag

---------

Co-authored-by: Kristin Merbach <[email protected]>

* hide id in pre login (#3849)

update translation to just be id, update account display to only show id substring when present

* fix label for verified state (#3865)

update new verification helper to return the string matching legacy for valid case

* remove personal info step in consumer signup (#3863)

cherry pick old changes

* use warning banner for no match (#3861)

* update content for bs4, use warning banner

* padding updates

* rename translation key

* add text for missing immigrant status labels (#3864)

* adds hardcoded text for missing localized keys

* add translations for content

* move not sure link below radios (#3870)

* use grid for is_applying_for_cov elements

* remove rows and reorganize classes

* add asterisk to address line 1 and zip in personal info (#3820)

* add builder to use for DRYing creation of required text fields with asterisks

* update address 1, address 2, city, and zip fields to use the new text_field builder, update zip field to have asterisk

* localize city

* makes placeholder a required keyword param

* rename to RequirableFormBuilder, update helper to maintain both the field/select element and its label, moves asterisk to label per specs

* fixe merge order so that params override options

* remove formbuilder and hardcode asterisks in markup

* fix trailing whitespace, remove county translation

* restore add 1 class

* use required class for required fields

* add required attr for city

* add disabled class to continue link (#3872)

* add disabled class to link, remove extraneous if in button

* restores disabled if for button case

* fix missing document faq button (#3877)

* 187579400 update flash (#3854)

* add BS4 view to flash partial

* updates flash partial for bs4, updates progress and bs4 layouts to render new flash

* fix underscore on close button

* close icon work

* white space fix

* map legacy alert type to bs4, update flash layout to work well with larger messages, accessibility updates

* add success case, more whitespace cleanup

* update alert-error to use correct border and add error icon

* move container out of layout, update padding on header to match footer

* update padding and margins on flash

* simplify flash in progress layout now that we have flash in its own container

* unrelated fix for failed validations, replace old alert style, add missing legacy style in BS4 flash style map, add new alert style, update flash margin,

* adds @bs4 arguments for render_flash calls and restores horizontal status in bs4 layout

* rename flash type helper method

* update info step 1 banner (#3860)

* adds warning option to DOB error, updates error_messages partial to handle error option and use new UI

* remove left padding for list in alert

* remove unneeded classes

* remove padding style

* updates classes for error banner to match mockups

* move flash into content column for progress layout, remove mt class from flash to allow layouts to drive top margin

* ridp default select agree (#3878)

add selected args for radio buttons

* resolve spacing issues (#3875)

* fix spacing, style the info to match other info boxes

* more spacing

* consolidate spacing classes

* session modal styling (#3874)

* session modal styling

* remove unnecessary span

* consolidate spacing classes

* ridp waiting

* update upload doc verify identity modal (#3886)

* split modal partial for bs4, finish header

* add radios and upload/close buttons

* padding update

* update radio text to be blocked and centered with radio

* more padding and margin fixes

* padding update for info label

* use for to render radios

* add id

* remove unneeded value attr

* remove unneeded classes on button row

* refactor radio value and id

* use element name for legend

* removes for from legend

* remove row

* move btn-file selector to forms

* start moving FAA to use bootstrap 4 (#3855)

* fix fonts, more ridp work started

* start faa

* fix resolve layout

* fix resolve layout

* fix rebase issues

* pr requests and translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* improve ridp status badges (#3884)

* temp

* improve ridp status badges

* improve encapsulation

* rename of vars

* rename vars 2.0

* ridp fixes for previous and log out links (#3879)

* ridp link fixes

* button link hovers shouldn't have underline

* fix add mailing address functionality (#3876)

* fix mailing address js

* remove console log

* add button for existing mailing addresses

* help me sign up flow bs4 conversion started (#3887)

* help me sign up flow started

* translations and search input

* wave issues

* translations

---------

Signed-off-by: kristinmerbach <[email protected]>

* Bootstrap misc bugfixes (#3895)

fixes for 6 bug tickets

* update bs4 content for dob personal info banner (#3883)

* update corner radius for bs4 alerts, localize dob error, switch on message when validating dob for bs4 flag

* use existing continue strings as substring in dob error

* add document list to verify identity (#3890)

* cleanup, move old list to bs4

* more list work

* layout cleanup

* more list work

* adds trash style

* destroy icon update

* adds js handling for delete

* add new js destroy

* indentation fixes

* adds aria

* use h6 for type

* fix header span

* indentation fixes, update fdish page with list changes as well

* add missing change from merge

* remove class

* refactor row classes to support mobile

* alpha tweak

* remove float-end

* remove align

* fix unmatched span

* remove align

* remove d-flex

* puts label and badge in col

* button refactor

* remove unneeded icon

* add remove padding

* margin fixes

* more layout fixes

* restore fdsh modal

* use insured modal for insured

* cleanup

* FAA eligibility results to bs4 (#3894)

* eligibility results

* waiting for eligibility

* wait for results

---------

Signed-off-by: kristinmerbach <[email protected]>

* add member to family fix

* main.scss brace fix, cleanup

* webpacker depreciation warning cleanup

* fix build error with calc

* revert sass depreciation fix attempt

* small transation & inline style fixes

* XSS fixes

---------

Signed-off-by: kristinmerbach <[email protected]>
Signed-off-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
Co-authored-by: Charlie Parker <[email protected]>
Co-authored-by: kvootla <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>
Co-authored-by: kristinmerbach <[email protected]>
Co-authored-by: Alec Turnbull <[email protected]>

mc

mc

* UI work

mc

mc

* use correct nav partial, add start date header

mc

* add due date element and resizing support

* update local var name for due date to match global due date helper method

* add absent badge class, update badge col to have different offset based on presence of actions button

* add FA card

mc

* indentation cleanup, add missing end

* fix actions button

* add padding on type

* remove date driving layout

* remove unneeded d-flex

* remove date layout for fa section

* fix button padding

* fix due date padding

* add file list for non-fa

* remove header for doc types

* add FA file section

* add missing translations

mc

mc

* rebase cleanup

* remove sanitize

* more rebase cleanup

mc

* restore lost file from rebase

mc

* fix spacing

* refactor faq link

* support admin actions

mc

* layout fix

mc

mc

* add info badge

* rebase cleanup

mc

* restore fa progress nav

* restore whitespace

* restore eof newline

* move resolve layout to parent controller

* whitespace fix

* minor style fixes

---------

Co-authored-by: Sarah Austin <[email protected]>
Co-authored-by: Kristin Merbach <[email protected]>
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