question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Left-click to get table value actions

See original GitHub issue

Description

In the explorer table, I can right-click on a value and it’ll show this context menu. It’s very hard to find. Let’s make it more prominent:

  • on-hover -> underline the value / use cursor: pointer
  • on-left click -> show the context menu when left-clicking as well as right-clicking
  • on-hover row -> make the whole row look selected when hovering over a row (not sure on the best approach here, probably making it a slightly darker shade?)
Screenshot 2022-06-20 at 09 39 30

What problem does this solve?

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
12ian34commented, Jul 14, 2022

I’d be wary of hijacking the right-click action even in web apps. This means that we are assuming all the actions supported by right-clicking trump any action the user might want from the standard web page right-click context menu. It works in Google Sheets because it’s basically Excel in a web page and that’s what users are expecting. Since Lightdash is a web app with multiple panels here and there, hijacking right click might not always be what the users expect.

Not saying we shouldn’t do this, just saying perhaps we need to think about any negative implications.

0reactions
owlascommented, Aug 16, 2022

Closing for #2785

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to distinguish between left and right mouse click with ...
Hey! Thanks, this looks great, but I cant get it to bind to an element like a table row or even the body....
Read more >
Action Class in Selenium – Mouse Click & Keyboard Events
In this tutorial, we will learn handling special keyboard and mouse Event using Action Class in Selenium Webdriver.
Read more >
Get the active cell in a table on a mouse click, so I can change ...
I have a table. When a user clicks on a particular cell, I need the cell coordinates so that I can change its...
Read more >
Mouse and keyboard actions reference - Power Automate
Click type, N/A, Left click, Right click, Double click, Middle click, Left button down, Left button up, Right button down, Right button up...
Read more >
HTMLElement.click() - Web APIs | MDN
Return value. None ( undefined ). Examples. Simulate a mouse-click when moving the mouse pointer over a ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found