UI - Compile and Download icons state is not obvious
The icons for compile and download should be greyed out or some other indication that they are inoperable when the user is not logged in. Currently they appear to be active regardless of the user's login status.
Verified.
All icons except the Compile icon are now inactive when the user is logged out. Verified that they become active if a) user is logged in and b) the BlocklyProp Client is connected. Also verified that they go inactive after the BlocklyProp client is disconnected. It does take a few seconds for this inactivation to occur.
The connect button is still active at all times. This should be inactive unless the use is logged in.
What is the best way to detect Whether the user is still logged in ?
On Aug 3, 2017 9:22 AM, "Jim Ewald" [email protected] wrote:
Reopened #1122 https://github.com/parallaxinc/BlocklyProp/issues/1122.
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/parallaxinc/BlocklyProp/issues/1122#event-1191728398, or mute the thread https://github.com/notifications/unsubscribe-auth/AS0quCSOUHm5BVEm87tmjwXuIKdkVQGVks5sUfPHgaJpZM4Orob2 .
The server is certainly capable of determining this. The user is anonymous or unknown if not logged in. This is indicated by a null user record within the BP server plumbing. If you are looking for a real-time determination of the login state, we will need to make a round trip to the server to get that. That might be part of the REST interface referenced elsewhere in the issue list.