chronograf icon indicating copy to clipboard operation
chronograf copied to clipboard

Fix logout when not connected to a source

Open nhaugo opened this issue 9 years ago • 5 comments

Clicking the user menu should display a logout option, which is not.

nhaugo avatar May 30 '17 17:05 nhaugo

What do you want the Logout subnav item to do if source is not connected? Alert with a notification restating that source isn't connected?

jaredscheib avatar May 30 '17 20:05 jaredscheib

It should log you out of oauth, same as a session timeout.

nhaugo avatar May 30 '17 21:05 nhaugo

Word.

jaredscheib avatar May 30 '17 21:05 jaredscheib

This does not work for me, steps:

  • connect to a source (probably localhost for ease)
  • kill influxdb
  • reload page
  • the logout option does not show

nhaugo avatar Jun 01 '17 20:06 nhaugo

Good catch. That's actually the case for all menu NavHeaders -- none display under your repro steps, not just Logout. Let's make a new issue for it. I don't think it's related to this issue or #1564.

jaredscheib avatar Jun 01 '17 21:06 jaredscheib