-
-
Notifications
You must be signed in to change notification settings - Fork 395
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
Improve UX for the Force Upload [one time force upload] #1035
Comments
Oh, I clicked "Yes", it added |
Yes, version 3.4.2 definitely had a regression. PR #1026 was just approved for 3.4.3 which fixes this particular refusal to upload, but the PR does not change the UI. BTW, I've been working around the refusal to upload problem by going ahead and letting the dialog set Force Upload and then immediately resetting Force Upload to off in my local settings. I'm sort of glad that it didn't update the Force Upload setting in the Gist. In any case, this should be better in the next release. As far as the UX goes, I agree with @borekb. I like how you get a status message when you try to Download but already have the same settings as the Gist. Perhaps the same should be done for Upload. The Upload path in the extension compares the local settings with the Gist settings and therefore knows if they are different or not. The Upload logic could be:
It would be nice if this sort of UX improvement could be made for the 3.4.3 release if @shanalikhan and @borekb are in agreement. |
Yes, i agree with @borekb we can add one more button in this popup.
Yes, the first 2 of 3 you have mentioned were kept in mind when this feature was originally implemented. As v3.4.3 is not released yet, if you can send PR that contain the updated button for the updated UX and verifying the above 3 scenarios you mentioned, v3.4.3 would be concrete release :) |
keybindings.json
This is the key 👍 . Well-articulated, @karl-lunarg! I fully agree with your description and suggestions. |
Since we're talking about changing the UX anyway, how about making it simpler instead of more complex and potentially confusing? I'm thinking that the popup should just say: "The settings in the Gist were changed after you last downloaded them. Upload anyway?". And there would be two buttons: Yes and No. Closing the popup would be the same as No. No side effects. The popup would only display when there is potential for data loss, as is the case here. As such, it should ALWAYS be displayed when there is this potential unless the user explicitly requests ForceUpload. So:
I think that this approach has less ambiguity and fewer side-effects. Does this sound good to everyone? If we settle on something, I can try working on the implementation. But I am a Typescript and vs code internals noob. I think that there will be a lot of localization and documentation work, so it could take a while. |
That's sound perfect. No problem, take your time. It would be great if we can release the improved UX in the upcoming release. :) |
I've started working on this. Note that I think that there is a problem with the latest commit for #993. The gist file name separator is supposed to be "|". If you have snippets, the data sent during an upload to patch the gist is malformed. I've included a commit that will be in this PR to correct this problem. |
I'm glad this was discussed because I've lost my settings countless times because of this bug. I work between two machines, that both had "force upload" on, so they were each clobbering settings in my GIST. I think as part of the UX discussion we need an intrinsic method of reverting to an earlier GIST revision in case we wipe out our settings. |
|
I'm probably hitting an issue created by "Safe Upload" feature #923 (cc @arnohovhannisyan) as I just updated
keybindings.json
and got this:I currently use a single computer, the Gist is 14 days old and I have just updated
keybindings.json
, so I think it's a bug.Even if it isn't a bug, I'd like to comment on the UX in general because I find it relatively confusing:
forceUpload
in my settings. I'd much rather just invoke a one-time "Force Upload" command and be warned next time again (because, again, one of the scenarios is high-risk).🌴 Visual Studio Code Version : 1.38.0
🌴 Code Settings Sync Version : 3.4.2
The text was updated successfully, but these errors were encountered: