Commit Graph

40 Commits

Author SHA1 Message Date
matmoul e5f50aee0a fix: reorder calc-02 display buttons 2026-05-16 03:44:20 +02:00
matmoul 6a7a60a9bc fix: align calc menus with trigger width 2026-05-16 03:41:25 +02:00
matmoul a37ed59b40 fix: reorder calc-02 display buttons 2026-05-16 03:37:04 +02:00
matmoul c09fdc7e0f refactor(calc-02): simplify display and button styling
Remove layered shadows and pressed-state transforms from the calculator UI, and update the stack copy icon markup and active feedback to match the new flat design.
2026-05-16 03:21:49 +02:00
matmoul 849170ea49 docs: update calc-02 portrait visual reference
Move the portrait layout documentation to samples/calc-02/visual-portrait.md and refresh the project memory note to point to the new reference.
2026-05-16 03:11:00 +02:00
matmoul 0100da80bb fix(calc-02): adjust keypad grid sizing 2026-05-16 03:02:43 +02:00
matmoul e1fd730db5 fix: remove panel border from calc sample 2026-05-16 02:48:59 +02:00
matmoul ba53f51bf7 refactor(samples): simplify calc-02 background styling 2026-05-16 02:48:00 +02:00
matmoul 534bbc0afb feat: add dynamic constant management to the calculator core 2026-05-16 02:23:20 +02:00
matmoul 2504716c64 fix: tighten calc stack display layout
Reorder the stack cell grid so the copy button sits beside the label and reduce spacing to better align the value column.
2026-05-16 02:04:47 +02:00
matmoul 6c8c032f7a fix: stabilize calculator display sizing 2026-05-16 02:02:45 +02:00
matmoul d8d0556822 style: tighten calculator sample layout spacing 2026-05-16 01:48:52 +02:00
matmoul 426fd326a5 fix(calc-02): simplify button spacing and menu background 2026-05-16 01:43:00 +02:00
matmoul 5364208491 feat(calc-02): refine display button layout and icon styling 2026-05-16 01:38:53 +02:00
matmoul 1e703bebe8 fix(calc-02): adjust display button layout and enter key spacing 2026-05-16 01:28:30 +02:00
matmoul 54797f9dd9 refactor(samples/calc-02): simplify layout to portrait-only single column
Remove the responsive two-column desktop arrangement and make the calculator stack vertically with a 4-column display button row that preserves alignment. Also align the display buttons with the shared base button styling.
2026-05-16 01:16:47 +02:00
matmoul 75bf6d69df fix(calc-02): align display buttons in a grid
Wrap the display controls in a dedicated grid container, add a spacer for the missing cell, and simplify the button styling so the layout stays consistent across sizes.
2026-05-16 01:08:11 +02:00
matmoul 256e9f2b33 refactor(calc-02): move display buttons into their own grid area 2026-05-16 01:01:14 +02:00
matmoul 77fb671dcf fix: use typographic operator symbols in calculator keypad 2026-05-16 00:37:16 +02:00
matmoul ae11cb8007 fix: tighten calculator layout for full-screen mobile sizing 2026-05-16 00:33:58 +02:00
matmoul ba7fc8b4d6 fix: right-align calculator display text 2026-05-16 00:02:10 +02:00
matmoul b45cfe8091 feat: add root command and fix calc-02 exponent shortcuts 2026-05-15 23:05:43 +02:00
matmoul cb45efff43 feat: add root operation to RPN calculator 2026-05-15 22:58:21 +02:00
matmoul 4e8155b5f0 fix(calc-02): tighten calculator layout and panel styling
Wrap the display and control buttons in a shared display block so the
stack and button panels align as a single unit. Reduce corner radii and
adjust gaps/padding across the calculator to better fit the updated
portrait and desktop layouts.
2026-05-15 22:35:19 +02:00
matmoul 432523c23f fix: toggle calc sample menus on repeated clicks 2026-05-15 21:50:36 +02:00
matmoul 9cbddfa0c2 fix: align constant menu to the right edge 2026-05-15 21:46:49 +02:00
matmoul db3bee6e89 feat(calc-02): restyle enter key label and colors 2026-05-15 21:44:41 +02:00
matmoul 62221a9baa feat: add arrow key navigation to calculator sample 2026-05-15 21:38:14 +02:00
matmoul c47c46ad64 fix: clear status after successful clipboard and constant actions 2026-05-15 21:33:38 +02:00
matmoul 80bcdac320 feat: add stack copy buttons to calculator display 2026-05-15 21:32:43 +02:00
matmoul 39659745a6 feat(calc-02): reorder keypad actions for safer input flow 2026-05-15 21:18:47 +02:00
matmoul 75fe72412e fix(samples): keep hidden input focused for keyboard input 2026-05-15 21:03:16 +02:00
matmoul ef0e0c8dd2 feat: show calculator status messages as overlay bar 2026-05-15 20:56:05 +02:00
matmoul 6444357444 fix: ignore backspace when the stack is empty 2026-05-15 20:47:19 +02:00
matmoul d1a1d44577 feat: support pasting numbers into the calculator stack
Add clipboard paste handling for the hidden input and the paste button so pasted text is parsed as a numeric value before being pushed. Also add the eˣ function key in the sample calculator and keep the hidden input selected on focus for Ctrl+V support.
2026-05-15 20:45:30 +02:00
matmoul 02b3b280f8 feat: enable editing from the down button in calc sample 2026-05-15 20:24:21 +02:00
matmoul 40e1043a03 feat: add swap action and HP48-style stack editing 2026-05-15 20:19:39 +02:00
matmoul f679b0d952 feat: add constants popup to calculator sample 2026-05-15 19:12:36 +02:00
matmoul 2505a102df feat(calc-02): replace display button labels with symbols 2026-05-15 19:09:24 +02:00
matmoul 48a262eb87 feat: add responsive calc-02 HP48GX demo 2026-05-15 18:45:44 +02:00