Skip to content

CP-8831 Document Survey Campaign hide_unanswered_questions - #45

Closed
mattkepple wants to merge 1 commit into
mainfrom
CP-8831-hide-unanswered
Closed

mattkepple wants to merge 1 commit into
mainfrom
CP-8831-hide-unanswered

Conversation

@mattkepple

Copy link
Copy Markdown
Contributor

Companion to MakerbleDev/makerble#16827 (Jira: https://makerble.atlassian.net/browse/CP-8831, item 11).

Changes

  • openapi.yaml: the ProjectStoryCategory schema, returned by GET /project_story_categories, gains two documented fields:
    • hide_unanswered_questions, new in #16827: the Survey Campaign setting "Hide unanswered questions when viewing the story". It is read-only through the API.
    • allow_respondent_finish_later: already returned by the API but never documented.
  • server.js: the List Survey Campaigns card's response description now names the display settings it returns.

Release timing: the API docs are pre-launch, so this can be merged as soon as it has been reviewed, without waiting for the Rails change to reach production. Once the docs launch publicly, a PR like this should wait until its Rails change is live.

Confluence MA (for whoever updates the older docs): on the Survey Campaigns (project_story_categories) page, add to the response fields:

  • hide_unanswered_questions (boolean): "Hide unanswered questions when viewing the story" is on. Viewing one contact's response leaves out the questions they did not answer. Read-only.
  • allow_respondent_finish_later (boolean): respondents using a personal survey link can save and finish later.

Generated by Claude Code

CP-8831: GET /project_story_categories now returns
hide_unanswered_questions (MakerbleDev/makerble#16827 adds it), and
already returned allow_respondent_finish_later, which was undocumented.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012DNaH17pNo8PyBgSUe7U2c
@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
api-docs Ready Ready Preview Oct 21, 2026 12:33am UTC

Copy link
Copy Markdown
Contributor Author

Brought into main by #200 (CP-9078), applied by hand because this draft conflicted with main. allow_respondent_finish_later was already documented there, so only hide_unanswered_questions was added. Closing this draft.


Generated by Claude Code

@mattkepple mattkepple closed this Nov 23, 2026

This branch was successfully deployed

1 active deployment
Preview — 6a246dbd Deployed Oct 21, 2026 by vercel[bot]
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.

2 participants