8000 Improve document revision creation by tommoor · Pull Request #5474 · outline/outline · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Improve document revision creation #5474

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

Merged
merged 2 commits into from
Jun 25, 2023
Merged

Conversation

tommoor
Copy link
Member
@tommoor tommoor commented Jun 24, 2023

In two scenarios it feels as though document revisions are created too late and will now be created sooner.

  • Write a document revision when all collaborators leave a document
  • Write a document revision when 'Done editing' in edit mode

…t with changes

fix: Write a document revision when 'Done editing' in edit mode
@@ -203,6 +203,9 @@ export const DocumentsUpdateSchema = BaseSchema.extend({

/** Version of the API to be used */
apiVersion: z.number().optional(),

/** Whether the editing session is complete */
done: z.boolean().optional(),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was already passed from the client, but not used

@tommoor tommoor merged commit 7940cef into main Jun 25, 2023
@delete-merged-branch delete-merged-branch bot deleted the tom/revision-creation-improves branch June 25, 2023 12:29
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.

1 participant
0