-
Task
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
-
Empty show more show less
-
Empty show more show less
-
DevX 25, DevX 26
-
2
As a developer, when using Pages app on SaaS I want the iframe to load urls that do not include the workspace, so that I can use the path directly in my SPA as I am used to. This means SPA will not need to be adjusted to work on SaaS.
We have decided to keep the JCR "workspace" name and concept on SaaS for consistancy. Implementation of Decision.
—
When a developer configures a page template, they configure which URL should be loaded in the iframe for the currently selected page. A typical configuration looks like this:
title: 'React: Basic 2' baseUrl: http://localhost:3000 routeTemplate: '{{@path}}'
The IFRAME then loads the url of the `baseUrl` plus the resolved `routeTemplate`.
Expected:
The @path parameter returns the path of the currenly selected page, without the workspace. ie, no "website" at the front.
Actual:
The @path parameter returns the full Norsu path, which includes the workspace at the front of the path. In this case "website".
Acceptance criteria:
- Do not hardcode the solution with the name "website", it should remove whatever the first path segment is. Because in the future, pages app can edit content in other workspaces as well.
- This should also apply when using the site templatePrototype to supply the routeTemplate.
Example of the issue this is causing - porting trial customer:
https://magnolia-cms.slack.com/archives/C0270PGSB1B/p1669375138388419
- causes
-
PAGES-969 Prefix the paths in events sent by external pages widget
- Closed
- is depended upon by
-
MGNLFE-370 Hello SaaS - Issue with navigation in SPA. Norsu data structure from legacy writer is not compatible with old navigation style
- Closed
- is related to
-
PAGES-1017 Remove prefix website when using @name in routeTemplate of site norsu definition
- Closed
- mentioned in
-
Page Loading...
1.
|
Implementation | Completed | Robert Šiška | |
2.
|
Review | Completed | Canh Nguyen | |
3.
|
Pre-Integration QA | Completed | Canh Nguyen | |
4.
|
QA | Completed | Javier Benito |