-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
-
HL & LD 35, HL & LD 36, HL & LD 37
-
3
As a developer I can quickly see what Magnolia offers as far as p13n and understand how to use it in my own project.
Create or update a SPA-editor demo so that it includes headless p13n feature.
Topher and Dominic discussed:
- Modifying the existing minimal-headless-spa-demos project.
- Implement for React only to start with.
- Create a new child page to keep things clear. title: "Personalization".
- Page has a form where user should enter their age as a number.
- Frontend stores whether user is "child", "adult" or "senior". And passes this value with requests to Magnolia. (Maybe as cookie if that works, or as header or querystring.)
- Page also has a personalized component (headline or paragraph)
- Original: "Enter your age to see a personalized activity."
- Child: "Hey young person, how about riding some BMX on the pump track?"
- Adult: "Hey grown-up, how about a mountain bike ride?"
- Senior: "Hey senior, how about an e-bike ride on the shore?
Acceptance criteria
- depends upon
-
MGNLPN-571 "Preview as Visitor" spinner does not go away with SPA Editor
- Closed
- relates to
-
MGNLFE-104 Create a simple demo for headless personalization
- Closed