Files
q-edit/docs/adr/0007-page-jump-bridge.md
2025-09-02 21:04:17 -04:00

443 B

ADR 0007 — Page jump controls bridge (hash-aware)

Decision

Add scripts/init-page-jump.mjs to wire .jump-input + .jump-btn inside pagination containers to the URL hash:

  • Updates #page=N via setPage() on click/Enter.
  • Clamps to min/max when available, else to >= 1.
  • Syncs input when hash changes externally.

Consequences

  • One script tag in index.html.
  • Works with both legacy pagination and the new builder.