-
Notifications
You must be signed in to change notification settings - Fork 0
Merge2025 #28
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
Conversation
…ls, unlock layer UI
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.
Copilot reviewed 11 out of 15 changed files in this pull request and generated 1 comment.
Files not reviewed (4)
- visualize/templates/visualize/bookmark-modals.html: Language not supported
- visualize/templates/visualize/embedded.html: Language not supported
- visualize/templates/visualize/modals.html: Language not supported
- visualize/templates/visualize/planner.html: Language not supported
Remove debugger statement Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pollardld
left a comment
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.
👍
| return true; | ||
| } | ||
| return false; | ||
| // if (!self.isVisibleAtZoom() || self.isLocked()) { |
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.
If no longer needed, please delete commented out code
| // example use: saveStateMode will be false when a user is viewing a bookmark | ||
| app.saveStateMode = true; | ||
|
|
||
| window.app = app; |
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.
I am curious to learn the reason for assigning app to window.
Portal Sync - Merge 2025
This pull request includes several updates to the
visualizeapplication, focusing on database migrations, JavaScript functions for managing bookmarks and layers, and adding new functionalities to the map and theme models. The most important changes include altering database fields for bookmarks and user layers, updating URL shortening logic, and adding new event listeners for layer and theme interactions.Database Migrations:
bookmarkanduserlayermodels to improve handling of content types, sharing groups, and user relationships. (visualize/migrations/0012_alter_bookmark_content_type_and_more.py)visualize/migrations/0013_merge_20240411_2135.py)JavaScript Updates:
bookmarksModelto handle URL shortening more robustly, including CSRF token integration and error handling. (visualize/static/js/bookmarks.js) [1] [2]layerModelto include new properties, improve visibility logic, and add event dispatching for layer activation and deactivation. (visualize/static/js/models.js) [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]visualize/static/js/models.js) [1] [2] [3] [4]Map Enhancements:
addLayerToMapfunction to support new layer types, includingslider. (visualize/static/js/map.js)These changes collectively enhance the functionality and maintainability of the
visualizeapplication, ensuring better data management and user interaction handling.