Skip to content

Add Activity Rendering tab with comprehensive management#73

Merged
nicpottier merged 3 commits intomainfrom
elasticsounds/charlotte-v1
Feb 19, 2026
Merged

Add Activity Rendering tab with comprehensive management#73
nicpottier merged 3 commits intomainfrom
elasticsounds/charlotte-v1

Conversation

@elasticsounds
Copy link
Contributor

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

  • Activity Rendering tab: Master enable/disable toggle + activity type dropdown with dual prompt editors
  • API: Added GET /templates endpoint to list available templates
  • UI improvements: Renamed strategies, added template browser, reorganized settings tabs

Test Plan

  1. Open storyboard settings for a book
  2. Verify sidebar shows: General, Sectioning Prompt, AI Rendering, Template Rendering, Activity Rendering
  3. Click Activity Rendering tab
  4. Verify all 7 activity types appear in dropdown
  5. Toggle master switch off — verify activity types are hidden from General tab section types
  6. Toggle master switch on — verify activity types reappear
  7. Select an activity type and edit prompts (generation + answer)
  8. Click Save & Rerun and verify changes persist

elasticsounds and others added 3 commits February 18, 2026 15:50
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.
@nicpottier
Copy link
Contributor

Looks good!

@nicpottier nicpottier merged commit 3c8a985 into main Feb 19, 2026
1 check passed
@nicpottier nicpottier deleted the elasticsounds/charlotte-v1 branch February 19, 2026 02:22
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