[MGNLFE-232] Simplify usage of frontend-helpers with magnoliaContext Created: 04/Jul/22  Updated: 11/Aug/22  Resolved: 20/Jul/22

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

Type: Improvement Priority: Neutral
Reporter: Christopher Zimmermann Assignee: Phong Le Quoc
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: 5d 0.25h Time Spent: 5d 0.25h
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by MGNLFE-155 SSR | It should not be necessary to t... Closed
relation
is related to MGNLFE-207 version param does not work Closed
is related to MGNLFE-280 Uses relative url to build magnolia c... Closed
is related to MGNLFE-303 Always keep magnolia context in the b... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLFE-235 Implement Sub-task Completed Phong Le Quoc  
MGNLFE-273 PiQA Sub-task Completed Robert Šiška  
MGNLFE-274 Review Sub-task Completed Canh Nguyen  
MGNLFE-275 QA Sub-task Completed Canh Nguyen  
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: SaaS TPR - SPA
Sprint: DevX 14
Story Points: 3
Team: DeveloperX

 Description   

As a developer I want to use the frontend-helpers in a clear way and with as little code as possible so that it is easy to learn and my projects are easy to maintain.

Notes:

Currently there is a fair amount of complicated boilerplate to use the frontend helpers, especially around parsing the route and building the paths to the magnolia endpoints.

The libraries should provide a magnoliaContext object which standardizes usage.

Pull Request from Bartosz is here: https://git.magnolia-cms.com/projects/MODULES/repos/frontend-helpers/pull-requests/146/overview

AAnd update the sample projects once the frontend helpers aare released.


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