-
-
Notifications
You must be signed in to change notification settings - Fork 212
refactor(subsequences): refactor data table for consistency #6559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
rgraber
merged 7 commits into
refactor-subsequences-2025
from
beccagraber/update-data-interface
Dec 19, 2025
Merged
refactor(subsequences): refactor data table for consistency #6559
rgraber
merged 7 commits into
refactor-subsequences-2025
from
beccagraber/update-data-interface
Dec 19, 2025
Conversation
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
0f3b01f to
c3e0df7
Compare
rajpatel24
approved these changes
Dec 19, 2025
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Please update to the latest commit from main once you've merged the Formpack PR :)
rgraber
added a commit
that referenced
this pull request
Dec 24, 2025
Updates the /data endpoint to return the answers to QA questions in a different format. Updates the data endpoint to return a dict of question_id: answer instead of a list that we then have to search by uuid. Keeps it consistent with other subsequence actions and makes it a little quicker to process. Requires a new version of formpack. We don't include supplement stuff in the docs for the /data endpoint so there's no OpenAPI docs to update. Regression only 1. ℹ️ have an account and a project with an audio question and at least one submission 2. Add every type of QA question. You can either follow the directions here: (internal [link](https://linear.app/kobotoolbox/issue/DEV-1301/update-formpack-to-accept-new-shape-of-data)) to do this with curl, or switch back to `main` and do it via the UI, then switch back to the PR branch and hit `/api/v2/assets/<asset_uid>/advanced-features` to migrate them. 3. Navigate to the data table 4. 🟢 All QA answers should be present 5. Export the data 7. 🟢 All QA answers should be in the export
rgraber
added a commit
that referenced
this pull request
Dec 30, 2025
…ecently accepted DEV-1497 (#6575) ### 📣 Summary Display the most recent QA answers in the data table and exports rather than the most recently accepted. ### 💭 Notes In preparation for Automatic QA. Internal link: https://linear.app/kobotoolbox/issue/DEV-1497/refactor-submissionsupplementretrieve-data-to-allow-unaccepted-data#comment-9521edef ### 👀 Preview steps Regression test only, until we have automatic qual analysis this shouldn't actually change what shows up in the data table because manual answers are automatically accepted. See #6559 for steps
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.
🗒️ Checklist
#Support Docs Updates, if any<type>(<scope>)<!>: <title> DEV-1234Front endand/orBack endorworkflow📣 Summary
Updates the /data endpoint to return the answers to QA questions in a different format.
💭 Notes
Updates the data endpoint to return a dict of question_id: answer instead of a list that we then have to search by uuid. Keeps it consistent with other subsequence actions and makes it a little quicker to process. Requires a new version of formpack.
We don't include supplement stuff in the docs for the /data endpoint so there's no OpenAPI docs to update.
👀 Preview steps
Regression only
mainand do it via the UI, then switch back to the PR branch and hit/api/v2/assets/<asset_uid>/advanced-featuresto migrate them.