summaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/src
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-09-09 14:14:11 +0200
committerChristophe Besson <cbesson@gmail.com>2026-09-09 14:14:11 +0200
commitb472b4d43149ed12a7f64c94f34c34f436bef492 (patch)
treed31c2b24afa81027f3fa17aa861b3cce11fa8c61 /packages/meshbay-node/src
parent53ea44cb03ef6f8d941f6c8c9446551b0c5cd1ac (diff)
downloadmeshbay-b472b4d43149ed12a7f64c94f34c34f436bef492.tar.gz
fix(spa): a paused transfer is not a finished one
Reported while testing the flag day: pausing an upload put it under "Finished". "Finished" was defined by exclusion — everything that is not running, queued or preparing — so it swallowed `paused` the day pausing shipped. A transfer somebody stopped on purpose then sat beside the ones that are actually over, offering a resume button in the section of things that cannot be resumed, and dropped out of the badge, which announced less activity than there was. Paused is now its own group, in all ten catalogues, and counts as active: it is not over, the person means to come back to it. The three filters are lifted out of `app.js` and executed rather than described in the test, and one case asserts that every status lands in exactly one group — a state added later that falls into none is a transfer the panel simply does not show, which is how this one got in. The same report also said the three running downloads lost their pause buttons when the upload was paused. That part is **not** explained and **not** fixed: the store returns `pausable` true and status `running` for all three (new test), closing an upload lease pumps only the upload queue, and the button's condition is a pure function of those two. All three say the buttons should have stayed, so an observation is missing rather than a cause. Hub suite 864 passed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HCGdheDLxGReuKHga3BtST
Diffstat (limited to 'packages/meshbay-node/src')
0 files changed, 0 insertions, 0 deletions