[MGNLFE-467] Update template and rest endpoint of react-minimal spa for supporting component inheritance and autogeneration Created: 16/May/23  Updated: 23/Oct/23  Resolved: 14/Jun/23

Status: Closed
Project: Magnolia Frontend Helpers
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Oanh Thai Hoang Assignee: Oanh Thai Hoang
Resolution: Done Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: 1d 5.5h Time Spent: 0.75d
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLREST-719 Prepare out of the box pages endpoint... Open
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLFE-468 Implement Sub-task Reopened Oanh Thai Hoang  
MGNLFE-469 Review Sub-task Reviewed Phong Le Quoc  
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:
Epic Link: SPA Maintenance
Sprint: DevX 38
Story Points: 0.5
Team: DeveloperX
Work Started:
Approved:
Yes

 Description   

For testing component inheritance and autogeneration in react-minimal spa :
How to config:
new page endpoint: https://git.magnolia-cms.com/projects/DEMOS/repos/minimal-headless-spa-demos/commits/65863de121271d27780b7b02649f37871437f44e#magnolia/light-modules/spa-lm/restEndpoints/delivery/pages_v1.yaml
template for auto generation: https://git.magnolia-cms.com/projects/DEMOS/repos/minimal-headless-spa-demos/commits/6448e826df03cedfaab37d5b317d82763e8e75fc#magnolia/light-modules/react-minimal-lm/templates/pages/basic-autogeneration.yaml
template for inheritance: https://git.magnolia-cms.com/projects/DEMOS/repos/minimal-headless-spa-demos/commits/6448e826df03cedfaab37d5b317d82763e8e75fc#magnolia/light-modules/react-minimal-lm/templates/pages/basic-inherit.yaml?t=25

 



 Comments   
Comment by Georgia Baker [ 22/May/23 ]

update readme to include release version

Comment by Oanh Thai Hoang [ 08/Jun/23 ]

This ticket is not ready to implement yet due to futher discussion about creating out of the box page rest endpoint. See https://git.magnolia-cms.com/projects/DEMOS/repos/minimal-headless-spa-demos/pull-requests/34/overview?commentId=115644.

 

We haven't finalized yet for providing page endpoint out of the box. So I create ticket here: https://jira.magnolia-cms.com/browse/MGNLREST-719

Additionally, a part of discussion is prepare default properties for page endpoint has been finished. See PR https://git.magnolia-cms.com/projects/MODULES/repos/pages/pull-requests/578/overview

 

So until we finish https://jira.magnolia-cms.com/browse/MGNLREST-719, we can provide demo example template later

Comment by Christopher Zimmermann [ 14/Jun/23 ]

We have decided to go ahead with the feature as-is, and without an OOTB pages endpoint. However we intend to pursue the OOTB approach in the future.

Generated at Mon Feb 12 05:47:43 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.