We should prepare the rollout of #663 for market repositories. Data currently residing in constants.js needs to go to constants.xlsx in SharePoint. When constants.js isn’t present, data from delayed.js needs to be copied instead.
Acceptance Criteria
Editor AC:
Can change setting to check if an active campaign is running or OneTrust needs to scan the active scripts
Can change appearance of search or login button in header
Can change paths for trucks in Truck Configurator, if applicable
Can set the locale of the website for the formatting of magazine dates
Non-functional AC:
The file should be published after creation
These rows in sheet helix-cookieValues will need to be present in all files:
PERFORMANCE_COOKIE
FUNCTIONAL_COOKIE
TARGETING_COOKIE
SOCIAL_COOKIE
DATA_DOMAIN_SCRIPT[^1]
COOKIE_CHECK[^2]
These rows in sheet helix-fgrep need to be present in all files:
GIT_OWNER
GIT_REPO[^3]
GLOBAL_SITEMAP_URL
The value for GIT_REPO in sheet helix-fgrep needs to be the git repository of the market site
These rows in sheet helix-headerConfig need to be present in all files, and set accordingly[^4]:
SEARCH_DISABLED
LOGIN_DISABLED
If a site contains the magazine
helix-magazineConfig should be present
DATE_LANGUAGE should be set to the locale of the site[^5]
Context/Description
We should prepare the rollout of #663 for market repositories. Data currently residing in
constants.js
needs to go toconstants.xlsx
in SharePoint. Whenconstants.js
isn’t present, data fromdelayed.js
needs to be copied instead.Acceptance Criteria
Editor AC:
Non-functional AC:
[^1]: The OneTrust ID [^2]: Should be set to FALSE if not present [^3]: Needs to be the git repository name [^4]: For example: https://bahamas.macktrucks.com/ currently contains a link to search and should be disabled [^5]: For example: es-MX for https://www.macktrucks.com.mx/ and en-BS for https://bahamas.macktrucks.com/. See https://simplelocalize.io/data/locales/ to look up locales
Out of scope
delayed.js
or other files retrievingconstants.js
. The changes of these files will come when syncing the repositoriesAEM_ASSETS
intoconstants.xlsx
; this will be part ofvideohelper.js
Note
These repositories contain
constants.js
:These repositories have data in
delayed.js
Technical details
constants.xlsx
from vg-macktrucks-com folder in SharePoint to the market site folderAttachment / link to Figma
No response