Configure Review layout for SDC catalog application#2783
Merged
rahulmalhotra merged 11 commits intomasterfrom May 28, 2025
Merged
Configure Review layout for SDC catalog application#2783rahulmalhotra merged 11 commits intomasterfrom
rahulmalhotra merged 11 commits intomasterfrom
Conversation
Contributor
There was a problem hiding this comment.
Can we directly launch the review mode by providing both the questionnaire JSON and the questionnaire response? This way, when the layout is displayed in review mode, it will show the pre-filled answers. If the user wants to edit those answers, they can click on the edit button at the top.
nsabale7
reviewed
Feb 4, 2025
jingtang10
requested changes
Mar 12, 2025
4a503f0 to
372ed61
Compare
jingtang10
reviewed
Apr 2, 2025
Contributor
jingtang10
left a comment
There was a problem hiding this comment.
can you see if something like this might work?
rahulmalhotra
commented
Apr 21, 2025
ce65500 to
651efba
Compare
jingtang10
reviewed
May 12, 2025
Contributor
jingtang10
left a comment
There was a problem hiding this comment.
would be good to have a video for features like this in the future
jingtang10
requested changes
May 12, 2025
…to rm/review-layout-catalog-app
jingtang10
approved these changes
May 28, 2025
Contributor
jingtang10
left a comment
There was a problem hiding this comment.
thanks you @rahulmalhotra
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.
IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #2777
Description
This change configures Review layout for SDC Catalog Application. It consist of the following updates:
enableReviewModeto Layout enum underLayoutListViewModel.ktand pass it astruefor the REVIEW enum value along withlayout_review.jsonto render questionnaireDemoQuestionnaireFragment.ktand use it to show Review Page when its value istruelayout_review.jsonto render questionnaire properlyAlternative(s) considered
N/A
Type
Bug fix
Screenshots (if applicable)

Checklist
./gradlew spotlessApplyand./gradlew spotlessCheckto check my code follows the style guide of this project../gradlew checkand./gradlew connectedCheckto test my changes locally.