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

Page Toolbar in Data View Gets Grayed Out if Query Clicked Multiple Times #1628

Closed
LeoNerdoG opened this issue Apr 20, 2018 · 1 comment
Closed
Assignees
Labels
Bug This is a bug or an unexpected behaviour. Fix it! Console GWT This issue/PR is related to Admin Web Console

Comments

@LeoNerdoG
Copy link
Contributor

LeoNerdoG commented Apr 20, 2018

If user clicks Query button multiple times (to refresh the data results list) paging toolbar gets grayed out (looks like it is disabled, but buttons are functional).

Edit:
Also the paging toolbar in Devices -> Events is grayed out by default.

Testflow:

  1. Login as kapua-sys
  2. Connect a live Kura device to Kapua (e.g. device1) with installed Example Publisher Bundle
  3. In Kapua, go to Data (By Topic or By Device), selected device1, some metrics and click Query multiple times (press and hold Enter key)
    Kapua will properly refresh the Data list, but after that the paging toolbar buttons will get greyed out (disabled - unclickable).

Screenshot No. 1 (Paging toolbar before multiple clicks):
screen shot 2018-04-20 at 12 18 56

Screenshot No. 2 (Paging toolbar after multiple clicks):
screen shot 2018-04-20 at 12 19 12

Browsers used:

  • Google Chrome (Version 65.0.3325.181 (Official Build) (64-bit)
  • Safari (Version 11.1 (13604.3.5))
  • Mozilla Firefox (59.0.2 (64-bit))
  • Opera (Version 52.0.2871.64)
@muros-ct muros-ct self-assigned this Apr 23, 2018
muros-ct added a commit that referenced this issue May 18, 2018
Issue was showing if Query button was pressed so fast that query operation
didn't finish before next was triggered. That confused paging toolbar.
Solution was to disable button during query operation, so that user is
not able to trigger too many queries.

This solves issue #1628

Signed-off-by: Uros Mesaric Kunst <uros.mesaric-kunst@comtrade.com>
muros-ct added a commit that referenced this issue May 21, 2018
Issue was showing if Query button was pressed so fast that query operation
didn't finish before next was triggered. That confused paging toolbar.
Solution was to disable button during query operation, so that user is
not able to trigger too many queries.

This solves issue #1628

Signed-off-by: Uros Mesaric Kunst <uros.mesaric-kunst@comtrade.com>
@LeoNerdoG
Copy link
Contributor Author

I have verified that this issue has been resolved.

@Coduz Coduz added Bug This is a bug or an unexpected behaviour. Fix it! Console GWT This issue/PR is related to Admin Web Console labels Aug 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug or an unexpected behaviour. Fix it! Console GWT This issue/PR is related to Admin Web Console
Projects
None yet
Development

No branches or pull requests

3 participants