use: document requests and comments#904
Conversation
fenekku
left a comment
There was a problem hiding this comment.
👍 (most comments are small) feel free to merge when you are happy with your fixes.
|
|
||
|  | ||
|
|
||
| #### Auto-saved drafts |
There was a problem hiding this comment.
sidenote: this is kind of wild I daresay. (sounds like backend work wanted to be skipped haha)
There was a problem hiding this comment.
you mean that it is not a guarantee that it will be autosaved? I think the idea is that if we over promise on this then the user could start using it like google docs or something and we cannot promise that level of reliability. Perhaps we can change the wording here to be less aggressive
There was a problem hiding this comment.
I reduced the number of disclaimers and added a Limitations heading
There was a problem hiding this comment.
I was thinking more about the feature itself: we are saving in localstorage (must be) an unfinished comment not associated with user (but presumably with the request and reply?). It seems very unusual to me and brittle (i.e., lots of caveat). But if it exists might as well document it 😄
There was a problem hiding this comment.
@fenekku it's a good point, indeed it's quite brittle, but it's not designed to be a full draft management system. It's more of a last-resort backup that makes users happy when they see that they didn't lose their work. As such, we decided not to make it visible at all in the UI so as to avoid a false sense of security, and to avoid users building a reliance on it. The only way to find out about it is to accidentally get rescued by it or to read about it in the docs.
Adding support for API sync would have introduced a lot of complexity and additional effort (e.g. creating DB models, migrations, service, route handlers, security, etc). We thought most users would lose drafts by accidentally refreshing the page, rather than consciously expecting them to be synchronised to their account, so making these efforts wasn't worth it for now. I hope that's okay!
There was a problem hiding this comment.
Got it and I think Carlin's lowered emphasis is the right move here to correlate with the subtlety of it. It will be interesting to see how users perceive it for sure. It's all good.
|
@fenekku good to merge :) I don't have permissions |
❤️ Thank you for your contribution!
Description
Add documentation which is mostly imported, with permission, from https://repository.cern/docs/review/comments/#locking-the-conversation
Checklist
Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:
masterbranch.productionbranch following approval or indicate to a maintainer that it should be backported.Reminder
By using GitHub, you have already agreed to the GitHub’s Terms of Service including that: