Release a chart destroyed while the mouse is held on it
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript, rust
- Domain
- frontend, observability
Research direction
The issue points to the vendored uPlot document mouseup listener and was found during #188 (PR #262). Start by locating the vendored uPlot code and how charts are destroyed or redrawn, then trace whether the listener retains the plot after destruction. Done means reproducing the held-button sequence leaves no detached chart in browser memory tools; the issue leaves open whether to patch uPlot or work around it.
Written by the indexing model from the issue text.
Description
As a homelab operator,
I want a chart that is replaced while I'm dragging on it to be released,
so that the page doesn't keep old charts in memory.
Acceptance criteria
- Given a mouse button held on a chart, when the chart is destroyed or redrawn, then nothing keeps a reference to the old chart after the button is released.
Success signal: no detached chart in the browser's memory tools after this sequence.
Out of scope: changing uPlot's behaviour beyond this listener.
Open questions: whether to patch the vendored uPlot or work around it.
Technical notes
Found during #188 (PR #262): the vendored uPlot keeps its document mouseup listener, and through it the plot, when destroyed mid-press.
- Dominant language
- Rust
- Stars
- 0
- Forks
- 0
- Avg merge
- 40m
- Merged PRs (30d)
- 91
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 jdrouet/tinyobserve
-
area:ops chore priority:low
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
jdrouet/tinyobserve#267 ·
Maintainers usually reply within 1 day
-
area:ops bug priority:low
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
jdrouet/tinyobserve#266 ·
Maintainers usually reply within 1 day
-
area:dashboards bug priority:low
Difficulty 2/5 1-3 hours Newbie friendliness 71/100
jdrouet/tinyobserve#263 ·
Maintainers usually reply within 1 day
-
area:dashboards bug priority:low ready
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
jdrouet/tinyobserve#260 · 1 comment ·
Maintainers usually reply within 1 day
-
chore priority:medium
Difficulty 1/5 1-3 hours Newbie friendliness 76/100
jdrouet/tinyobserve#256 · 1 comment ·
Maintainers usually reply within 1 day
All issues in jdrouet/tinyobserve
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
storytold/photocraft#20056 ·
Maintainers usually reply within 1 day
-
accessibility agent-ready area:android bug fleet needs-qa
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
-
A-Packaging C-Bug D-Straightforward S-Needs-Triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
area:doc bug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
bherbruck/solvecraft#26051 ·