Skip to content

Commit

Permalink
Enrollment History Pg & Details (#4029)
Browse files Browse the repository at this point in the history
* 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)

…
  • Loading branch information
12 people committed Aug 29, 2024
1 parent 1aa8570 commit 77a4a77
Show file tree
Hide file tree
Showing 13 changed files with 840 additions and 454 deletions.
9 changes: 5 additions & 4 deletions app/controllers/insured/families_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ class Insured::FamiliesController < FamiliesController
include Insured::FamiliesHelper

layout :resolve_layout
before_action :enable_bs4_layout, only: [:home, :find_sep, :record_sep, :check_qle_date, :check_move_reason, :check_marriage_reason, :check_insurance_reason, :personal, :inbox, :manage_family, :brokers] if EnrollRegistry.feature_enabled?(:bs4_consumer_flow)

before_action :enable_bs4_layout, only: [:home, :find_sep, :record_sep, :check_qle_date, :check_move_reason, :check_marriage_reason, :check_insurance_reason, :personal, :inbox, :manage_family, :brokers, :enrollment_history] if EnrollRegistry.feature_enabled?(:bs4_consumer_flow)
before_action :updateable?, only: [:delete_consumer_broker, :record_sep, :purchase, :upload_notice]
before_action :init_qualifying_life_events, only: [:home, :manage_family, :find_sep]
before_action :check_for_address_info, only: [:find_sep, :home]
Expand Down Expand Up @@ -694,12 +695,12 @@ def enable_bs4_layout

def resolve_layout
case action_name
when "find_sep", "personal", "manage_family", "home"
when "find_sep"
EnrollRegistry.feature_enabled?(:bs4_consumer_flow) ? "progress" : "application"
when "brokers", "inbox"
when "brokers", "inbox", "home", "enrollment_history", "personal", "manage_family"
EnrollRegistry.feature_enabled?(:bs4_consumer_flow) ? "progress" : "two_column"
when "purchase"
"application"
"two_column"
end
end
end
1 change: 1 addition & 0 deletions app/controllers/products/qhp_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def comparison
end

def summary
@bs4 = true if params[:bs4] == "true"
@standard_component_ids = [] << @new_params[:standard_component_id]
active_year_result = Validators::ControllerParameters::ProductsQhpParameters::SummaryActiveYearContract.new.call(params.permit(:active_year).to_h)
if active_year_result.success?
Expand Down
30 changes: 30 additions & 0 deletions app/javascript/css/enrollment.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

:root {
.plan-tile {
font-size: medium;
Expand Down Expand Up @@ -169,4 +170,33 @@
}
}
}

.enrollment-details{
dl {
display: grid;
grid-template-columns: 25% auto;

dt {
grid-column: 1;
}

dd {
grid-column: 2;

&.pre-line {
white-space: pre-line;
}
}
}

table{
th{
width: 33%;
}

th:first-child, td:first-child {
background-color: var(--grey-030);
}
}
}
}
5 changes: 1 addition & 4 deletions app/javascript/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ dl.parent {
padding: 0;
margin: 0;
margin-bottom: 3ch;
grid-auto-rows: min-content
}

dd,
Expand Down Expand Up @@ -209,10 +210,6 @@ ul.list-right-section {
.sm-hide {
display: none;
}

.sm-hide {
display: none;
}
}

.card {
Expand Down
46 changes: 27 additions & 19 deletions app/javascript/src/enrollment.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,33 @@
var initiallyHiddenEnrollmentPanels = document.getElementsByClassName("initially_hidden_enrollment");
var enrollmentToggleCheckbox = document.getElementById("display_all_enrollments");
// For when families home page is refreshed when user on it
document.addEventListener("DOMContentLoaded", function () {
const initiallyHiddenEnrollmentPanels = document.getElementsByClassName("initially_hidden_enrollment");
const enrollmentToggleCheckbox = document.getElementById("display_all_enrollments");
const enrollmentToggleButton = document.getElementById("display_all_enrollments_btn");

function toggleDisplayEnrollments(event) {
if (event.target.checked) {
for (var i = 0; i < initiallyHiddenEnrollmentPanels.length; i++) {
initiallyHiddenEnrollmentPanels[i].classList.remove("hidden");
}
} else {
for (var i = 0; i < initiallyHiddenEnrollmentPanels.length; i++) {
initiallyHiddenEnrollmentPanels[i].classList.add("hidden");
}
enrollmentToggleButton.addEventListener('click', toggleDisplayEnrollments);
enrollmentToggleCheckbox.addEventListener('click', toggleDisplayEnrollments);

function toggleDisplayEnrollments(event) {
if (event.target.type == "submit") {
enrollmentToggleCheckbox.checked = !enrollmentToggleCheckbox.checked;
}
};

// For when family home page loaded through clicking off of the families index page
if (enrollmentToggleCheckbox != null || enrollmentToggleCheckbox != undefined) {
enrollmentToggleCheckbox.addEventListener('click', toggleDisplayEnrollments);
};
if (enrollmentToggleCheckbox.checked) {
for (let i = 0; i < initiallyHiddenEnrollmentPanels.length; i++) {
initiallyHiddenEnrollmentPanels[i].classList.remove("hidden");
enrollmentToggleButton.innerText = l10n("");
}
} else {
for (let i = 0; i < initiallyHiddenEnrollmentPanels.length; i++) {
initiallyHiddenEnrollmentPanels[i].classList.add("hidden");
enrollmentToggleButton.innerText = "Show All Enrollments";
}
}
};

// For when families home page is refreshed when user on it
document.addEventListener("DOMContentLoaded", function () {
var enrollmentToggleCheckbox = document.getElementById("display_all_enrollments");
// For when family home page loaded through clicking off of the families index page
if (enrollmentToggleCheckbox != null || enrollmentToggleCheckbox != undefined) {
enrollmentToggleCheckbox.addEventListener('click', toggleDisplayEnrollments);
enrollmentToggleButton.addEventListener('click', toggleDisplayEnrollments);
};
})
Loading

0 comments on commit 77a4a77

Please sign in to comment.