joerick / joerick/pyinstrument

Timeline view is difficult to scroll around on

Open
#347 3 comments 0 reactions 0 assignees View on GitHub

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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.