-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Universal editor product picker #39
Conversation
-- Replaced ListView on TableView component
-- Grid UI changes
-- Product saving after selection
-- Code cleanup and decomposition
-- Code cleanup and decomposition
-- Code cleanup and decomposition
-- Code cleanup and decomposition
-- Code cleanup and decomposition
…pectrum - jira: SITES-20235
-- Add preselected values, fix multiple products saving
-- Components decompositions -- Added config resolver
-- Added tags on filed page (poc) -- UI fixes
-- Added posibillity to change order of selected products
...tor-product-picker/src/universal-editor-ui-1/web-src/src/components/ExtensionRegistration.js
Show resolved
Hide resolved
...ersal-editor-product-picker/src/universal-editor-ui-1/web-src/src/components/ProductField.js
Show resolved
Hide resolved
...editor-product-picker/src/universal-editor-ui-1/web-src/src/components/ProductpickerModal.js
Show resolved
Hide resolved
universal-editor-product-picker/src/universal-editor-ui-1/web-src/src/components/useConfig.js
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,17 @@ | |||
const query = `query getCategoriesInCategory($id: String!) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will be nice to replace on a query-builder
that allows to avoid some duplication
...ersal-editor-product-picker/src/universal-editor-ui-1/web-src/src/components/ProductField.js
Outdated
Show resolved
Hide resolved
|
||
useEffect(() => { | ||
const productFieldValue = localStorage.getItem(localStorageKeySelectedProducts); | ||
const selectedProducts = productFieldValue?.split(',').map((item) => item); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will be nice to reuse selections-utils
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I observed that the other examples have one workflow file only (post-deploy.js), I am not sure if you need these files here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be helpful to describe what this extension does, how to use it, etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice to have setup
section as well
universal-editor-product-picker/src/universal-editor-ui-1/actions/graphql-proxy/index.js
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,50 @@ | |||
/* | |||
* <license header> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing license, in other files also
universal-editor-product-picker/src/universal-editor-ui-1/web-src/src/components/CatalogView.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice to have setup
section as well
...rsal-editor-product-picker/src/universal-editor-ui-1/web-src/src/components/ProductPicker.js
Outdated
Show resolved
Hide resolved
...rsal-editor-product-picker/src/universal-editor-ui-1/web-src/src/components/ProductPicker.js
Show resolved
Hide resolved
@@ -0,0 +1,14 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this needed?
...rsal-editor-product-picker/src/universal-editor-ui-1/web-src/src/components/ProductPicker.js
Show resolved
Hide resolved
...tor-product-picker/src/universal-editor-ui-1/web-src/src/components/ExtensionRegistration.js
Outdated
Show resolved
Hide resolved
-- Added missed field to configuration
-- Rollback commit for testing
-- Fixed configuration merge
-- Fixed configuration merge
…pectrum - CR changes
-- CR: replaced fie header
-- CR: removed outdated todo
Description
Checklist: