feat: show space name on hover in primary nav (#129) #136

Merged
hodlbod merged 3 commits from priyanshu_bharti/flotilla:129-show-space-name-on-hover into dev 2026-04-06 16:08:03 +00:00
Contributor

Resolves #129

This PR implements showing the human-readable space (relay) name when hovering over space icons in the primary navigation sidebar. It uses deriveRelayDisplay to ensure the name is correctly resolved from metadata.

  • Modified PrimaryNavItemSpace.svelte
  • Verified locally that the tooltip shows the expected name.
Resolves #129 This PR implements showing the human-readable space (relay) name when hovering over space icons in the primary navigation sidebar. It uses `deriveRelayDisplay` to ensure the name is correctly resolved from metadata. - Modified `PrimaryNavItemSpace.svelte` - Verified locally that the tooltip shows the expected name.
Owner

Interesting, it looks like this is a Firefox-only bug — in Zen browser the tooltip isn't appearing for me. In Chrome (Brave) it works fine. Could you test this in FF?

Interesting, it looks like this is a Firefox-only bug — in Zen browser the tooltip isn't appearing for me. In Chrome (Brave) it works fine. Could you test this in FF?
Author
Contributor

Hey @hodlbod,
Tested in Firefox (latest version) just now.
Tooltip is appearing correctly and showing the space name on hover in the primary nav

Attached screenshot from Firefox for reference.
image.png

Working fine now in Firefox too!

Let me know if you want any other changes. Ready to merge whenever you are

Hey @hodlbod, Tested in **Firefox** (latest version) just now. Tooltip is appearing correctly and showing the space name on hover in the primary nav ✅ Attached screenshot from Firefox for reference. ![image.png](/attachments/78128bc3-e9a6-4faa-9bd9-47b6814e45f8) Working fine now in Firefox too! Let me know if you want any other changes. Ready to merge whenever you are
Owner

Thanks, this is getting there. A couple things:

  • Let's remove the changes to app.css. They look good, but I want to avoid one-off colors and !important for maintainability.
  • Use the cx utility instead of filter(Boolean).join
  • The tooltips still aren't showing up in FF on pages with a SecondaryNav — I think the nav is hiding the tooltips.
Thanks, this is getting there. A couple things: - [x] Let's remove the changes to app.css. They look good, but I want to avoid one-off colors and !important for maintainability. - [x] Use the `cx` utility instead of filter(Boolean).join - [x] The tooltips still aren't showing up in FF on pages with a SecondaryNav — I think the nav is hiding the tooltips.
priyanshu_bharti added 3 commits 2026-04-04 18:16:58 +00:00
- Refactor PrimaryNavItem and SecondaryNavItem to use 'cx' utility.
- Add tooltip support to SecondaryNavItem and SpaceMenu room items.
- Remove hardcoded tooltip colors from app.css.
- Fix Firefox PrimaryNav tooltip visibility by increasing z-index and adding isolation: isolate.
priyanshu_bharti force-pushed 129-show-space-name-on-hover from 28f691753b to 9ae3c8290a 2026-04-04 18:16:58 +00:00 Compare
Author
Contributor

@hodlbod

All points addressed:

  • Reverted app.css changes
  • Switched to cx utility instead of filter(Boolean).join()
  • Fixed tooltip issue in Firefox on SecondaryNav pages (z-index + stacking context)

image.png

Also included space name hover improvement.

Ready for merge whenever you are. Thanks!

@hodlbod All points addressed: - Reverted app.css changes - Switched to `cx` utility instead of filter(Boolean).join() - Fixed tooltip issue in Firefox on SecondaryNav pages (z-index + stacking context) ![image.png](/attachments/aa084c04-871d-4d6f-8c82-0c78ce59b49c) Also included space name hover improvement. Ready for merge whenever you are. Thanks!
285 KiB
hodlbod merged commit fed34a2747 into dev 2026-04-06 16:08:03 +00:00
hodlbod deleted branch 129-show-space-name-on-hover 2026-04-06 16:08:03 +00:00
Sign in to join this conversation.