Project name speech bubbles on the Gantt chart#11
Draft
Tanops wants to merge 5 commits into
Draft
Conversation
Wrap owner avatar and title in a gpin cluster that slides within each bar on horizontal scroll, keeping both visible in the viewport at any zoom level. Updates on scroll, resize, render, and bar drag. Co-authored-by: Tanops <Tanops@users.noreply.github.com>
Show each project name in a rounded bubble with the owner avatar and title cluster (gpin), pin the bubble while scrolling wide project spans, and spill truncated names into overflow labels like task bars. Co-authored-by: Tanops <Tanops@users.noreply.github.com>
|
Wrap summary line, fill, label, and percent in a gsumtrack container. Center the title bubble on the bar's left cap so the gray track and blue fill remain visible across the full project span. Co-authored-by: Tanops <Tanops@users.noreply.github.com>
Stack the title bubble above the progress track in fixed rows so the label never overlays the gray/blue bar or percent text. Co-authored-by: Tanops <Tanops@users.noreply.github.com>
Use a flex column inside .gsumtrack so the title bubble sits above the progress bar with a 4px gap. Give project .gtrack an explicit height (ph+34px) instead of the default 26px task-row height, which was compressing both elements into the same vertical space. Co-authored-by: Tanops <Tanops@users.noreply.github.com>
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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
pinFlags()Layout fix
The project label was covering the progress bar because
.gtrackhad a fixed 26px height (meant for single task rows). Both the bubble and bar were absolutely positioned inside that cramped space.Changes:
.gsumtrackusesflex-direction: columnwith a 4px gap between label and bar.gtrackgets an explicitheight: ph+34pxbased on bar thickness.gsumlblisposition: relativeso it flows above the bar instead of stacking on top of itTest plan