Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-Save #6

Open
blakeelias opened this issue Mar 29, 2024 · 2 comments
Open

Auto-Save #6

blakeelias opened this issue Mar 29, 2024 · 2 comments

Comments

@blakeelias
Copy link
Collaborator

blakeelias commented Mar 29, 2024

Upon every keystroke, automatically "save" the user's input.

At first, this can just be a front-end change: call the Save function as it currently stands, saving in-memory, until the user clicks Publish. This eliminates the need for the user to remember to click "Save".

Once we have a database in place this can automatically be writing to the backend, updating some latest "live" copy. Then pressing Publish can result in this live copy getting saved with a date to be viewable later.

@blakeelias
Copy link
Collaborator Author

More insight into why this is complicated in the current interface.

The "Save" button does more than just save the currently edited text into memory.

It also switches the interface from being in "edit" mode (which restricts the user to staying in the section being edited) to being in "read" mode (where the user can browse all the sections, click to edit another section, etc.).

@blakeelias
Copy link
Collaborator Author

blakeelias commented Mar 29, 2024

So the true resolution here might be to eliminate the distinction between viewing and editing.

I.e. have a single mode where the user can scroll through the entire report and edit any piece of it. They can scroll all the way through, editing several sections one after the other, and any keystrokes they make get auto-saved to the database.

Then when they click Publish (after having entered a Description of their changes), the latest version will be saved in the database, marked with the timestamp of that button push, and will download a file to their local machine.

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

No branches or pull requests

1 participant