Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move most controls to use ModifyMapping (and variants) #15058

Closed
wants to merge 110 commits into from

Conversation

mattleibow
Copy link
Member

@mattleibow mattleibow commented May 12, 2023

Description of Change

This PR makes most of the controls use the mapper modifiers as opposed to replacing the entire mapper reference.

Part of the fix for #11662 and part of PR #13836

This PR is worth getting in first to really mark this moment in history:

Dependencies

  1. Use [AppendTo|PrependTo|Replace]Mapping for Focus commands #15040
  2. Use PrependToMapping method to replace Window MapTitle method #15041
  3. Ensure "text boxes" preserve cursor location #15099
  4. Implement all permutations of InputTransparent and CascadeInputTransparent #14846
  5. Text needs to be set before other properties #16116

This reverts commit 9609697.
# Conflicts:
#	src/Controls/src/Core/Layout/Layout.Android.cs
#	src/Controls/src/Core/Layout/Layout.Mapper.cs
#	src/Controls/src/Core/Layout/Layout.Tizen.cs
#	src/Controls/src/Core/Layout/Layout.Windows.cs
#	src/Controls/src/Core/Layout/Layout.iOS.cs
#	src/Controls/src/Core/Platform/iOS/Extensions/TextExtensions.cs
#	src/Controls/src/Core/SearchBar/SearchBar.Mapper.cs
#	src/Controls/tests/DeviceTests/Elements/Entry/EntryTests.cs
@mattleibow mattleibow changed the title Move some controls to use ModifyMapping Move most controls to use ModifyMapping (and variants) Jul 10, 2023
@mattleibow mattleibow marked this pull request as ready for review July 10, 2023 12:55
@samhouts samhouts added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Jul 20, 2023
@mattleibow
Copy link
Member Author

mattleibow commented Jul 23, 2023

#13836 has these changes and more.

@mattleibow mattleibow closed this Jul 23, 2023
@MartyIX
Copy link
Contributor

MartyIX commented Jul 23, 2023

(Probably #13836 was meant.)

@mattleibow
Copy link
Member Author

yeah, thanks!

@mattleibow mattleibow deleted the dev/more-mappers branch July 24, 2023 15:28
@github-actions github-actions bot locked and limited conversation to collaborators Dec 10, 2023
@Eilon Eilon added area-controls-general General issues that span multiple controls, or common base classes such as View or Element and removed legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor labels May 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-general General issues that span multiple controls, or common base classes such as View or Element
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants