Skip to content

issue-1186 Remove released status handling from AssignmentBuilder#1191

Merged
bnmnetp merged 1 commit intoRunestoneInteractive:mainfrom
morozov-av:issue-1187
Apr 1, 2026
Merged

issue-1186 Remove released status handling from AssignmentBuilder#1191
bnmnetp merged 1 commit intoRunestoneInteractive:mainfrom
morozov-av:issue-1187

Conversation

@morozov-av
Copy link
Copy Markdown
Contributor

… AssignmentList components

#1187 Add JSON schema documentation for question_json field
#1186 Remove released status handling from AssignmentBuilder

… AssignmentList components

issue-1187 Add JSON schema documentation for question_json field
@morozov-av morozov-av requested a review from bnmnetp as a code owner March 30, 2026 12:40
Copy link
Copy Markdown
Member

@bnmnetp bnmnetp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. I like the structure. The markdown doesn't work with our RST in the docs structure. But I had Copilot convert it to RST as a test and it looks fine to me. If you have your own script or tool for generating some of this and it can create RST that might be better for whenever this changes. If not let me know and I can use the RST as I converted it.


## Field Reference

All fields within `question_json` are **optional** at the top level (`Partial<{...}>`). Only the fields relevant to a particular `question_type` are populated when the JSON is built.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know what Partial<{...}> is supposed to mean. Maybe if I knew more TS it would be obvious?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, yes, sorry, this is a common TS utility type, there is a documentation https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype

Regarding MD -> RST, I'd propose the following: If you’ve now managed to convert MD to RST, could you please apply your changes?

Going forward, I’ll write everything directly in RST format. Also, could you please let me know if you’d like me to write documentation for all new features right away?

@bnmnetp bnmnetp merged commit 6fd6c05 into RunestoneInteractive:main Apr 1, 2026
1 check failed
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