nerves-hub / nerves_hub_web

Manage firmware updates for Nerves devices
https://nerves-hub.org/
Apache License 2.0
184 stars 69 forks source link

Indicate when console is disabled/not available #1519

Open lawik opened 2 weeks ago

lawik commented 2 weeks ago

If a device does not have remote_iex: true in it's config the terminal comes up blank.

The button should be disabled and an information icon should indicate that it is not configured for remote_iex.

Does the device currently report this bit of config? It should :)

We could possibly check if it has joined the console channel.

oestrich commented 2 weeks ago

Some historical context: previously we disabled the button if the device was offline (and maybe also if the device wasn't connected to the console, I can't remember this part) but throughout determining if the device was online and connected it was wrong enough that the button was always enabled.