Skip to content

Conversation

@rajpatel24
Copy link
Contributor

@rajpatel24 rajpatel24 commented Nov 25, 2025

🗒️ Checklist

  1. run linter locally
  2. update developer docs (API, README, inline, etc.), if any
  3. for user-facing doc changes create a Zulip thread at #Support Docs Updates, if any
  4. draft PR with a title <type>(<scope>)<!>: <title> DEV-1234
  5. assign yourself, tag PR: at least Front end and/or Back end or workflow
  6. fill in the template below and delete template comments
  7. review thyself: read the diff and repro the preview as written
  8. open PR & confirm that CI passes & request reviewers, if needed
  9. delete this section before merging

📣 Summary

Add implementation of get_output_fields() and transform_data_for_output() in QualAction.

📖 Description

This update enables qualitative analysis results to appear correctly in exports or the table view.
The new logic:

  • Defines the output fields for each qualitative question (including labels, types, and choices).
  • Converts stored qualitative results into export-ready values, including expanding choice UUIDs into readable label objects.

👀 Preview steps

  • Run the updated unit tests for QualAction.
  • Tests cover both get_output_fields() and transform_data_for_output() to confirm correct behavior.

@rajpatel24 rajpatel24 self-assigned this Nov 25, 2025
@rajpatel24 rajpatel24 marked this pull request as ready for review November 25, 2025 16:55
@rajpatel24 rajpatel24 requested a review from Guitlle as a code owner November 25, 2025 16:55
@rajpatel24 rajpatel24 requested review from rgraber and removed request for Guitlle November 25, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants