joerick / joerick/pyinstrument
Timeline view is difficult to scroll around on
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8k
- Forks
- 301
- PR merge metrics
- No merged PRs in 30d
Description
I like the new timeline view, but the scrolling behavior is a little wonky. I think it needs to be much harder to zoom in and out. Ideally it would lock either horizontal scrolling or zooming, so that you can scroll the timeline without zooming at the same time. Maybe it should also require more of a vertical scroll to actually activate zooming.
Another idea would be to make scrolling on the timeline itself only do panning (this would also fix #346), and make it so that to zoom you have to scroll or drag on the top bar. This is a common UI for zooming a chart.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by locating the timeline view implementation and reproducing the scrolling and zooming behavior described here. Decide on the interaction model from the issue's alternatives, then verify that panning does not accidentally zoom and that intentional zooming remains usable, with regression coverage for the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100