Commit Graph

17 Commits

Author SHA1 Message Date
matmoul 07a4c533fb fix: preserve full calc-02 stack while limiting display to top 4
Keep the calculator stack unlimited in the demo and only constrain the rendered stack view. Also restore the edit cursor position when pulling a value into the input from the stack.
2026-05-16 23:40:13 +02:00
matmoul 4df99d0738 docs: update README for default demo and command aliases 2026-05-16 05:01:17 +02:00
matmoul a7411243de fix: reorder display buttons in calc-02 sample 2026-05-16 04:14:28 +02:00
matmoul f8de4e1709 docs: update project memory for calc-02 UI and command notes 2026-05-16 04:10:19 +02:00
matmoul 003d4fde1b feat(calc-02): add shared popup menus for mode and constants
Refactor the calc-02 demo to use a single popup menu component for angle mode and constants, align the menus to their trigger buttons, and update the README/project notes to reflect the portrait-first demo layout and constant API.
2026-05-16 04:04:01 +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 534bbc0afb feat: add dynamic constant management to the calculator core 2026-05-16 02:23:20 +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 b45cfe8091 feat: add root command and fix calc-02 exponent shortcuts 2026-05-15 23:05: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 40e1043a03 feat: add swap action and HP48-style stack editing 2026-05-15 20:19:39 +02:00
matmoul 48a262eb87 feat: add responsive calc-02 HP48GX demo 2026-05-15 18:45:44 +02:00
matmoul 95eb1d265f docs: update README and memory notes 2026-05-02 00:23:11 +02:00