fix(web): show full namespace on hover in Home bar chart#694
Merged
Conversation
The Home tab's namespace chart uses ``_renderNsChart`` which CSS-clips ``.home-bar-label`` at 120px with ``text-overflow: ellipsis``. Long auto-namespaces such as ``claude:-Users-<user>-Work-<project>`` get truncated to ``claude:-Users-...`` with no way to see the rest — users can't tell which project a row belongs to. The d3 donut override in ``settings-namespaces.js`` is not exercised because d3 is never loaded by the SPA, so this fallback path is what every user actually sees. Add a ``title`` to the row so the full namespace is recoverable on hover. Bumps ``app.js?v=94`` → ``v=95`` per the cache-bust convention. Co-Authored-By: Claude <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
titleattribute to each row in the Home tab's namespace bar chart so the full namespace string is reachable on hover.app.js?v=94→v=95so the change reaches users behind the disk cache.Why
.home-bar-labelis CSS-clipped at 120 px withtext-overflow: ellipsis. Long auto-namespaces likeclaude:-Users-<user>-Work-<project>truncate toclaude:-Users-...with no way to see the rest — users can't identify which project a row belongs to.The d3 donut override in
settings-namespaces.js:479is not exercised because d3 is never loaded by the SPA (no<script>tag, no module resolution), so the bar chart atapp.js:1265is what every user actually sees.Out of scope
settings-namespaces.jsis left alone — separate cleanup PR if anyone cares.claude:namespaces) are unchanged.Test plan
uv run ruff check packages/memtomem/src && uv run ruff format --check packages/memtomem/srcclean.🤖 Generated with Claude Code