* fixed the trig units radio buttons rounded corners and narrator issues in kgf and graph reset
* removed extra whitespace
* Update src/Calculator/Resources/en-US/Resources.resw
Co-authored-by: Eric Wong <eriwong@microsoft.com>
* Update src/Calculator/Resources/en-US/Resources.resw
Co-authored-by: Eric Wong <eriwong@microsoft.com>
Co-authored-by: Eric Wong <eriwong@microsoft.com>
* Switching from Difference between dates to Add or subtract dates ignores the first date field
https://github.com/microsoft/calculator/issues/254
Date field needs to persist across Date Difference and Add/Subtract From Date Mode.
* Update DateCalculator.xaml.cpp
Addressing review comments (white space, small code refactor), also found a null pointer exception during testing, this fix addresses that as well.
* Issue 935 - Updates to Scientific/Graphing Keypad
Update Scientific and Graphing keyboard layouts to expose square root button at the top level
* Updated ScientificModeFunctionalTests/SmokeTest_Cube()
Updated broken test to work with changes.
* Wrap theme radio buttons in MUXC RadioButtons control to fix accessibility issue where the buttons are grouped with the theme title
* Associated theme labels with radio button groups
* Update EquationButton automation name and tooltips
* added tooltips to the stylepicker and fixed the issue where the color name did not update for dark mode colors
* Update src/Calculator/Resources/en-US/Resources.resw
Co-Authored-By: ItzLevvie <11600822+ItzLevvie@users.noreply.github.com>
* fixed the issue where the colors are only listed as black in the tooltip and automation name
* Add tooltips for high contrast colors
Co-authored-by: ItzLevvie <11600822+ItzLevvie@users.noreply.github.com>
* Fixed contrast between background and foreground colors in the equation button. Fixed the issue where the text in the equation text box is white when the background is white
* Adjust the foreground color algorithm
* moved the contrast method to utils so that it is resuable
* Moved brushes for the GetContrastColor method to the app.xaml resource dictionary
* Removed the change for the edit box colors, so it can be in a different PR
* Maximize window during setup, and added divide by zero error test
* Added Error_CubedNegativeNumber test and AOT buttons
* Made Added AoT Tests and test are faster
* Hotkey and Mouse Input BVT Test added, Memory Test started
* Started Aligning BVTs with manual tests. Added TC23466694, TC17416429, and TC17416884, and a test to switching mode test
* Basic Scientific Mode Functional Test Tests
* Added history panel test, and history flyout test for Standard calculator, and added the supporting framework
* Added some functional tests for Scientific mode.
* Basic Scientific Mode functional tests, added solution to set Angle Operator button correctly.
* Created functions to resize the app to display history panel, to display history button, display memory panel, and memory button. Then I applied them to reduce areas with rewritten code, and to help with over all test stability and speed.
* I added the trigonometry functional tests
* Pull from latetest master, and retargeted solution
* Added a GetCalculatorWindowPostion function, when resizing window to show history/memory label, set window position to (0,0), and the same when resizing KOT calculator. This will make tests more stable by keeping calculator on screen. It will also help with any testing that may require tracking the apps postion. To fix a test failure, changed function from ResizeToDiplayHistoryButton to ResizeToNotDisplayHistoryLabel.
* Sorted Using Statements, modified .gitignore to ignore **src/out, etc...
* Merged CalcMemoryFlyout into MemoryPanel, and deleted CalcMemoryFlyout. Merged CalcHistoryFlyout in HistoryPanel, and deleted CalcMemory. Created GlobalCalculatorUI.cs. Updated tests to work with these changes.
* hold on to changes
* Changed all KOT to Aot,
Removed equal button click in Test Cleanup/History method uses page source,
Removed extra line in Calculator.vcxproj.filters, Removed Try/Catch in the ClearHistory method
* Removed unused elses
Added CalculatorResults class
Added StandardAoTCalculatorPage
Removed manual test case info in the comments
* - In test framework, where it worked,
made some elements private
- Created EnsureCalculatorHasFocus() in GlobalCalculatorUI.cs
- Due to new classes, moved some methods to more correct classes
- Moved "page.MemoryPanel.ResizeWindowToDiplayMemoryLabel();" from
SetupCalculatorSession() to ClassInitialize()
* Sorted Using
* Updating fork from latest master
* Don't stand so
* Minor edits, fixing things from PR comments
* Merging scientific and standard mode tests, minor merge conflict fixes
* Method work
- Created ResizeAoTWindowToDiplayInvertButton()
- Applied to test method AoT_ErrorMessage()
- Added page.ScientificOperators.ResetFEButton(fEButtonState.Normal);
to TestIniT in ScientificModeFunctionalTests
- Fixed if statement in public void ResetFEButton(fEButtonState value)
* Added StandardOperatorsPanel and removed duplicated code
* Created tests for Programmer mode, fixed a typo that appeared in multiple locations
* Fixed clear entry not working in Scientific test
* This time I really fixed the problem with clear memory not being found every time
* Revert shared changes
* Rebased onto master and resolved conflicts
* Fixed the 15 second delay on every scientific mode test
* Greatly shortened bitflipkeypad test
Co-authored-by: Crystal Edwards (Insight Global Inc) <v-credwa@microsoft.com>
Co-authored-by: Crystal Edwards <45952655+v-credwa@users.noreply.github.com>
* Fixed DisableShortcuts to disable per the specfic view id and fixed the issue where honorshortcuts did not set the value properly
* Updated the condition to always set the honor shortcuts to false if disable shortcuts is true
* Update icon file
* function analysis and negate button icons updated
* Replace zoom reset button with graph view button
* Fixed issue where the window settings did not update after panning/zooming
* Updated icon styling and added logic for updating the graph view button state when user manipulates the graph and when all equations are removed
* updated LogGraphButton clicked to have an enum for the button value instead of a string
* Updated the logic for how to set the IsManualAdjustment, ensured graphsettings now update IsManualAdjustment when changed
* Turn off keyboard shortcuts when in graphing mode
* Added automation names to the graphnumpad, added any missing ones to the resources.resw file
* Remove HonorShortcuts call in the EquationInputArea, update Equal button automation name to use the existing one
* conditionally set the HonorShortcuts when the nav menu is closed
* added disable shortcuts to override HonorShortcuts when it is set
* Missing EquationInputArea and KGF Automation Names added
* Updated the KGF back button automation name and tooltip and added the automation name string for the KGF equation edit box
* Reverted the removal of x:names and updated Variable Step Textbox to Variable Step Value Textbox per PR feedback
* Updated the VariableListViewItem narrator announcement to include the name of the variable