jack zhang
bf1a19426a
refactor: new schema initializer and schema settings ( #2802 )
...
* fix: form
* refactor: schema-initializer
* fix: bug
* refactor: schema initializer
* refactor: rename
* fix: delete SchemaInitializerProvider
* refactor: props `insert` to hooks `useSchemaInitializerV2`
* fix: bug
* refactor: delete `SchemaInitializer.Button`
* refactor: delete old SchemaInitializer
* fix: bug
* fix: workflow
* fix: docs
* fix: bug
* fix: bug
* feat: style
* fix: remove v2
* fix: visible
* fix: bug
* fix: item hook
* feat: item hook
* fix: add search DataBlockInitializer
* fix: build bug
* fix: style bug
* fix: style bug
* fix: test bug
* fix: test bug
* fix: rerender bug
* fix: remove menu select
* fix: bug
* chore: add aria-label for SchemaInitializerButton
* refactor: rename name to camel case
* fix: menu height bug
* fix: build errors
* fix: build errors
* fix: bug
* fix: bug
* fix: performance
* test: add test for header
* fix: sidebar is not refresh (T-2422)
* feat(e2e): support to add group page and link page
* chore: make sure the page is configurable when using page.goto
* test: add tests for menu initializer
* fix: imporve code
* chore: fix build error
* chore: optimize locator of menu item
* refactor: rename testid for select
* test: make tests passing
* fix: make tests passing
* chore: upgrade vitest to v0.34.6
* chore: increase timeout of e2e
* feat: core
* fix: revert schema initializer demos
* test: menu, page tabs, page grid, table column
* fix: schema button interface
* feat: refactor: page tab settings
* feat: page settings
* fix: dumirc
* fix: export CSSVariableProvider
* feat: lazy render
* fix: form-item
* fix: general schema desinger
* feat: filter form item settings
* refactor: form-v2 schema settings
* refactor: form-v1 schema settings
* refactor: action schema settings
* fix: action bug
* fix: form-item bug
* fix: types error
* docs: schema settings doc
* docs: schema settings
* feat: schema setting item add name
* fix: visible lazy render bug
* fix: revert form item filter
* fix: test bug
* fix: test JSON.parse bug
* fix: test bug
* fix: improve styling
* fix: styling
* fix: cleanup
* fix: token.borderRadiusSM
* fix: bug
* test: add tests
* fix: style bug
* fix: add chart performance
* feat: add SchemaDesignerContext
* fix: bug
* fix: test bug
* style: create record action style improve
* fix: make test passing
* chore: mack tests passing
* chore: make tests passing
* test: fix tests
* style: style revert
* fix: bug
* fix: data selector
* fix: fix tests
* fix: fix tests
* fix: delete PluginManagerContext
* refactor: improve router and add SchemaComponentProvider & CSSVariableProvider to MainComponent
* fix: add dn and field builtin to SchemaSettingWrapper
* feat: update docs
* refactor: application providers
* fix: test bug
* fix: fix tests
* chore: make test passing
* feat: update docs
* chore: rename collection name
* feat: update docs
* chore: skip weird test
* fix: blockInitializers media to otherBlocks
* fix: cancel to skip test
* fix: bug
* test: add test
* refactor: migrate to small files
* test: add tests for form block settings
* chore: format
* fix: add chart scroll bug
* refactor: action designer improve
* refactor: formitem designer schemaSetting
* feat: schemaSettingsManager and schemaInitializerManager addItem and removeItem
* test: add tests for color field in creating block
* test: add tests for email field in creating block
* test: make tests passing
* perf: reduce fields number
* fix: sub menu bug
* test: add tests basic in editing form
* test: add tests basic in details form
* fix: improve code
* test: make tests passing
* test(plugin-mock-collections): add color for enum options
* refactor: improve code
* fix: bug
* fix: bug
* refactor: convert parameters to destructured object
* test: add tests choices
* test: add tests media
* test: add tests for datetime in creating form
* feat(plugin-mock-collection): generate faker time
* test: add tests for datetime in editing form
* test: add tests for datetime in details form
* fix: bug
* feat: improve code
* test: add tests for relation fields
* fix: rename SchemaSettings
* fix: type bug
* refactor: useDesinger()
* fix: bug
* fix: bug
* fix: build tip
* fix: designableState
* fix: bug
* fix: designable
* fix: designable
* test: add tests for relation fields
* test: add tests for relation fields
* test: add tests for relation fields
* feat: client api doc
* test: add tests for relation fields
* test: avoid errors
* test: make tests passing
* fix: bug
* test: make tests passing
* test: add tests for advanced fields
* test: increase e2e timeout-minutes to 60
* fix: bug
* fix: improve code
* feat: add schema initailizer component demos
* test: make tests passing
* fix: schema settings demos
* feat: shallowMerge & deepMerge
* test: reduce number of tests
* test: make tests passing
* feat: updates
* fix: add Initializer Internal
* demos: useSchemaSettingsRender
* test: make tests passing
* test: make tests passing
* fix: improve docs
* fix: bug
* chore: upgrade dumi theme
* test: make tests passing
* test: add tests for linkage rules
* test: add test for form data templates
* test: add tests for default value
* test: reduce number of tests
* fix: dn.deepMerge
* fix: bug
* fix: bug
* fix: toolbar
* fix: docs ssr
* test: add tests for system fields
* test: add tests for actions
* fix: bug
* test: add tests for lazy loading of variables
* test: make testing more stable
* fix: update docs
* fix: bug
---------
Co-authored-by: Rain <958414905@qq.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-12-04 14:56:46 +08:00
xilesun
9d644304c1
chore(versions): 😊 publish v0.16.0-alpha.6
2023-12-04 11:01:24 +08:00
katherinehhh
bdf49cd38a
fix: association field should support json field as title field ( #3129 )
2023-12-03 19:14:33 +08:00
Junyi
c1c91095b8
fix(client): allow match query case insensitive ( #3127 )
2023-12-01 22:57:56 -08:00
katherinehhh
52c83cadb3
refactor: url& sequence support availableType as string ( #3126 )
2023-12-01 16:38:34 +08:00
katherinehhh
a436b59268
refactor: view collection support json field ( #3125 )
2023-12-01 15:36:32 +08:00
katherinehhh
4f9696035a
refactor: collection template support configureActions ( #3123 )
2023-12-01 11:27:38 +08:00
katherinehhh
1d01a66193
fix: onTemplateSuccess undefined ( #3119 )
2023-11-30 17:32:42 +08:00
chenos
8977420eec
chore(versions): 😊 publish v0.16.0-alpha.5
2023-11-30 12:41:50 +08:00
katherinehhh
cb22d0f2ed
fix: fields options undefined ( #3116 )
2023-11-30 11:47:16 +08:00
Rain
f3c6f066ec
fix(linkageRules): remove throttle to prevent unexpected behavior
2023-11-29 17:53:33 +08:00
Zeke Zhang
357a081199
fix(linkageRules): fix autorun ( #3105 )
...
* fix(linkageRules): avoid accidentally triggering autorun
* fix(linkageRules): fix the order of autorun triggers
* fix: avoid crashing
* fix: fix variable of expression
* perf: use throttle to improve performance
* chore: reduce wait time from 1000 to 500
* fix: fix init state
* Revert "fix: fix init state"
This reverts commit 3f469731770b7e1224ebbb63277ac86adc51b97d.
* refactor: rename
* fix: fix init state
2023-11-29 14:57:03 +08:00
Junyi
f62134a4ed
fix(client): adjust error message ( #3108 )
2023-11-28 17:38:24 -08:00
Junyi
bd6fbcd319
fix(plugin-workflow): fix form event parse variables ( #3106 )
2023-11-28 04:58:15 -08:00
katherinehhh
0cf045d142
fix: association data params missing appends ( #3103 )
...
* fix: association data params missing appends
* refactor: code improve
2023-11-28 11:12:42 +08:00
被雨水过滤的空气-Rain
723cc45d0f
fix(linkageRules): avoid infinite loop ( #3095 )
...
* Revert "refactor: avoid errors (#3091 )"
This reverts commit 85be616f35
.
* fix(linkageRules): avoid infinite loop
* chore: remove console.log
* chore: remove useless code
2023-11-27 19:27:35 +08:00
chenos
ffb300d357
chore(versions): 😊 publish v0.16.0-alpha.4
2023-11-24 23:15:10 +08:00
被雨水过滤的空气-Rain
85be616f35
refactor: avoid errors ( #3091 )
...
* refactor: avoid errors
* refactor: remove useless code
2023-11-24 21:46:19 +08:00
被雨水过滤的空气-Rain
e5f711ec66
fix: avoid infinite loop ( #3089 )
2023-11-24 17:35:45 +08:00
katherinehhh
641d59421d
refactor: import interface getOptions ( #3088 )
2023-11-24 17:01:16 +08:00
YANG QIA
039deac92b
fix: sql collection creation issue ( #3087 )
2023-11-24 15:43:04 +08:00
被雨水过滤的空气-Rain
771ebaaaec
fix: should load association data in subform ( #3083 )
2023-11-23 21:05:07 +08:00
katherinehhh
78bd78ca3d
fix: view collection json field rendering error ( #3077 )
2023-11-23 11:50:34 +08:00
Rain
e2ed6be305
fix: avoid crashing
2023-11-23 11:22:25 +08:00
katherinehhh
b3dfc939f3
fix: m2o association field should support pattern configure ( #3074 )
...
* fix: m2o association field should support pattern configure
* fix: setInitialValueundefined
2023-11-22 21:12:08 +08:00
被雨水过滤的空气-Rain
ea136ab6bc
fix: subform disappears ( #3073 )
2023-11-22 17:22:09 +08:00
Junyi
e0c7d09cab
fix(client): fix variable input style when disabled ( #3071 )
2023-11-21 18:42:05 -08:00
被雨水过滤的空气-Rain
19bad669af
fix(linkage): avoid infinite loop ( #3069 )
2023-11-21 17:28:37 +08:00
katherinehhh
78c4334e19
fix: linkage rule in action set both disable and enable ( #3065 )
2023-11-21 10:31:07 +08:00
chenos
cba967933e
chore(versions): 😊 publish v0.16.0-alpha.3
2023-11-20 19:36:12 +08:00
chenos
dfb940e091
feat: node >= 18 ( #3066 )
...
* feat: node >= 18
* fix: release version
* chore(versions): test publish packages xxx
* fix: gitignore
2023-11-20 19:35:30 +08:00
chenos
91053b31ef
chore(versions): 😊 publish v0.16.0-alpha.1
2023-11-20 17:19:09 +08:00
Junyi
fbe3d2d9a5
fix(plugin-workflow): client minor fixes ( #3062 )
2023-11-19 03:24:34 -08:00
ChengLei Shao
0acd7b6dd3
fix: sort by association collection ( #3058 )
...
* fix: sort by association collection
* fix: test
* chore: test
* chore: create sortfield if hasmany sortable set true
* fix: drag sort
* chore: update sort by options
* chore: sync collection after update sortBy
* chore: test
* chore: test
* chore: test
* fix: sort by
* fix: model.syncSortByField
* fix: hasmany only
* fix: sortBy
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-11-18 22:02:21 +08:00
chenos
ef1b9db2a9
chore(versions): 😊 publish v0.15.0-alpha.4
2023-11-18 21:22:03 +08:00
chenos
4a26b9b208
fix: import @nocobase/utils/client
2023-11-18 21:20:30 +08:00
Dunqing
2c688dba43
fix(calendar): cannot switch week in week mode ( #3057 )
2023-11-17 23:17:30 +08:00
被雨水过滤的空气-Rain
3c98966169
feat(e2e): add mockCollections ( #3054 )
...
* feat(e2e): add mockCollections
* fix: fix tests
* fix: make tests passing
* fix: fix tests
* fix: fix test
* chore: restart
* chore: skip some test
2023-11-17 16:54:04 +08:00
katherinehhh
36043be130
fix: association table block overwirtten by default values in popver action ( #3056 )
2023-11-17 16:11:30 +08:00
katherinehhh
cd76ae7e63
fix: tableoid should pointed to target collection in assciation field data scope config ( #3053 )
2023-11-16 18:15:10 +08:00
chenos
60112aae62
chore(versions): 😊 publish v0.15.0-alpha.3
2023-11-16 15:03:40 +08:00
被雨水过滤的空气-Rain
14a21882e8
Revert "chore: hide linkage rule option in some buttons ( #3046 )" ( #3051 )
...
* Revert "chore: hide linkage rule option in some buttons (#3046 )"
This reverts commit f0db975c1d
.
* refactor: remove concole log
2023-11-16 11:52:22 +08:00
被雨水过滤的空气-Rain
f0db975c1d
chore: hide linkage rule option in some buttons ( #3046 )
2023-11-15 16:32:28 +08:00
katherinehhh
3aca9e05d9
fix: association block filter params ( #3039 )
2023-11-14 17:24:59 +08:00
Junyi
52c3f28c04
fix(plugin-fm): fix error log ( #3038 )
2023-11-14 16:54:19 +08:00
katherinehhh
57c7450e16
refactor: findSchema should omit AssociationField.Viewer ( #3037 )
2023-11-14 14:43:31 +08:00
被雨水过滤的空气-Rain
c25f51d99b
fix: fix display association fields with subform ( #3036 )
...
* fix: fix display association fields with subform
* fix: transformVariableValue
* fix: should also to request data when value is null
* fix: better way to fix
2023-11-14 14:15:47 +08:00
katherinehhh
4d4b73767f
fix: attachment field in m2m association field report error whwen setting required ( #3031 )
2023-11-14 09:36:00 +08:00
chenos
b597aec1dc
chore(versions): 😊 publish v0.15.0-alpha.2
2023-11-13 18:28:48 +08:00
jack zhang
4209babb47
fix: antd table ref bug ( #3029 )
2023-11-13 17:49:24 +08:00