Commit Graph

3140 Commits

Author SHA1 Message Date
katherinehhh
9241198da9
style:list and gridCard block style improve (#2087)
* style: list block style improve

* style: gridCard block style improve
2023-06-26 11:21:46 +08:00
被雨水过滤的空气-Rairn
ffcf9d2211
fix: fix designer button does not appear (#2120)
* refactor: convert to optional chain expresion

* fix: fix designer button does not appear
2023-06-26 11:03:42 +08:00
被雨水过滤的空气-Rairn
73f3929b4f
fix: fix the drop-down menu does not disapper (#2109)
* fix: should delay show menu to avoid the menu not hidden

* fix(mouseEnterDelay): change default value from 100 to 150

* chore: upgrade types for react

* fix: fix the drop-down menu does not disapper

* Revert "chore: upgrade types for react"

This reverts commit 7991d1c569.

* chore: ignore types check to avoid build error
2023-06-25 19:18:22 +08:00
Bierxiensi
55b3681bba
chore: fix typo (#2108) 2023-06-25 15:11:46 +08:00
Rairn
b2e71850f8 Revert "chore: upgrade types of react"
This reverts commit 78729bdc41.
2023-06-25 15:02:12 +08:00
Rairn
78729bdc41 chore: upgrade types of react 2023-06-25 14:47:59 +08:00
chenos
0e84d61b72 fix(grid): remove overflow-x: hidden 2023-06-25 14:29:47 +08:00
chenos
ce79e4dc5b chore: update changelog 2023-06-25 14:05:05 +08:00
chenos
83bf8ea3bb chore(versions): 😊 publish v0.10.0-alpha.3 2023-06-25 14:04:19 +08:00
katherinehhh
7c5df477f3
fix: deleting the last field from sub table, the entire table will be delete (#2077)
* 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
2023-06-25 14:01:52 +08:00
katherinehhh
2bbba7b7fa
fix(sub-table): inherited fields cannot be edited in a subtable (#2106)
* fix: inherit filed cant not edit in sub-table

* fix: inherit filed cant not edit in sub-table
2023-06-25 08:54:11 +08:00
Rairn
e3b84e855c fix: fix PageHeader 2023-06-24 22:39:51 +08:00
chenos
8b03dfa96b
fix(input-number): change step to 1 (#2104) 2023-06-24 17:15:59 +08:00
chenos
7bd3168422
fix: schema-uid-invalid (#2107) 2023-06-24 16:36:26 +08:00
chenos
40c1a2b2ce fix(client): migration error 2023-06-24 12:28:43 +08:00
Junyi
19341952b9
fix(plugin-workflow): fix branch and exit logic (#2103) 2023-06-23 08:21:19 -07:00
jack zhang
20f673a6b3
fix: create plugin cli error (#2102) 2023-06-23 15:54:48 +08:00
katherinehhh
480e499f67
fix: select options (#2101) 2023-06-23 12:00:59 +08:00
chenos
bdcbe7392f
chore(deps): bump formily from 2.2.24 to 2.2.26 (#2088)
* chore(deps): bump formily from 2.2.24 to 2.2.25

* chore(deps): bump formily from 2.2.25 to 2.2.26

* chore: update yarn.lock

---------

Co-authored-by: Rairn <958414905@qq.com>
2023-06-23 07:55:44 +08:00
katherinehhh
87e37757b3
fix(sub-table): allows configuration of "Display association fields" (#2073) 2023-06-23 00:10:39 +08:00
katherinehhh
ccfc9b8625
style: enable child collection modal style improve (#2100) 2023-06-22 22:03:42 +08:00
katherinehhh
cb52b80cf0
feat: data scope support variables for association fields (#2049)
* feat: association field support data scope

* refactor: association data scope

* refactor: association data scope local

* refactor: association data scope

* refactor: association data scope  code improve

* refactor: code improve

* fix: useFormVariable

* fix: useFormVariable

* chore: useFormVariable

* chore: useFormVariable

* chore: useFormVariable

* chore: useFormVariable

* refactor: locale improve

* refactor: locale improve

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-22 20:19:34 +08:00
被雨水过滤的空气-Rairn
6eed9ac2bb
refactor: fix warning of antd 4.x (#1998)
* refactor: fix warning by codemod

* refactor: fix warning of Dropdown

* perf: use memo

* refactor: resolve SchemaInitializer

* refactor: fix lint

* refactor: remove SettingsForm

* refactor: resolve SchemaInitializer

* refactor: fix lint

* refactor: move useMenuItem to root dir

* chore: fix conflicts

* refactor: resolve SchemaSetting

* refactor: fix lint

* test: fix failed

* chore: upgrade Vite

* fix: fix style

* refactor: fix lint

* refactor: extract component

* refactor: resovle Menu

* refactor: resolve Tabs

* refactor(getPopupContainer): should return the unique div

* refactor(Drawer): change style to rootStyle and className to rootClassName

* chore: update yarn.lock

* fix: fix T-432

* fix: fix T-338

* fix: fix T-490

* fix: collection fields

* fix: fix style

* fix: fix T-500

* fix: fix SettingMenu error (close T-516)

* fix: fix tanslation of Map (T-506)

* style: fix style (T-508)

* fix: fix schemaSetting switch of mobile (T-517)

* fix: fix T-518

* fix: fix T-524

* fix: fix T-507

* perf: optimize SchemaInitializer.Button

* perf: optimize SchemaSettings

* fix: fix serch of SchemaInitializer (T-547)

* chore: change delay

* fix: fix button style (T-548)

* fix: fix scroll bar

* fix: update yarn.lock

* fix: fix build error

* fix: should update sideMenu when change it

* fix: fix build error

* chore: mouseEnterDelay

* fix: fix group menu can not selected
2023-06-22 19:51:16 +08:00
Junyi
5fc5428d03
fix(plugin-workflow): fix job button style (#2098) 2023-06-21 08:03:54 -07:00
Dunqing
b80aaacb38
fix(mobile-client): fix multiple bugs and do some improvement (#2072) 2023-06-21 22:26:15 +08:00
Junyi
6254fceb04
fix(plugin-verification): fix duplication of installation (#2097) 2023-06-21 06:59:19 -07:00
katherinehhh
1006a66a6f
fix: incomplete field list for assigned fields (#2093) 2023-06-21 18:29:14 +08:00
dream2023
dae191691c fix: useAdminSchemaUid redeclaration 2023-06-21 17:49:45 +08:00
jack zhang
d7ed43b86d
fix: add useAdminSchemaUid (#2092)
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-21 16:40:21 +08:00
chenos
daa48302df fix(acl): change route.uiSchemaUid to useAdminSchemaUid 2023-06-21 16:37:56 +08:00
Junyi
6a589543f9
refactor(db): add batch logic to update for better performance (#2070)
* refactor(db): add batch logic to update for better performance

* test(plugin-workflow): fix test cases

* fix(db): treat belongsTo field in update values as foreignKey

* fix(db): also handle object with id for belongsTo field

* fix(db): avoid 0 as falsy

* fix(db): fix test case
2023-06-21 16:37:06 +08:00
katherinehhh
c240228a69
fix: unable to load data from chinaRegion during the first configuation (#2089)
Close T-607
2023-06-21 16:00:39 +08:00
chenos
64070b81b9
refactor: migrate adminSchemaUid & mobileSchemaUid to system settings (#2084)
* refactor: migrate adminSchemaUid & mobileSchemaUid to system settings

* fix: error
2023-06-21 11:02:49 +08:00
Junyi
56e6d0c3b1
fix(plugin-workflow): fix occasional error on enter workflow page (#2086) 2023-06-20 19:53:31 -07:00
chenos
5672ffc9fa feat: update docs 2023-06-20 18:05:06 +08:00
jack zhang
acafe0f386
fix: mobile docs style (#2083) 2023-06-20 17:11:18 +08:00
chenos
cc376673a9 chore: update changelog 2023-06-20 11:52:44 +08:00
chenos
0b06e2cd69 chore(versions): 😊 publish v0.10.0-alpha.2 2023-06-20 11:51:16 +08:00
jack zhang
d76e8fb87f
refactor: upgrade umi, react and react-router-dom (#1921)
* refactor: update umi version 3.x to version 4.x

* refactor: update react-router-dom version to 6.x

* refactor(react-router-dom): change Layout Component `props.children` to `<Outlet />`

* refactor(react-router-dom): change <Route /> props and <RouteSwitch /> correct

* refactor(react-router-dom): replace `<Redirect />` to `<Navigate replace />`

* refactor(react-router-dom): replace `useHistory` to `useNavigate`

* refactor(react-router-dom): replace `useRouteMatch` to `useParams`

* refactor(react-router-dom & dumi): fix <RouteSwitch /> & umi document bug

* refactor(react-router-dom): `useRoutes` Optimize `<RouteSwitch />` code

* refactor(react-router-dom): update `Route` types and docs

* refactor(react-router-dom): optimize RouteSwitch code

* refactor(react-router-dom): `useLocation` no generics type

* refactor(react-router-dom): add `less v3.9.0` to `resolutions` to solve the error of `gulp-less`

* refactor(react-router-dom): fix `<RouteSwitch />`  `props.routes` as an array is not handled

* chore: upgrade `dumi` and refactor docs

* fix: completed code review, add `targets` to solve browser compatibility & removed `chainWebpack`

* refactor(dumi): upgraded dumi under `packages/core/client`

* refactor(dumi): delete `packages/core/dumi-theme-nocobase`

* refactor(dumi): degrade `react`  & replace `dumi-theme-antd` to `dumi-theme-nocobase`

* refactor(dumi): solve conflicts between multiple dumi applications

* fix: login page error in react 17

* refactor(dumi): remove less resolutions

* refactor(dumi): umi add `msfu: true` config

* fix: merge bug

* fix: self code review

* fix: code reivew and test bug

* refactor: upgrade react to 18

* refactor: degrade react types to 17

* chore: fix ci error

* fix: support routerBase & fix workflow page params

* fix(doc): menu externel link

* fix: build error

* fix: delete

* fix: vitest error

* fix: react-router new code replace

* fix: vitest markdown error

* fix: title is none when refresh

* fix: merge error

* fix: sidebar width is wrong

* fix: useProps error

* fix: side-menu-width

* fix: menu selectId is wrong & useProps is string

* fix: menu selected first default & side menu hide when change

* fix: test error & v0.10 change log

* fix: new compnent doc modify

* fix: set umi `fastRefresh=false`

* refactor: application v2

* fix: improve code

* fix: bug

* fix: page = 0 error

* fix: workflow navigate error

* feat: plugin manager

* fix: afterAdd

* feat: update docs

* feat: update docs

* fix: page tab change not work

* fix: login redirect query param doesn't work

* fix: bug and doc

* feat: update docs

* fix: ci error

* fix: merge main

* feat: update docs

* feat: update docs

* feat: update docs

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

* fix: translations

* chore: backend node test max old space size

* docs: add useSearchParams

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
2023-06-20 11:48:02 +08:00
ChengLei Shao
d8ad98e2f7
fix(collection-manager): share collection when COLLECTION_MANAGER_SCHEMA not set (#2081)
* fix: share collection when COLLECTION_MANAGER_SCHEMA not set

* fix: test
2023-06-20 11:28:54 +08:00
xilesun
c9f51ca416 fix(oidc): field map bug 2023-06-19 21:53:33 +08:00
Junyi
0606637a73
fix(plugin-formula): fix formula field effect and read-pretty component (#2076) 2023-06-19 06:47:29 -07:00
Zhou
44549fdfee
Update README.zh-CN.md 2023-06-19 21:32:16 +08:00
xilesun
f99bedfab4 docs(oidc): add README 2023-06-19 21:13:03 +08:00
katherinehhh
bcad6c89dc
fix: file collection field should default to preview as the title field (#2059)
* fix: after selecting files for multiple association fields, the selected files should not be removed

* fix:  file collection field should default to preview as the title field

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-19 20:48:20 +08:00
Junyi
331d6d57b2
fix(client): remove incorrect onchange in json component (#2079) 2023-06-19 18:58:38 +08:00
Junyi
a3805e3b02
fix(client): fix onchange mistake (#2075) 2023-06-18 21:34:08 -07:00
Junyi
ebdbc2dae3
fix(client): fix locale (#2074) 2023-06-18 21:01:14 -07:00
被雨水过滤的空气-Rairn
e506c1781e
fix(Varaible): fix option is disabled (#2043)
* perf: use useMemo

* refactor: extract className

* refactor: fix lint warning

* fix: fix can not be selected

* refactor: reduces count of compile runs

* fix: fix T-494

* fix: should disable options that no children

* fix: fix T-496
2023-06-18 14:31:53 +08:00
katherinehhh
50865d76bc
fix: rowSelection undefined (#2071) 2023-06-18 14:22:46 +08:00