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

Added collaborative_document_save_delay trait #13392

Merged

Conversation

davidbrochart
Copy link
Contributor

References

Closes jupyterlab/jupyter-collaboration#47.

Code changes

Add collaborative_document_save_delay trait.

User-facing changes

The delay before saving a document after a document change is parameterizable in collaborative mode (default to 1 second).

Backwards-incompatible changes

None.

@jupyterlab-probot
Copy link

Thanks for making a pull request to jupyterlab!
To try out this branch on binder, follow this link: Binder

@ellisonbg
Copy link
Contributor

@davidbrochart thanks for opening this, where is the current default of 1s set?

@davidbrochart
Copy link
Contributor Author

See this comment.

jupyterlab/labapp.py Outdated Show resolved Hide resolved
@fcollonval fcollonval added this to the 3.6.0 milestone Nov 8, 2022
@davidbrochart davidbrochart force-pushed the collaborative_document_save_delay branch from 2bff1ec to 289f5d3 Compare November 9, 2022 07:37
@davidbrochart
Copy link
Contributor Author

oops I reverted the change to Float while rebasing.
BTW, if we make it a Float, we can remove allow_none since a float can be float("inf")?

@davidbrochart
Copy link
Contributor Author

BTW, if we make it a Float, we can remove allow_none since a float can be float("inf")?

But I don't know if it plays well with configuration, command line arguments, etc.
Let's keep it like that for now.

Copy link
Member

@fcollonval fcollonval left a comment

Choose a reason for hiding this comment

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

Thanks

@fcollonval fcollonval merged commit e346084 into jupyterlab:master Nov 9, 2022
@fcollonval
Copy link
Member

@meeseeksdev please backport to 3.6.x

@lumberbot-app
Copy link

lumberbot-app bot commented Nov 9, 2022

Oops, something went wrong applying the patch ... Please have a look at my logs.

@davidbrochart davidbrochart deleted the collaborative_document_save_delay branch November 9, 2022 09:42
fcollonval pushed a commit to fcollonval/jupyterlab that referenced this pull request Nov 10, 2022
fcollonval added a commit that referenced this pull request Nov 10, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Where/how to set collaborative_document_save_delay
3 participants