Adds Top / Bottom jump pills (fixed, bottom right) that appear only when the content is tall enough to need them (>1.5 viewport of scrollable distance). They work on both the paste view (page scroll) and the /new editor (textarea scroll), with smooth scrolling and edge-aware hiding (the Top button hides while you are at the top, Bottom hides at the bottom). Styled with palette vars and the shared pill/focus conventions; new external jump.js, no inline JS or styles.
Verified on a local build with CDP probes: nav appears on a 900 line paste and hides on a short one, click Bottom scrolls near max and click Top back up, editor case scrolls the textarea (scrollTop 27361 of 28910 max), buttons on screen at 1400x900 and 375x812 (right edge 359 of 375), no CSP violations in the console log. Ref #267 (no closing keyword).
Fix attempt 1 for #267.
Adds Top / Bottom jump pills (fixed, bottom right) that appear only when the content is tall enough to need them (>1.5 viewport of scrollable distance). They work on both the paste view (page scroll) and the /new editor (textarea scroll), with smooth scrolling and edge-aware hiding (the Top button hides while you are at the top, Bottom hides at the bottom). Styled with palette vars and the shared pill/focus conventions; new external jump.js, no inline JS or styles.
Verified on a local build with CDP probes: nav appears on a 900 line paste and hides on a short one, click Bottom scrolls near max and click Top back up, editor case scrolls the textarea (scrollTop 27361 of 28910 max), buttons on screen at 1400x900 and 375x812 (right edge 359 of 375), no CSP violations in the console log. Ref #267 (no closing keyword).
Closing as superseded. The same #267 scope (Top/Bottom jump pills for long pastes and the /new editor) already landed via #269 (commit a4118b9, merged into dev) and is verified live on palette-dev: buttons appear only when content exceeds 2x viewport, Top/Bottom clicks scroll correctly on paste view and editor, hidden on short content, working at 1400x900 and 375x812. This PR's head (5ddfa21) is an alternate implementation of the identical feature; deleting fix-267.
Closing as superseded. The same #267 scope (Top/Bottom jump pills for long pastes and the /new editor) already landed via #269 (commit a4118b9, merged into dev) and is verified live on palette-dev: buttons appear only when content exceeds 2x viewport, Top/Bottom clicks scroll correctly on paste view and editor, hidden on short content, working at 1400x900 and 375x812. This PR's head (5ddfa21) is an alternate implementation of the identical feature; deleting fix-267.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fix attempt 1 for #267.
Adds Top / Bottom jump pills (fixed, bottom right) that appear only when the content is tall enough to need them (>1.5 viewport of scrollable distance). They work on both the paste view (page scroll) and the /new editor (textarea scroll), with smooth scrolling and edge-aware hiding (the Top button hides while you are at the top, Bottom hides at the bottom). Styled with palette vars and the shared pill/focus conventions; new external jump.js, no inline JS or styles.
Verified on a local build with CDP probes: nav appears on a 900 line paste and hides on a short one, click Bottom scrolls near max and click Top back up, editor case scrolls the textarea (scrollTop 27361 of 28910 max), buttons on screen at 1400x900 and 375x812 (right edge 359 of 375), no CSP violations in the console log. Ref #267 (no closing keyword).
Closing as superseded. The same #267 scope (Top/Bottom jump pills for long pastes and the /new editor) already landed via #269 (commit
a4118b9, merged into dev) and is verified live on palette-dev: buttons appear only when content exceeds 2x viewport, Top/Bottom clicks scroll correctly on paste view and editor, hidden on short content, working at 1400x900 and 375x812. This PR's head (5ddfa21) is an alternate implementation of the identical feature; deleting fix-267.Pull request closed