6016813f4c
refactor(components): update story form
...
add `draftData` prop to distinguish whether we're editing a draft or a published story
actually renumber chapter indexes after reordering
use draftData prop in form change callback
2024-07-09 20:53:50 -04:00
dcda8143f9
refactor(components): add loading spinner to client-only
fallback slot
2024-03-16 20:26:05 -04:00
b10928fcf7
fix(components): wrap draggable in client-only
2024-03-16 15:29:21 -04:00
739cfb5eff
fix(components): make it so that reordering chapters in the story form no longer causes catastrophic state loss, rendering the tinymce components useless
...
all hail PORTALS!!!!!
2024-03-15 19:05:23 -04:00
a2b627cd11
fix(components): update storyForm
...
set `coAuthor` field's initial value to whatever is provided in the `data` prop instead of always null
2024-01-04 17:02:04 -05:00
205b241e3b
refactor(components): update storyForm
...
use vue's new `defineModel` functionality to mutate data more cleanly
2024-01-04 15:19:08 -05:00
c8e84c909e
style(*): cleanup unused imports
2023-12-29 20:11:07 -05:00
d4ae55a25b
refactor(components): finish rename of storyForm.vue
...
also add mechanisms to save drafts beyond the original debounced functions
2023-12-29 17:21:02 -05:00