-
Notifications
You must be signed in to change notification settings - Fork 21
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
Reverted to old version of text after using Gitlab Comment "Preview" feature #13
Comments
Ouch, so sorry to hear that. :( I know how painful losing work is. Can you try to reproduce this and write down the steps? I couldn't get it to fail while playing around on Gitlab. Re. deleting temporaries: all files are stored in a private tmpdir, which is deleted once the last editor instance is closed (in fact, Textern is not running at all if no editors are open). This ensures that tmp files don't accumulate on the host and more importantly that no potentially sensitive information is left on disk (see also #6). I suppose we could define an alternative garbage collection policy, e.g. deleting on browser exit instead? Hmm, not sure. I'd like to flesh out the use case a bit more first. |
Understandable, though not my biggest concern on a single-user laptop. |
Just happened again. This time without the use of the Preview feature. I think I saw the full text in the textarea briefly, but it looked like it disappeared as I clicked "submit". |
For me, this seems completely reproducible using these steps:
This only the content of the textarea before starting extern is writen to the |
OK yup, I can reproduce this issue as well now. For me, the description textarea of a new Gitlab issue works fine. The problem seems to be commenting on an open issue (and I imagine open MRs too). If you seed the textarea with some text before starting Textern, then entering Textern, adding text there, and exiting the editor, and clicking Submit without typing into the textarea, the submitted text ends up being the version prior to starting Textern. Could implement some Gitlab specific hack for this, though I'd rather something a bit more generic. Hmm, will play around a bit with solutions. |
I've also experienced the same problem with text being reverted. It may have been gitlab, I can't remember. |
I just lost about an hour of work through an interaction of textern with gitlab, where (I believe) after using Gitlab's "preview" mode, I was reverted an old version of my (lengthy) input. I don't quite recall the steps, but it's scary that textern
The text was updated successfully, but these errors were encountered: