Commit Graph

301 Commits

Author SHA1 Message Date
Dunqing
c697ef85a6
refactor: replace react-drag-listview with @dnd-kit/sortable (#660)
* refactor: replace react-drag-listview with @dnd-kit/sortable

* fix: components are different every time

* fix: incorrect border line

* fix: when dragging is enabled for the first time, dragging is invalid

* fix: the items property of SortableContext must be an array of strings

* fix: onRowDragEnd may be non-exists

* fix: incorrect row key

* feat: wrap SortableContext only when dragging is enabled

* fix: improve logic
2022-07-25 19:34:29 +08:00
金昶
5b61587a39
feat: o2m delete not refresh (#646)
* feat: o2m delete not refresh

* feat: add TableField judgment
2022-07-25 10:41:28 +08:00
金昶
c86b6f9a06
feat: kanban add description (#659)
* feat: kanban add description

* fix(client): update translations

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-25 10:40:27 +08:00
SemmyWong
9f7f482aa4
fix: field loss enum (#667) 2022-07-25 09:41:32 +08:00
Neal
73d4b15040
feat: add editor hot key Ctrl+Shift+U (#675)
* feat: menu tooltip add subtitle

* feat: add editor hot key ctrl+shift+E

* feat: add editor hot key ctrl+shift+E

* feat: add editor hot key ctrl+shift+E

* feat: add editor hot key ctrl+shift+E

* feat: add editor hot key Ctrl+E+D

* feat: add editor hot key Ctrl+Shift+U

Co-authored-by: yangpeng <oncwnuFixr6B9ykxIme1UJHE_1U8@git.weixin.qq.com>
2022-07-25 09:24:34 +08:00
Neal
54f993f327
fix: Fix calendar change field error (#626) (#671)
* fix: calendar change field throw error

* fix: calendar change field throw error

* fix: calendar change field throw error

* Update Calendar.Designer.tsx

Co-authored-by: up_young <roc_up_young@163.com>
Co-authored-by: yangpeng <oncwnuFixr6B9ykxIme1UJHE_1U8@git.weixin.qq.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-23 18:19:07 +08:00
金昶
705e6fc743
feat: number precision (#661)
* feat: number precision

* feat: add test cases

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-22 08:38:35 +08:00
金昶
341114ffd7
feat: form item designer form switch issue (#656) 2022-07-21 22:43:05 +08:00
chenos
22a4f0127d fix: wrong operator 2022-07-21 09:41:01 +08:00
chenos
83f2e19ef3
chore(versions): 😊 publish v0.7.3-alpha.1 (#657) 2022-07-20 15:28:13 +08:00
chenos
75808f92df fix(client): hide modal header 2022-07-20 14:46:55 +08:00
SemmyWong
21619f53c5
feat: print action (#652)
* feat: print done

* fix: modify print content

* refactor: optimize the print feature

* refactor: change formRef to formBlockRef
2022-07-20 14:12:18 +08:00
金昶
5d76b996ca
feat: restore action-hooks (#655) 2022-07-20 14:09:58 +08:00
金昶
da52cffb91
feat: collections&fields pagination issue (#653) 2022-07-19 22:52:38 +08:00
金昶
a60759b2eb
feat: remove table field details actions (#638) 2022-07-17 13:30:42 +08:00
金昶
ffff6436ac
fix: link to default value (#641)
* fix: link to default value

* Update InputRecordPicker.tsx

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-17 13:11:51 +08:00
chenos
600f13f4a0 fix(client): build error 2022-07-16 15:49:34 +08:00
金昶
9df35933d2
feat: support for displaying relational table fields in details or form blocks (#635)
* feat: m2o association field

* feat: add ReadPrettyForm support
2022-07-15 11:31:09 +08:00
金昶
a521231a25
fix: record picker cannot select from different pages (#623)
related issue #563
2022-07-15 11:23:54 +08:00
chenos
c51c6c097f feat(client): plugin toolbar icons and translations 2022-07-15 10:50:04 +08:00
Dunqing
0f0f852fa7
fix: dragging an element to the left, right, or bottom would cause the element to disappear (#620)
* fix: dragging an element to the left, right, or bottom would cause the element to disappear

* fix: remove console

* fix: avoid request api

* Revert "fix: remove console"

This reverts commit 143c9ebc4f.

* Revert "fix: dragging an element to the left, right, or bottom would cause the element to disappear"

This reverts commit 26c55e2257.

* feat: does not hide ColDivider when Bloack length > 1
2022-07-15 10:39:07 +08:00
Ayden
205c23b656
feat: table action add reload button (#630)
* feat: table action add reload button

* feat: reload => refresh

* feat: reload icon
2022-07-14 20:58:21 +08:00
金昶
c9dfc2682c
feat: improve language settings (#627)
* feat: fix system local setting

* feat: improve language settings

* fix: improve code

* feat: update doc

* feat: add migration

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-14 20:57:26 +08:00
SemmyWong
c8bd2c7317
feat: field assignment for custom actions supports string variables (#597)
* fix: temporary solution to APP crash

* feat: support dynamic assigned field value

* feat: support dynamic assigned field value

* fix: useFields filter

* fix: dynamic assigned value

* fix: dynamic assigned value

* fix: fix china region export

* fix: fix china region export

* fix: change assign value data

* fix: custom request use parse instead of SchemaCompile

* fix: allow user attribute to be selected

* fix: allow DATE field to be select currentUser or CurrentRecord

* fix: allow DATE field to be select currentUser or CurrentRecord

* fix: change style

* feat: package dependencies

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-13 15:05:46 +08:00
chenos
20ab8c1501 fix(client): blocks are deleted when they are dragged below the current block 2022-07-13 12:52:59 +08:00
chenos
057e1d0039
fix: skip recursive remove on grid component (#621)
releated issue: #383
2022-07-12 20:44:21 +08:00
金昶
5f9d5436e7
feat: fix time and collection pagination (#618)
* feat: fix time and collection pagination

* fix: timepicker read pretty

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-12 15:06:02 +08:00
金昶
8e5334bc9d
feat: recordblockinitializers fields pick (#558)
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-11 20:55:38 +08:00
Dunqing
45bcfe241c
fix: incorrectly :active background (#607) 2022-07-11 18:19:57 +08:00
金昶
ef0d60b683
fix: obo table selector (#613)
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-11 18:11:27 +08:00
金昶
2282ec1a2d
feat: form validator (#569)
* feat: form validator

* fix: max can equal min

* feat: adjust input validation rule

* feat: improve field validation

* feat: optimize field validation

* feat: improve field validation

* fix: percent validation

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-11 17:23:19 +08:00
金昶
68d35cf597
fix: table selector (#612) 2022-07-10 10:15:12 +08:00
chenos
451d6ae974
chore(versions): 😊 publish v0.7.2-alpha.7 (#611)
* fix(cli): db sync error
* fix(cli): upgrade error
* feat: update docker image version
2022-07-10 00:41:36 +08:00
chenos
307c4ca1dc
chore(versions): 😊 publish v0.7.2-alpha.3 (#608) 2022-07-08 11:02:33 +08:00
chenos
654f0380b6
chore(versions): 😊 publish v0.7.2-alpha.2 (#606) 2022-07-07 18:38:30 +08:00
chenos
2bb8fd984f fix(g2plot): import all plots 2022-07-07 18:02:23 +08:00
chenos
a0c021202e
fix: field permissions cannot be saved (#605)
resolve #599
2022-07-07 17:46:19 +08:00
chenos
ba5fb97d1e feat: function for chart data request 2022-07-05 16:56:21 +08:00
chenos
1e7746292f
chore(versions): 😊 publish v0.7.2-alpha.1 (#578)
* chore(versions): 😊 publish v0.7.2-alpha.1

* feat: update docker image version
2022-07-05 09:55:22 +08:00
chenos
592f6a423b fix: improve filter item styling 2022-07-04 20:32:18 +08:00
chenos
075426471e fix(collection-manager): missing collection manager context 2022-07-04 20:06:18 +08:00
chenos
e3b6c0513a
feat: filter with variable (#574) 2022-07-04 17:50:18 +08:00
SemmyWong
4e9384bce2
fix(client): comment out useless code 2022-07-01 22:00:00 +08:00
chenos
9928424f5a feat(client): integer field 2022-07-01 09:35:36 +08:00
chenos
e5793cbbcb fix(client): maximum call stack size exceeded (#554) 2022-06-30 09:22:16 +08:00
Junyi
4a3cb6e65f
Refactor(plugin workflow): move client files into plugin (#556)
* refactor(plugin-workflow): move client files into plugin

* fix(client): fix package path block build

* test(plugin-workflow): trigger ci
2022-06-29 23:42:03 +08:00
chenos
017c6f232d fix(client): cannot read properties of undefined (reading 'target') 2022-06-29 23:04:49 +08:00
chenos
947215f96d fix(client): cannot read properties of undefined (reading 'split') 2022-06-29 22:39:55 +08:00
chenos
008a7f7f33 fix(workflow): merge workflow providers 2022-06-29 17:32:10 +08:00
chenos
0348392037 fix(workflow): load workflow after application initialization 2022-06-29 17:19:10 +08:00
Junyi
8f0ea6c3c0
fix(plugin-workflow): fix select width (#552)
* fix(plugin-workflow): fix select width

* test(plugin-workflow): skip schedule cases
2022-06-29 14:30:33 +08:00
金昶
44f23ca920
feat: compatible with old kanban (#553)
* feat: compatible with old kanban

* feat: replace KanbanV2 to Kanban
2022-06-29 14:17:42 +08:00
chenos
dbcbe6aea7 fix(client): consider explicitly re-exporting to resolve the ambiguity 2022-06-29 13:14:34 +08:00
金昶
32e744319e
feat: display association fields (#512)
* feat: association field features

* fix: remove comments

* fix: association field in creation form will trigger error

* fix: column decorator title

* fix: column designer title

* fix: association field in table

* feat: adjust documents

* fix: remove m2o subfield mode

* fix: adjust title field display condition

* fix: relation field title bug

* fix: o2m multiple is true

* feat: association fields are loaded on demand

* fix: support sub field

* feat: remove FormField require config

* fix: two lines in Columns config menu of table block

* fix: could not find schema node

* fix: add form context to internal table block

* fix(client): non-empty judgment

* feat: translations

* fix: add / edit field title compile

* fix: unique

* fix: association feature bugs

* feat: add oho & o2m selector filter

* fix: add field added logic in FormField and TableField

* fix: remove updateAssociationValues middleware

* feat: recordprovider in association fields

* feat: add kanban association appends

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-06-29 12:57:43 +08:00
Junyi
fdb7b4c664
fix(plugin-workflow): clear options when change collection (#547) 2022-06-28 18:48:16 +08:00
Junyi
4a8c9c8d87
feat(plugin-workflow): add race mode (#542)
* feat(plugin-workflow): add race mode

* fix(plugin-workflow): fix test cases

* fix(plugin-workflow): fix node create action
2022-06-28 17:00:19 +08:00
Junyi
3e8a80a3ae
fix(client): change toArr to _.castArray in select component (#543) 2022-06-28 10:08:24 +08:00
chenos
a8f951dfab
chore(versions): 😊 publish v0.7.1-alpha.7 (#539)
* fix(cli): upgrade from docker

* chore(versions): 😊 publish v0.7.1-alpha.6

* fix: export bug

* chore(versions): 😊 publish v0.7.1-alpha.7

* docs: update release notes
2022-06-26 11:25:13 +08:00
chenos
c9159c6cf4 chore(versions): 😊 publish v0.7.1-alpha.5 2022-06-26 07:36:22 +08:00
chenos
570d039f19 chore(versions): 😊 publish v0.7.1-alpha.4 2022-06-26 07:21:10 +08:00
chenos
cd5bd09c50
chore(create-nocobase-app): fix some bugs (#538)
* fix: tsconfig

* chore(versions): 😊 publish v0.7.1-alpha.1

* fix: update gitHead

* fix: update gitHead

* chore(versions): 😊 publish v0.7.1-alpha.2

* fix: update client/server entry file

* chore(versions): 😊 publish v0.7.1-alpha.3

* fix: check core dir

* fix: missing core dir

* feat: relationship fields are loaded on demand
2022-06-26 07:19:03 +08:00
chenos
4184f12457 feat: relationship fields are loaded on demand 2022-06-26 00:27:18 +08:00
Junyi
ef939b4277
feat(plugin-workflow): add delay node type (#532)
* feat(plugin-workflow): add delay node type

* fix(plugin-workflow): fix test and add cases

* fix(plugin-workflow): fix processor.saveJob()
2022-06-24 23:28:49 +08:00
chenos
3dce31f6a1
refactor: client application (#533)
* refactor: client application

* feat: application

* fix: improve code

* fix: app plugin

* fix: app plugin

* fix: china region plugin
2022-06-24 21:19:57 +08:00
SemmyWong
33a08288c0
fix: add ellipsis property to record picker (#527)
* fix: the association fields of table text is overflow

* fix: add m2o ellipsis

* fix: add Kanban ellipsis

* fix: change KanbanV2 to Kanban

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-06-23 22:23:45 +08:00
金昶
e65ed6dfa1
fix: remove pattern without form item (#528) 2022-06-23 16:10:24 +08:00
chenos
4481109b1e fix(client): update only fields in the form 2022-06-23 15:54:07 +08:00
chenos
9314bcd9f2 fix(client): remove z-index 2022-06-23 09:43:22 +08:00
chenos
3f6f510e4f fix(client): non-empty judgment 2022-06-22 23:06:41 +08:00
chenos
529380fb69 fix(client): close the pop-up after request 2022-06-22 14:10:30 +08:00
SemmyWong
a8ce758cab
fix: action loading, refresh context, form submit and validate (#523) 2022-06-22 13:41:45 +08:00
金昶
88dc2db0f2
Fix field pattern (#520)
* fix: field pattern

* fix: remove console.log
2022-06-22 13:41:21 +08:00
Junyi
19987c5846
fix(plugin-workflow): fix searchable select min-width (#524) 2022-06-22 11:13:00 +08:00
金昶
929dd9b22e
fix: template with fields only (#517) 2022-06-22 10:37:18 +08:00
Junyi
2b3f3bd5c3
fix(plugin-workflow): fix update workflow current property (#521) 2022-06-21 21:43:30 +08:00
chenos
151c3a32b8 feat: improve chart component 2022-06-21 11:30:37 +08:00
金昶
553088e839
feat: column sortable and form item pattern (#518) 2022-06-20 16:48:52 +08:00
chenos
2b0c7384f2 feat(client): display option value 2022-06-20 11:57:30 +08:00
chenos
9b6c2ff7ec fix(china-region): typo 2022-06-19 23:22:09 +08:00
chenos
5b5e5c0852 feat(client): hide drawer header 2022-06-19 16:45:20 +08:00
SemmyWong
95c750db15
fix(custom-request): support string/json templates (#514)
* fix: request api support  dynamic custom

* fix: scope undefined will not work

* fix: use formily compile

* fix: user may be null

* fix: export add context
2022-06-19 14:06:31 +08:00
金昶
99fdc83dae
feat: add block title (#513) 2022-06-18 20:01:30 +08:00
chenos
34e17004c5
feat: improve migrations (#510)
* feat: improve upgrade

* feat: addMigrations

* fix: get version

* feat: retry

* feat: migration context

* feat: get the version number from the server
2022-06-17 10:25:59 +08:00
chenos
1d2b46ea1b docs: update doc 2022-06-17 08:49:08 +08:00
chenos
1c03fbb853 fix(client): improve datepicker component, date with time zone, gmt support 2022-06-16 22:50:09 +08:00
chenos
7a9bab9bab fix: datepicker with timezone 2022-06-16 16:38:12 +08:00
Junyi
bf11cff804
fix(client): consolidate usage of date/time as UTC in transfering (#509) 2022-06-16 16:33:40 +08:00
金昶
e0ed2aeb7c fix: formula bug 2022-06-15 21:28:51 +08:00
chenos
f97b72dc55 fix: sign in/sign up with enter key 2022-06-14 19:09:19 +08:00
chenos
e4352a3769 fix(client): percent precision 2022-06-14 15:56:31 +08:00
金昶
b91ca4420b
feat: association field block (#493)
* feat: association field block

* feat: association details block

* feat: template add resource name

* feat: add association calendar

* fix: update yarn.lock

* fix: remove useAssociationNames

* fix: restore useFilterByTk logic

* feat: client doc

* fix: resolveNocobasePackagesAlias

* fix: input textarea readpretty

* feat: styling

* fix: oho & obo

* fix: field-summary component remove to collection manager

* fix: translation

* feat: improve code

* fix(audit-logs): skip when collection does not exist

* feat: m2m

* fix: improve code

* fix: title field

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-06-14 15:46:48 +08:00
SemmyWong
d831a9b889
feat: plugin export (#479)
* feat: init export plugin

* feat: add client export

* fix: fix the word spell

* feat: export plugin done

* feat: init export plugin

* feat: add client export

* fix: fix the word spell

* feat: export plugin done

* ci: change plugin-export version

* refactor: renders add ctx params

* fix: fix select and multipleSelect export

* fix: array convert string

* refactor: move SchemaInitializerPluginProvider

* fix: build error

* fix: change umijs config

* fix: update SchemaInitializerPluginProvider

* fix: import server

* fix: fix some bug

* fix: fix some bug

* refactor: export plugin refactor

* refactor: create all export fields by default

* fix: fix export plugin bug

* fix(plugin-collection-manager): uiSchema toJSON

* fix: update yarn.lock

* fix: fix init fields bug

* refactor: enum params pass by client

* fix: fix export table header title

* refactor: refactor dataIndex

* fix: fix dataIndex maybe complex object

* fix: add checkboxGroup in export plugin

* fix: add checkbox and i18n

* feat: improve code

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-06-14 15:01:53 +08:00
chenos
e69257e346 feat: client doc 2022-06-14 10:56:29 +08:00
Junyi
b033c7214a
fix(client): package path (fix #503) (#504) 2022-06-13 15:00:06 +08:00
金昶
05d315115f
fix: create or delete collection error (#501) 2022-06-11 23:47:40 +08:00
金昶
3496126102
feat: update collections & fields (#500)
* feat: update collections & fields

* fix: restore phone

* fix: add phone type

* fix: just hide subTable in menu
2022-06-11 22:25:03 +08:00
Junyi
e4b13289d7
fix(client): set dropdownMatchSelectWidth to false globally (#497) 2022-06-10 23:27:35 +08:00
Junyi
9d5e2462d9
fix(client): no-key warning in user menu items (#496) 2022-06-10 22:19:52 +08:00
Junyi
082e27ff10
Feat(plugin workflow): cron field for schedule trigger configuration (#495)
* feat(plugin-workflow): add cron field component

* refactor(plugin-workflow): break schedule trigger into component files and add locale
2022-06-10 19:23:26 +08:00
chenos
3fa13d8465
feat: audit logs (#494)
* feat: audit logs

* feat: improve code

* feat: improve code

* feat: improve code

* feat: improve code

* feat: improve code

* fix: field load
2022-06-10 17:46:46 +08:00