Skip to content

fix(graph): keep the legend from covering the hierarchy-only hint - #77

Merged
Rl0007 merged 2 commits into
mainfrom
fix/graph-legend-overlap
Oct 6, 2026
Merged

Rl0007 merged 2 commits into
mainfrom
fix/graph-legend-overlap

Conversation

@Rl0007

@Rl0007 Rl0007 commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor
  1. On the graph view, a long type legend ran over the "Showing hierarchy only" hint at the bottom, so neither could be read.
  2. The legend and the hint now share one bottom row: side by side when there is room, the hint on its own line below the chips when not.

You can visit any import's Graph tab to see it.

Fixes #52

Before

After

Verification
  • Frontend-only; no frontend test runner, so the regression check is the browser repro on a devbox.
  • Before (main): with 9 section types on a test import, the hint is hidden behind the chips at 1280 px and 1024 px.
  • After: hint readable at 1280 px and 1024 px (stacked below the chips) and side by side with a one-chip legend; below 1024 px the graph is a list and neither element renders, unchanged.
  • Chips still toggle on click; the empty part of the bottom row passes drag/zoom to the canvas.
  • vue-reviewer and frappe-reviewer: approve. pre-commit --all-files clean.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@Rl0007
Rl0007 merged commit 8a15db9 into main Oct 6, 2026
3 of 8 checks passed
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.

Graph legend covers the hint text at the bottom

1 participant