-
Notifications
You must be signed in to change notification settings - Fork 21
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
[FEATURE] Filter pins on map to match filters/search for storied sites #4459
[FEATURE] Filter pins on map to match filters/search for storied sites #4459
Conversation
…atch-filterssearch-for-storied-sites
…et content and ExploreMapPanel markers [#4458].
Thanks @mihail-varbanov the commit you made helped with the functionality. I also added a small fix for the filters and a fix to hide _buildMapExploreBar |
@mihail-varbanov I have also added the feature so that when a user clicks on a pin the color changes so it is obvious what pin is selected. Thanks for the review. |
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.
@manav2modi, I think there are major problems in your last commit Add color pin feature.
-
The purpose of _selectedMapExplore is to drive the content of MapExploreBar. You should not try to handle the specific Stored Sites features in map explore selection mechanism, they should be handled separately and independently. In short, you should leave the existing selection management in ExploreMapPanel untouched, or only disable it in case of Stored Sites map type selection.
-
I would like to see the design of what you are doing. For me the current map management for stored sites is confusing, inconsistent and not well thought. I do not know if this is your own design decisions, or this behavior was requested explicitly by the University.
@manav2modi, in addition to above:
|
@mihail-varbanov Thanks for the review. I have tried to separate out the functionality as to not mess with the explore map features as much and created a new variable to keep track of the selected pin. Hopefully this makes it cleaner and less likely to cause any problems. I have also gone ahead and added storiedSites to the analytics list as well. Thanks! |
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.
The only reason I'm approving this pull request is management's strong desire to release a 6.0 hotfix. I continue to maintain that there are conceptual issues here that should be worked out in calmer times.
Description
Please provide a summary of the pull request and the issue it fixes. Please add necessary details, context, dependencies, explanation of when review is needed (see next section), etc.
Fixes #4458
Review Time Estimate
Please give your idea of how soon this pull request needs to be reviewed by selecting one of the options below. This can be based on the criticality of the issue at hand and/or other relevant factors.
Type of changes
Please select a relevant option:
Checklist:
Please select all applicable options: