Skip to content

cms/v0.0.1101

Latest
Compare
Choose a tag to compare
@timcosgrove timcosgrove released this 23 Jan 23:49
· 14 commits to 7145cee4651e05609262703c2e93ac28c62b2f2a since this release
b2e3941

Release 0.0.1101 ami-0e57fc49420b55498

9a25879 [DOCS] Update getting-started.md (#20281)

  • Update getting-started.md

Updating guidance on pulling files down.

  • Update getting-started.md

Further refinement.

  • Update getting-started.md

Spelling etc.

58f9574 VACMS-17896: Allows all forms or selected forms. (#20275)

0eb1b15 VACMS-19974: Adds help text to general field (#20301)

f9490b7 VAGOV-TEAM-98818-home: Adds Home page to Form Builder (#20299)

  • VAGOV-TEAM-98818:
  • Replaces Intro with Home.
  • Changes Home page to be a simple content page rather than a form.
  • Updates tests to reflect change.
  • Adds library for home-page-specific css.
  • Adds initial css for page.
  • Adds a service for fetching Digital Forms.

    • Retrieves DigitalFormsService from the service container for use in the controller.
  • Passes all Digital Form nodes to Home page template.
  • Renders and styles the list of "recent" digital forms (all of them for now).

  • Sets styling for elements within the Form Builder to match VADS.

  • Adds unit test for DigitalFormsService

  • Updates Home page functional test to ensure proper rendering of recent forms.

  • Changes recent-form list to

      .

    • Replaces h4 with h3. Styles as h4.

    • Updates docblock type hint for $digitalFormsService to replace incorrect path.

    • Moves page load to individual tests so testRecentFormsList can load it after creating test node.

    • Adds comment to clarify passing FALSE parameter to getDigitalForms.

    a492a40 VACMS-19794: Removes Connect with us tech debt (#20303)

    • VACMS-19974: Adds help text to general field

    • VACMS-19794: Updates config and twig for removed connect with us

    631f2c7 Update Content Build package to 0.0.3666. (#20310)

    remaining tests not relevant to this code change.

    f0b11cc VACMS-8251: Updates FWB help text, removing op status (#20309)

    3e62942 VACMS-20320: Sorts properties alphabetically (#20321)

    05ff5bb Remove file called 'core' that should not have been added. (#20326)

    1e07608 Ignore core file that DDEV creates. (#20332)

    Pushing this through.

    8a1e436 set page cache from one day to one hour. (#20341)

    b9365f9 VAGOV-TEAM-99444: Form Info page (#20311)

    • Renames start-conversion to form-name. Adjusts routing, tests, etc.

    • Defines two routes (create, edit) for form-name page. Uses same controller method to handle the two routes.

    • Adds method to DigitalFormsService to fetch individual Digital Form node.

      • Moves base Form logic to FormBuilderBase. (FormBuilderNodeBase and FormBuilderEditBase will be removed later).
    • Adds functionality to use class for both edit and create.
    • Updates controller to handle loading/passing of Digital Form node when nid is passed in.

    • Adds entityTypeManager as explicity dependency of FormBuilderBase.
      Things work without it, but it's more clear to be explicit.

      • Sets default values on form fields when in "edit" mode.
    • Creates new node in "create" mode; updates fields in "edit" mode.
    • Removes $nid from calls to getFormPage

      • Removes FormBuilderNodeBase and FormBuilderEditBase.
    • Updates NameAndDob form to extend from FormBuilderBase.
      • Adds flag to indicate whether the node can be empty.
    • Throws exception when node is empty and shouldn't be.
    • Adds loading of digital form by node id to nameAndDob controller method.

    • Moves isCreate flag and logic from base form to FormName form, as this is the only form that should have this.

    • Sets back-button redirect to the edit page rather than create page.

    • Removes test classes for now-unused Form base classes. Combines tests into remaining base class.

    • Removes condition to only save on updated node. Doesn't apply here (at least yet).

    • Updates tests for controller.

    • Updates tests for FormName form.

    • Small update to test for back button on NameAndDobTest

    • Removes unnecessary check for empty value.

    • Adds unit test for getDigitalForm method on the service.

    • Changes "Form Name" to "Form Info". Updates routes, class names, etc.

    • Updates page title and removes help text.

    • Changes "Continue" button text to "Save and continue".

    • Change page subtitle on Form Info page.

    • Removes redundant drupalGet callls. This is handled in the shared methods called immediately after.

      • Adds tests asserting correct subtitle.
    • Updates test to handle change to button label.
      • Removes back button on Form Info page.
    • Removes tests related to back button.
    • Updates controller tests to check for populated vs. empty fields on edit vs. create mode.
    • Changes required field label to "(Required)" rather than just an asterisk "".

    • Removes help text from various fields.

    • Configures custom template and css for Form Info page.

    • Renders form via template and styles via css.

    • Changes color on form-field hint text.

    • Updates test to align with updated page text.

    • Updates LibrariesTest to check for new libraries.

    • Updates ModuleTest to ensure presence of form themes.

    • Makes form elements fill form width so they all match.

    7145cee VACMS-19162: Ensure repeat-end dropdown does not exist on the page. (#20344)

    • VACMS-19162: Ensure repeat-end dropdown does not exist on the page. This ensures that screen readers cannot see it, and editors cannot change the default value.

    • VACMS-19162: Actually hide the repeat-end element from screen readers.