Note: Neither VBA nor NCA facilities are herein defined as facilities. Therefore, changes to a node of either type will not trigger a content release. When VBA launches, we should expect that changes to a VBA facility will trigger a content release, as other facilities do.
va_gov_facilities/src/FacilityOps.php
Note: Neither VBA nor NCA facilities are a part of the group of launched facilities. This means that when data about one of these facilities types is pushed to Lighthouse, the URL of the facility sent to Lighthouse is null. If VBA is added to launched facilities, its Facility Locator URL will be pushed to Lighthouse until it is published, as is done with other facilities types.
So that VBA is treated like other launched facilities.
Acceptance Criteria
[ ] After editing a VBA facility the following is true:
[ ] the logs reflect that a content release would have been triggered
[ ] the VBA facility entry in the Post API Queue has the Facility Locator URL is in the facility_url field
Implementation steps
In va_gov_content_types/src/Interfaces/IsFacilityInterface.php
uncomment line 13
// 'vba_facility', // Not rendered on the FE yet. Add it when it is.
Test by editing and saving a VBA node as published
Check the log to see whether a content release would have been triggered
in va_gov_facilities/src/FacilityOps.php
delete line 192: 'vba_facility',, to remove VBA from the array of $facilities_not_launched
Test by editing an unpublished VBA facility but keeping it in draft
Check the Post API Queue to see if the Facility Locator URL is in the facility_url field
Design principles
Veteran-centered
[ ] Single source of truth: Increase reliability and consistency of content on VA.gov by providing a single source of truth.
[ ] Accessible, plain language: Provide guardrails and guidelines to ensure content quality.
[ ] Purposely structured content: Ensure Content API can deliver content whose meaning matches its structure.
[ ] Content lifecycle governance: Produce tools, processes and policies to maintain content quality throughout its lifecycle.
Editor-centered
[ ] Purpose-driven: Create an opportunity to involve the editor community in VA’s mission and content strategy goals.
[ ] Efficient: Remove distractions and create clear, straightforward paths to get the job done.
[ ] Approachable: Offer friendly guidance over authoritative instruction.
[ ] Consistent: Reduce user’s mental load by allowing them to fall back on pattern recognition to complete tasks.
[ ] Empowering: Provide clear information to help editors make decisions about their work.
User Story or Problem Statement
When VBA facilities launch, we'll need to look at/change the settings in
va_gov_content_types/src/Interfaces/IsFacilityInterface.php
va_gov_facilities/src/FacilityOps.php
null
. If VBA is added to launched facilities, its Facility Locator URL will be pushed to Lighthouse until it is published, as is done with other facilities types.So that VBA is treated like other launched facilities.
Acceptance Criteria
facility_url
fieldImplementation steps
In
va_gov_content_types/src/Interfaces/IsFacilityInterface.php
// 'vba_facility', // Not rendered on the FE yet. Add it when it is.
in
va_gov_facilities/src/FacilityOps.php
'vba_facility',
, to remove VBA from the array of$facilities_not_launched
facility_url
fieldDesign principles
Veteran-centered
Single source of truth
: Increase reliability and consistency of content on VA.gov by providing a single source of truth.Accessible, plain language
: Provide guardrails and guidelines to ensure content quality.Purposely structured content
: Ensure Content API can deliver content whose meaning matches its structure.Content lifecycle governance
: Produce tools, processes and policies to maintain content quality throughout its lifecycle.Editor-centered
Purpose-driven
: Create an opportunity to involve the editor community in VA’s mission and content strategy goals.Efficient
: Remove distractions and create clear, straightforward paths to get the job done.Approachable
: Offer friendly guidance over authoritative instruction.Consistent
: Reduce user’s mental load by allowing them to fall back on pattern recognition to complete tasks.Empowering
: Provide clear information to help editors make decisions about their work.