From 6bb2d53d2951fc33b95cf7918fcc4bdb99b8b763 Mon Sep 17 00:00:00 2001 From: Sarah Austin Date: Sun, 21 Jul 2024 15:24:39 -0400 Subject: [PATCH] Enrollment History Pg & Details (#4029) * 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 * 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 <78749008+kristinmerbach@users.noreply.github.com> * 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 <78749008+kristinmerbach@users.noreply.github.com> * 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 <78749008+kristinmerbach@users.noreply.github.com> * 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 * 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 <78749008+kristinmerbach@users.noreply.github.com> * 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 <78749008+kristinmerbach@users.noreply.github.com> * 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 * 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 <78749008+kristinmerbach@users.noreply.github.com> * 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 <78749008+kristinmerbach@users.noreply.github.com> * 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 <78749008+kristinmerbach@users.noreply.github.com> * 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 <78749008+kristinmerbach@users.noreply.github.com> Signed-off-by: Sarah Austin Co-authored-by: Kristin Merbach Co-authored-by: Charlie Parker Co-authored-by: kvootla Co-authored-by: Alec Turnbull Co-authored-by: kristinmerbach <78749008+kristinmerbach@users.noreply.github.com> Co-authored-by: Alec Turnbull * 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 * 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 <78749008+kristinmerbach@users.noreply.github.com> * 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 <78749008+kristinmerbach@users.noreply.github.com> * 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 <78749008+kristinmerbach@users.noreply.github.com> * 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 * 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 <78749008+kristinmerbach@users.noreply.github.com> * 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 <78749008+kristinmerbach@users.noreply.github.com> * 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 <78749008+kristinmerbach@users.noreply.github.com> * 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 * 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 <78749008+kristinmerbach@users.noreply.github.com> * 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 <78749008+kristinmerbach@users.noreply.github.com> * 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 * 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 <78749008+kristinmerbach@users.noreply.github.com> * 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 <78749008+kristinmerbach@users.noreply.github.com> * 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 <78749008+kristinmerbach@users.noreply.github.com> * 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 <78749008+kristinmerbach@users.noreply.github.com> Signed-off-by: Sarah Austin Co-authored-by: Kristin Merbach Co-authored-by: Charlie Parker Co-authored-by: kvootla Co-authored-by: Alec Turnbull Co-authored-by: kristinmerbach <78749008+kristinmerbach@users.noreply.github.com> Co-authored-by: Alec Turnbull * 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 * 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 <78749008+kristinmerbach@users.noreply.github.com> * 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 <78749008+kristinmerbach@users.noreply.github.com> * 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 <78749008+kristinmerbach@users.noreply.github.com> * 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 <78749008+kristinmerbach@users.noreply.github.com> Signed-off-by: Sarah Austin Co-authored-by: Sarah Austin Co-authored-by: Kristin Merbach Co-authored-by: Charlie Parker Co-authored-by: kvootla Co-authored-by: Alec Turnbull Co-authored-by: kristinmerbach <78749008+kristinmerbach@users.noreply.github.com> Co-authored-by: Alec Turnbull Co-authored-by: Diana Quisbert * start tax info bootstrap (#3948) * start tax info bootstrap * add view * starting on cukes * continue button * tax info button selector * continue button selectors * tax info cukes * more cucumber work * controller spec --------- Signed-off-by: kristinmerbach <78749008+kristinmerbach@users.noreply.github.com> * fix popover / tooltips not showing (#3956) Fix popover / tooltips not showing Signed-off-by: Brad Bodine * your preferences page to bs4 (#3943) preferences page to bs4 * tax info into bootstrap (#3959) * tax info to bs4 * fix broken aria reference * bootstrap relationships page (#3942) * faa relationships improvements * feature flagging * start moving exception page to bs4 (#3931) exception page to bs4 * bs4 fa review and submit (#3936) * 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 * add missing enable from rebase * add missing when from rebase * translation cleanup for me, remove labels from subsection partial and replace with dl, add required class for dt * rename key string * remove unneeded style --------- Signed-off-by: Charlie Parker * missing end in relationships * additional text fixes for consumer registration flow (#3962) styling fixes and redundant text removal * fixed mailing address translation (#3980) * fix disable link (#3969) * 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 * 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 * update sep page for bs4 (#3902) * 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 <78749008+kristinmerbach@users.noreply.github.com> 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 <78749008+kristinmerbach@users.noreply.github.com> 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 <78749008+kristinmerbach@users.noreply.github.com> 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 Co-authored-by: Sarah Austin Co-authored-by: kristinmerbach <78749008+kristinmerbach@users.noreply.github.com> * fix missed translations (#3973) * fix missed translations * fix rebase chaos * bs4 functional bugfixes (#3978) * personal information page redo mc * fix for previous button following legacy implementation * add verify header to service unavailable, use bolded paragraph for try again text * remove duplicate translation * add padded template for bs4 * replace label with p tag * remove required distinction between mailing and home address fieldsets * center warning icon in exception show * add glossary class for term mc * rebase cleanup * rebase cleanup * add required class to all labels regardless of required var * add missing diff * update file field tag text to use label, add css for button labels to match button text across app * add label for non-identity upload button * remove labels from modal prompt * comment update * required cleanup on consumer fields - FA citizen, naturalized, and incarcerated & Consumer incarcerated * update consumer_signup partial to convert layout args to strings in content_for, remove show_help from personal info edit * flash fixes * use gray color instead of white * remove flash debug * add bs4 check to glossary * update exception structure to avoid full underline by breaking out substrings * fix broken translation file * update legacy spacing * call logout for link in nav panel * fix no match icon alignment * replace debug, remove duplicated div * add flag check to layout for step, eligibility response, and application publish error pages * fix logout link for FA * fix for duplicate validation alert --------- Co-authored-by: Kristin Merbach * 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 * bs4 sidebar refactor (#3985) * sidebar nav refactor * translations * remove unneeded changes * fix plan shopping nav and remove debug code --------- Signed-off-by: kristinmerbach <78749008+kristinmerbach@users.noreply.github.com> * small bug fixes, navigation improvements (#3988) * small bug fixes, navigation improvements * member to household translation change * another translation * Bs4 faa health coverage page (#3952) * personal information page redo * wip faa health cov page * heavlth cov progress * coverage card progress, added missing question * get the non esi functionality working * started esi benefits * esi form functionality, more tweaking of the disabling * translations * remove rebase issues * more pr fixes --------- Co-authored-by: Kristin Merbach * add missing translations * more translations * add back the close icons * sidebar cleanup * enable future links, properly set completely * enable future links, properly set completely * enable future links * completeness * fixed link text * add tavels for security questions * updated ridp agreement link text * bs4 income button fixes (#3994) * fix legacy deduction add button * add missing button closing tag * add disabled class for after required, wrap all required legends/labels in spans to capture the inner text * add missing content for devise email requirement * dependent address error remove (#3986) * remove unecessary error message * remove uneceaasry modal * print cucumber failures in summary (#3987) * adding cucumber failures to summary * trying another way to pipe it * trying with tee instead of just redirection * tee didn't work * print error on screen too * convert response_id to string * replace sanitize with h * Updates to scenarios for Insured consumer flow dc (#3990) * update admin consumer steps * update pom libaries * disable bs4 for individual features * diable bs4 consumer flow insured folder dc * update disable bs4 for dc * update scenarios for dc client * update scenarios for dc and maine * update scenarios for dc * update maine and dc scenarios * update dc account creation steps * remove unnecessarry comments #binding.irb * update wait for eligiblity response feature for maine and dc * update account creation feature for dc * update documents_page feature for dc * update household coverage page feature for dc * update message pages feature for dc * update individual_sep_signup feature for dc * update contast level aa scenarios for maine * update help_me_sign_up_steps * update dc insured scenarios * update other income scenarios for dc * update individual_sep_signup scenarios for dc * update individual_with_existing_sep scenarios for dc * add wait to individual steps for dc * disable bs4 changes for manage family personal information dc * update ageoff_sep_employee_adding_dependent scenario for dc * update household_info_continue_button_steps for dc * update health_coverage scenario * update continue button for dc * udate contrast level aa scenarios and remove comments from feature file * update comments around bugs introduce with details * update individual steps for maine * update job income steps for dc * update job income POM * update health coverage pom locators * fix health coverage eligible question * print cucumber failures in summary (#3987) * adding cucumber failures to summary * trying another way to pipe it * trying with tee instead of just redirection * tee didn't work * print error on screen too * update accessbility scenarios * more FAA cleanup * tax info continue button selector * tax info scnearios * missing translations * waiting for results cucumber * start on manage seps * don't use new bootstrap layout * convert response_id to string * more welcome screen work * ridp continue button * proper log out location * update individual steps for dc --------- Co-authored-by: Diana Quisbert Co-authored-by: Kristin Merbach Co-authored-by: Marco (Polo) Ornelas Co-authored-by: Alec Turnbull * bs4 deduction and personal info button fixes (#3995) * fix legacy deduction add button * add missing button closing tag * add disabled class for after required, wrap all required legends/labels in spans to capture the inner text * add missing content for devise email requirement * add listener for new mask * update is checked for false radio * move link setup into script for bs4 such that the disagree case can be handled, move legacy script into legacy markup block * remove address check and hidden logic from address/homeless section, update section to match specs * fix modal icons, fix spacing on job income sections * remove unneeded method, update consumer signup nav panel buttons hash to remove all logic dependent on steps above 2, update side nav partial call to nav panel to remove present? check in favor of not nil? * remove help link * add missing equals * remove bottom padding from add buttons (#4012) * Remove button color and text changes (#4011) Co-authored-by: Alec Turnbull * bs4 job income add spacing fix (#4015) * remove bottom padding from add buttons * add disagree disclaimer for ridp * bearer high warning * get things working again * enrollment history page update, with slight tile fixing * FAA fixes * health coverage fixes * enrollment details update * missed class * add faa dependent * previous button on verification 1 page * dependent question default * bs4 align tribe name inputs vertically (#4037) align tribe name inputs vertically * My Household Page (#4021) * first pass my household page - table, edit, and add new progress * scoped JS add pundit * table css organization, table save button fix * fix for my household new nav link * fix table update on dependent save * Dc cucumber (#4025) * update manage family steps * enable ssn feature flag * update pom * add comment to individual step * add wait * update selector * undo accidental commits * add missing localization * enrollment tile, use bs4 for details page --------- Signed-off-by: kristinmerbach <78749008+kristinmerbach@users.noreply.github.com> Signed-off-by: Sarah Austin Signed-off-by: Brad Bodine Signed-off-by: Charlie Parker Co-authored-by: Kristin Merbach Co-authored-by: Charlie Parker Co-authored-by: kvootla Co-authored-by: Alec Turnbull Co-authored-by: kristinmerbach <78749008+kristinmerbach@users.noreply.github.com> Co-authored-by: Alec Turnbull Co-authored-by: quisbertdiana <82827623+quisbertdiana@users.noreply.github.com> Co-authored-by: Diana Quisbert Co-authored-by: Brad Bodine Co-authored-by: Ann Caballero Co-authored-by: Marco (Polo) Ornelas --- .../insured/families_controller.rb | 9 +- app/controllers/products/qhp_controller.rb | 1 + app/javascript/css/enrollment.scss | 30 ++ app/javascript/css/main.scss | 5 +- app/javascript/src/enrollment.js | 46 ++- .../families/_enrollment_actions.html.erb | 164 +++++--- .../families/_enrollment_refactored.html.erb | 388 ++++++++++++------ .../families/enrollment_history.html.erb | 119 ++++-- app/views/shared/_pay_now_modal.html.erb | 2 +- .../ui-components/v1/cards/_summary.html.erb | 295 +++++++++++++ .../ui-components/v1/cards/_summary.html.slim | 192 --------- .../incomes/_job_income.html.erb | 1 + db/seedfiles/translations/en/me/insured.rb | 42 +- 13 files changed, 840 insertions(+), 454 deletions(-) create mode 100644 app/views/ui-components/v1/cards/_summary.html.erb delete mode 100644 app/views/ui-components/v1/cards/_summary.html.slim diff --git a/app/controllers/insured/families_controller.rb b/app/controllers/insured/families_controller.rb index 9b91e2ceb18..5e17e4c8be2 100644 --- a/app/controllers/insured/families_controller.rb +++ b/app/controllers/insured/families_controller.rb @@ -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] @@ -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 diff --git a/app/controllers/products/qhp_controller.rb b/app/controllers/products/qhp_controller.rb index 5ad0df1c7f9..0a0541452b7 100644 --- a/app/controllers/products/qhp_controller.rb +++ b/app/controllers/products/qhp_controller.rb @@ -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? diff --git a/app/javascript/css/enrollment.scss b/app/javascript/css/enrollment.scss index 2133e1b531c..da60d37be93 100644 --- a/app/javascript/css/enrollment.scss +++ b/app/javascript/css/enrollment.scss @@ -1,3 +1,4 @@ + :root { .plan-tile { font-size: medium; @@ -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); + } + } + } } diff --git a/app/javascript/css/main.scss b/app/javascript/css/main.scss index b7b00204240..631836b958f 100644 --- a/app/javascript/css/main.scss +++ b/app/javascript/css/main.scss @@ -155,6 +155,7 @@ dl.parent { padding: 0; margin: 0; margin-bottom: 3ch; + grid-auto-rows: min-content } dd, @@ -209,10 +210,6 @@ ul.list-right-section { .sm-hide { display: none; } - - .sm-hide { - display: none; - } } .card { diff --git a/app/javascript/src/enrollment.js b/app/javascript/src/enrollment.js index 2f1669420b7..620e42b3395 100644 --- a/app/javascript/src/enrollment.js +++ b/app/javascript/src/enrollment.js @@ -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); + }; }) \ No newline at end of file diff --git a/app/views/insured/families/_enrollment_actions.html.erb b/app/views/insured/families/_enrollment_actions.html.erb index 4cbb3946cce..e3c7c910a0c 100644 --- a/app/views/insured/families/_enrollment_actions.html.erb +++ b/app/views/insured/families/_enrollment_actions.html.erb @@ -1,61 +1,119 @@ <% can_make_changes_for_enrollment = hbx_enrollment.can_make_changes? %> +<% if @bs4 %>
- <% unless read_only || !can_make_changes_for_enrollment %> - + <% end %> +
+<% else %> +
+ <% unless read_only || !can_make_changes_for_enrollment %> + - <% end %> +
+ <% end %> +<% end %> <% if hbx_enrollment.product.present? && enrollment_is_ivl_or_coverall?(hbx_enrollment) %> - <%= render "shared/pay_now_modal", hbx_enrollment: hbx_enrollment, source: "Enrollment Tile" %> -<% end %> \ No newline at end of file + <%= render "shared/pay_now_modal", hbx_enrollment: hbx_enrollment, source: "Enrollment Tile" %> +<% end %> diff --git a/app/views/insured/families/_enrollment_refactored.html.erb b/app/views/insured/families/_enrollment_refactored.html.erb index 1589956714d..a1fa5619ea6 100644 --- a/app/views/insured/families/_enrollment_refactored.html.erb +++ b/app/views/insured/families/_enrollment_refactored.html.erb @@ -3,165 +3,283 @@ <% if hbx_enrollment.is_coverage_waived? %> <%= render partial: 'insured/families/waived_coverage_widget', locals: { read_only: read_only || hbx_enrollment.can_make_changes?, hbx_enrollment: hbx_enrollment } %> <% else %> -
border rounded-lg bg-white mb-4"> -
-

- <%= hbx_enrollment.coverage_year %> <%= product.kind.to_s.titleize %> <%= l10n('coverage').titleize %> -

-
- <%= render partial: "insured/families/enrollment_status_label", locals: { step: hbx_enrollment.enroll_step, hbx_enrollment: hbx_enrollment } %> -
-
- -
- -
-
- <%= display_carrier_logo(Maybe.new(product)) %> -

- <%= link_to product.title, summary_products_plans_path({ :standard_component_id => product.hios_id, hbx_enrollment_id: hbx_enrollment.id, active_year: product.active_year }), remote: true %> -

+ <% if @bs4 %> +
"> +
+
+ <% if product.kind == "dental" %> + + <%= product.kind.to_s.titleize %> + + + <% else %> + + <%= product.kind.to_s.titleize %> + + + <% end %> + <%= product.kind.to_s.titleize %>
+
<%= render partial: "insured/families/enrollment_status_label", locals: { step: hbx_enrollment.enroll_step, hbx_enrollment: hbx_enrollment } %>
-
-
-
- - <%= hbx_enrollment.effective_on %> +
+
+
<%= display_carrier_logo(Maybe.new(product), {width: 100}) %>
+
+

+ <%= link_to product.title, summary_products_plans_path({ :standard_component_id => product.hios_id, hbx_enrollment_id: hbx_enrollment.id, active_year: product.active_year }), remote: true %> +

- - <% if hbx_enrollment.coverage_terminated? || hbx_enrollment.coverage_expired? || hbx_enrollment.coverage_termination_pending? %> -
- - <%= enrollment_coverage_end(hbx_enrollment) %> -
- - <% if hbx_enrollment.coverage_termination_pending? %> -
- - <%= hbx_enrollment.terminated_on %> -
+
+
+
+
Coverage Period:
+ <% coverage_end = enrollment_coverage_end(hbx_enrollment) if %> + <% if hbx_enrollment.coverage_terminated? || hbx_enrollment.coverage_expired? || hbx_enrollment.coverage_termination_pending? %> +
<%= hbx_enrollment.effective_on %>-<%=enrollment_coverage_end(hbx_enrollment) %>
+ <% else %> +
<%= hbx_enrollment.effective_on %>
<% end %> - <% else %> <% if @census_employee&.show_plan_end_date? && !hbx_enrollment.is_cobra_status? %> -
- - <%= @census_employee.coverage_terminated_on.end_of_month %> -
+
<%= l10n("plan_end") %>:
+
<%= @census_employee.coverage_terminated_on.end_of_month %>
<% end %> - <% end %> - - <% unless hide_policy_selected_date?(hbx_enrollment) %> -
- - <%= format_policy_purchase_date(hbx_enrollment) %> (<%= format_policy_purchase_time(hbx_enrollment) %>) -
- <% end %> + <% unless hide_policy_selected_date?(hbx_enrollment) %> +
<%= l10n("plan_selected") %>:
+
<%= format_policy_purchase_date(hbx_enrollment) %> (<%= format_policy_purchase_time(hbx_enrollment) %>)
+ <% end %> +
<%= l10n("benefit_group") %>
+
<%= @benefit_group.try(:title) %>
+ <% if @census_employee&.employee_role.present? && employee_role = @census_employee.employee_role %> +
<%= l10n("hired_on") %>:
+
<%= @census_employee.employee_role.try(:hired_on) %>
+ <% end %> + <% if hbx_enrollment.is_coverage_waived? %> +
<%= l10n("enrollment_status") %>:
+
<%= l10n("coverage_waived") %>
+ <% if @census_employee&.employee_role.present? && employee_role = @census_employee&.employee_role %> +
<%= l10n("waiver_reason") %>:
+
<%= hbx_enrollment.waiver_reason %>
+ <% end %> + <% end %> +
<%= l10n("type") %>:
+
<%= product.try(:product_type).try(:upcase) %>
+
<%= l10n("metal_level") %>:
+ <% plan_level = display_dental_metal_level(product) %> +
<%= plan_level %>
+
+
+ <% if current_user.has_hbx_staff_role? %> +
<%= HbxProfile::ShortName %> ID:
+
<%= hbx_enrollment.hbx_id %>
+ <% end %> +
<%= l10n("premium_you_pay") %>:
+
<%= number_to_currency(current_premium(hbx_enrollment), precision: 2) %> / <%= l10n("month").to_s.downcase %>
+ <% if hbx_enrollment.consumer_role.present? && (hbx_enrollment.applied_aptc_amount > 0) %> +
<%= l10n("APTC_amount") %>:
+
<%= number_to_currency(hbx_enrollment.applied_aptc_amount, precision: 2) %> / <%= l10n("month").to_s.downcase %>
+ <% end %> + <% unless EnrollRegistry.feature_enabled?(:hide_enrollment_market_type) %> +
<%= l10n("market_type") %>:
+
<%= show_market_name_by_enrollment hbx_enrollment %>
+ <% end %> + <% if hbx_enrollment.eligible_child_care_subsidy > 0 %> +
<%= l10n("hc44cc_premium_discount") %>:
+
<%= number_to_currency(hbx_enrollment.eligible_child_care_subsidy, precision: 2) %> / <%= l10n("month").to_s.downcase %>
+ <% end %> +
+
- <% if current_user.has_hbx_staff_role? %> -
- - <%= hbx_enrollment.hbx_id %> -
+
+ <% members = covered_members_name_age(hbx_enrollment.hbx_enrollment_members) %> + <% if members.present? %> +
+
<%= l10n("covered") %>:
+
+ <% members.each do |member| %> + + <%= member.titleize %><%= "," unless member.eql?(members.last)%> + + <% end %> +
+
<% end %> +
-
- - <%= @benefit_group.try(:title) %> + +
+
+ <% else %> +
"> +
+

+ <%= hbx_enrollment.coverage_year %> <%= product.kind.to_s.titleize %> <%= l10n('coverage').titleize %> +

+
<%= render partial: "insured/families/enrollment_status_label", locals: { step: hbx_enrollment.enroll_step, hbx_enrollment: hbx_enrollment } %>
+
- <% if @census_employee&.employee_role.present? && employee_role = @census_employee.employee_role %> -
- - <%= @census_employee.employee_role.try(:hired_on) %>

-
- <% end %> +
- <% if hbx_enrollment.is_coverage_waived? %> -
- - <%= l10n("coverage_waived") %> +
+
+ <%= display_carrier_logo(Maybe.new(product)) %> +

+ <%= link_to product.title, summary_products_plans_path({ :standard_component_id => product.hios_id, hbx_enrollment_id: hbx_enrollment.id, active_year: product.active_year }), remote: true %> +

- <% if @census_employee&.employee_role.present? && employee_role = @census_employee&.employee_role %> -
- - <%= hbx_enrollment.waiver_reason %> +
+ +
+
+
+ + <%= hbx_enrollment.effective_on %> +
+ + <% if hbx_enrollment.coverage_terminated? || hbx_enrollment.coverage_expired? || hbx_enrollment.coverage_termination_pending? %> +
+ + <%= enrollment_coverage_end(hbx_enrollment) %> +
+ + <% if hbx_enrollment.coverage_termination_pending? %> +
+ + <%= hbx_enrollment.terminated_on %> +
+ <% end %> + <% else %> + <% if @census_employee&.show_plan_end_date? && !hbx_enrollment.is_cobra_status? %> +
+ + <%= @census_employee.coverage_terminated_on.end_of_month %> +
+ <% end %> + <% end %> + + <% unless hide_policy_selected_date?(hbx_enrollment) %> +
+ + <%= format_policy_purchase_date(hbx_enrollment) %> (<%= format_policy_purchase_time(hbx_enrollment) %>) +
+ <% end %> + + <% if current_user.has_hbx_staff_role? %> +
+ + <%= hbx_enrollment.hbx_id %> +
+ <% end %> + +
+ + <%= @benefit_group.try(:title) %> +
+ + <% if @census_employee&.employee_role.present? && employee_role = @census_employee.employee_role %> +
+ + <%= @census_employee.employee_role.try(:hired_on) %>

+
+ <% end %> + + <% if hbx_enrollment.is_coverage_waived? %> +
+ + <%= l10n("coverage_waived") %> +
+ <% if @census_employee&.employee_role.present? && employee_role = @census_employee&.employee_role %> +
+ + <%= hbx_enrollment.waiver_reason %> +
+ <% end %> + <% end %>
- <% end %> - <% end %> -
-
-
- - <%= number_to_currency(current_premium(hbx_enrollment), precision: 2) %>/<%= l10n("month").to_s.downcase %> -
+
+
+ + <%= number_to_currency(current_premium(hbx_enrollment), precision: 2) %>/<%= l10n("month").to_s.downcase %> +
- <% if hbx_enrollment.consumer_role.present? && (hbx_enrollment.applied_aptc_amount > 0) %> -
- - <%= number_to_currency(hbx_enrollment.applied_aptc_amount, precision: 2) %>/<%= l10n("month").to_s.downcase %> -
- <% end %> + <% if hbx_enrollment.consumer_role.present? && (hbx_enrollment.applied_aptc_amount > 0) %> +
+ + <%= number_to_currency(hbx_enrollment.applied_aptc_amount, precision: 2) %>/<%= l10n("month").to_s.downcase %> +
+ <% end %> -
- - <%= display_dental_metal_level(product) %> -
+
+ + <%= display_dental_metal_level(product) %> +
-
- - <%= product.try(:product_type).try(:upcase) %> -
+
+ + <%= product.try(:product_type).try(:upcase) %> +
- <% unless EnrollRegistry.feature_enabled?(:hide_enrollment_market_type) %> -
- - <%= show_market_name_by_enrollment hbx_enrollment %> -
- <% end %> + <% unless EnrollRegistry.feature_enabled?(:hide_enrollment_market_type) %> +
+ + <%= show_market_name_by_enrollment hbx_enrollment %> +
+ <% end %> - <% if hbx_enrollment.eligible_child_care_subsidy > 0 %> -
- - <%= number_to_currency(hbx_enrollment.eligible_child_care_subsidy, precision: 2)%>/<%= l10n("month").to_s.downcase %> -
- <% end %> -
+ <% if hbx_enrollment.eligible_child_care_subsidy > 0 %> +
+ + <%= number_to_currency(hbx_enrollment.eligible_child_care_subsidy, precision: 2)%>/<%= l10n("month").to_s.downcase %> +
+ <% end %> +
-
+
-
- <% members = covered_members_name_age(hbx_enrollment.hbx_enrollment_members) %> - <% if members.present? %> -
- - <% members.each do |member| %> - - <%= member.titleize %><%= "," unless member.eql?(members.last)%> - - <% end %> +
+ <% members = covered_members_name_age(hbx_enrollment.hbx_enrollment_members) %> + <% if members.present? %> +
+ + <% members.each do |member| %> + + <%= member.titleize %><%= "," unless member.eql?(members.last)%> + + <% end %> +

+
+ <% end %>
- <% end %> -
-
- - - - <%# popup for phone %> - <%= render partial: "shared/#{Settings.aca.state_abbreviation.downcase}_carrier_contact_information", locals: { plan: product, hbx_enrollment: hbx_enrollment } unless product.issuer_profile.blank? %> - - <%= render partial: "insured/families/enrollment_actions", locals: { read_only: read_only, hbx_enrollment: hbx_enrollment } %> +
+ + + + <%# popup for phone %> + <%= render partial: "shared/#{Settings.aca.state_abbreviation.downcase}_carrier_contact_information", locals: { plan: product, hbx_enrollment: hbx_enrollment } unless product.issuer_profile.blank? %> + + <%= render partial: "insured/families/enrollment_actions", locals: { read_only: read_only, hbx_enrollment: hbx_enrollment } %> +
-
-<% end %> \ No newline at end of file + <% end %> +<% end %> diff --git a/app/views/insured/families/enrollment_history.html.erb b/app/views/insured/families/enrollment_history.html.erb index 371078e6daf..0bfc642b7db 100644 --- a/app/views/insured/families/enrollment_history.html.erb +++ b/app/views/insured/families/enrollment_history.html.erb @@ -1,48 +1,89 @@ -<%= javascript_pack_tag "enrollment" %> -<%= stylesheet_pack_tag "enrollment" %> -<% content_for :navigation do %> - <%= render partial: 'ui-components/v1/navs/families_navigation' %> -<% end %> +<% if @bs4 %> + <%= render partial: '/shared/family_side_nav' %> + + <%= javascript_pack_tag "enrollment" %> + <%= stylesheet_pack_tag "enrollment" %> -
-
-
- +
+

<%= l10n("enrollment_history_title") %>

-
-
- <% if pundit_allow(Family, :can_view_entire_family_enrollment_history?) %> - <% enrollments = @all_hbx_enrollments_for_admin %> - <% else %> - <% enrollments = @hbx_enrollments %> - <% end %> - <% if pundit_allow(Family, :can_view_entire_family_enrollment_history?) && enrollments&.any? %> - Display All Enrollments? - + <% if pundit_allow(Family, :can_view_entire_family_enrollment_history?) %> + <% enrollments = @all_hbx_enrollments_for_admin %> + <% else %> + <% enrollments = @hbx_enrollments %> + <% end %> + + <% if enrollments&.any? %> + <% enrollments.group_by { |enrollment| enrollment&.effective_on&.year }.each do |year, yearly_enrollments| %> + <% show_year_heading = yearly_enrollments.any?{|enrollment| !initially_hide_enrollment?(enrollment)} %> +

class="my-2 <%= "initially_hidden_enrollment hidden" unless show_year_heading %>"><%= year %>

+ <% if EnrollRegistry.feature_enabled?(:enrollment_plan_tile_update) %> + <%= render partial: "enrollment_refactored", :collection => yearly_enrollments, :as => :hbx_enrollment, locals: { read_only: false } %> + <% else %> + <%= render partial: "enrollment", :collection => yearly_enrollments, :as => :hbx_enrollment, locals: { read_only: false } %> + <% end %> <% end %> - <% if enrollments&.any? %> - <% enrollments.group_by { |enrollment| enrollment&.effective_on&.year }.each do |year, yearly_enrollments| %> - <% show_year_heading = yearly_enrollments.any?{|enrollment| !initially_hide_enrollment?(enrollment)} %> -

class="year-heading mt-0 ml-1 <%= "initially_hidden_enrollment hidden" unless show_year_heading %>"><%= year %>

- <% if EnrollRegistry.feature_enabled?(:enrollment_plan_tile_update) %> - <%= render partial: "enrollment_refactored", - :collection => yearly_enrollments, - :as => :hbx_enrollment, - locals: { read_only: false } %> - <% else %> - <%= render partial: "enrollment", - :collection => yearly_enrollments, - :as => :hbx_enrollment, - locals: { read_only: false } %> + <% else %> + <%= l10n("no_current_or_past_enrollments", short_name: EnrollRegistry[:enroll_app].setting(:short_name).item) %> + <% end %> + + <% if pundit_allow(Family, :can_view_entire_family_enrollment_history?) && enrollments&.any? %> + + + + <% end %> +
+ +<% else %> + <%= javascript_pack_tag "enrollment" %> + <%= stylesheet_pack_tag "enrollment" %> + + <% content_for :navigation do %> + <%= render partial: 'ui-components/v1/navs/families_navigation' %> + <% end %> + +
+
+
+ +
+ + +
+
+ <% if pundit_allow(Family, :can_view_entire_family_enrollment_history?) %> + <% enrollments = @all_hbx_enrollments_for_admin %> + <% else %> + <% enrollments = @hbx_enrollments %> + <% end %> + <% if pundit_allow(Family, :can_view_entire_family_enrollment_history?) && enrollments&.any? %> + Display All Enrollments? + + <% end %> + <% if enrollments&.any? %> + <% enrollments.group_by { |enrollment| enrollment&.effective_on&.year }.each do |year, yearly_enrollments| %> + <% show_year_heading = yearly_enrollments.any?{|enrollment| !initially_hide_enrollment?(enrollment)} %> +

class="year-heading mt-0 ml-1 <%= "initially_hidden_enrollment hidden" unless show_year_heading %>"><%= year %>

+ <% if EnrollRegistry.feature_enabled?(:enrollment_plan_tile_update) %> + <%= render partial: "enrollment_refactored", + :collection => yearly_enrollments, + :as => :hbx_enrollment, + locals: { read_only: false } %> + <% else %> + <%= render partial: "enrollment", + :collection => yearly_enrollments, + :as => :hbx_enrollment, + locals: { read_only: false } %> + <% end %> <% end %> + <% else %> + <%= l10n("no_current_or_past_enrollments", short_name: EnrollRegistry[:enroll_app].setting(:short_name).item) %> <% end %> - <% else %> - <%= l10n("no_current_or_past_enrollments", short_name: EnrollRegistry[:enroll_app].setting(:short_name).item) %> - <% end %> +
-
+<% end %> diff --git a/app/views/shared/_pay_now_modal.html.erb b/app/views/shared/_pay_now_modal.html.erb index 7ce653a05d6..96291da7574 100644 --- a/app/views/shared/_pay_now_modal.html.erb +++ b/app/views/shared/_pay_now_modal.html.erb @@ -15,7 +15,7 @@
<% end %> + diff --git a/db/seedfiles/translations/en/me/insured.rb b/db/seedfiles/translations/en/me/insured.rb index 5a2c2f64678..3d10fb955a1 100644 --- a/db/seedfiles/translations/en/me/insured.rb +++ b/db/seedfiles/translations/en/me/insured.rb @@ -24,6 +24,7 @@ -li- It’s printed in red on all naturalization certificates issued since September 27, 1906.", :'en.insured.passport_number' => "Passport Number", :'en.insured.passport_number_req' => "When entering a Passport Number, include all numbers and letters. Do not enter any other characters or spaces. -li- The Passport Number that you enter must have between 6 and 12 numbers and letters.", + :'en.insured.consumer_roles.error_prompt' => "You need to correct the following errors:", :'en.insured.consumer_roles.docs_shared.sevis_id' => "SEVIS ID", :'en.insured.consumer_roles.docs_shared.sevis_id_req' => "When entering a SEVIS ID, only include the numbers. Do not enter the 'N' or any other characters or letters. For example: If your SEVIS ID is 'N1234567891' then please enter '1234567891'. -li- The SEVIS ID entered must have 10 digits. \ -li- How to find the SEVIS ID: On the DS-2019, the number is on the top right hand side of the page in the box above the barcode.", @@ -33,12 +34,15 @@ :'en.insured.consumer_roles.docs_shared.none_of_above_note' => "(Select this if this person doesn't have a listed document. You can continue the application without selecting a document or status type)", :'en.personal_information' => "Personal Information", :'en.personal_info' => "Personal Info", - :"en.tell_us_about_yourself" => "Tell Us About Yourself", - :"en.insured.consumer_roles.demo_info_for" => "Demographic Information for", - :"en.insured.consumer_roles.contact_info_for" => "Contact Information for", - :"en.insured.consumer_roles.home_address" => "Home Address", - :"en.insured.consumer_roles.phone_and_email" => "Phone and Email", - :"en.insured.consumer_roles.immigration_field_warning1" => "It's important to enter as many fields from your immigration documents as possible", + :'en.tell_us_about_yourself' => "Tell Us About Yourself", + :'en.insured.consumer_roles.demo_info_for' => "Demographic Information for", + :'en.insured.consumer_roles.contact_info_for' => "Contact Information for", + :'en.insured.consumer_roles.home_address' => "Home Address", + :'en.insured.consumer_roles.phone_and_email' => "Phone and Email", + :'en.insured.consumer_roles.immigration_field_warning1' => "It's important to enter as many fields from your immigration documents as possible", + :'en.insured.consumer_roles.dependent_error.header' => "Correct the following to add this family member:", + :'en.insured.consumer_roles.dependent_error.gender' => "Gender can't be blank", + :'en.insured.consumer_roles.dependent_error.sex' => "Sex can't be blank", :'en.insured.consumer_roles.help_question_info' => "Enter your personal information and answer the following questions. When you're finished, select CONTINUE.", :'en.required_field' => "required field", :'en.warning' => "Warning", @@ -145,6 +149,7 @@ :'en.content' => "Content", :'en.send_message' => "Send Message", :'en.cancel' => "Cancel", + :'en.insured.enroll_in_coverage' => "Enroll in Coverage", :'en.insured.employee_roles.no_employer_found' => "No employer found.", :'en.insured.employee_roles.no_match_info' => "Please check the information entered above and confirm with your employer that your demographic information is listed correctly on their roster. For further assistance, please contact %{contact_center_name}: %{contact_center_phone_number}.", :'en.insured.employee_roles.healthcare_marketplace' => "Healthcare Marketplace", @@ -218,6 +223,8 @@ :'en.enrollments' => "Enrollment(s)", :'en.enrollment_history_nav_label' => "Enrollments", :'en.enrollment_history_title' => "Enrollment History", + :'en.enrollment_history.show_all' => "Show All Enrollments", + :'en.enrollment_history.hide_all' => "Hide Inactive Enrollments", :'en.no_current_or_past_enrollments' => "No current or past enrollments on %{short_name}.", :'en.open' => "Open", :'en.info_complete' => "Info Complete", @@ -226,7 +233,9 @@ :'en.ssn_not_present' => "SSN not present", :'en.tax_covering_applicant_not_present' => "Tax covering applicant not present", :'en.information_complete' => "Information Complete", - :'en.add_person_to_household' => "Add Person to Household", + :'en.add_member_to_household' => "Add Member to Household", + :'en.relationship_to_primary_member' => "Relationship to primary account member", + :'en.add_person_to_household' => "Add Member to Household", :'en.application_for_coverage' => "%{year} Application for Coverage", :'en.edit_income_coverage_info' => "Edit Income & Coverage Info", :'en.add_income_coverage_info' => "Add Income & Coverage Info", @@ -317,6 +326,7 @@ :'en.covered' => "Covered", :'en.insured.plan_contact_info' => "Plan Contact Info", :'en.make_changes' => "Make Changes", + :'en.verifications' => "Verifications", :'en.terminate_plan' => "Terminate Plan", :'en.view_details' => "View Details", :'en.insured.primary_applicant' => "Primary Applicant", @@ -388,8 +398,21 @@ :'en.insured.report_a_life_change' => "Report a Life Change", :'en.insured.report_life_changes' => "Report Life Changes", :'en.insured.change_tax_credits_or_cost_sharing_reductions' => "Change in income that may impact my tax credits/cost-sharing reductions", + :'en.insured.qle_detail.event_details' => "Event Details", + :'en.insured.qle_detail.event_date' => "Event Date", + :'en.insured.qle_detail.special_reason.marriage' => "Did you or your spouse have health insurance for at least one day between %{qle_start_date} and %{qle_date}?", + :'en.insured.qle_detail.special_reason.move' => "I had other health coverage for at least one day between %{qle_start_date} and %{qle_date}", + :'en.insured.qle_detail.special_reason.move.enter_zip' => "Enter your old zipcode and your new zipcode.", + :'en.insured.qle_detail.special_reason.move.old_zip' => "Old Zip Code", + :'en.insured.qle_detail.special_reason.move.new_zip' => "New Zip Code", + :'en.insured.qle_detail.special_reason.move.calculator' => "(Use the calculator to see if you qualify)", :'en.insured.qle_detail.eligible_to_enroll_limited_time' => "Based on the information you entered, you may be eligible to enroll now but there is limited time.", :'en.insured.qle_detail.error_text' => "Based on the information you entered, you may be eligible for a special enrollment period. Please call us at %{contact_center_phone_number} to give us more information so we can see if you qualify.", + :'en.insured.qle_detail.error_text_not_eligible' => "Based on the information you have provided, you are not eligible for this special enrollment period. If you have questions or would like to provide additional information, please contact %{site_short_name} customer service at %{contact_center_phone_number}.", + :'en.insured.qle_detail.error_text_outside_period' => "The date you submitted does not qualify for special enrollment.", + :'en.insured.qle_detail.error_text_outside_period2' => "Please double check the date or contact %{contact_center_name}: %{contact_center_phone_number}.", + :'en.insured.qle_detail.error_text_middle_of_month' => "Because your other health insurance is ending in the middle of the month, you can opt to have your coverage start on %{immediate_month_date} instead of %{following_month_date}. Please call us at %{contact_center_phone_number} by %{call_date} to use this option.", + :'en.insured.qle_detail.error_text_future_date' => "The date you submitted does not qualify for a special enrollment period. Qualifying life events may be reported up to 30 days after the date of the event. If you are trying to report a future event, please come back on or after the actual date of the event. For further assistance, please contact %{contact_center_name}: %{contact_center_phone_number}.", :'en.insured.families.qles_panel.life_event' => "Life event", :'en.insured.eligible_to_enroll' => "Eligible TO Enroll", :'en.insured.choose_the_date_you_want_your_plan_start' => "Choose the date you want your plan to start.", @@ -747,6 +770,11 @@ :'en.service_area' => 'Service Area', :'en.enrollment.tobbaco_user' => 'Tobacco User', :'en.enrollment_member.coverage_state_date' => 'Coverage Start Date', + :'en.enrollment_member.enrollment_services' => 'Enrollment Services & Estimated Costs', + :'en.enrollment_member.services' => 'Services You May Need', + :'en.enrollment_member.your_cost' => 'Your Cost At Participating Provider', + :'en.enrollment_member.in_network' => '(In-Network)', + :'en.enrollment.no_plans' => 'No Plans Found', :'en.not_available' => 'NA', :'en.insured.rejected' => "%{ridp_type} successfully rejected.", :'en.insured.email_text' => "EMAIL *",