Commit graph

69 commits

Author SHA1 Message Date
Codex CLI
dca25f6d89 theme: adopt dark palette and distinct pane backgrounds
- Implement official color tokens and theme brushes\n- Style variables pane (surface) vs. history (background)\n- Apply dark input/border tints; ensure text contrast\n- Style functions flyout surface and border
2025-08-29 01:34:20 -05:00
Codex CLI
88306f0091 docs: rewrite color scheme as plain-language hex definitions 2025-08-29 01:21:07 -05:00
Codex CLI
72e0e47cd3 docs: add AGENTS.md repository guidelines and official color scheme 2025-08-29 01:11:15 -05:00
Codex CLI
332c759d67 Revamp README: public-friendly overview, features, usage, and build instructions 2025-08-29 01:02:13 -05:00
baaa585adc Did another publish. 2025-08-28 23:26:57 -05:00
60461898ec Not behaving on laptop 2025-08-28 05:26:54 -05:00
Codex CLI
44b8b36212 theme: fix foreground/background bindings and list backgrounds\n\n- Define CSurface/CForeground colors; remove invalid .Color DynamicResource usage\n- Restore ListBox background to surface for readability\n- Ensure ThemeForegroundBrush resolves correctly so text is visible 2025-08-28 05:06:06 -05:00
Codex CLI
301347ad73 theme: propagate palette across UI\n\n- Add selection, menus, flyouts, inputs styling\n- Tinted list selection + menu hover via primary\n- TextBox focus ring uses accent\n- Recolor function group headers via brand palette 2025-08-28 05:03:00 -05:00
Codex CLI
8480975309 theme: add centralized palette and apply across app\n\n- Add Colors.axaml with brand palette (primary/emphasis)\n- Wire into App.axaml; set default window/text styles\n- Theme buttons + variants (success/warning/danger)\n- Align browser splash colors to palette 2025-08-28 05:00:20 -05:00
c2bb03044b Got function insertion working 2025-08-28 04:54:41 -05:00
2faae1167b Fixed and compiling 2025-08-28 04:37:54 -05:00
Codex CLI
3985395141 Use single tap handler for functions flyout: add named Flyout with Opened/Closed handlers, remove per-row Tapped, and attach handler to flyout root at runtime. Handler finds tapped ListBoxItem and executes InsertFunctionCommand. 2025-08-28 04:25:36 -05:00
Codex CLI
781f7161e5 Handle function insertion on ListBox row taps directly: add Tapped handler to function item Border in DataTemplate and remove global view-level tap handler. Ensures handler is tied to list rows, not the toggle button. 2025-08-28 04:12:33 -05:00
Codex CLI
8a5a50fcaa Use ListBoxItem taps to insert functions: remove inner Button from functions list template, keep item DataContext as FunctionDefinitionItem, and handle tap in code-behind by executing InsertFunctionCommand with the tapped item. Mirror history list clipboard pattern. Name flyout root for clarity. 2025-08-28 03:57:41 -05:00
Codex CLI
ad8e178484 Fix function list DataTemplate binding: keep item DataContext (FunctionDefinitionItem) and bind Button.Command to parent MainViewModel via ancestor binding. Pass item as CommandParameter. Prevents binding errors for FunctionName/FunctionDescription. 2025-08-28 03:50:27 -05:00
4a9f850c35 Update MainView.axaml 2025-08-28 03:38:06 -05:00
Codex CLI
0ac4d1558f UI: grouped functions palette with category headers/icons/colors; seed full function list and categories 2025-08-28 03:21:43 -05:00
Codex CLI
18c1f18210 Transparancy fix to attempt full long press coverage. 2025-08-28 02:42:22 -05:00
d8e18e813d Updated name, Fixed type conversion 2025-08-28 02:23:08 -05:00
Codex CLI
cb589569a1 History: handle Tapped at ListBox level to copy output for entire row; switch template back to Grid with ContextMenu; stretch item content for full-row target. 2025-08-28 01:54:05 -05:00
Codex CLI
5702fd6c98 Refactor history item: wrap row Grid in a single Button so the entire list item is the copy target; keep advanced copy actions via context menu. 2025-08-28 00:22:11 -05:00
Codex CLI
258bf2a44d History list item: make entire row the copy target (span 3 columns) and raise options button with Panel.ZIndex for hover/desktop. 2025-08-28 00:12:14 -05:00
55e3c12e40 Update MainViewModel.cs 2025-08-28 00:00:47 -05:00
Codex CLI
df55d0f1db History: make entire row clickable (pure XAML/MVVM). Add transparent overlay button spanning columns 0–1 bound to CopyHistoryOutputCommand; keep options button intact. 2025-08-28 00:00:12 -05:00
Codex CLI
2f803db1c8 Add MVVM-pure clipboard copy for history: hover-only copy button with flyout on Desktop/Web and long-press/right-click context menu; View writes to clipboard via CopyRequested event 2025-08-27 23:45:00 -05:00
b9de2cae2d Fixed insertion bug 2025-08-27 23:30:22 -05:00
d0e4de09cc Small bug fix. 2025-08-27 22:56:50 -05:00
Codex CLI
9483bd01eb Input: bind Enter key to SubmitCommand for enter-to-evaluate 2025-08-27 22:11:31 -05:00
Codex CLI
eaab9bb9d4 Variables list: tap-to-insert passes VariableName to InsertVariableCommand 2025-08-27 22:06:50 -05:00
Codex CLI
929e287af8 Functions list: tap-to-insert passes FunctionName to InsertFunctionCommand (inserts as name()) 2025-08-27 22:05:09 -05:00
Codex CLI
a8b0aa71a7 Removing the migration plan that is, at this point, finished. 2025-08-27 21:44:52 -05:00
Codex CLI
a314829e91 Center button content globally: add Buttons.axaml style and include it 2025-08-27 17:36:24 -05:00
e1150d9e51 Merge branch 'master' of https://git.jordanwages.com/wagesj45/advanced-calculator 2025-08-27 17:33:50 -05:00
5d9a1e8fcf Updating message with proper assignment grammar. 2025-08-27 17:33:42 -05:00
Codex CLI
42d288f733 Removing old source, as we've completely surpassed it now. 2025-08-27 17:33:00 -05:00
Codex Assistant
c361c2285c Move functions list to flyout and auto-close after insert 2025-08-27 17:21:05 -05:00
Codex CLI
46004d85d5 Fix text clipping: remove global TextBlock LineHeight override (Avalonia LineHeight is absolute DIP, not multiplier) 2025-08-27 16:29:44 -05:00
6b0235fc3a Unborked but the UI decisions were crazy 2025-08-27 04:22:58 -05:00
6fe6db48a6 Borked :( 2025-08-27 04:18:47 -05:00
Codex CLI
d17d586979 another fix attempt 2025-08-27 04:00:17 -05:00
Codex CLI
fb2bc5e0cd Re-implement variable/function item buttons using ElementName root binding\n\n- Add x:Name=Root on UserControl.\n- In item templates, bind Command to Root.DataContext.*Command.\n- Bind CommandParameter directly to item properties (VariableName/FunctionName).\n- Remove Tag/DataContext hacks and restore typed DataTemplates. 2025-08-27 03:55:03 -05:00
Codex CLI
f262c10e4e Fix invalid x:DataType usage on Buttons in MainView.axaml\n\nRemove x:DataType="{x:Null}" from Buttons to resolve parser errors.\nKeep runtime bindings for commands and parameters via Tag + ancestor DataContext. 2025-08-27 03:52:04 -05:00
Codex CLI
7d6c26d7ef Resolve XAML compiled-binding errors in MainView templates\n\n- Remove x:DataType from DataTemplates to avoid compiled-binding on Button commands.\n- Revert Buttons to runtime-binding using Tag+DataContext pattern without invalid x:DataType.\n- Keep inner visuals typed where appropriate.\n\nFixes parser errors and prior System.Object property resolution issues. 2025-08-27 03:49:10 -05:00
Codex CLI
d523b4d51e Quick fix 2025-08-27 03:47:01 -05:00
Codex CLI
7a1638ea40 Fix compiled binding errors for CommandParameter on Button\n\nUse ancestor DataContext commands and bind parameters directly to item properties.\nResolves: Unable to resolve property 'VariableName' and 'FunctionName' on System.Object in MainView.axaml (lines 45 and 80). 2025-08-27 03:43:19 -05:00
Codex CLI
de0486b0b0 Fix compiled binding errors by adding x:DataType to elements that override DataContext in MainView.axaml 2025-08-27 03:32:07 -05:00
Codex CLI
fa6a24ea30 Bindings: fix command lookup in DataTemplates by scoping Button.DataContext to root VM and using Tag to preserve item context; set CommandParameter via Tag. 2025-08-27 03:27:26 -05:00
Codex CLI
1667fc8b3d Fix styles as Styles (not ResourceDictionary); replace DataTriggers with width converters; add IsZeroConverter; remove unsupported properties; fix ancestor command bindings; bind SplitView props directly. 2025-08-27 03:23:40 -05:00
c624127bf9 Fix "using" 2025-08-27 03:20:02 -05:00
Codex CLI
7e40c1dc0b Styles: add shared Typography/Scroll resources; add platform overrides (Desktop/Android/Browser) and load via App; switch icons to resource-based sizes and cap history text lines. 2025-08-27 03:15:47 -05:00