-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
breaking changeCreates a breaking changeCreates a breaking change
Description
What feature do you want to see added?
Make some breaking changes to simplify the application.
- For Add support for branching to different questions depending on user answers #41, TBC:
- Add
next_question_valueto all questions in all prototypes pointing to the next question number, except forbranching_choicequestions. - Add validation to ensure that all new prototypes have this.
- Remove handling for if questions that are not
branching_choicedo not havenext_question_value.
- Add
- For Remove the chat history property from prototypes #73:
- Add the prompt property with the
userMessagefrom the last item in thechatHistoryarray. - Remove the
chatHistoryarray. - If the prompt is
"Form generated from JSON input", make itundefined. Editing the JSON does not involve a prompt.
- Add the prompt property with the
- Add
show_progress_indicatorsproperty to all existing prototypes with the valuetrue, this was added in Add Markdown support, add optional detailed descriptions to question pages #80
Why do you want this feature? Does it solve a problem?
Some values are optional in the schemas because they don't exist in older versions - maintaining this inconsistency is not ideal, and will increase complexity over time.
How should the feature be implemented?
Documents in the MongoDB database will need to be migrated to the new structure, ideally with ts-migrate-mongoose (or similar). The process for this needs to be well-documented in the README and highlighted in the next release.
Additional context (if applicable)
No response
Metadata
Metadata
Assignees
Labels
breaking changeCreates a breaking changeCreates a breaking change