[ECOMMERCE-113] Investigation. Behaviour of Product List sub app Created: 04/Feb/19 Updated: 22/Feb/19 Resolved: 22/Feb/19 |
|
| Status: | Closed |
| Project: | E-commerce |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.0 |
| Type: | Story | Priority: | Neutral |
| Reporter: | Laura Delnevo | Assignee: | Chuong Doan Huy |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 2d 1.5h | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Date of First Response: | |||||||||||||||||
| Epic Link: | Access the product catalogs | ||||||||||||||||
| Sprint: | Add-Ons 5, Add-Ons 6 | ||||||||||||||||
| Story Points: | 5 | ||||||||||||||||
| Description |
|
As a user I want to be able to open multiple Product List sub apps, so that I can preview more than one category at the same time:
|
| Comments |
| Comment by Laura Delnevo [ 12/Feb/19 ] |
|
The outcome of this investigation will need Core work, just heads up, that we need to co-ordinate with Core team |
| Comment by Chuong Doan Huy [ 22/Feb/19 ] |
|
We can open multiple Product List subapps !!! There is a method "public boolean supportsLocation(Location location)" in SubApp class, when return "false", it will open new subapp and vice verse Document link for this : https://documentation.magnolia-cms.com/display/DOCS61/Programming+an+app With this, we only need to override this method follow our purpose by declaring a custom subapp class in yaml file. Example : In ecommerceApp.yaml : ... products: class: info.magnolia.ui.contentapp.configuration.BrowserDescriptor subAppClass: info.magnolia.ecommerce.ui.apps.ecommerce.products.action.ContentBrowserSubAppEcommerce (this is our custom subapp to override supportsLocation method) .... About "name of category on each open tab", i haven't investigated yet but setting name of tabs is probably possible. |