Commit graph

38 commits

Author SHA1 Message Date
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
Codex CLI
a212870d09 A11y + empty states: add AutomationProperties names to controls; overlay empty-state hints for Variables and History; add input Watermark. 2025-08-27 03:07:30 -05:00
Codex CLI
055c2fae03 UX touch-friendly: add Evaluate button; increase min sizes/spacing; make variables/functions tap-to-insert via InsertVariable/InsertFunction commands. 2025-08-27 03:03:07 -05:00
Codex CLI
0b06265117 UI: Replace two-column Grid with SplitView; add narrow pane toggle; add WidthToBooleanConverter and width-based DisplayMode triggers for a responsive layout across Web, Desktop, Android. 2025-08-27 03:00:31 -05:00
f8c1ef0e96 Updating to latest version 2025-08-27 02:36:37 -05:00
Codex CLI
e1b924c283 Branding: apply app icons across Desktop, Android, and Web
- Desktop: set ApplicationIcon and add app.ico
- Web: replace favicon.ico and link in index.html
- Shared: replace Avalonia default icon with branded ICO
- Android: ensure Icon.png regenerated from brand ICO
2025-08-27 01:36:47 -05:00
31a6fd090f Adding keyboard sliding 2025-08-27 01:20:07 -05:00
0def6434d6 Adding variables 2025-08-26 23:24:50 -05:00
Codex CLI
e45003ce6e Copy materialdesignicons-webfont.ttf into src/AdvancedCalculator/Assets/Fonts and remove cross-project link from csproj 2025-08-26 02:04:36 -05:00
Codex CLI
0205e725ab Fix AvaloniaResource path to materialdesignicons-webfont.ttf (use ..\..\src.4.7) 2025-08-26 02:02:11 -05:00
Codex CLI
7b1912579f Implement migration plan: models, service, MVVM, XAML layout, icons\n\n- Add Models: HistoryItem, VariableItem, FunctionDefinitionItem, IconFont\n- Add Services: ICalculatorService, CalculatorService wrapping interpreter\n- Update MainViewModel: properties and Submit/ToggleFunctions commands\n- Rebuild Views/MainView.axaml with variables, history, input, functions panel\n- Add BoolToGridLengthConverter for panel toggle\n- Wire Material Design Icons font as Avalonia resource in App.axaml/csproj 2025-08-26 01:45:05 -05:00
22f9043e50 docs: add migration plan for WPF→Avalonia port 2025-08-26 01:33:50 -05:00
e176488f5c Adding necessary CS-MIC library 2025-08-26 01:02:50 -05:00
8110fe420e Setting up source code for Avalonia port. 2025-08-25 23:11:13 -05:00
27e6c97712
Update README.md
Giving perspective user's a better idea of what the application is and what it does.
2020-06-20 21:30:56 -05:00
2fbffc2bcb
Screen Shot
Adding screen shot.
2020-06-20 22:25:56 -04:00
06206f5e98 Nuget Cleanup
Removed nuget packages that were not needed.
2020-06-20 21:22:01 -05:00
07c8ed8460 Polish
Adding polish to the outputs, such as icons and better alignment.
2020-06-20 21:00:44 -05:00
d24a7b400a Initial Code Commit
A working version of the calculator. Very simple.
2020-06-18 20:58:59 -04:00
500118c4fc
Initial commit 2020-06-18 20:51:26 -04:00