Replicate javascript to process new endpoint

Created on 9 May 2025, 7 days ago

Problem/Motivation

The sitewide_alert module has javascript that reads data from the endpoint /sitewide_alert/load and posts any applicable alerts into a div that is positioned by the block.

We'll have three different blocks and we have additional data so we need to replicate the javascript with some differences. See ACs.

Acceptance Criteria

  1. replicate javascript library from sitewide_alert module
  2. must parse the new endpoint /sitewide_alert/load/uswds
  3. send appropriately styled alerts to one of the three blocks
  4. disable the sitewide alert version of the javascript.

Proposed resolution

Remaining tasks

Steps to reproduce

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States swirt Florida

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024