Skip to content

Conversation

@ericokuma
Copy link
Contributor

Addresses APP-657 by improving the discoverability of the "Shift + Click to copy" functionality on the main dashboard.

Previously, the copy hint was only visible within expanded dimension tables, leading to users being unaware of this feature. This PR introduces a reusable CopyShortcutTooltip component that displays the "Shift + Click to copy" hint on hover for all copy-enabled cells in the LeaderboardRow. The tooltip auto-hides after 3 seconds to remain unobtrusive, making the copy functionality more apparent to all users.

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

Linear Issue: APP-657

Open in Cursor Open in Web

Co-authored-by: eric.okuma <eric.okuma@rilldata.com>
@cursor
Copy link

cursor bot commented Dec 19, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

cursoragent and others added 2 commits December 19, 2025 20:54
Co-authored-by: eric.okuma <eric.okuma@rilldata.com>
This commit restructures the leaderboard row component to enhance accessibility by adding role, tabindex, and focus/pointerover event handlers to cells. It also refines the styling and layout of the cells, particularly for the dimension and measure values, and introduces a new `display: contents` style for tooltips.

Co-authored-by: eric.okuma <eric.okuma@rilldata.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants