Show script ID/configuration profile UUID on hover in UI#45787
Show script ID/configuration profile UUID on hover in UI#45787noahtalerman wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
@mike-j-thomas new UI pattern. What do you think? |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #45787 +/- ##
==========================================
- Coverage 66.74% 66.74% -0.01%
==========================================
Files 2744 2744
Lines 219316 219384 +68
Branches 10794 10837 +43
==========================================
+ Hits 146393 146436 +43
- Misses 59698 59722 +24
- Partials 13225 13226 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
WalkthroughThis PR adds hover tooltips to display identifiers in two list-item components. ProfileListItem now shows the profile UUID when hovering over the profile name, and ScriptListItem displays the script ID when hovering over the script name. Both changes follow the same pattern: importing TooltipWrapper, wrapping the existing title element, and configuring the tooltip with the identifier content and top-position styling. Possibly related issues
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@noahtalerman, the tooltip itself looks good, but how would a user know to spawn it? Is the top example that's underlined a link? That would stop us from being able to use the dotted underline. So what would it look like with a question mark in a circle icon next to the label? |
@mike-j-thomas yes.
It's going to become a long string of misaligned icons which I think will look strange. Picture it for this list in dogfood:
I hear what you're saying but maybe it's ok? GitHub has no indicator until I hover:
Mike, up to you. |
More than the misalignment, it's going to become very dense for something that may not be that important (don't actually have context for how important it is to show the UUID). I say go for it, at least for now. Besides, everyone likes a good easter egg. |
|
I would say this is functionally not helpful. Most of the time when you want an id or uuid you want to copy and paste it. Tooltips don't allow you to accomplish that |
@georgekarrv copy/paste works!
|
|
Maybe not part of this, but doing something similar (wherever this lands) for the host UUID would be nice. I always find myself copying it from the network request when trying to hit it via the API. |
@MagnusHJensen good idea. Where in the UI makes sense to add the tooltip? On the Hosts page? I guess on the Hosts page, I can already copy/paste the UUID from the table...
|
Well of course, then never mind for that, I just didn’t use the UUID column 😅 |








For the following quick win:
Screenshots
Summary by CodeRabbit