chenos
c7c177183f
fix: update yarn.lock ( #3180 )
2023-12-13 14:35:11 +08:00
Zeke Zhang
3b7c1345cc
test(e2e): add tests for client ( #3144 )
...
* test: add tests for lazy loading of association fields
* refactor: migrate
* test: add tests for page
* test: add tests for page menu
* test: add tests for tabs
* test: add tests for detail block
* test: add tests for list block
* test: add tests for grid card block
* test: add tests for filter collapse block
* test: add tests for markdown block
* test: add tests for table block
* test: add tests for table block
* test: add tests for lazy loading of association fields
* test: add tests for data scope
* test: add tests for filter block
* test: add tests for block template
* test: add tests for drag and sorting
* test: add tests for sorting rules
* test: make testing more stable
* Revert "test: make testing more stable"
This reverts commit 78b7badeb65bfc603fb746efbdb8e242a763ae6a.
* perf: remove enableToConfig
* test: make testing more stable
* test: make testing more stable
* test: delete newly created records to make tests more stable
* fix: fix error when deleting records
* test: make testing more stable
* test: make testing more stable
* test: fix tests
* refactor: optimize file structure
* test: fix tests
* test: fix tests
* refactor: optimize description
* refactor: optimize description
* refactor: use __e2e__ as the root directory for test files
* fix: fix build
* test: make testing more stable
2023-12-13 14:14:33 +08:00
Junyi
35c4b5c55a
fix(plugin-workflow-manual): fix schema config component ( #3172 )
2023-12-12 19:50:13 -08:00
chenos
005a3806e7
fix: use node:18-bullseye ( #3178 )
2023-12-13 10:28:25 +08:00
xilesun
e9e2e73efe
chore: update changelog
2023-12-12 23:07:59 +08:00
xilesun
35301358de
chore(versions): 😊 publish v0.17.0-alpha.5
2023-12-12 23:07:55 +08:00
YANG QIA
474b09c7f2
perf(server): optimize performance of APIs ( #3079 )
...
* perf: add perf_hooks
* perf: add cache
* fix: test
* feat: support bloom filter
* feat: caching token black list
* perf: caching i18n instance
* fix: test
* fix: test
* chore: remove prePerfHooks on app
* chore: improve i18n instances cache
* chore: remove performance measure
* fix: package.json
* perf: optimize cache strategy
* fix: test
* fix: bug
* test: storer of auth-manager
* fix: afterDestroy hook when updating null value
* fix: version
* chore: fix bug and add test
* fix: test
* fix: test
2023-12-12 23:02:09 +08:00
Chareice
2c37910894
chore: field type map
2023-12-12 21:28:42 +08:00
ChengLei Shao
439940cd22
chore: query interface ( #3177 )
...
* chore: query interface
* fix: build
* chore: typo
2023-12-12 21:24:52 +08:00
chenos
7b74e999c9
chore: update changelog
2023-12-12 14:10:49 +08:00
chenos
cf9ccfe4f9
chore(versions): 😊 publish v0.17.0-alpha.4
2023-12-12 14:10:36 +08:00
YANG QIA
8c1738db83
fix(theme-editor): "No permission" error when updating default theme of system ( #3171 )
...
* fix: fix T-2703
* fix: bug
* fix: migration
* chore: switch type to radio
* fix: collection.sync
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-12-12 14:09:30 +08:00
Chareice
7166409c75
fix: quote ident in postgres get table definition
2023-12-12 09:58:14 +08:00
jack zhang
cb0d757a6b
fix: dev load remote plugin ( #3175 )
2023-12-11 16:16:04 +08:00
chenos
efb6580eaf
fix(mock-collections): mock unique
2023-12-10 23:44:17 +08:00
katherinehhh
a7176770fb
fix: sub-form(popover)in sub-table value mutual influence ( #3164 )
2023-12-10 19:21:41 +08:00
Junyi
7bb50fea34
fix(plugin-workflow-manual): fix initializer ( #3170 )
2023-12-09 15:17:01 +08:00
Zeke Zhang
a2be1a0e33
feat(variable): add current role ( #3167 )
...
* feat(variable): add current role
* chore: translate
* feat: parsing in the backend
* fix: fix tests
2023-12-08 19:19:53 +08:00
chenos
d782776a8d
fix: plugin version not updated after upgrade ( #3166 )
2023-12-08 19:19:38 +08:00
jack zhang
810ab3294d
fix: sub menu hide ( #3168 )
2023-12-08 17:59:52 +08:00
YANG QIA
4665095372
fix(bi): import bug ( #3165 )
2023-12-08 16:56:05 +08:00
Junyi
0e7cb9e5cf
refactor(plugin-workflow): split workflow features into plugins ( #3115 )
...
* refactor(plugin-workflow): split manual and dynamic calculation into plugins
* refactor(plugin-workflow): move loop to plugin
* refactor(plugin-workflow): move parallel to plugin
* fix(plugin-dynamic-calculation): fix package title
* fix(plugin-workflow): fix plugin name
* refactor(plugin-workflow): move delay to plugin
* refactor(plugin-workflow): simplify exporting names
* refactor(plugin-workflow): move aggregate to plugin
* refactor(plugin-workflow): move sql to plugin
* refactor(plugin-workflow): move reqeust to plugin
* refactor(plugin-workflow): move form trigger to plugin
* refactor(plugin-workflow): move locale to plugins
* fix(plugin-workflow): fix test cases
* fix(plugin-workflow-request): package name typo
* fix(plugin-workflow): remove clean db from testkit
* fix(plugin-workflow-sql): skip independent case
* fix(plugin-workflow-sql): skip independent case
* fix(plugin-workflow-delay): fix test cases
* test(plugin-workflow-delay): fix test cases
* test(plugin-workflow-delay): fix test cases
* test(plugin-workflow-delay): fix test cases
* test(plugin-workflow-delay): fix test cases
* fix(plugin-workflow): fix migration version matching
* test(plugin-workflow): fix test case
* refactor(plugin-workflow): correct exporting of testkit
* fix(plugin-workflow): fix testkit and require module
* refactor(plugin-workflow): add workflow-test package for testing
* test(plugin-workflow): test weird case
* fix(plugin-workflow-test): remove workflow dependency to avoid cycling
* fix(plugin-workflow): fix migration version
* fix(plugin-workflow): fix migration and packages
* fix(plugin-workflow): fix package dependencies
* fix(preset): fix builtin list in preset
* fix(plugin-workflow): add package entry file
* fix(plugin-workflow): fix migrations
* refactor(plugin-workflow): remove require
* fix(plugin-workflow): fix locale namespace
* fix(plugin-workflow): fix merged errors
* fix(plugin-workflow): fix import cycling references
* refactor(plugin-workflow): change instruction and triggers to classes in client
* fix(plugin-workflow): fix migration version
2023-12-07 05:46:58 -08:00
YANG QIA
8708765f43
fix(bi): localization ( #3159 )
...
* fix(bi): localization
* fix: bug
* fix(map): localization
* fix: antd config provider
2023-12-07 21:15:40 +08:00
Zeke Zhang
1fddf0bcb5
fix: fix default value is not working in sutable ( #3155 )
2023-12-07 14:08:28 +08:00
Junyi
a86a65cf2c
fix(plugin-workflow): fix destroy node locale ( #3150 )
2023-12-06 08:06:10 -08:00
YANG QIA
e0e91c2c95
fix(lm): texts update hook after collection update ( #3151 )
...
* fix(lm): texts update hook after collection update
* fix: validate language
* fix: typo
2023-12-07 00:02:23 +08:00
Chareice
3b324f31a2
fix(database): phantom dependency
2023-12-06 22:29:13 +08:00
chenos
32b95414be
chore: update changelog
2023-12-06 17:19:46 +08:00
chenos
eef101c177
chore(versions): 😊 publish v0.17.0-alpha.3
2023-12-06 17:19:35 +08:00
jack zhang
8e7cb832cc
fix: delete root docs ( #3145 )
...
* fix: delete root docs
* docs: update useSchemaOptionsContext()
* chore: change ci
* chore: upgrade dumi theme
* fix: upgrade tsx
2023-12-06 16:20:31 +08:00
YANG QIA
269467ebb0
fix(lm): wrong version of migration ( #3148 )
...
* fix(lm): wrong version of migration
* fix: typo
2023-12-06 15:07:23 +08:00
YANG QIA
ff097936dd
fix(lm): reserve i18n namespaces for plugins to avoid conflicts ( #3121 )
...
* fix: fix T-2063
* fix: fix T-2589
* chore: remove translation of page header
* chore: add version check for migration
* chore: switch locale files to JSON format
* fix: bug
* fix(auth): fix translation
* fix: add App provider
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-12-06 14:30:17 +08:00
chenos
b44a9851a1
chore: update changelog
2023-12-06 13:21:08 +08:00
chenos
36fd4881b2
chore(versions): 😊 publish v0.17.0-alpha.2
2023-12-06 13:20:48 +08:00
chenos
e418d31eb8
fix: default action schema settings ( #3146 )
...
* fix: default action schema settings
* fix: customRequest
2023-12-06 12:48:21 +08:00
xilesun
ad25fe704c
fix: issue with SQL collection when the source collection is deleted
2023-12-06 10:09:42 +08:00
Chareice
95bec2278f
fix: load field when source collection not found
2023-12-06 09:45:32 +08:00
YANG QIA
16ad19b18d
feat(bi): filter block for charts ( #2851 )
...
* refactor: SchemaInitializer
* feat: render
* feat: finish BlockInitializers
* feat: finish TableActionInitializers
* refactor: new SchemaInitializerV2
* feat: support useChildren
* feat: finish TableColumnInitializers
* refactor: tableActionColumnInitializers
* fix: bug
* refactor: xx
* docs: schemaInitializer demo1
* docs: schema-initializer demo2
* feat: demo3
* docs: schema-initializer
* fix: form
* feat(bi): filter block for charts
* refactor: schema-initializer
* fix: bug
* feat: add filter block in chart block
* refactor: schema initializer
* refactor: rename
* fix: delete SchemaInitializerProvider
* refactor: props `insert` to hooks `useSchemaInitializerV2`
* fix: bug
* refactor: improve code & style
* feat: add expand/collapse button
* fix: filter & reset bug
* fix: configure data conflict
* refactor: delete `SchemaInitializer.Button`
* refactor: delete old SchemaInitializer
* feat: support for adding custom filter field
* fix: bug
* fix: workflow
* fix: docs
* feat: support for editing operator of collection field
* fix: bug
* fix: bug
* feat: support for editing options of custom fields
* feat: style
* fix: remove v2
* feat: init chart with filter
* fix: visible
* fix: bug
* fix: item hook
* feat: support for setting default value
* feat: item hook
* feat: support for filtering by associate fields
* fix: bug of associate field
* fix: get field bug
* fix: bug of adding filter block
* fix: bug of empty filter
* fix: filter parse issues
* fix: add search DataBlockInitializer
* fix: build bug
* fix: fix bug and improve
* fix: bug
* fix: variable
* fix: hook dependencies
* 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
* fix: fix T-2388, T-2384
* 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
* fix: fix T-2383
* fix: variables
* fix: variables
* fix: fix T-2441
* chore: fix build error
* chore: optimize locator of menu item
* refactor: rename testid for select
* feat: select source field for custom field, fix T-2416
* fix: bug
* 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
* fix: fix T-2386
* feat: refactor: page tab settings
* feat: page settings
* fix: dumirc
* fix: export CSSVariableProvider
* feat: lazy render
* fix: fix T-2473, T-2474
* fix: fix T-2476
* fix: fix T-2472
* fix: form-item
* fix: general schema desinger
* feat: filter form item settings
* fix: fix T-2484, T-2482
* refactor: form-v2 schema settings
* refactor: form-v1 schema settings
* refactor: action schema settings
* fix: dependency
* 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
* chore: update filter hook
* chore: fix association fields
* fix: build
* chore: use `default` instead of `componentProps.defaultValue`
* chore: remove chinaRegion in custom field components
* fix: menu height
* fix: duplicate keys warning
* fix: variable issues
* fix: filter bug
* fix: operator bug
---------
Co-authored-by: Your Name <1098626505@qq.com>
Co-authored-by: Rain <958414905@qq.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-12-05 20:45:18 +08:00
katherinehhh
536001eaba
fix: validate uid rule ( #3140 )
2023-12-05 16:09:44 +08:00
katherinehhh
d573e6ff17
refactor: collection template support forbidDeletion setting ( #3139 )
2023-12-05 15:58:36 +08:00
jack zhang
cb200de34e
fix: menu height bug ( #3137 )
2023-12-05 10:15:08 +08:00
jack zhang
f3cb6bf62c
fix: menu height 50vh ( #3135 )
2023-12-04 19:49:13 +08:00
katherinehhh
1b80cc431b
refactor: uid validate rule ( #3134 )
2023-12-04 17:56:08 +08:00
chenos
34e026cec5
chore: update changelog
2023-12-04 14:58:20 +08:00
chenos
1757a96b51
chore(versions): 😊 publish v0.17.0-alpha.1
2023-12-04 14:58:09 +08:00
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
69abfc9832
chore: update changelog
2023-12-04 11:01:28 +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