Skip to content

Conversation

@Mishael-2584
Copy link
Contributor

  • Remove shell wrappers from material controls that were breaking JSONForms internal cell rendering mechanism (fixes crash when swiping form pages)

  • Add HtmlLabelRenderer to properly render HTML in Label elements

  • Add HTML sanitization to QuestionShell for title/description fields

  • Remove unused dompurify dependency (using built-in sanitizer)

  • Clean up debug logging from App.tsx and SwipeLayoutRenderer.tsx

Pull Request Title

Description

Type of Change

  • Bug Fix
  • New Feature / Enhancement
  • Refactor / Code Cleanup
  • Documentation Update
  • Maintenance / Chore
  • Other (please specify):

Component(s) Affected

  • formulus (React Native mobile app)
  • formulus-formplayer (React web app)
  • synkronus (Go backend server)
  • synkronus-cli (Command-line utility)
  • Documentation
  • DevOps / CI/CD
  • Other:

Related Issue(s)

Closes/Fixes/Resolves:


Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manually tested
  • Tested on multiple platforms (if applicable)
  • Not applicable

Breaking Changes

  • This PR introduces breaking changes
  • This PR does NOT introduce breaking changes

If breaking changes, please describe migration steps:


Documentation Updates

  • Documentation has been updated
  • Documentation update is not required

Checklist

  • Code follows project style guidelines
  • All existing tests pass
  • New tests added for new functionality
  • PR title follows Conventional Commits format

Thank you for contributing to Open Data Ensemble (ODE)!

- Remove shell wrappers from material controls that were breaking JSONForms internal cell rendering mechanism (fixes crash when swiping form pages)

- Add HtmlLabelRenderer to properly render HTML in Label elements

- Add HTML sanitization to QuestionShell for title/description fields

- Remove unused dompurify dependency (using built-in sanitizer)

- Clean up debug logging from App.tsx and SwipeLayoutRenderer.tsx
@najuna-brian najuna-brian self-requested a review December 31, 2025 05:22
najuna-brian

This comment was marked as duplicate.

Copy link
Contributor

@najuna-brian najuna-brian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work @Mishael-2584
I like that in this PR you have solved the scrolling issue that have tested it on Formulus and it works well.
The entire hh_person form runs well end to end with the section having html rendering well. This is good work 🤝

@Ndacyayisenga-droid Ndacyayisenga-droid merged commit 0440db3 into dev Dec 31, 2025
8 checks passed
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.

5 participants