Skip to content

feat(ui): wrap/no-wrap canvas mode with sticky line gutter - #50

Merged
ArianAr merged 1 commit into
mainfrom
feat/49-wrap-mode
Jul 15, 2026
Merged

feat(ui): wrap/no-wrap canvas mode with sticky line gutter#50
ArianAr merged 1 commit into
mainfrom
feat/49-wrap-mode

Conversation

@ArianAr

@ArianAr ArianAr commented Jul 15, 2026

Copy link
Copy Markdown
Owner

Summary

Implements roadmap v1.2.1 / issue #49.

  • Toolbar Wrap ↔ No wrap toggle on the log canvas
  • No-wrap: single-line rows, horizontal scroll for long lines
  • Sticky line gutter (number + level bar) while scrolling horizontally
  • Preference in localStorage (papercut-wrap-mode); default wrap (previous behavior)
  • Sticky paste header + filter bar chrome

Test plan

  • Unit tests for wrap-mode storage helpers
  • pnpm --filter @papercut/server test typecheck lint
  • Manual: open a paste with long lines, toggle wrap, reload, confirm persistence

Closes #49

Toggle soft-wrap vs dense no-wrap (horizontal scroll). Line numbers and
level bars stay sticky left while scrolling. Preference stored in
localStorage (papercut-wrap-mode). Default remains soft-wrap.

Closes #49
@ArianAr ArianAr added enhancement New feature or request area:ui Log canvas and web UI labels Jul 15, 2026
@ArianAr
ArianAr merged commit 9c42c5b into main Jul 15, 2026
9 of 10 checks passed
@ArianAr
ArianAr deleted the feat/49-wrap-mode branch July 15, 2026 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ui Log canvas and web UI enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Canvas: wrap / no-wrap (column) mode with sticky line gutter

1 participant