-
Notifications
You must be signed in to change notification settings - Fork 1.7k
usability improvements to security token Dialog #7112 #7134
Conversation
It looks like @bnvk hasn'signed our Contributor License Agreement, yet.
You can read and sign our full Contributor License Agreement at the following URL: https://cla.parity.io Once you've signed, plesae reply to this thread with Many thanks, Parity Technologies CLA Bot |
Could we add an information that if you are connecting to a remote host the time needs to be synchronized? I remember that many issues where actually caused by non-synchronized time. I would add this additional info when user provides the token, but we still can't connect. |
@tomusdrw We have the "big scary red box" on top of the screen screen now when the time is out - cannot be closed. Do we still need it one here? |
@5chdn Not back-portable without re-doing, structure is completely different between old and new. Should stick to bugs in 1.8. |
It's different though, this is displayed when node time is off (which means that it won't synchronize with the network). |
It is my understanding that this remote host scenario @tomusdrw describes is a minority of use cases, and the same machine / localhost configuration is the vast majority of users. The previous message about this was EXTREMELY confusing to an end user who would be the later (majority) type of install. I suggest use some lower level config value (or host detection) that gets exposed to the interface and ONLY shows such a time clock message for remote host instances. |
@bnvk Completely agree that the dialog should be improved, not suggesting to put more text on the current dialog at all. What I suggest is that when user enters the token, but we still cannot connect instead of just displaying a misleading "Invalid token" error message we should also give them a hint that the token might be valid and if they are running a remote wallet scenario they should also check time synchronization. |
That's a pretty edge case user, no? IMHO, having info that pertains to such a small amount of users is best left to documentation or a wiki.
Ok, but as @jacogr points out "We have the "big scary red box" on top of the screen screen now " is this the same case? Do you have any read on how to best determine this in the codebase? |
That's the recommended way of doing remote wallet, I don't know exactly how many people does that though, just judging from the amount of requests we got for this.
It's a different case, when the time of the node is not synchronized. As mentioned earlier, I'm not being petty about the dialog, I'm really happy that you changed it. to something like "The token is invalid or the time between browser and remote node is not synchronized" to cover that use case. |
IIUC, the line you highlighted |
Yeah, the message is rendered when you can't connect to the node after typing the token and it may indicate two possibilities:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, still would like to see time sync info incuded in error message, but don't want to postpone this PR any more.
Old Dialog
New Dialog
The changes I've made include