Analysis grid: a tag is capped at 130px wide, so a long name is cut short even when the Tags column has room
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 69/100
Research direction
Start with variantgrid/static_files/default_static/css/global/_grids.scss and inspect the grid tag's max-width alongside the resizing behavior described for issue #2904. Check how the tag's delete X stays visible as the Tags column grows. Done when a long tag can use available cell width without hiding its X, while default-width tags retain their current appearance.
Written by the indexing model from the issue text.
Description
🤖 Written by Claude
Found while agent-testing #2904.
In the analysis grid's Tags column, a tag is never drawn wider than 130px, however wide the column is (max-width: 130px on the grid tag in variantgrid/static_files/default_static/css/global/_grids.scss). So a tag with a very long name is shortened with "…" even when its cell has room to show the whole name, for example a row with one tag in a column dragged out to 400px.
This is the existing cap doing what it was written to do, not a regression from #2904. That work made tags share the column when they don't fit, and refit when the column is resized. The cap is what stops them using spare room in the other direction.
Expected: when the cell has room, a tag grows to show its full name. The cap should apply only when tags have to share the width.
To reproduce
- Open an analysis and select a node whose grid has a row with one tag that has a long name (30 or more characters).
- Drag the Tags column's right edge out until it is much wider than the tag.
- The tag stays at 130px with its name cut short. Hovering it shows the full name.
To consider: the cap is there so one long name can't take the whole cell and push the tag's delete X out of view, and it keeps the default-width column tidy. So a fix should let a tag grow only as far as the cell allows with its X still visible, and should not change how tags look at the default width.
Shariant is not affected: it has no analyses.
- Dominant language
- Python
- Stars
- 31
- Forks
- 4
- Avg merge
- 4h 52m
- Merged PRs (30d)
- 183
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SACGF/variantgrid
-
Genome build now duplicated in "imported as" on allele pagePossibly taken @TheMadBug claimed this 3 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
SACGF/variantgrid#2950 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
SACGF/variantgrid#2865 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
SACGF/variantgrid#2647 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
SACGF/variantgrid#2341 · 3 comments ·
Maintainers usually reply within 1 day
-
bug classification
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
SACGF/variantgrid#2329 · 1 comment ·
Maintainers usually reply within 1 day
All issues in SACGF/variantgrid
Similar issues
-
docs(contributing): the two things that silently block a PRPossibly taken A pull request linked to this issue is open or already merged. Openavailable documentation good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
Nixitov/Riptide-Native#944 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
JTHCode/secretguard#24 ·
Maintainers usually reply within 1 day
-
area: middleware documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainers usually reply within 1 day