Commit Graph

931 Commits

Author SHA1 Message Date
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
Rain
e7ade9ee12 chore: make testing more stable 2023-07-28 11:02:26 +08:00
被雨水过滤的空气-Rain
880f7ed7e4
refactor: upgrade @testing-library/react to 14.x (#2339)
* refactor: upgrade @testing-library/react to 14.x

* refactor: optimize test
2023-07-28 09:58:49 +08:00
katherinehhh
e8c9164b5d
fix: sub-form record provider data failed to matching (#2337) 2023-07-27 22:38:10 +08:00
chenos
81819f04e3 chore(versions): 😊 publish v0.11.1-alpha.3 2023-07-26 17:37:20 +08:00
YANG QIA
0de4458936
chore: improve FormProvider (#2322) 2023-07-26 15:32:59 +08:00
katherinehhh
673ea808b0
fix: collectionField undefined (#2320) 2023-07-26 10:18:02 +08:00
YANG QIA
78bfcba24f
fix(bi): issue of dnd (#2315) 2023-07-25 20:45:01 +08:00
chenos
c8b1668dc0 fix: collectionField interface undefined 2023-07-25 18:58:42 +08:00
被雨水过滤的空气-Rain
17ad645e45
feat(filter-block): support foreign key and inheritance (#2302)
* feat: support foreign key

* feat: inherit

* fix: exclude belongsTo

* fix: should get all collection names on inherit chain
2023-07-25 18:17:17 +08:00
Junyi
e27c72e8b0
fix(plugin-workflow): fix styles (#2316) 2023-07-25 01:41:42 -07:00
dijoux
a80815c5ad
Feat/translation fr_FR (#2275)
* feat: client and plugin translation FR

* fix: fr translation

* fix: fr translation
2023-07-25 15:04:35 +08:00
katherinehhh
18900d54f4
feat: customize action support create record for any collection (#2264)
* feat: customize button support customize add record

* refactor: code improve

* refactor: schemaSetting default value

* refactor: schemaSetting default value

* refactor: schemaSetting default value

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: locale improve

* refactor: code improve

* fix: fix style of default variable input (T-1154)

* fix: merge bug

---------

Co-authored-by: Rain <958414905@qq.com>
2023-07-25 14:51:45 +08:00
katherinehhh
b42e3b4042
refactor: form data template support data scope config (#2229)
* refactor: data template support data scope config

* refactor: data template support data scope config

* refactor: locale improve

* refactor: code improve

* refactor: data template config data scope and title field should  linkage with collection field

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: locale improve

* refactor: locale improve

* refactor: code improve
2023-07-25 14:42:30 +08:00
katherinehhh
1f8e0284fb
refactor: sub-table acl ignore (#2259) 2023-07-25 14:01:54 +08:00
katherinehhh
137e3eb171
refactor: date field UI supports configuration formatting (#2241)
* refactor: support format in datetime field

* refactor: support format config  in datetime field

* fix: datetime field support dateformat config

* fix: datetime field support dateformat config

* refactor: table column support date format config

* refactor: table column support date format config

* refactor: table column support date format config

* refactor: code improve

* refactor: code improve

* fix: merge bug

* fix: merge bug

* style: style improve

* Update index.tsx

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: locale improve

* refactor: locale improve

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-25 13:51:50 +08:00
katherinehhh
d8befa75c6
refactor: table column field provider optimize (#2312) 2023-07-25 09:42:59 +08:00
katherinehhh
4a7e44f686
fix: table column field undefined fix (#2311) 2023-07-25 09:23:32 +08:00
katherinehhh
d068f9b5df
fix: table column field failed to be actived (#2309) 2023-07-24 23:59:17 +08:00
被雨水过滤的空气-Rain
68976e0ebe
fix(default-value): fix tag in RemoteSelect (#2306) 2023-07-24 16:24:15 +08:00
katherinehhh
7ed4ae5018
fix: modal not displayed when clicking on the association field in the table (#2292) 2023-07-23 19:53:09 +08:00
chenos
c84476d805 chore(versions): 😊 publish v0.11.1-alpha.2 2023-07-23 12:44:50 +08:00
chenos
e979194cf2 chore(versions): 😊 publish v0.11.1-alpha.1 2023-07-22 12:50:04 +08:00
Rain
8c904363ad fix(theme-editor): fix color of menu when it is selected 2023-07-21 13:02:19 +08:00
Rain
8196e164a5 fix(theme-editor): fix color of UI settings and Header 2023-07-21 11:52:46 +08:00
ChengLei Shao
08b2f374c8
feat(database): handle targetCollection option in repository find (#2175)
* test: return child collection when get with filterByTk

* refactor: targetCollection

* chore: target collection args in repository find

* feat: handle targetCollection option in repository find

* feat: get child target at belongs to many association

* chore: build

* chore: build

* chore: test

* refactor: targetcollection

* test: belongs to association with targetCollection

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* feat: update with targetCollection option

* feat: inject target collection options at repository update

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-21 10:51:56 +08:00
被雨水过滤的空气-Rain
aab3fafd9b
fix: fix sorting of user menu (#2288) 2023-07-21 10:39:58 +08:00
被雨水过滤的空气-Rain
4f5ec0a581
feat(theme-editor): support to config Header's color and Settings button's color (#2263)
* feat: add color options to theme editor

* feat: add default theme

* refactor: optimize

* feat: support to change color of UI settings

* fix: fix menu background color

* fix: fix color of UI settings

* feat: support to set alpha

* refactor: migrate style to a file

* feat: support colorBgSettingsHover and colorBorderSettingsHover

* feat: adapt settings color

* fix: should be reset together

* feat: compat old theme
2023-07-21 10:38:56 +08:00
katherinehhh
d2a9e4acee
fix: the drop-down multiple selection fields are not displayed as title fields when inherited collection (#2257)
* fix: inherit field override association field option field

* fix: inherit field override association field option field
2023-07-20 10:56:26 +08:00
被雨水过滤的空气-Rain
1f91ebc65e
test: make testing more stable (#2277) 2023-07-19 16:49:49 +08:00
YANG QIA
4333972deb
fix(client): using component as action title (#2274) 2023-07-19 12:00:02 +08:00
katherinehhh
d36b9e366a
fix: linkage failed with current date variable (#2272)
* fix: linkage failed with current date variable

* fix: linkage failed with current date variable
2023-07-19 10:13:20 +08:00
被雨水过滤的空气-Rain
a57b4a8359
fix: fix style of page tab (#2270) 2023-07-19 09:41:22 +08:00