@webx-ui/module-catalog 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -20,13 +20,18 @@ import '@webx-ui/module-catalog/style.css'
20
20
 
21
21
  createAdmin({
22
22
  basePath: '/cms',
23
- modules: [catalog()],
23
+ modules: [...catalog()],
24
24
  }).mount()
25
25
  ```
26
26
 
27
- `catalog()` is one section — the server registers one module, `catalog` — which opens on the
28
- products; the tree of categories and «Deleted» are reached from its head. The satellites
29
- (`module-catalog-*`) stand beside it in the `catalog` group of the navigation.
27
+ `catalog()` returns two sections, as the server registers two modules: `catalog` — the products,
28
+ with «Deleted» in the menu of their head — and `catalog-categories`, the tree. Spread it into
29
+ `modules`. The satellites (`module-catalog-*`) stand beside them in the `catalog` group of the
30
+ navigation.
31
+
32
+ The «Filters» tab of a category is off by default (`webx-catalog.fields.facets`): with the
33
+ category and the price alone there is nothing to arrange. A satellite that brings filters of its
34
+ own switches it on.
30
35
 
31
36
  Keep the default path (`/catalog`): the server's refusal of a taken article number links to
32
37
  `{panel}/catalog/products/{id}`.