-
Notifications
You must be signed in to change notification settings - Fork 121
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
BugFix: BasemapGallery loading demo data in production release #579
Merged
prathameshnarkhede
merged 9 commits into
main
from
pratham/566-basemapgallery-loading-demo-data-in-production-release
Jun 18, 2024
Merged
BugFix: BasemapGallery loading demo data in production release #579
prathameshnarkhede
merged 9 commits into
main
from
pratham/566-basemapgallery-loading-demo-data-in-production-release
Jun 18, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- In `BasemapGallery.Appearance.cs`, the visibility of `PART_LoadingScrim` Grid has been set to `False`. - The `LoadBasemaps` method in `BasemapGallery.cs` and `BasemapGallery.Windows.cs` has been removed and its functionality has been moved to the `BasemapGallery_Loaded` method. - In `BasemapGalleryItem.cs`, the `Equals` method has been updated to check for equality of `BaseLayers` count and existence of all layers in `Basemap` in the `other` object, in addition to the existing checks.
dotMorten
reviewed
Jun 11, 2024
src/Toolkit/Toolkit.UI.Controls/BasemapGallery/BasemapGallery.Windows.cs
Outdated
Show resolved
Hide resolved
dotMorten
reviewed
Jun 11, 2024
src/Toolkit/Toolkit/UI/Controls/BasemapGallery/BasemapGalleryItem.cs
Outdated
Show resolved
Hide resolved
dotMorten
reviewed
Jun 12, 2024
src/Toolkit/Toolkit/UI/Controls/BasemapGallery/BasemapGalleryItem.cs
Outdated
Show resolved
Hide resolved
prathameshnarkhede
requested review from
mstefarov and
dotMorten
and removed request for
mstefarov and
dotMorten
June 13, 2024 23:02
dotMorten
reviewed
Jun 14, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really close! Just need those missing layer types.
src/Toolkit/Toolkit/UI/Controls/BasemapGallery/BasemapGalleryItem.cs
Outdated
Show resolved
Hide resolved
dotMorten
approved these changes
Jun 14, 2024
mstefarov
approved these changes
Jun 18, 2024
prathameshnarkhede
deleted the
pratham/566-basemapgallery-loading-demo-data-in-production-release
branch
June 18, 2024 23:58
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related Issue #566
Description
This pull request includes several updates to the
BasemapGallery
andBasemapGalleryItem
classes. Here are the key changes:BasemapGallery.Appearance.cs
: The visibility of thePART_LoadingScrim
Grid has been set to False. This change will hide the loading scrim by default, providing a cleaner user interface while the basemaps are loading.LoadBasemaps
method: TheLoadBasemaps
method previously present in bothBasemapGallery.cs
andBasemapGallery.Windows.cs
has been removed. Its functionality has been integrated into theBasemapGallery_Loaded
method. This change streamlines the loading process and reduces code duplication.BasemapGalleryItem.cs
: The Equals method in this class has been updated. In addition to the existing checks, it now also verifies the equality of theBaseLayers
count and checks for the existence of all layers inBasemap
in theother
object. This enhancement ensures a more thorough comparison ofBasemapGalleryItem
instances.These updates aim to improve the efficiency of the basemap loading process and the accuracy of basemap item comparisons. Please review the changes and let me know if you have any questions or feedback.