feat: integration for structured data copy paste - #2290
Conversation
|
This pull request is automatically being deployed by Amplify Hosting (learn more). |
|
As far as I can see, the structured-data PR is first causing repeated TC03 failures because the addition of “Get structured data” before the Edit button exposes a brittle RT selector (the exact kind of issues I am working on to eradicate, adding data-cy in the remaining 10% of the app). Cypress currently targets Edit using .outlined-label; both controls are outlined buttons, so Cypress now clicks “Get structured data” instead of Edit. I'll add/use a semantic hook with data-cy="button-edit-event", and you can add data-cy="button-get-structured-data-event" in this PR. |
…ght-app into feature/issue-2281
The change is updated in the PR . |
…ng for event series
Summary
Adds support for copying and downloading event JSON-LD structured data for embedding on external sites.
Changes
Added
StructuredDataModalwith:<script>tag.jsonldfile downloadAdded
getEventStructuredDataservice to fetch event structured data via:GET /events/{id}?include-json-ld=trueUpdated Event List and read-only Event View to expose:
Refactored
EventStatusdropdown to use inlinewriteTierinstead ofProtectedComponents.Added EN/FR i18n keys for structured data functionality.
Added
VITE_APP_OPEN_API_URLto the staging environment configuration.