Commit Graph

58 Commits

Author SHA1 Message Date
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
matmoul fbbc9455fb fix: improve calc topbar responsiveness on smaller screens 2026-04-25 04:06:45 +02:00
matmoul 6beefe82bc refactor(calc-01): simplify keyboard layout and consts label 2026-04-25 04:03:48 +02:00
matmoul e1c87de626 docs: add vertical calculator visual sample 2026-04-25 03:57:49 +02:00
matmoul eaedcb6b74 refactor(calc-01): remove redundant keyboard group titles 2026-04-25 03:32:26 +02:00
matmoul 0e72f64c3b fix(calc-01): show errors in the display area 2026-04-25 03:24:07 +02:00
matmoul 86617e1048 feat: make calc enter key label vertical 2026-04-25 03:13:04 +02:00
matmoul 1396a16de6 fix: align calc mode menu popup styling 2026-04-25 03:09:56 +02:00
matmoul 84451d0abc feat(calc-01): add distinct styles for backspace and escape keys 2026-04-25 02:54:23 +02:00
matmoul 223bf56339 feat: refresh calculator keypad labels and layout
Update the sample calculator UI to use compact math symbols, uppercase action labels, and a revised top bar layout. Also uppercase the angle mode button text and remove the backspace-specific width override.
2026-04-25 02:47:41 +02:00
matmoul 144c334fe5 fix: tighten calc-01 topbar layout 2026-04-25 02:32:16 +02:00
matmoul 3b7f35a00d refactor(samples): simplify calc-01 topbar layout and remove debug labels 2026-04-25 02:27:25 +02:00
matmoul 3d58309e0d feat: replace calc topbar controls with popup menus 2026-04-25 02:14:40 +02:00
matmoul 784c470b67 feat(calc-01): move controls into a compact top bar 2026-04-25 02:10:04 +02:00
matmoul 6a28aaaac6 feat: add HP48-style RPN calculator sample 2026-04-25 01:43:05 +02:00
matmoul f30bdb9946 fix: restore edited x value on escape 2026-04-25 01:17:32 +02:00
matmoul 2857df2c6f feat: add scroll offset for stack view in dev sample 2026-04-25 01:14:15 +02:00
matmoul 06f915f3e1 feat: show stack indexes during selection and move mode 2026-04-25 01:10:43 +02:00
matmoul 98bc887a6e fix: tighten stack selection keyboard handling 2026-04-25 01:06:44 +02:00
matmoul 09e4d94908 fix: skip stack arrow handling while editing 2026-04-25 00:57:01 +02:00
matmoul 679ecbef7d chore: remove hp48 sample calculator page 2026-04-25 00:53:15 +02:00
matmoul 11d3c1da1f refactor(samples/dev): extract calculator styles and script files 2026-04-25 00:51:48 +02:00
matmoul 202edb47f4 fix: improve hp48 keypad layout on narrow screens 2026-04-25 00:13:47 +02:00
matmoul 26814bee3c feat(hp48): color-code keypad and inline error display 2026-04-25 00:04:33 +02:00
matmoul e9a6ad49d1 refactor(samples/hp48): unify popup menu handling and move angle mode into keypad 2026-04-24 23:55:00 +02:00
matmoul 613e688608 refactor: simplify hp48 sample UI 2026-04-24 23:53:25 +02:00
matmoul 6dcf1d603c feat: redesign hp48 keypad and add keyboard navigation 2026-04-24 23:39:02 +02:00
matmoul 4b684912f7 fix: preserve x value when re-entering edit mode 2026-04-24 22:34:43 +02:00
matmoul f8d2fc94d6 feat: add stack selection and move controls to dev sample 2026-04-24 22:31:01 +02:00
matmoul 277c4689d5 feat: add keyboard shortcuts for calculator commands 2026-04-24 22:08:24 +02:00
matmoul dbe046a194 feat: add keyboard shortcuts for delete, escape, and swap 2026-04-24 22:01:22 +02:00