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

[Bug report] Orphan tooltips in kiosk with tool usage display #246

Open
r-xyz opened this issue Aug 12, 2024 · 3 comments
Open

[Bug report] Orphan tooltips in kiosk with tool usage display #246

r-xyz opened this issue Aug 12, 2024 · 3 comments

Comments

@r-xyz
Copy link
Contributor

r-xyz commented Aug 12, 2024

Hello,

I would like to report a minor UI bug in kiosk when using tool usage display (example).

Steps to reproduce on demo instance

  1. Go to NEMO kiosk with usage display
  2. Choose a tool currently in use and click on the name to show info tooltip
  3. Login as the user operating the tool (F2 + N + F2) and select:
    • Stop using the tool
    • I have finished using this kiosk
  4. The tooltip is still present in the usage table, but the corresponding tool is not present anymore, preventing from closing it. Only solution would be to refresh the page, which is not always viable on unattended kiosks.

Suggested solution

I see a few possible solutions, but not sure how to implement:

  1. Trigger a $('.tooltip').remove() when data in "usage table" changes.
  2. Trigger it only when clicking "I have finished using this kiosk", but a user might be logging off a tool from a different kiosk.
  3. Executing the remove command every few minutes.
@rptmat57 rptmat57 added the bug label Aug 12, 2024
@rptmat57
Copy link
Contributor

the problem with triggering it when data changes is that it happens quite often and the person looking at details of the tool will see the tooltip disappear even if they are not done reading it.

I have a couple more suggestions:

  1. add a button to trigger a manual refresh (bottom left corner for instance) that would also reset the tooltips
  2. add a timeout on tooltips so that they automatically disappear after a set time (like 30 seconds or a minute, something like that)

@r-xyz
Copy link
Contributor Author

r-xyz commented Aug 13, 2024

Good point!
In my opinion, # 2 seems to be better UX since it requires no user intervention. I agree, 30 seconds or one minute should work well.

@rptmat57
Copy link
Contributor

that would also be my preferred option

r-xyz added a commit to r-xyz/NEMO that referenced this issue Sep 6, 2024
rptmat57 pushed a commit that referenced this issue Sep 6, 2024
* Add timeout to tool info tooltips in kiosk and status dashboard.
Fixes #246.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants