daffodil
daffodil copied to clipboard
[FEAT] Set Product Composite Config from URL Query Param
:bulb: Feature request
Feature Name
Set Composite Config from URL Query Param
The Desired Behavior
I want to be able to configure a composite product page via a query param in the URL
Your Use Case
As a user, I would like to be able to visit a URL like myapp.com/myproduct?composite_config=<base64 encoded config>
As an app developer, I want to be able to configure the query param that holds this functionality.
Prior Work
The value of the query param should decode to an object of the form: {itemId: [optionId]}
@damienwebdev do you think we should add a selector for converting the current selection to a base64 selection? This would help apps show a "bookmark or share this collection with this link:" message.