Skip to content

Comments

Webcomponent / Use relative path to load main template from cache.#8503

Open
fxprunayre wants to merge 5 commits intomainfrom
fix/webcomponents-tplload
Open

Webcomponent / Use relative path to load main template from cache.#8503
fxprunayre wants to merge 5 commits intomainfrom
fix/webcomponents-tplload

Conversation

@fxprunayre
Copy link
Member

@fxprunayre fxprunayre commented Nov 19, 2024

  • index.html default view template can be loaded from the Angular template cache directly. If not, webcomponent can failed to load the template due to gnMapServicesCache.getMapservice when base URL does not match GeoNetwork URL.

Avoid this unneeded API call in webcomponent mode:

image

  • Tentative fix for locationChangeSuccess redirect related to session
  • Avoid multiple locationChangeSuccess when changing hash in URL
  • Avoid JS error when .path is null

Checklist

  • I have read the contribution guidelines
  • Pull request provided for main branch, backports managed with label
  • Good housekeeping of code, cleaning up comments, tests, and documentation
  • Clean commit history broken into understandable chucks, avoiding big commits with hundreds of files, cautious of reformatting and whitespace changes
  • Clean commit messages, longer verbose messages are encouraged
  • API Changes are identified in commit messages
  • Testing provided for features or enhancements using automatic tests
  • User documentation provided for new features or enhancements in manual
  • Build documentation provided for development instructions in README.md files
  • Library management using pom.xml dependency management. Update build documentation with intended library use and library tutorials or documentation

Funded by Ifremer

index.html default view template can be loaded from the Angular template cache directly.
If not, webcomponent can failed to load the template due to
gnMapServicesCache.getMapservice.
@fxprunayre fxprunayre added this to the 4.4.7 milestone Nov 19, 2024
@fxprunayre fxprunayre requested a review from josegar74 November 19, 2024 10:48
@CLAassistant
Copy link

CLAassistant commented Dec 8, 2024

CLA assistant check
All committers have signed the CLA.

@sonarqubecloud
Copy link

@josegar74 josegar74 modified the milestones: 4.4.7, 4.4.8 Apr 10, 2025
@josegar74 josegar74 modified the milestones: 4.4.8, 4.4.9 May 28, 2025
@jahow jahow modified the milestones: 4.4.9, 4.4.10 Oct 7, 2025
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.

4 participants