BlocklyProp icon indicating copy to clipboard operation
BlocklyProp copied to clipboard

UI - Compile and Download icons state is not obvious

Open zfi opened this issue 8 years ago • 4 comments

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.

screen shot 2017-08-02 at 1 39 42 pm

zfi avatar Aug 02 '17 20:08 zfi

Verified.

CGracey avatar Aug 03 '17 16:08 CGracey

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.

zfi avatar Aug 03 '17 16:08 zfi

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 .

MatzElectronics avatar Aug 03 '17 16:08 MatzElectronics

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.

zfi avatar Aug 03 '17 16:08 zfi