Commit Graph

57 Commits

Author SHA1 Message Date
chenos
f6add23da5 feat(collection-manager): inverse fields can be configured (#883)
* feat: inverse field

* feat: improve code

* feat: translations

* fix: required

(cherry picked from commit 306dca8e5e)

# Conflicts:
#	packages/core/client/src/locale/zh_CN.ts
2022-10-13 12:37:29 +08:00
lyf-coder
7b371706ef fix(formula): support integer and fix NaN error (#879)
* fix(formula): support integer and fix NaN error

* style(formula-input): remove debugger

(cherry picked from commit 86f24a35ec)
2022-10-13 12:36:46 +08:00
Junyi
e82c1f0243 feat(database): add sequence field type (#779)
* feat(database): add serialString field type

* feat(database): add serial string type field ui (skip ci)

* test(feat/database): test field options

* docs: demo

* fix(database): fix array table field behavior

* fix(database): fix serial type interface ui

* fix(database): add match logic for patterns changes

* fix(database): fix serial type query last bug in mysql

* refactor(database): refactor last record logic

* chore: revert modification on unnecessary file

* refactor(database): rename serialString type to sequence

Co-authored-by: chenos <chenlinxh@gmail.com>
(cherry picked from commit 32c90b4eec)
2022-10-13 12:15:45 +08:00
chenos
2277e40290 fix(collection-manager): o2m is array type
(cherry picked from commit 5de69d26ea)
2022-10-13 12:15:06 +08:00
chenos
f9f8dc78f4
refactor: plugin manager (#775)
* feat: dynamic import plugin client

* refactor: pm

* chore: improve cli

* feat: improve code

* feat: update dependences

* feat: hello plugin

* fix: plugin.enabled

* fix: test error

* feat: improve code

* feat: pm command

* feat: add samples

* fix: redirect

* feat: transitions

* feat: bookmark

* feat: add pm script
2022-09-18 14:10:01 +08:00
chenos
2e8d27bf42
fix: number storage type changed to double (#810) 2022-09-06 11:40:26 +08:00
Junyi
a1dc139cf4
feat(plugin-cm): add unique option for base fields (#745)
* feat(plugin-cm): add unique option for base fields

* refactor(plugin-cm): make sure unique constraint sync with field option

* fix(plugin-cm): fix sqlite unique field sync

* fix(plugin-cm): fix unique constraint sync logic

* refactor(plugin-cm): remove unique property for select components

* fix: previous

* fix: test error

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-08-20 23:23:13 +08:00
chenos
03538ee82f fix(collection-manager): update collection without fields 2022-08-15 13:09:41 +08:00
SemmyWong
538a28d0bd
fix: sync table sort to export (#723) 2022-08-11 22:22:24 +08:00
金昶
f4f35bdb43
feat: default value (#679)
* feat: default value

* feat: add global default value

* fix: field default value should be updated

* feat: adjust defaultValue logic

* feat: add hasDefaultValue property

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-08-03 09:32:16 +08:00
chenos
827c324be3
feat: uid validate (#681) 2022-07-26 10:07:35 +08:00
chenos
fad794b647 fix: hide password 2022-07-25 22:31:11 +08:00
SemmyWong
9f7f482aa4
fix: field loss enum (#667) 2022-07-25 09:41:32 +08:00
chenos
22a4f0127d fix: wrong operator 2022-07-21 09:41:01 +08:00
金昶
5d76b996ca
feat: restore action-hooks (#655) 2022-07-20 14:09:58 +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
金昶
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
chenos
e3b6c0513a
feat: filter with variable (#574) 2022-07-04 17:50:18 +08:00
chenos
9928424f5a feat(client): integer field 2022-07-01 09:35:36 +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
金昶
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
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
金昶
88dc2db0f2
Fix field pattern (#520)
* fix: field pattern

* fix: remove console.log
2022-06-22 13:41:21 +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
1c03fbb853 fix(client): improve datepicker component, date with time zone, gmt support 2022-06-16 22:50:09 +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
金昶
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
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
金昶
a98213e2cd
feat: relation field uiSchema (#487)
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-06-09 12:36:22 +08:00
金昶
1b45f5366c
feat: change FK to input component (#488)
* feat: change FK to input component

* feat: change FK to input component

* fix: compile label

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-06-09 12:25:09 +08:00
chenos
000e4e50b8
feat: relationships (#473)
* feat: relationship fields

* feat: improve schema
2022-06-05 22:46:14 +08:00
金昶
d6d14459ed
fix: formula field and percent field (#467)
* fix: formula field & percent field

* fix: percent field

* fix: percent field
2022-06-04 21:38:08 +08:00
金昶
b9ba44f36e
fix: update formula field and percent field (#461)
* feat: update formula field and percent field

* fix: remove console

* fix: percent component & formula-field
2022-06-03 22:14:34 +08:00
金昶
efc4301be6
feat: add formula field type (#457)
* feat: add formula field type

* feat: issue for useCollectionField

* feat: add formula field type

* feat: add formula field type
2022-06-02 14:33:37 +08:00
金昶
e51feafe53
fix(client): select component cannot be opened in sub-table block (#431) 2022-05-29 11:52:25 +08:00
chenos
aae11b6e1f fix(client): add description 2022-05-25 10:58:20 +08:00
chenos
cfd2b50a91 feat(client): add a description to the junction collection field 2022-05-25 10:29:33 +08:00
SemmyWong
4cc162d1c1
feat: add custom action (#396)
* feat: add custom operation

* feat: add custom operation

* fix: fix cancel button hide popup

* refactor: save part schema of ActionModal

* fix: can not refresh ui

* fix: save part schema

* fix: revert code

* fix: fix pop up

* fix: fix pop up

* feat: add form custom

* fix: acl allow plugins:getPinned

* fix: add pop up

* feat: fix show callback

* fix: update data

* refactor: reviert code

* fix: update text

* feat: finish table custom operation

* feat: add form custom operation

* fix: refresh update date

* refactor: remove default button design item

* fix: refresh form values

* fix: remove default edit action design item

* fix: fix save form values logic error

* refactor: refactor code

* fix: format schema

* fix: table and form update will change all data

* fix: insert schema non refresh

* fix: fix remote load schema

* fix: fix non request while uid unchange

* fix: locale change

* fix: change x-action to customizePopup

* fix: support custom action modal tip content

* refactor: refactor custom operation

* fix: remove form.setValues

* fix: remove stopPropagation

* feat: improve translation

* feat: popup

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-05-21 15:08:11 +08:00
chenos
13248af671 fix: invalid drag and drop sort 2022-04-30 13:51:26 +08:00
SemmyWong
4612739021 fix: thumbnail image in kanban card (#338)
* fix: thumbnail image in kanban card

* Update attachment.ts

* Update Kanban.Card.Designer.tsx

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-04-29 20:59:37 +08:00
chenos
d32261bb88 fix: content loading 2022-04-24 12:39:23 +08:00
chenos
1f04f90a00 feat: translations 2022-04-23 11:55:33 +08:00
chenos
5c0184a397 feat: translations 2022-04-22 23:58:19 +08:00
chenos
01134f8253 fix: allow collection provider to be null 2022-04-22 11:13:06 +08:00
chenos
f2a3cef3cf fix: hide collections & fields if not exist 2022-04-21 18:08:18 +08:00