#267: jump to top and bottom buttons for long pastes and editor #269

Merged
fen merged 1 commits from fix-267 into dev 2026-09-17 19:51:36 +00:00
Collaborator

Ref #267

Fixed-position Top/Bottom pills (bottom right) appear only when content height exceeds 2x the viewport:

  • Paste view: buttons scroll the window; hidden on short pastes.
  • /new: buttons scroll the editor textarea; hidden until content is long, refreshes on input.

New static/jump.js (CSP-safe external script, no inline styles). Verified locally: rendered probes on a 600-line paste (hidden state on short paste, bottom/top jumps land correctly) and editor probes on /new at 1400x900. go build + go test pass.

Ref #267 Fixed-position Top/Bottom pills (bottom right) appear only when content height exceeds 2x the viewport: - Paste view: buttons scroll the window; hidden on short pastes. - /new: buttons scroll the editor textarea; hidden until content is long, refreshes on input. New static/jump.js (CSP-safe external script, no inline styles). Verified locally: rendered probes on a 600-line paste (hidden state on short paste, bottom/top jumps land correctly) and editor probes on /new at 1400x900. go build + go test pass.
fen added 1 commit 2026-09-17 19:49:20 +00:00
#267: jump to top/bottom buttons for long pastes and the editor
CI / docker (pull_request) Skipped
CI / test (pull_request) Successful in 23s
a4118b92a9
Fixed-position Top/Bottom pills appear only when content exceeds 2x
viewport height (window scroll on paste view, textarea scroll on /new).
New static/jump.js drives them; markup added to paste.html and new.html.
fen merged commit 60784386ab into dev 2026-09-17 19:51:36 +00:00
Sign in to join this conversation.