Skip to content

Master dev#339

Merged
OSPFNeighbour merged 2 commits intomasterfrom
master-dev
Mar 11, 2026
Merged

Master dev#339
OSPFNeighbour merged 2 commits intomasterfrom
master-dev

Conversation

@OSPFNeighbour
Copy link
Collaborator

This pull request introduces two main improvements to the tasking application: (1) it adds a new map layer for NSW Declared Dams, and (2) it makes the alerts panel's collapsible behavior configurable by the user, including UI and state management changes. These enhancements improve both the data available to users and the flexibility of the alerts interface.

New Map Layer: NSW Declared Dams

  • Added a new registerNSWDeclaredDamsLayer function in mapLayers/dams.js to display NSW Declared Dams on the map using Esri Leaflet, with custom styling and popups showing dam details.
  • Registered the new dams layer in the main map initialization code (main.js) so it appears as an option in the UI. [1] [2]

Configurable Alerts Panel Collapsibility

  • Added a new observable alertsCollapsibleRules to the configuration viewmodel, persisted in config, and exposed in the UI as a toggle switch under "Alerts Panel" in settings. [1] [2] [3] [4] [5]
  • Refactored the alerts panel logic in alerts.js to respect the new alertsCollapsibleRules setting, allowing users to control whether alert panels are collapsible or always expanded. This includes changes to state management, event handling, and ARIA attributes for accessibility. [1] [2] [3] [4] [5] [6] [7]

@OSPFNeighbour OSPFNeighbour merged commit 60fa71c into master Mar 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant