Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UI - Tokens] sort by status not working #15301

Closed
karel-rehor opened this issue Sep 30, 2019 · 2 comments · Fixed by #16934
Closed

[UI - Tokens] sort by status not working #15301

karel-rehor opened this issue Sep 30, 2019 · 2 comments · Fixed by #16934

Comments

@karel-rehor
Copy link
Contributor

Steps to reproduce:
List the minimal actions needed to reproduce the behavior.

  1. Generate a few tokens in the LoadData > Tokens page
  2. Disable some of the tokens
  3. Sort by description - appears to work fine
  4. Sort by Status (assuming status implies enabled || disabled )

The sort order does not seem to apply to the enabled || disabled state.

Expected behavior:
As the disabled/enabled toggle is aligned over a column under the status header, expected that all disabled tokens would be sorted to the top of the list, all enabled to the bottom and on a further sort click the reverse would happen.

Actual behavior:
There seems to be no order based on enabled/disabled state. See screencast.

Screencast
SortTokensByStatus01

Environment info:

  • System info: Run uname -srm and copy the output here
Linux 4.4.0-164-generic x86_64
  • InfluxDB version: Run influxd version and copy the output here
    This was discovered in a nightly build docker image. From the docker log:
ts=2019-09-30T07:53:42.727140Z lvl=info msg="Welcome to InfluxDB" log_id=0ICIQIHl000 version=nightly commit=7d4c8491f build_date=2019-09-30T07:15:02Z
  • Other relevant environment details: Container runtime, disk info, etc
    Browser: Chrome 76.

Config:
Copy any non-default config values here or attach the full config as a gist or file.

Started with e2e testing enabled:

--e2e-testing=true

Logs:
Nothing in console.log

@karel-rehor
Copy link
Contributor Author

Related Issues
#15379
#15247
#14923
#13950

@karel-rehor
Copy link
Contributor Author

still seeing this in nightly builds

ts=2020-01-10T08:57:47.255905Z lvl=info msg="Welcome to InfluxDB" log_id=0KFfcZyl000 version=nightly commit=63b3a0728 build_date=2020-01-10T08:57:47Z

Primarily the admin's token is always either first or last (depending on sort order) when activated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants