Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

1.1.2

Compare
Choose a tag to compare
@chachasikes chachasikes released this 16 Nov 01:36
· 56 commits to main since this release
a72e8c9

Headless API support

Changes made from support of drought.ca.gov. Mostly adding API support for headless rendering & keeping packages updated with design system components.

1.1.2

  • Check for CAWeb theme & deliver CAWeb specific page templates, otherwise default to Pantheon cagov theme option.
  • Clean up folder structure
  • Add more notes/suggestions about the structure and direction of this code for keeping flexibility with development coming from agency partners.
  • Removed some reference code
  • Apply same template hiding filter used for pantheon template handler to CAweb template handlers
  • Redirection API extension script
  • OG Meta API extension script
  • Fix Accordion display in editor mode
  • Fix block category listing for WP versions 5.8 and up.
  • Support local builds of newly published design system components
  • Update design system packages to latest versions

1.1.1

  • Rename ca-design-system block namespace to cagov-design-system.
  • Add patterns/template-pattern-extension - Structure a starter plugin for adding structured data and blocks for specific State publishing content patterns.
  • Add template-custom-blocks-extension - Structure a starter plugin that shows how to support custom Gutenberg Blocks as extensions of the California Design System.
  • Not deployed to cannabis.ca.gov, temporary update only for drought.ca.gov to update the Pantheon + no CAWeb theme code
  • Update og meta content for API
  • Alter output for Pantheon development
  • Add Content Admin role (which suffered from an issue of not being able to load capabilities in the 15 minutes we had to add this feature)
  • Merge in change to support headless rendering.
  • Refactor plugin structure to delineate current usage & future changes for planned work.
  • Include new regulatory-outline block. #245
  • REST API endpoint updates to structure (aligns with headless release data mapping)
  • Events system (Event detail, Events Post List, REST support)
  • Campaign toolkit feature (promotional-card and scrollable-card)

1.1.0

  • Refactored single plugin for any WordPress environment.
  • Improve plugin naming conventions.
  • Decide to keep ca-design-system as the block namespace as markup on sites are mapped to this naming convention. Will think this through for design-system version upgrades and validate the long-term usage of this block-library key. The name is mapped to the specific library name, prefixed with ca. The name should be cagov-design-system to be accurate to the GitHub repository name and project name. This has migration requirements, so postponing this to the future.
  • Keeping the same Gutenberg block library namespace for the California Design System (ca-design-system) split blocks into groups
    • cagov-design-system-html - Simple Gutenberg Blocks that render static markup samples for the California Design System.
    • cagov-design-system-blocks — Mirrors @cagov/design-system published component packages. Each package is hosted on npm and loaded into the block library from `cagov-design-system/
    • patterns/cagov-events - Initial Events data systems plugin, exposes data to REST API
    • patterns/cagov-news - Initial News posts data systems plugin, exposes data to REST API
  • Merge in change to support headless rendering.
  • Refactor plugin structure to delineate current usage & future changes for planned work.
  • Include new regulatory-outline block. #245
  • REST API endpoint updates to structure (aligns with headless release data mapping)
  • Events system (Event detail, Events Post List, REST support)
  • Campaign toolkit feature (promotional-card and scrollable-card)
  • Getting on versioning system