Skip to content

feat: ContentDialog-based MessageDialog - #8154

Merged
mergify[bot] merged 8 commits into
unoplatform:masterfrom
MartinZikmund:dev/mazi/messagedialog
Mar 17, 2022
Merged

mergify[bot] merged 8 commits into
unoplatform:masterfrom
MartinZikmund:dev/mazi/messagedialog

Conversation

@MartinZikmund

Copy link
Copy Markdown
Member

GitHub Issue (If applicable): closes #4810

PR Type

What kind of change does this PR introduce?

  • Feature

What is the current behavior?

  • MessageDialog looks different on each platform
  • MessageDialog is not supported on Skia targets

What is the new behavior?

  • MessageDialog by default displays using ContentDialog provided by Uno.UI.
  • Feature flag WinRTFeatureConfiguration.MessageDialog.UseNativeDialog was added to make it possible to show the native OS dialog instead

PR Checklist

Please check if your PR fulfills the following requirements:

@MartinZikmund
MartinZikmund requested a review from a team February 21, 2022 08:48
@MartinZikmund MartinZikmund self-assigned this Feb 21, 2022
@gitpod-io

gitpod-io Bot commented Feb 21, 2022

Copy link
Copy Markdown

@MartinZikmund MartinZikmund changed the title feat: ContentDialog-based MessageDialog feat: ContentDialog-based MessageDialog Feb 21, 2022
Comment thread src/Uno.UI/Uno.UI.Skia.csproj Resolved
@MartinZikmund
MartinZikmund force-pushed the dev/mazi/messagedialog branch 2 times, most recently from ba10b86 to bc99b78 Compare February 25, 2022 06:51
Comment thread src/Uno.UWP/UI/Popups/MessageDialog.cs Resolved
Comment thread src/Uno.UWP/UI/Popups/UICommand.cs Resolved
@MartinZikmund
MartinZikmund force-pushed the dev/mazi/messagedialog branch 2 times, most recently from 51ce864 to 0548ff5 Compare March 2, 2022 14:18
@MartinZikmund
MartinZikmund force-pushed the dev/mazi/messagedialog branch from 0548ff5 to c5c4fd8 Compare March 2, 2022 15:58
@MartinZikmund
MartinZikmund requested a review from Xiaoy312 March 2, 2022 19:45
@MartinZikmund
MartinZikmund force-pushed the dev/mazi/messagedialog branch 2 times, most recently from 02255f7 to 8b65649 Compare March 11, 2022 14:26
@MartinZikmund
MartinZikmund force-pushed the dev/mazi/messagedialog branch from 8b65649 to a8283ce Compare March 15, 2022 16:04
@MartinZikmund
MartinZikmund requested a review from ajpinedam March 16, 2022 14:03

@ajpinedam ajpinedam left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Great!

@MartinZikmund MartinZikmund added the ready-to-merge Automatically merge the PR once all '.mergify.yml' policies are met label Mar 17, 2022
@mergify
mergify Bot merged commit cb897a6 into unoplatform:master Mar 17, 2022
@MartinZikmund
MartinZikmund deleted the dev/mazi/messagedialog branch March 17, 2022 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Automatically merge the PR once all '.mergify.yml' policies are met

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for MessageDialog in Skia

5 participants