From 45e97cc1c3a3564af830b55757c517b2a05393f9 Mon Sep 17 00:00:00 2001 From: Towsty Date: Sun, 4 Oct 2026 07:07:43 -0500 Subject: [PATCH] Add Prompt Builder sequence section order. Copied scene text and the scene editor follow a persisted sectionOrder, with legacy saves keeping the default style/settings/set/characters/prompt order. Co-authored-by: Cursor --- pages/prompt-builder.vue | 1829 +++++++++++---------- server/api/prompt-sequences.post.ts | 2 + server/api/prompt-sequences/[id].patch.ts | 9 +- server/utils/promptSequences.ts | 15 + tests/prompt-sequences.test.mjs | 82 + utils/promptSequences.ts | 54 +- 6 files changed, 1113 insertions(+), 878 deletions(-) diff --git a/pages/prompt-builder.vue b/pages/prompt-builder.vue index abeba0e..f5c2bd3 100644 --- a/pages/prompt-builder.vue +++ b/pages/prompt-builder.vue @@ -1,868 +1,961 @@ -