Tony/383_survey_results#101
Merged
Merged
Conversation
Collaborator
|
All went smoothly in my tests. Thanks, Tony. |
srodriguez142857
approved these changes
May 7, 2026
Collaborator
srodriguez142857
left a comment
There was a problem hiding this comment.
The app is working as expected
Collaborator
I have the following comment regarding the above decision: we should allow developers to decide whether to write null values or exclude those fields in the JSON structure. This decision should be made by the app developers, who know the best way to generate the JSON structure based on the app's business logic. The decision of:
should be made by the developer. If all agree, this could be an enhancement for the widget: a new non-critical issue/ticket. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Details
Description
Rewrite
collectData():_hiddenContentMapand_hiddenContentVisibilityfrom the state. For all hidden sections whose visibility isfalse, scan their content and useCommandPatternsto extract all widget names defined within them, then add those names to theexcludedset. Recursively trace nested%%HiddenPlaceholder(id)%%blocks to properly handle nested hidden sections.excludedset when writing responses.nullvalues forradio,dropdown, ordatefields into the response anymore (to avoid downstream consumers expecting aStringbut receivingnull).Related Issues
anusii/riopod#383
Type of Change
How To Test?
Run the example app of Markdown Widget Builder and export json file to local disk.
Checklist
make preporflutter analyze lib)dart testoutput or screenshot included in issue #Finalising