Let the page flick work anywhere, with a setting to turn it off #13

Merged
reudy merged 1 commit from canvas-polish into main 2026-09-27 23:46:59 +02:00
Member

Follow-up to #12, which was merged before this was pushed.

Flick anywhere. A quick one-finger flick toward a free side of the active page now offers a page there at any zoom and pan position. Before, it only worked once that edge of the page was on screen.

  • If that side's plus is on screen, it pulses as before.
  • If the plus is off screen, an "Add page" button appears at that edge of the screen for 3 s. A flick down puts it above the toolbar. Taps on it go through the same palm-checked gesture as the plus. It never adds a page on its own.

Setting. Settings → Pen & touch has a new "Swipe to add pages" switch, on by default. The spec and README mention it.

Checks. npm run check reports 0 errors and 0 warnings, npm test passes 35 tests, and npm run build succeeds.

Browser smoke test. I ran the built app in headless Chromium with touch emulation:

  • Zoomed to 207%, a leftward flick shows the "Add page" button on the right edge, and a touch tap on it adds a page.
  • With the setting off, a flick offers nothing.

This is not yet tested on a real tablet.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GaoZtJQZwLXkEgWs8twCia

Follow-up to #12, which was merged before this was pushed. **Flick anywhere.** A quick one-finger flick toward a free side of the active page now offers a page there at any zoom and pan position. Before, it only worked once that edge of the page was on screen. - If that side's plus is on screen, it pulses as before. - If the plus is off screen, an "Add page" button appears at that edge of the screen for 3 s. A flick down puts it above the toolbar. Taps on it go through the same palm-checked gesture as the plus. It never adds a page on its own. **Setting.** Settings → Pen & touch has a new "Swipe to add pages" switch, on by default. The spec and README mention it. **Checks.** `npm run check` reports 0 errors and 0 warnings, `npm test` passes 35 tests, and `npm run build` succeeds. **Browser smoke test.** I ran the built app in headless Chromium with touch emulation: - Zoomed to 207%, a leftward flick shows the "Add page" button on the right edge, and a touch tap on it adds a page. - With the setting off, a flick offers nothing. This is not yet tested on a real tablet. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01GaoZtJQZwLXkEgWs8twCia
agent added 1 commit 2026-09-27 23:43:19 +02:00
A fling toward a free side of the active page now offers a page at any
zoom or pan position, not only once that edge is on screen. If the
side's plus is visible it pulses as before; otherwise an "Add page"
button appears at that edge of the screen, tapped through the same
palm-checked gesture as the plus.

Settings → Pen & touch gets "Swipe to add pages" (on by default).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GaoZtJQZwLXkEgWs8twCia
reudy merged commit 894291df7f into main 2026-09-27 23:46:59 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: reudy-net/Papure#13
No description provided.