Skip to content

Commit

Permalink
[refactor] GH-23 Stories cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
amivanoff committed Sep 17, 2021
1 parent 3889d65 commit f2c8a1c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 15 deletions.
7 changes: 0 additions & 7 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch App in Chrome",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}",
},
{
"type": "chrome",
"request": "launch",
Expand Down
12 changes: 6 additions & 6 deletions stories/TableRemoteMktp.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ import { tableRenderers } from '../src';

const viewKinds = [
{
'@id': 'rm:TableViewKind',
'@id': 'mktp:TableViewKind',
'@type': 'aldkg:ViewKind',
title: 'Карточки',
description: 'Big table View with form',
collsConstrs: [
{
'@id': 'rm:ProductCard_Coll',
'@id': 'mktp:ProductCard_Coll',
'@type': 'aldkg:CollConst',
entConstrs: [
{
'@id': 'rm:ProductCard_Coll_Shape0',
'@id': 'mktp:ProductCard_Coll_Shape0',
'@type': 'aldkg:EntConstr',
schema: 'hs:ProductCardShape',
/*conditions: {
Expand All @@ -57,7 +57,7 @@ const viewKinds = [
],
elements: [
{
'@id': 'rm:_934jHd67',
'@id': 'mktp:_934jHd67',
'@type': 'aldkg:VerticalLayout',
options: {
height: 'all-empty-space',
Expand All @@ -66,7 +66,7 @@ const viewKinds = [
{
'@id': 'ProductCardTable',
'@type': 'aldkg:Array',
resultsScope: 'rm:ProductCard_Coll',
resultsScope: 'mktp:ProductCard_Coll',
options: {
draggable: true,
resizeableHeader: true,
Expand Down Expand Up @@ -256,7 +256,7 @@ const viewDescrs = [
{
'@id': 'rm:TableViewDescr',
'@type': 'aldkg:ViewDescr',
viewKind: 'rm:TableViewKind',
viewKind: 'mktp:TableViewKind',
title: 'CardCellGrid',
description: 'CardCellGrid',
collsConstrs: [],
Expand Down
4 changes: 2 additions & 2 deletions stories/TreeTableFormMktp.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ const viewKinds = [
schema: 'hs:ProductCardShape',
conditions: {
'@id': 'mktp:ProductCards_in_Category_Coll_Ent0_con',
CardInCatLink: 'https://www.wildberries.ru/catalog/zdorove/ozdorovlenie?sort=popular&page=1&xsubject=594',
CardInCatLink: 'https://www.wildberries.ru/catalog/igrushki/antistress',
},
},
],
limit: 1000,
limit: 100,
},
{
'@id': 'mktp:Cards_Coll',
Expand Down

0 comments on commit f2c8a1c

Please sign in to comment.