-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Open
Copy link
Description
User Story
As a frontend engineer,
I want to upgrade the smart form renderer to version 1.0.0 and ensure all dependent behaviors continue working,
so that the frontend remains compatible with the latest supported library version and leverages new improvements without breaking existing workflows.
Description
The frontend is currently using @aehrc/smart-form-renderer version 0.45.1, which must be migrated to 1.0.0. This version upgrade includes several breaking changes, requiring code adjustments following the official migration guide. After migration, critical functionalities that depend on the renderer must be thoroughly tested to ensure no regressions.
Proposed Flow
- Upgrade dependency from
0.45.1to1.0.0inpackage.json - Follow migration steps outlined in the official guide
- Refactor code to comply with breaking changes in v1.0.0
- Validate and fix rendering logic for
Questionnaire - Ensure proper submission flow for
QuestionnaireResponse - Confirm Konsulin webhook calls still trigger correctly after form submission
- Verify
Observationextraction is still functional post-migration - Conduct full regression testing for all questionnaire-related workflows
- Add/update documentation and notes related to new behaviors and API changes
Reference
- Migration guide: https://github.com/aehrc/smart-forms/blob/main/MIGRATION-v1.0.md
- Current dependency version:
@aehrc/[email protected]
Notes:
- Watch for changes in props, event handlers, output formats, and FHIR resource mapping.
- Ensure stable integration with backend expectations (FHIR structure, webhook flow).
- Implement fallback or log errors for any breaking changes discovered during QA.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status