Conversation
…pj/popup-to-handler # Conflicts: # samples/CommunityToolkit.Maui.Sample/MauiProgram.cs # samples/CommunityToolkit.Maui.Sample/Models/SectionModel.cs # samples/CommunityToolkit.Maui.Sample/ViewModels/MainGalleryViewModel.cs
|
@brminnick there's something else that you want before merge this? |
|
Yes! I wanted to circle back to our discussion about the naming for LightDismiss now that we're getting close to merging Popup! ConcernAs someone who primarily works on iOS + Android (and rarely works on Windows), I was unfamiliar with Windows' My concern is that other devs may have a similar experience and using That being said, I'm happy to be outvoted if most folks are familiar with the term Research(Copy/Pasting the info from the Code Review Conversation):
Shaun's RecommendationMy vote is to move forward with @bijington naming recommendation:
Let's Vote!Leave the following emoji reaction for your preference: |
|
We can call it Hide instead of LightDismiss. Hide and Close Probably we can grab some ideas from https://docs.microsoft.com/en-us/dotnet/api/system.windows.controls.primitives.popup |
|
@VladislavAntonyuk maybe we could call cancel instead of hide. Like hide gives an idea that the pop-up is not visible, but actually it was destroyed |
|
I'm a bit biased here as I already knew what light dismiss does, but I still voted for close/dismissed. I feel cancelled wouldn't really cover it because there is still a way to get some kind of result out of the popup even when dismissed so it's not really cancelled? I don't know... Naming is hard :P |
|
I agree with Gerald. Cancel for me is like an action. reverting some changes. |
|
That is a good point @VladislavAntonyuk. Sorry one bit I am missing, is there a reason we need to know the difference between a LightDismiss and a Dismiss? Other Popup controls seem to only offer a Closed command/method/event |

Description of Change
This PR is the initial work of the Popup handler and the basement for other Handlers in MCT.
Somethings to be aware of:
Linked Issues
PR Checklist
approved(bug) orChampioned(feature/proposal)mainat time of PRAdditional information