This pull request includes several changes to the DotEmaShellComponent in the core-web library, focusing on improving URL handling and removing redundant code.
Enhancements to URL handling:
Added a new test case to ensure the current URL is maintained as a query parameter when the URL property is changed and is a URLContentMap in dot-ema-shell.component.spec.ts.
Code simplification:
Modified the navigate method to use getTargetUrl for determining the target URL in dot-ema-shell.component.ts.
Removed the extractPageRefererUrl method, which was no longer necessary.
https://github.com/user-attachments/assets/21efb269-b350-4e2a-893c-b99e0c135d02
This pull request includes several changes to the
DotEmaShellComponent
in thecore-web
library, focusing on improving URL handling and removing redundant code.Enhancements to URL handling:
URLContentMap
indot-ema-shell.component.spec.ts
.Code simplification:
navigate
method to usegetTargetUrl
for determining the target URL indot-ema-shell.component.ts
.extractPageRefererUrl
method, which was no longer necessary.This PR fixes: #30030