Skip to content

PSP-11307: Management Property management. Cancel of Add Contact#5260

Merged
asanchezr merged 2 commits intobcgov:devfrom
areyeslo:PSP-11307-Management-CancelAddContact
Mar 24, 2026
Merged

PSP-11307: Management Property management. Cancel of Add Contact#5260
asanchezr merged 2 commits intobcgov:devfrom
areyeslo:PSP-11307-Management-CancelAddContact

Conversation

@areyeslo
Copy link
Copy Markdown
Collaborator

ManagementView exposes Cancel button through SidebarFooter which receives a prop onCancel from the Container. Currently, the Container only redirects the user to /mapview/sidebar/management/id/fileDetails. We need to add the logic to check if the user is under File Properties context and redirect the user to the appropriate route. We are removing ConfirmNavigation as it is blocking the routing when form is pristine.

Jira

@areyeslo areyeslo self-assigned this Mar 23, 2026
@areyeslo areyeslo added the bug Something isn't working label Mar 23, 2026
@github-actions
Copy link
Copy Markdown
Contributor

See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5260

Comment thread source/frontend/src/features/mapSideBar/management/ManagementContainer.tsx Outdated
@asanchezr asanchezr added the 6.1 label Mar 23, 2026
@areyeslo areyeslo force-pushed the PSP-11307-Management-CancelAddContact branch from 0fc6590 to 1d95612 Compare March 24, 2026 16:55
@github-actions
Copy link
Copy Markdown
Contributor

See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5260

@sonarqubecloud
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown
Contributor

See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5260

@areyeslo areyeslo requested a review from asanchezr March 24, 2026 17:16
Copy link
Copy Markdown
Collaborator

@asanchezr asanchezr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for fixing!

@asanchezr asanchezr added this pull request to the merge queue Mar 24, 2026
Merged via the queue into bcgov:dev with commit 785ffb2 Mar 24, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.1 bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants