[ECOMMERCE-417] DOC: Make Product chooser configurable Created: 09/Jun/21  Updated: 26/Jul/21  Resolved: 26/Jul/21

Status: Closed
Project: E-commerce
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Thuy To Assignee: Julie Legendre
Resolution: Fixed Votes: 0
Labels: VN-Implementation
Remaining Estimate: Not Specified
Time Spent: 3.25h
Original Estimate: Not Specified

Attachments: PNG File image-2021-06-11-14-38-39-872.png     PNG File image-2021-06-11-14-40-48-868.png     PNG File image-2021-06-29-13-22-11-649.png    
Issue Links:
Cloners
clones ECOMMERCE-409 Make Product chooser configurable Closed
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)
Documentation update required:
Yes
Date of First Response:
Epic Link: DOC: ECOM version 1.3 updates
Sprint: Content Mngmt 08, Content Mngmt 09
Story Points: 1

 Description   

We have the UI for new product chooser with 4 columns: Connector, Category, Product and Preview like this.

We can hide the columns for the product chooser by configuring in new-product-chooser.yaml.

e.g. /ecommerce-templating/dialogs/components/new-category-list.yaml 

By default, enableCategorySelection and enableProductSelection are always true. We don't need to configure them in yaml.
CF: ECOMMERCE-416 Rename enabledCategoryView > enableCategorySelection, enabledProductView > enableProductSelection.
+ If enableProductSelection is false then Product and Preview columns in UI are disabled. 

+ If enableCategorySelection is false then Category, Product and Preview columns are disabled. ( Because Product column is depended on category column, so if enableCategorySelection is false then don't care enableProductSelection is true or false)

+ If having only one connection which is enabled or configure definitionName/connectionName in yaml then Connector column is disabled.

+ If configuring wrong definitionName/connectionName in yaml then check if have only one connection then Connector column is disabled.

+ If configuring wrong definitionName/connectionName in yaml then check if have more one connection then Connector column is displayed as normal.

+ If having only one connection which is enabled or configure definitionName/connectionName in yaml and enableCategorySelection is false then don't disable Connector column. ( to prevent the empty dialog)

 

 



 Comments   
Comment by Julie Legendre [ 24/Jun/21 ]

Thank you thuy.to  

 

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