refactor(Contentful): Standardize the use of the 'slug' field on Contentful
requested to merge 3367-eng-add-proper-format-validations-to-the-slug-field-in-our-page-content-type-fix-offenders into main
What is changing in this MR?
- Remove the trailing and leading slashes from the slug property across the
Page
content type pages to have a proper standardization of how to use this property.
Steps to deliver
- Merge this MR
- Just right after the previous step, publish this Contentful release
- Add the
^(?!\/$)(?!\/)(?!.*\/$).*$|^\/$
regex to the slug field in the Page content type
Build Variables:
-
Use Contentful Preview API
Closes #3367 (closed)
Edited by John Arias Castillo