Skip to content

Add configurable SMART Web Messaging renderer tabs - #93

Open
brianpos wants to merge 1 commit into
developfrom
brianpos-swm-lhforms-renderer-page
Open

Add configurable SMART Web Messaging renderer tabs#93
brianpos wants to merge 1 commit into
developfrom
brianpos-swm-lhforms-renderer-page

Conversation

@brianpos

Copy link
Copy Markdown
Owner

The Questionnaire tester needs to compare forms across independently hosted SMART Web Messaging renderers while retaining explicit user consent and consistent response state.

This adds configuration-driven, permission-gated renderer tabs for CSIRO Smart Forms and NLM LHC-Forms. A shared iframe host validates origins and messaging handles, retries startup handshakes, and synchronizes the active Questionnaire and existing QuestionnaireResponse without creating renderer-to-renderer update loops.

The LHC-Forms test page supports selecting a loader version through URL parameters and a temporary reload control. Renderer metadata is loaded from forms-config.json, with validation for unsafe URLs, duplicate tabs, and slot collisions. Same-origin renderers are identified as local while cross-origin renderers retain the external-service permission treatment.

Add permission-gated CSIRO and LHC-Forms renderer integrations driven by a static configuration file, including response synchronization and selectable LHC-Forms versions.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://thankful-water-06b155100-93.eastasia.4.azurestaticapps.net

@github-actions

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://yellow-plant-0209dde10-93.centralus.3.azurestaticapps.net

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant