Don't save draft every time you stop typing for a moment. #1298

Closed
opened 2023-09-05 09:51:27 +00:00 by Andre601 · 3 comments

While I appreciate the app saving a draft for a comment do I feel like saving it every time you stop typing for even a brief second is kind of overkill here.
It's somewhat distracting when typing as the text constantly flashes.

Instead would I recommend saving a draft if you stopped typing for a considerable time (i.e. 2 seconds).

While I appreciate the app saving a draft for a comment do I feel like saving it every time you stop typing for even a brief second is kind of overkill here. It's somewhat distracting when typing as the text constantly flashes. Instead would I recommend saving a draft if you stopped typing for a considerable time (i.e. 2 seconds).

Actually I am thinking of removing that flashing msg each time. Maybe one time or no message at all.

Actually I am thinking of removing that flashing msg each time. Maybe one time or no message at all.
mmarif added the
🚀 Improvement
label 2023-09-08 01:12:51 +00:00

Actually I am thinking of removing that flashing msg each time. Maybe one time or no message at all.

Wouldn't it also be an idea to only save a draft on close? Or have a prompt to ask if a draft should be saved?
I don't think saving that frequently (Which from what I can tell seems to be every time you stop typing) is a good aproach here. Mainly because it perhaps could impact a smartphone's performance?
That's just me speculating tho...

> Actually I am thinking of removing that flashing msg each time. Maybe one time or no message at all. Wouldn't it also be an idea to only save a draft on close? Or have a prompt to ask if a draft should be saved? I don't think saving that frequently (Which from what I can tell seems to be every time you stop typing) is a good aproach here. Mainly because it perhaps could impact a smartphone's performance? That's just me speculating tho...

Well, we initially thought about it this way, but there are other scenarios, like pressing the home button suddenly or turning off the phone screen, etc. It would be hard to recover from those situations. So the best option is to save after each keystroke. There has been no performance degradation in my tests so far.

Well, we initially thought about it this way, but there are other scenarios, like pressing the home button suddenly or turning off the phone screen, etc. It would be hard to recover from those situations. So the best option is to save after each keystroke. There has been no performance degradation in my tests so far.
mmarif added this to the 5.2.0 milestone 2023-09-17 05:49:24 +00:00
mmarif self-assigned this 2023-09-17 05:49:30 +00:00
mmarif referenced this issue from a commit 2023-09-19 05:23:57 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitnex/GitNex#1298
There is no content yet.