Add Activity Rendering tab with comprehensive management#73
Merged
nicpottier merged 3 commits intomainfrom Feb 19, 2026
Merged
Conversation
Add dedicated tab in StoryboardSettings for managing activity rendering: - Activity Rendering tab in sidebar with master enable/disable toggle that cascades to both pruned_section_types and section_render_strategies, hiding/showing activity types in the classifier - Dropdown to select individual activity types and edit their generation and answer prompts side-by-side - Scrollable layout with min-height prompt editors for better UX - Support all 7 activity strategies: multiple choice, true/false, fill-in-the-blank, fill-in-a-table, matching, sorting, open-ended Additional improvements: - Renamed "Rendering" tab to "AI Rendering" for clarity - Added "Template Rendering" tab for browsing/editing Liquid template files with auto-selection tied to default render strategy - Moved styleguide and temperature controls to AI Rendering tab - Added "dynamic" render strategy option - Renamed "llm" strategy display name to "AI Generated" - Added GET /templates endpoint to list available templates - Synchronous activity strategies derivation from merged config via useMemo for immediate availability
Resolve conflicts in AdvancedLayoutPanel, StepSidebar, and StoryboardSettings to incorporate sectioning mode, data-section-id, and activity model editing changes from main.
Cover all endpoints in prompts.ts: CRUD for global prompts and templates, book-level overrides with fallback, name validation, and template listing with .liquid filtering.
Contributor
|
Looks good! |
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
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.
Summary
Added a dedicated Activity Rendering tab in StoryboardSettings for comprehensive activity management. The master toggle cascades to both pruned_section_types and section_render_strategies, cleanly disabling the entire activity pipeline when turned off (activities hidden from classifier, no rendering). Includes side-by-side prompt editors for generation and answer prompts with scrollable layout.
Also renamed the "Rendering" tab to "AI Rendering", added "Template Rendering" tab with auto-selection, moved styleguide/temperature controls to AI Rendering, and added "dynamic" strategy option.
Changes
GET /templatesendpoint to list available templatesTest Plan