Commit Graph

963 Commits

Author SHA1 Message Date
Junyi
dea4c6f9c7
feat(plugin-workflow): add sort and pagination to query node params (#2453)
* refactor(core): expose some utils and constants

* feat(plugin-workfow): add sort and pagination to query node params

* fix(plugin-workflow): fix job result json style

* fix(plugin-workflow): fix sort param

* fix(plugin-workflow): fix test cases
2023-08-14 20:32:51 -07:00
katherinehhh
3baebf2a71
style: ellipsisWithTooltip style improve (#2451) 2023-08-15 09:16:56 +08:00
katherinehhh
0669975dde
refactor: add new action init icon (#2454) 2023-08-15 09:16:23 +08:00
Junyi
b542802667
fix(client): fix select button height in variable textarea (#2450) 2023-08-14 18:21:41 +08:00
katherinehhh
274d53988a
refactor: default value for field configuration in sub-table (#2425)
* refactor: field default value config in sub-table

* refactor: richtext default value

* refactor: richtext default value

* refactor: isShowDefaultValue
2023-08-14 17:47:15 +08:00
katherinehhh
dcafbb10c8
fix(findSchema): table operation action and detail operation action interact with each other (#2446)
* fix: table operation action  and detail operation action  interact with each other

* refactor: code imrove
2023-08-14 15:53:28 +08:00
katherinehhh
8b75738c90
refactor: recordPicker => associationField (#2444) 2023-08-14 09:26:27 +08:00
katherinehhh
caad07e11e
style: schemaSetting dropdown style improve (#2432) 2023-08-13 19:27:21 +08:00
chenos
15504c2813 fix: improve translation 2023-08-12 10:18:47 +08:00
Dunqing
b7d23c408a
feat(map-plugin): map block support select map field of association tables (#2214)
* feat(map-plugin): map block support select map field of association tables

* fix: update incorrect default value

* fix: should support o2m and fix bugs

* fix: height Close T1185 Close 1183

* fix: o2m, m2m cannot display data

* fix: switch map field will break
2023-08-10 17:36:02 +08:00
Junyi
fa43d9c870
feat(plugin-workflow): allow to configure auto delete execution in history (#2423)
* feat(plugin-workflow): allow to configure auto delete execution

* fix(plugin-workflow): fix locale
2023-08-10 16:18:07 +08:00
katherinehhh
9881d69def
refactor(schema-template): Inherit collection using blockTemplate (#2418)
* refactor: blockTemplate

* refactor: code imrove
2023-08-10 14:52:29 +08:00
Dunqing
5edcaaea4b
fix(mobile-client): style broken and display correct mobile url in sub app (#2414) 2023-08-09 22:23:15 +08:00
Junyi
86e672e9bb
feat(plugin-workflow): add form trigger type (#2347)
* feat(plugin-workflow): add form trigger

* test(plugin-workflow): add test cases

* fix(client): fix component warning

* fix(plugin-workflow): fix context data for create and update

* fix(plugin-workflow): allow to select any form type workflow in configuration

* fix(client): fix tree component value

* fix(client): fix value render in component

* fix(plugin-workflow): fix context load

* fix(client): fix type

* fix(client): fix type

* fix(plugin-workflow): fix params

* fix(plugin-workflow): fix required

* fix(plugin): fix context not matching collection error

* fix(plugin-workflow): fix test cases

* refactor(plugin-workflow): change trigger workflow action config to cascaded

* fix(plugin-workflow): remove useless locale

* fix(client): adjust locale

* fix(client): remove useless locale
2023-08-09 12:12:57 +08:00
katherinehhh
d25b9080b1
fix(data-template): titleField undefined (#2398)
* fix: titleField undefined

* refactor: code improve
2023-08-08 17:21:09 +08:00
katherinehhh
823d4bd94d
fix: useSyncFromForm support multi-level relationships (#2413) 2023-08-08 15:37:10 +08:00
katherinehhh
3c161eab86
refactor: restrict the fields within the configured data scope in sub table (#2394) 2023-08-06 19:48:03 +08:00
Junyi
d693aad89b
feat(plugin-workflow): add modal to edit title when duplicating workflow (#2399) 2023-08-04 18:08:18 -07:00
被雨水过滤的空气-Rain
8615804b6f
refactor: should not trigger event of row when clicking in drawer (#2400)
* refactor: should not fire event if row when clicking in drawer

* refactor: rename
2023-08-04 06:31:50 -07:00
katherinehhh
457082ffa1
refractor(remote-select): association field data scope merge with original filter conditions (#2118)
* fix:  deleting the last field from  sub table, the entire table will be deleted

* refactor: association select support data scope in sub-table

* refactor: locale improve

* style: sub-table style improve

* refactor: code improve

* chore: association field data scope

* refactor: code improve

* refactor: code improve
2023-08-04 18:07:58 +08:00
katherinehhh
5ef8fe7848
fix: params undefined (#2397) 2023-08-04 17:14:29 +08:00
katherinehhh
cd3c93a11d
refactor:the default value of the built-in field should not be required (#2115)
* fix: the default value of the built-in field in users collection should not be required

* refactor: code improve

* fix: the default value of the built-in field in users collection should not be required

* refactor: code improve
2023-08-04 16:29:13 +08:00
katherinehhh
dcee24a1b0
refactor: table select record restricted the usage association field (#2338)
* refactor: table select recordrestricted the usage association field

* refactor: table select recordrestricted the usage action

* refactor: code improve

* refactor: code improve

* fix: code improve

* refactor: code improve
2023-08-04 15:20:06 +08:00
katherinehhh
e3b0f13923
fix: useVariablesCtx (#2390) 2023-08-04 11:29:42 +08:00
katherinehhh
c7a30c314c
fix: customized create action supports tree data for table selection data (#2328)
* fix: customized add action in table selection data supports tree data

* fix: customized add action in table selection data supports tree data
2023-08-04 11:06:03 +08:00
katherinehhh
364ed9a152
fix: resource undefined (#2372) 2023-08-04 11:01:17 +08:00
katherinehhh
45a5cdc643
refactor: remoteSelect support non object value (#2375) 2023-08-04 11:00:30 +08:00
katherinehhh
5480167827
fix: linkagerule copy data mutual influence (#2333) 2023-08-04 10:58:53 +08:00
katherinehhh
d6cc87d9a2
refactor: association field support sorting rules in sub-table (#2326)
* refactor: association field support sorting rules in sub-table

* refactor: code improve
2023-08-04 10:56:34 +08:00
katherinehhh
d333ad201a
feat(association-field): association field support sub-form(popover) (#2373)
* refactor: association field support sub-form(popover)

* refactor: code improve

* refactor: code improve

* refactor: sub-table support field component cinfig

* refactor: sub-table support field component cinfig

* refactor: sub-table support field component cinfig

* refactor: code improve

* refactor: code improve

* refactor: useAssociationNames

* refactor: locale improve

* refactor: locale improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* fix: code improve

* refactor: code refactor

* style: style improve

* Update database.ts

* refactor: code imporve

* refactor: code imporve

* style: style improve

* style: style improve

* refactor: code imporve

* style: style improve

* refactor: code imporve

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-08-04 09:48:03 +08:00
katherinehhh
d84c52618d
fix(markdowm): markdown style hook error reporting (#2380)
* fix: markdown style hook report error

* fix: markdown style hook report error

* fix: markdown style hook report error

* Update database.ts

* refactor: be better

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Rain <958414905@qq.com>
2023-08-04 09:37:06 +08:00
katherinehhh
316b12a4ba
fix: currentObject can not loadData (#2385) 2023-08-03 17:42:26 +08:00
Dunqing
495c2209c2
feat: association blocks support GridCard and List blocks (#2356)
* feat: association blocks support `GridCard` and `List` blocks

* fix: incorrect schemas

* fix: use RecordProvider instated of RecordSimpleProvider
2023-08-02 16:00:11 +08:00
Dunqing
a2fe6ab18d
fix(plugin-mobile): the layout is incorrect (#2360) 2023-08-02 15:59:32 +08:00
chenos
9251fe015f chore(versions): 😊 publish v0.12.0-alpha.3 2023-08-02 11:25:57 +08:00
chenos
6ae22cea68 chore(versions): 😊 publish v0.12.0-alpha.2 2023-08-02 02:25:49 +08:00
chenos
93f2bc2e67 chore(versions): 😊 publish v0.12.0-alpha.1 2023-08-02 00:10:42 +08:00
jack zhang
5df3b0e75d
refactor!: plugins build and plugins load (#2253)
* refactor: plugin build and plugin template

* refactor: plugins' deps

* refactor: plugins bugs

* feat: add plugin static middleware

* fix: bugs

* refactor: frontend plugin add from remote

* refactor: delete useless app/client/plugins

* fix: requirejs move to local

* fix: tests case

* refactor: add src/client and src/server dir check

* fix: lodash tree shaking

* refactor: add BUILD_TIP

* refactor: add file size tip

* fix: bugs

* fix: bug

* fix: change china-division

* fix: change plugins response

* fix: recover dynamicImport

* fix: change server src entry

* fix: test error

* fix: plugins sourcemap => false

* fix: production file error

* refactor: change build tools to vite and tsup

* fix: yarn.lock

* fix: bugs

* fix: server build bugs

* fix: delete .fatherrc.ts

* fix: bug

* fix: bug

* fix: bugs

* fix: bugs

* fix: bugs

* refactor: add plugin d.ts

* refactor: delete fatherrc

* refactor: delete father scripts

* refactor: build bug

* fix: bug

* fix: deps adjust

* fix: add build tips

* fix: bug

* refactor: ignore plugins when build client

* docs: update doc

* refactor: docs and build

* fix: bug

* refactor: build deps

* fix: add USER_REMOTE_PLUGIN env

* feat: add plugin static cache

* feat: add build deps cache

* fix: bugs

* test: add test

* fix: add plugin depden on plugin tip

* fix: adjust shouldDevDependencies

* fix: deps

* fix: ajust deps

* fix: mobile style error

* fix: map error

* fix: test

* fix: bug

* feat: lodash and dayjs import from themself

* feat: @emotion/css 、ahooks and lodash to global

* fix: theme-editor plugin error

* fix: review

* feat: move all plugins' dependencies to devDependencies

* feat: change build

* feat: add devPlugins

* fix: bug

* fix: bugs

* fix: bugs

* fix: bugs

* feat: build bugs

* fix: bugs

* fix: bugs

* fix: review

* fix: bug

* fix: change deps build

* fix: bugs

* fix: bug

* fix: bug

* fix: bugs

* fix: bug

* fix: bug

* fix: multi language

* fix: dist

* fix: cronstrue

* fix: getPackageClientStaticUrl

* fix: antd dayjs locale

* fix: plugin' d.ts import from dist

* fix: multi language

* fix: build types error

* fix: requireModule

* fix: plugin lifecycle

* fix: client resource

* fix: improve code

* fix: locale

* feat: custom build

* fix: require locale

* fix: improve code

* fix: improve code

* fix: skip preset

* fix: collection undefined

* feat: yarn build

* fix: remove enabled

* fix: update dockerfile

* fix: formily version

* docs: update v12 changelog

* fix: devDependencies

* feat: @nocobase/app

* feat: generateAppDir

* fix: improve code

* fix: 0.11.1-alpha.5

* fix: missing @nocobase/client

* fix: error

* fix: add .npmignore

* feat: upgrade antd version

* fix: dependencies

* fix: peerDependencies

* fix: remove china-division dep

* fix: toposort deps

* fix: update dockerfile

* fix: plugin template

* fix: app client outputPath

* feat: update docs

* fix: nginx server root

* fix: storage/.app-dev

* fix: getChinaDivisionData

* feat: plugin info

* feat: update docs

* fix: docs menu

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-08-02 00:07:52 +08:00
katherinehhh
cfa252bfb0
fix: modal will automatically close when configing fields to association field details in sub-table (#2371) 2023-08-01 21:20:34 +08:00
被雨水过滤的空气-Rain
4e4c4eae27
fix(default-value): should not show 'N/A' when a normal value is selected. (#2365)
* fix(default-value): fix N/A

* fix: fix invalid selection
2023-08-01 16:19:15 +08:00
被雨水过滤的空气-Rain
0fe5b5367a
chore: upgrade antd to 5.7.3 (#2359)
* chore: upgrade antd to 5.7.3

* chore: fix build

* chore: fix build
2023-08-01 11:51:30 +08:00
katherinehhh
18bf6e507e
refactor(association field): association field support tag field mode (#2251)
* refactor: association field support tag field mode

* refactor: association field support tag field mode

* refactor: locale improve

* refactor: color field

* refactor: locale improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: colorPicker refactor

* refactor: colorPicker refactor

* fix: color field failed to config  defaultValue

* style: style improve

* refactor: code improve

* fix: merge bug

* refactor: color field defaultValue

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-31 16:23:04 +08:00
katherinehhh
8f1d0d80af
refactor: form data templates and depulicate action support sync from form fields (#2314)
* refactor: sync from form fields

* refactor: sync from form fields

* refactor: sync from form fields

* refactor: data fields

* refactor: traverseFields

* refactor: traverseFields

* refactor: locale improve

* fix: merge bug

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: depulicate action support sync form form fields

* refactor: code refactor

* refactor: direct duplicate support select all

* refactor: code improve

* refactor: code improve

* refactor: hasOne and hasMany avaliable for deplicate

* refactor:  code improve

* refactor: locale improve

* refactor: code improve

* refactor: code improve
2023-07-31 16:17:18 +08:00
katherinehhh
23cd6bb4ed
fix: inheritd association field failed to get detail data (#2354) 2023-07-31 10:42:54 +08:00
被雨水过滤的空气-Rain
b22207b180
feat: support JSONB (#2321)
* chore: yarn.lock

* feat: add jsonb option in field drawer

* feat: only postgres can use JSONB

* chore: add test

* refactor: make better

* fix: fix build

* fix: fix build

* fix: should disable JSONB on editing field
2023-07-30 09:51:39 +08:00
chenos
40c4aab507 chore(versions): 😊 publish v0.11.1-alpha.5 2023-07-29 20:25:18 +08:00
chenos
656287e57b fix: update yarn.lock 2023-07-29 20:24:07 +08:00
Rain
3c7b3f3caf refactor: make testing more stable 2023-07-29 19:01:14 +08:00
chenos
b93f28a952 chore(versions): 😊 publish v0.11.1-alpha.4 2023-07-29 09:11:52 +08:00
chenos
167fa4bd67 fix: lock formily version 2023-07-29 09:11:10 +08:00