Skip to content

feat(#977): add tenure map improvements - #1007

Merged
Abradat merged 7 commits into
mainfrom
feat/977-tenure-map-improvement
Aug 25, 2025
Merged

feat(#977): add tenure map improvements#1007
Abradat merged 7 commits into
mainfrom
feat/977-tenure-map-improvement

Conversation

@Abradat

@Abradat Abradat commented Aug 22, 2025

Copy link
Copy Markdown
Collaborator

Description

This change implements the map improvements for the tenure identification tab.
Fixes #977

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Documentation update

How Has This Been Tested?

  • New unit tests
  • New integrated tests
  • New component tests
  • New end-to-end tests
  • New user flow tests
  • No new tests are required
  • Manual tests (description below)
  • Updated existing tests

Checklist

  • I have read the CONTRIBUTING doc
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have already been accepted and merged

Further comments


Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in:

Expanded the 'red' color array in colorMap to include a broader range of shades for improved map layer styling. Removed unnecessary comment from fillColor assignment.
@Abradat Abradat linked an issue Aug 22, 2025 that may be closed by this pull request
3 tasks
Introduced getPropertyName method to select property names based on the 'kind' parameter. This allows for additional properties to be requested for specific map layers, improving flexibility in data retrieval.
Introduces a new integration test to verify successful retrieval of cut block polygon and its properties from OpenMapsService. Adds corresponding test data to TestConstants for use in the test.
Introduces handling for WHSE_FOREST_TENURE.FTEN_CUT_BLOCK_POLY_SVW in OpeningsMapEntryPopup, displaying cut block details. Updates MapLayer popup properties to use consistent keys and include cutting permit ID.
@Abradat
Abradat marked this pull request as ready for review August 22, 2025 19:27
…iceIntegrationTest

Corrects the order of PROPERTYNAME query parameter and updates the test to use the correct layer name in getOpeningPolygonAndProperties. Ensures test accuracy and alignment with expected API behavior.
Changed the PROPERTYNAME query parameter value from 'GEOMETRY,OPENING_ID' to 'OPENING_ID,GEOMETRY' in OpeningMapsEndpointIntegrationTest to match expected API behavior.
@Abradat
Abradat merged commit 2e75cff into main Aug 25, 2025
25 of 26 checks passed
@Abradat
Abradat deleted the feat/977-tenure-map-improvement branch August 25, 2025 17:41
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.

[DEV TASK]: Tenure Map Improvement

2 participants