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

Allow continue writing during short reconnect process. #6877

Open
max-nextcloud opened this issue Jan 27, 2025 · 3 comments
Open

Allow continue writing during short reconnect process. #6877

max-nextcloud opened this issue Jan 27, 2025 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@max-nextcloud
Copy link
Collaborator

max-nextcloud commented Jan 27, 2025

Problem statement

Is your feature request related to a problem? Please describe.
If a network request fails the reconnect message shows and the editor becomes inactive interrupting the users writing.

Bildschirmaufzeichnung.vom.2025-01-27.18-26-25.mp4

Desired solution

Describe the solution you'd like
If the connection is briefly disrupted indicate this in the UI in a less distracting way and keep the editor working.

Design

Proposal: Replace the SaveIndicator with a NcLoadingIcon?

https://nextcloud-vue-components.netlify.app/#/Components/NcLoadingIcon

Bildschirmaufzeichnung.vom.2025-01-27.18-44-59.mp4
@max-nextcloud max-nextcloud added the enhancement New feature or request label Jan 27, 2025
@max-nextcloud max-nextcloud self-assigned this Jan 27, 2025
@github-project-automation github-project-automation bot moved this to 🧭 Planning evaluation (don't pick) in 📝 Office team Jan 27, 2025
@max-nextcloud max-nextcloud moved this from 🧭 Planning evaluation (don't pick) to 🏗️ In progress in 📝 Office team Jan 27, 2025
@max-nextcloud
Copy link
Collaborator Author

@marcoambrosini What do you think? How could we best indicate in text that the connection to the server is down without being too intrusive?

What would be a good cutoff to become more intrusive?
We save the file content every 30 seconds.
If we have not seen a user for 30 seconds they are removed from the list of collaborators.
So I'd say either 30 seconds or earlier.

@marcoambrosini
Copy link
Member

@max-nextcloud I really like your idea. And 30 seconds sounds about right.
Do you think it would make sense to offer users the ability to download the file in case they can't reconnect?

@max-nextcloud
Copy link
Collaborator Author

@marcoambrosini Yes... download might make sense. So far we were also trying to make sure copy and paste is still possible as a download would result in a markdown file which not everyone is familiar with - while copy and paste allows pasting into a word processor which should maintain headings and the like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🏗️ In progress
Development

No branches or pull requests

2 participants