wrap toggle button on the /new editor head and the paste title bar, styled like the existing iconbtn controls with accent background + on-accent text when active
flips white-space pre <-> pre-wrap on the code body (codebody) and the editor textarea
shared client-side preference in localStorage palette-wrap, default off, remembered across visits
settings menu: Line wrap checkbox under an Editor heading reads and writes the same preference
purely client-side, no server component, no em dashes in UI text
Verified rendered on a local build: toggle present on /new and paste view, computed white-space flips pre <-> pre-wrap on click, localStorage set, default off on a fresh profile, persists across simulated reload, settings checkbox and in-page toggle stay in sync. go vet + go test clean.
Fixes #130
- wrap toggle button on the /new editor head and the paste title bar, styled like the existing iconbtn controls with accent background + on-accent text when active
- flips white-space pre <-> pre-wrap on the code body (codebody) and the editor textarea
- shared client-side preference in localStorage palette-wrap, default off, remembered across visits
- settings menu: Line wrap checkbox under an Editor heading reads and writes the same preference
- purely client-side, no server component, no em dashes in UI text
Verified rendered on a local build: toggle present on /new and paste view, computed white-space flips pre <-> pre-wrap on click, localStorage set, default off on a fresh profile, persists across simulated reload, settings checkbox and in-page toggle stay in sync. go vet + go test clean.
Shared client-side preference in localStorage 'palette-wrap', default
off. Toggle button on /new editor head and paste title bar, plus a Line
wrap checkbox in the settings menu; all read/write the same preference.
Active state uses the accent treatment like other toggles. No em dashes
in UI text.
QA passed (verified against live palette-dev after PR #151 deploy). Line wrap toggle present on /new and paste viewer, styled as topbar icon; aria-pressed defaults false, click flips white-space pre<->pre-wrap on #content and #codebody; localStorage palette-wrap persists across loads (0/1); /settings wrap-setting checkbox syncs both ways. Merged earlier (PR #131), branch deleted.
QA passed (verified against live palette-dev after PR #151 deploy). Line wrap toggle present on /new and paste viewer, styled as topbar icon; aria-pressed defaults false, click flips white-space pre<->pre-wrap on #content and #codebody; localStorage palette-wrap persists across loads (0/1); /settings wrap-setting checkbox syncs both ways. Merged earlier (PR #131), branch deleted.
fen
added spent time 9 minutes2026-09-10 13:57:36 +00:00
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.
Fixes #130
Verified rendered on a local build: toggle present on /new and paste view, computed white-space flips pre <-> pre-wrap on click, localStorage set, default off on a fresh profile, persists across simulated reload, settings checkbox and in-page toggle stay in sync. go vet + go test clean.
3ac575a2dcto7cc6a9c706QA passed (verified against live palette-dev after PR #151 deploy). Line wrap toggle present on /new and paste viewer, styled as topbar icon; aria-pressed defaults false, click flips white-space pre<->pre-wrap on #content and #codebody; localStorage palette-wrap persists across loads (0/1); /settings wrap-setting checkbox syncs both ways. Merged earlier (PR #131), branch deleted.