Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[net10.0] Merge main to net10.0 #29753

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

Open
wants to merge 53 commits into
base: net10.0
Choose a base branch
Loading
from
Open

[net10.0] Merge main to net10.0 #29753

wants to merge 53 commits into from

Conversation

rmarinho
Copy link
Member

Description of Change

Bring latest changes from main to net10.0 branch

github-actions bot and others added 30 commits May 29, 2025 02:54
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…nges (#29424)

* Added FeatureTests for CollectionView

* changes updated

* changes updated
* Fixed picker title's color

* Update PickerExtensions.cs
* [iOS] Setting background color on the Searchbar (#23325)

* Added a test category

* Ui tests

* Update SearchHandlerAppearanceTracker.cs

* Update Issue23325Test.png
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ion - 18 (#28033)

* Enabled CollectionViewUITests

* Updated Issue Link

* Addressed Feedbacks

* Updated changes

* Added images

* Revert Changes

* Changes updated

* updated changes

* Changes updated

* Changes updated

* Reverted Issue18896

* Changes updated

* Reverted issue1583_1

* Reverted Issue18896
* Don't LoadUrl call when source is null

* Add UI Test

* remove space

* Update UI Test
* [iOS] ScrollView content offset RTL fix

* Added a UITest
…dding value for the label (#29163)

* [Windows] Fix for 6387 ( Negative Padding values fail ).

* [Windows] Fix for 6387 ( Negative Padding values fail ).

* Have added Test case

* Added a comment line explaining the assignment of zero when a padding value is negative

* Have modified the test case
* Enhance debugging in ViewHandler.cs

Added System.Diagnostics for debugging support. Introduced
DebuggerDisplay attribute to ViewHandler class and added
GetDebuggerDisplay method to improve object state visibility
during debugging.

* Update src/Core/src/Handlers/View/ViewHandler.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Gerald Versluis <gerald@verslu.is>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fixed incorrect width and height

* Updated test sample

* Updated method name

* Update shared test sample

* Given width and height request for graphicsview in sample

* Added snapshots
* Fixed the item template dynamic changes

* Added a test case

* Added test case and added snapshots

* committed the image

* committed the image
* re-enabled the test for android

* modified test case

* Update src/Controls/tests/TestCases.HostApp/Issues/CarouselViewLoopNoFreeze.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
)

* [Windows] Fix for FlyoutBackgroundImage

* [Windows] Fix for Flyout Background Image

* Test case sample for FlyoutBackgroundImage

* [Windows] Fix for FlyoutBackgroundImage

* [Windows] Fix for FlyoutBackgroundImage

* Updated Test sample

* Changed test sample and added snapshots for android and iOS

* BackgroundImage set Snapshot for windows and mac

* BackgroundImage set Null Snapshot for windows and mac
… 2 (#29557)

* [Android] clean up modalnavigationmanager

* fix failing tests

* Handle animation while poping

* subscribe to event before showing dailog

* change style's names

* apply new styles

* set result to tcs once dailog dismiss
…27575)

* fixed shell items click issue

* fix for shell items click issue

* fix for flyoutitem in the overflow menu is not fully intractable

* fix for flyoutitem in the overflow menu is not fully intractable

* Update Issue6784.cs

Removed test case fails on Windows

* added new image

* added new ci image
…ly - fix (#29561)

* [Android] The number of SearchHandler toolbar item increases abnormally - fix

* Added a UI test

* Create NumberOfToolbarItemsShouldNotIncrease.png
…ge's Source to Local File Paths (#28405)

* add extra condition

* use _sourceCancellation
Ahamed-Ali and others added 13 commits May 30, 2025 00:31
…o the Bottom Tab Icon (#29317)

* Fixed the FontImageSource Icon color issues on the BottomNavigationView Tabs

* Committed the test sample and case

* Added comment over the fix

* Remove unnecessary space
…ckground 2 (#29640)

* Revert "[Android] Fix: Modal Animation Repeats When Returning from Background 2 (#29557)"

* Clean Up

- Remove  MessagingCenter related stuff
* Fixed Test case failure in PR 29469 - [2025/05/26]

* Fixed Test case failure in PR 29469 - [2025/05/26]
* CollectionView drag changes on Mac

* Mac drag changes
* fix CarouselViewHandler2 memory leak

* enable cv2 memory tests

* formatting
# Conflicts:
#	src/Controls/tests/DeviceTests/Memory/MemoryTests.cs
@rmarinho rmarinho added this to the .NET 10.0-preview5 milestone May 30, 2025
@Copilot Copilot AI review requested due to automatic review settings May 30, 2025 18:01
@rmarinho rmarinho requested a review from a team as a code owner May 30, 2025 18:01
@rmarinho rmarinho requested review from mattleibow and PureWeen May 30, 2025 18:01
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR merges the latest changes from the main branch into the net10.0 branch, ensuring that platform-specific controls, toolbar handling, sample project configurations, and GitHub triage workflows/actions are up-to-date with main.

  • In CarouselViewHandler.Windows.cs, an UpdateItemsSource() call is now invoked after setting the item template.
  • In iOS and Android compatibility handlers, background color handling and toolbar item updates have been refined, including an explicit placeholder menu item ID for Android.
  • Several new GitHub workflow and action files have been added to support issue triaging and label management.

Reviewed Changes

Copilot reviewed 144 out of 144 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/Controls/src/Core/Handlers/Items/CarouselViewHandler.Windows.cs Added call to UpdateItemsSource() after assigning ItemTemplate.
src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/SearchHandlerAppearanceTracker.cs Updated background color assignment logic.
src/Controls/src/Core/Compatibility/Handlers/Shell/Android/ShellToolbarTracker.cs Refactored toolbar item update with explicit placeholder item ID and added a new method for tint colors.
src/Controls/samples/Controls.Sample/Properties/launchSettings.json Changed commandName from MsixPackage to Project.
src/Controls/samples/Controls.Sample/Maui.Controls.Sample.csproj Updated WindowsPackageType and removed an ItemGroup.
.github/* Added new workflows and GitHub Action definitions for triage and label management.

Comment on lines +90 to 92
UpdateItemsSource();
}

Copy link
Preview

Copilot AI May 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Ensure that the placement of UpdateItemsSource() immediately after setting the ItemTemplate is appropriate; verify that this call does not inadvertently trigger redundant data loading or inconsistent state changes.

Suggested change
UpdateItemsSource();
}
OnItemTemplateUpdated();
}
private void OnItemTemplateUpdated()
{
if (Element == null || ListViewBase == null)
return;
// Ensure ItemTemplate is stable before updating items source
if (ListViewBase.ItemTemplate == CarouselItemsViewTemplate)
{
UpdateItemsSource();
}
}

Copilot uses AI. Check for mistakes.

Positive FeedbackNegative Feedback
Comment on lines +634 to +635
int _placeholderMenuItemId = 100;
if (menu.FindItem(_placeholderMenuItemId) is IMenuItem item)
Copy link
Preview

Copilot AI May 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider extracting the hardcoded placeholder menu item ID (100) into a named constant to clarify its purpose and simplify future maintenance.

Suggested change
int _placeholderMenuItemId = 100;
if (menu.FindItem(_placeholderMenuItemId) is IMenuItem item)
const int PlaceholderMenuItemId = 100;
if (menu.FindItem(PlaceholderMenuItemId) is IMenuItem item)

Copilot uses AI. Check for mistakes.

Positive FeedbackNegative Feedback
@@ -650,7 +662,7 @@ protected virtual void UpdateToolbarItems(AToolbar toolbar, Page page)
if (SearchHandler.SearchBoxVisibility == SearchBoxVisibility.Collapsible)
{
var placeholder = new Java.Lang.String(SearchHandler.Placeholder);
var item = menu.Add(placeholder);
var item = menu.Add(0, _placeholderMenuItemId, 0, placeholder);
Copy link
Preview

Copilot AI May 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Using the overload with an explicit menu item ID helps manage toolbar items better; please add a brief comment to explain the rationale behind choosing this specific ID.

Copilot uses AI. Check for mistakes.

Positive FeedbackNegative Feedback
github-actions bot and others added 8 commits June 2, 2025 11:31
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
#29776)

* Added tolerance parameter to the VerifyScreenshot method

* More changes

* Update src/Controls/tests/TestCases.Shared.Tests/UITest.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/Controls/tests/TestCases.Shared.Tests/UITest.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update Appium to the latest version

* Removed deprecated logic

* Update comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.