Improve the word processor #14
Labels
important
a critical, core key feature or blocker bug
mvp
you da most valuable playa
prompt editor
Editor of stories and screenplays
Milestone
Context
The current screenplay editor isn't very useful, there are some syncing bugs and editing the screenplay (ie. doing changes to it) has no effect.
Also, only screenplays in the "hollywood-style" format are supported, so any text without the correct indentation will fail.
Goal
The goal of this ticket is to implement various changes (we can also create sub-tickets). See the tasks at the end of the ticket.
Limitations / things to checks
Performance issues
Saving a screenplay can be computationally intensive since it has to be converted back to a segment.
Even if we add or remove only one line, this can have a cascade effect (eg. shift everything left or right).
To optimize this, we should not run the whole screenplay through the editor, but instead only the current line, and do a localized update (similar how today resolving a segment can change its length, but the cascade effect is done in an efficient way).
Which format to use in the editor itself?
I think we can keep the idea of having only one format inside the screenplay editor (and use import/export functions to convert it to other formats). This format can be Fountain.
For people who want to generate a story from something else (eg. just a sentence, or a synopsis), we can add a little UI workflow to do that (eg. a "create new project" menu entry, and a dialog to show a wizard assistant)
How to implement
For the task of taking a sentence and converting it to changes in the timeline's segments, I think we can use a LLM whenever a scene needs to be updated. It will do a better job than if/else heuristics.
Acceptance criteria
The text was updated successfully, but these errors were encountered: