Commit Graph

10 Commits

Author SHA1 Message Date
Frudrax Cheng 8f9d3653c8 refactor: remove company management 2026-06-05 18:00:06 +08:00
Frudrax Cheng bdd5c65091 style: use date picker for manufacture date 2026-06-05 17:28:27 +08:00
Frudrax Cheng ab5acbc452 Open signature in a landscape overlay and fix mobile touch
The inline signature pad on the confirm page was unusable on phones:
the canvas had a fixed 480px internal width but shrank via max-width
on small screens, so pointer coordinates landed in only the top-left
fraction of the drawing buffer. Edge-of-screen strokes also collided
with iOS Safari back-swipe.

Tapping the new signature trigger now opens a full-screen overlay
that rotates to landscape (via 100dvh/100dvw + CSS rotate on portrait
phones, plus an opportunistic screen.orientation.lock) so customers
get the widest possible signing area, away from the system edge.

Also swap the hand-rolled drawing logic for signature_pad, with a
ResizeObserver-driven resize that preserves strokes via
toData/fromData and scales the canvas to devicePixelRatio.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 09:11:05 +08:00
cynosura 54d6b31da6 Update package.json 2026-03-02 13:01:05 +08:00
cynosura ff767837e7 fix package.json 2026-02-07 17:06:29 +08:00
cynosura 2a3399d436 fix typo 2026-02-07 16:40:07 +08:00
cynosura a93a90ff2d update package.json 2026-02-07 16:34:20 +08:00
cynosura bef7416ecb chore: update package.json dependencies 2026-02-07 01:44:11 +08:00
cynosura 18803d07be feat: improve user interface layout for better accessibility 2026-02-06 16:18:54 +08:00
cynosura 5fc7b33b3b Initial commit 2026-02-06 14:06:49 +08:00