Skip to content

In CommunityToolkit.Maui.Core, Rename Popup to Alert#291

Merged
TheCodeTraveler merged 5 commits intomainfrom
Rename-`CommunityToolkit.Core.Views.Popup`
Feb 11, 2022
Merged

In CommunityToolkit.Maui.Core, Rename Popup to Alert#291
TheCodeTraveler merged 5 commits intomainfrom
Rename-`CommunityToolkit.Core.Views.Popup`

Conversation

@TheCodeTraveler
Copy link
Copy Markdown
Collaborator

@TheCodeTraveler TheCodeTraveler commented Feb 11, 2022

Description of Change

With the introduction of the Popup PR, we introduce a naming conflict between existing files with the name Popup in CommunityToolkit.Maui.Core.

Since Popup.macios.cs and PopupView.macios.cs are exclusively used by IAlert controls, this PR proposes renames the files:

  • Popup.macios.cs -> Alert.macios.cs
  • PopupView.macios.cs -> AlertView.macios.cs

Linked Issues

PR Checklist

@TheCodeTraveler TheCodeTraveler changed the title In CommunityToolkit.Maui.Core, Rename Popup to Alert` In CommunityToolkit.Maui.Core, Rename Popup to Alert Feb 11, 2022
Comment thread src/CommunityToolkit.Maui.Core/Views/Alert/Alert.macios.cs Outdated
Comment thread src/CommunityToolkit.Maui.Core/Views/Alert/Alert.macios.cs Outdated
Comment thread src/CommunityToolkit.Maui.Core/Views/Alert/Alert.macios.cs Outdated
Comment thread src/CommunityToolkit.Maui.Core/Views/Alert/AlertView.macios.cs Outdated
@@ -6,28 +6,28 @@ namespace CommunityToolkit.Maui.Core.Views;
/// <summary>
/// Popup for iOS + MacCatalyst
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.

Suggested change
/// Popup for iOS + MacCatalyst
/// Alert for iOS + MacCatalyst

TheCodeTraveler and others added 4 commits February 10, 2022 23:13
Co-authored-by: Vladislav Antonyuk <33021114+VladislavAntonyuk@users.noreply.github.com>
Co-authored-by: Vladislav Antonyuk <33021114+VladislavAntonyuk@users.noreply.github.com>
Co-authored-by: Vladislav Antonyuk <33021114+VladislavAntonyuk@users.noreply.github.com>
@TheCodeTraveler
Copy link
Copy Markdown
Collaborator Author

Thanks @VladislavAntonyuk!! I've implemented your feedback and it is ready for one more review!

Copy link
Copy Markdown
Member

@pictos pictos left a comment

Choose a reason for hiding this comment

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

LGTM!
Thanks for moving this forward

@TheCodeTraveler TheCodeTraveler merged commit 9749139 into main Feb 11, 2022
@delete-merged-branch delete-merged-branch bot deleted the Rename-`CommunityToolkit.Core.Views.Popup` branch February 11, 2022 20:36
@TheCodeTraveler TheCodeTraveler mentioned this pull request Feb 11, 2022
6 tasks
@VladislavAntonyuk
Copy link
Copy Markdown
Contributor

just 1 minor leftover: https://github.com/CommunityToolkit/Maui/blob/main/src/CommunityToolkit.Maui.Core/Views/Alert/Alert.macios.cs#L7
but never mind, it can be fixed in Popup PR.
Thank you for the fix!

@github-actions github-actions bot locked and limited conversation to collaborators Nov 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants