Northeastern-Electric-Racing / Northeastern-Electric-Racing/FinishLine

Gantt Chart Fixes - Smoother tooltip

Open
#2,410 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

front-end
Dominant language
TypeScript
Stars
36
Forks
9
Avg merge
4d 21h
Merged PRs (30d)
11

Description

Description

Currently, when hovering over a bar in the gantt chart, a tooltip popup appears but its location is pretty jagged and inconsistent. Try to make the tooltip movement a lot smoother and maintain a minimum size so the text doesn't get squished.

We don't want this either:
image

Acceptance Criteria
  • Gantt chart tooltip moves around much smoother/doesn't hop from place to place erratically. Alternatively, finding a fixed position for the tooltip on the page for that bar would also work, ie make it sticky until its no longer in view.
  • Tooltip text box is a minimum size such that text wont get squished, if the cursor is in an area with limited space, make the tooltip dynamic so that it can appear in the top/bottom/left/right/immediate proximity of the bar while still being a minimum size.
Proposed Solution
  • modify the placement & movement of the tooltip
  • modify the sizing of the box components to have a min width
Mocks

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the issue, so start by locating the Gantt chart tooltip entry point and its placement and sizing logic. Reproduce the erratic movement near constrained edges, then verify that the tooltip stays smooth and maintains a readable minimum size while adapting its position around the bar.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.