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
Dunqing
6d0f5c1fe0
fix(mobile-client): the JsBridge is not work
2023-06-18 10:30:27 +08:00
Dunqing
21efc5c66c
fix(mobile-client): fix navigate is incorrect
2023-06-17 22:55:55 +08:00
chenos
106f9d90f5
fix(file-manager): only allow logged-in users to upload files
2023-06-17 21:53:49 +08:00
katherinehhh
e3045a2f9a
fix: association field cannot enable link in table column ( #2066 )
...
* fix: association field cannot enable link in table column
* refactor: code improve
2023-06-17 09:01:35 +08:00
Junyi
e5bab3249a
refactor(plugin-workflow): manual collection block migration ( #2064 )
...
* refactor(plugin-workflow): change all collection node initializer in manual config
* refactor(plugin-workflow): clean code
* fix(plugin-workflow): fix custom form field in manual config
* refactor(plugin-workflow): add migration
* fix(plugin-workflow): fix custom form block migration
* fix(plugin-workflow): fix detail read-pretty for association fields
2023-06-15 23:06:47 -07:00
katherinehhh
4faf64f905
refactor(association-field): support sub table ( #1862 )
...
* fix: association select support data scope and sort setting
* fix: appends on demand loading
* fix: asociationSelect support multiple
* fix: recordPicker -> AssociationField
* fix: add migration
* fix: audit logs not show assication data
* fix: flattenNestedList
* refactor: file manager field mode
* refactor: field mode refactor
* fix: subtable action
* fix: subtable appends
* refactor: code improve
* fix: nester add new
* feat: sub table
* fix: data scope not effect immediately
* fix: association add new
* fix: association field failed to add new and mutual influence
* style: style improve
* style: style improve
* refactor: updateAssociationValues
* refactor: form init values
* refactor: select options
* fix: form initialValues
* fix: record picker values
* fix: field value change when field mode change
* fix: select data scope
* feat: add migration
* fix: table column enable link
* fix: table column enable link
* refactor: locale improve
* fix: migration
* fix: mutiple config
* fix: readPretty enable link
* fix: appends on demand
* fix: enable link style
* refactor: locale improve
* refactor: locale improve
* feat: sub-form migration
* fix: skip migration
* fix: translation
* fix: skip migration
* fix: getLabelFormatValue
* fix: error TS2339: Property 'find' does not exist on type 'string | SchemaEnum<any>'
* refactor: remove the logic code for converting old record picker
* refactor: locale
* refactor: association field support sub-table
* refactor: locale
* fix: sub-table should not support add new
* refactor: code improve
* refactor: locale
* fix: compatibility history Subtable
* fix: getNesterAppends filter bug
* refactor: useFieldModeOptions
* refactor: subTable
* fix: associationSelect
* fix: associationSelect
* fix: associationSelect
* fix: getAssociationAppends
* fix: sub-form collection context
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* fix: sub-table
* fix: appends
* fix: sub-table-appends
* fix: undefine id
* fix: sub-table appends
* refactor: sub-table
* refactor: sub-table supoort delete
* fix: sub-table-appends
* refactor: sub table initvvalue
* fix: sub-table-appends
* fix: association field appends
* fix: association field appends
* fix: association field appends
* style: style improve
* style: style improve
* refactor: textArear Markdown RichText
* style: style improve
* fix: title field
* refactor: code improve
* fix: system fields are not allowed to be edited
* refactor: subtable does not support inline operations
* refactor: jons edit in table
* refactor: sequence readOnly in table
* refactor: json readOnly in table
* fix: sub-table appends
* fix: runWhenParamsChanged
* fix: runWhenParamsChanged
* fix: sub-table appends
* fix: sub-table appends
* refactor: sub-table
* style: checkbox group intable
* style: delete button style improve
* fix: json edit in table
* fix: sub-table appends
* style: upload file in table column
* refactor: map edit in table
* refactor: map edit in table
* refactor: map field display in sub-table
* fix: support mutiple row
* refactor: sub-table
* refactor: sub-table not support sortable
* fix: sub-table appends
* fix: sub-table appends
* chore: useAssociationNames
* refactor: code improve
* refactor: support blocktemplate
* refactor: support blocktemplate
* fix: subtable
* fix: subtable initValue
* refactor: useAssociationNames in block template
* fix: cross hierarchical association field layout
* fix: normal field of association field should be append
* style: upload field in table
* refactor: sub table should not row selection
* style: checkboxGroup and radioGroup display in sub-table
* refactor: locale
* refactor: code improve
* refactor: quickEdit in sub-table
* refactor: quickEdit
* refactor: quickEdit
* refactor: quickEdit
* refactor: quickEdit
* style: quickEdit style improve
* style: quickEdit style improve
* style: quickEdit style improve
* refactor: sub-table support required config
* refactor: cell validate
* refactor: cell validate
* refactor: cell required validate
* refactor: cell required validate
* refactor: sub-table display when readPretty
* refactor: sub-table required
* refactor: sub-table required
* refactor: sub-table required
* refactor: sub-table initialValue
* refactor: table
* refactor: sub-tble field required
* refactor: sub-table style improve
* refactor: sub-table attachemnt
* refactor: code improve
* test: tableV2 snap
* fix: subtable drag
* test: tableV2 snap
* refactor: checkbox group and radio group in sub-table
* refactor: sub-table required style
* style: markdown style in sub-table
* refactor: markdown display in sub-table
* refactor: json field display in sub-table
* refactor: code improve
* style: style improve
* style: style improve
* refactor: inserView when designable
* refactor: china-region load data when dropdown click
* refactor: code improve
* refactor: code improve
* refactor: display loading when the form is first loaded
* refactor: display loading when the form is first loaded
* fix: verification exception when deleting sub table rows
* refactor: sub-table code improve
* refactor: sub-table code improve
* fix: json error feedback
* refactor: code improve
* fix: json onchange
* fix: sub table data did not change when switching data templates
* test: variable test
* test: variable test
* refactor: data template
* refactor: code improve
* refactor: code improve
* fix: upload readpretty
* fix: attach upload in sub-tabl
* fix: remove small
* fix: attach upload in sub-table
* refactor: association fields should not display in sub-table
* fix: dropdownMatchSelectWidth
* refactor: association fields should not display in sub-table
* refactor: selectFile is false in sub-table
* refactor: attacattachment in sub-table
* refactor: attacattachment in sub-table
* fix: selector style
* refactor: quick edit component
* fix: zindex
* style: style improve
* style: style improve
* feat: styling
* fix: style
* fix: style
* refactor: quickEdit getContainer
* refactor: quickEdit
* refactor: quickEdit
* fix: improve code
* refactor: code improve
* refactor: code improve
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-16 12:07:43 +08:00
被雨水过滤的空气-Rairn
457afe3e06
fix: avoid error ( #2060 )
2023-06-15 08:26:04 -07:00
被雨水过滤的空气-Rairn
d0632d73fd
fix(Data-template): fix field cannot be expanded ( #2057 )
...
* fix(Data-template): fix field cannot be expanded
* fix: fix build errors
2023-06-15 22:14:23 +08:00
katherinehhh
d79951e209
fix(file-manager): do not delete the selected records
2023-06-15 19:09:10 +08:00
katherinehhh
70890f2f50
feat(association field):quick add new ( #1953 )
...
* refactor: association select support quieck add
* chore: tmp commit
* refactor: association select support quick add
* feat: firstOrCreate
* refactor: locale
* refactor: create api
* chore: firstOrCreate
* feat: updateOrCreate
* chore: test
* refactor: save mode edit in add new form
* feat: values to filter
* refactor: loacle improve
* refactor: loacle improve
* refactor: loacle improve
* feat: firstOrCreate http api
* refactor: code improve
* fix: build error
* refactor: local
* refactor: locale improve
* refactor: useCollectionFieldsOptions
* fix: code imprtove
* refactor: code improve
* refactor: dropdown open
* refactor: add new mode
* refactor: add new mode code improve
* refactor: add new mode code improve
* refactor: add new mode code improve
---------
Co-authored-by: chareice <chareice@live.com>
2023-06-15 16:40:42 +08:00
katherinehhh
7abfbe7be4
fix: duplicate action locale ( #2052 )
2023-06-15 16:04:27 +08:00
被雨水过滤的空气-Rairn
74b8687071
fix: fix default value of optional field ( #2053 )
...
* fix: fix default value of optional field
* fix: fix can not save default value
2023-06-15 14:38:52 +08:00
chenos
c89d7f980f
fix: performance optimizations
2023-06-15 11:27:11 +08:00
katherinehhh
c4816c6963
refactor: List block and GridCard block style improve ( #1988 )
...
* refactor: list block and gridCard style improve
* style: style improve
* style: gridCard style improve
* style: list style improve
* style: style improve
* style: style improve
* style: style improve
* style: style improve
2023-06-14 20:14:57 +08:00
YANG QIA
8b9c0fa979
fix: block disappears when dragged over its parent ( #2048 )
2023-06-14 20:11:17 +08:00
jack zhang
8b64a559e4
fix: form performance ( #2047 )
...
* fix: form performance
* fix: refresh when the targetKeyValue change
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-14 19:29:29 +08:00
katherinehhh
b64ce6a2b3
fix: default value for multiple select cannot be set ( #2031 )
2023-06-14 10:56:45 +08:00
Dunqing
3332a488ca
fix: display on the PC side of moblie access is incomplete ( #2039 )
...
* fix: display on the PC side of moblie access is incomplete
* fix: need refresh should work
* fix: again
* fix: keep 0.1
2023-06-14 10:41:07 +08:00
katherinehhh
af37e26640
fix: enable tab and deleting tab page will result in an error ( #2045 )
2023-06-14 10:37:15 +08:00
被雨水过滤的空气-Rairn
58840e5fab
refactor(PluginManager): remove useless code ( #2022 )
...
* refactor(PluginManager): remove useless code
* chore: fix build error
2023-06-14 09:35:09 +08:00
Dunqing
4ac01b28db
fix(mobile-client): some mobile-client bugs ( #2017 )
...
* fix: avoid delete last tab will brake mobile client
* fix: when schema not exists
* feat: support redirect to mobile route in app
* fix: re-insert repeat routes
* feat: sync title
* fix: sync title
* fix: when TabBar is empty will cause page crashed
* fix: default label i18n not work
* fix: delete last menu will cannot add block ,Close T-434
* fix: tab cannot add block in drawer, Close T-437
* fix: hidden connect data block
* fix: login should use replace
* feat: display configuration of mobile-client address
2023-06-13 11:31:34 +08:00
katherinehhh
a6892dfff3
fix: error reported after deleting the associationFilter block linkage field ( #2038 )
2023-06-13 10:12:51 +08:00
chenos
97a4ef7422
fix(association-field): default values for the fields of a association field ( #2037 )
2023-06-13 09:46:01 +08:00
ChengLei Shao
97106c28e8
chore(database): return emtpy fields when attributes not specified ( #2034 )
...
* test: append nested field
* chore: return emtpy fields when attributes not specified
* fix: test
* fix: data template error
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-12 18:44:43 +08:00
katherinehhh
82ebd0eb44
refactor: child and parent field are not linked ( #2030 )
2023-06-12 15:40:59 +08:00
YANG QIA
f1feb56743
fix(oidc): bugs of integration with logto ( #2032 )
...
* fix(oidc): iss validate bug
* chore: pass iss instend of all values
* fix(oidc): use BroadcastChannel & add alg options
* chore(oidc): improve
2023-06-12 11:50:56 +08:00
chenos
47859c0f99
fix(data-template): filter out foreign keys ( #2033 )
2023-06-11 23:12:43 +08:00
Junyi
dd9cb723d4
fix(client): fix json input component value handling ( #2028 )
...
* fix(client): fix json input component value handling
* fix(client): fix json input test case
* refactor(client): remove format button from json variable component
* refactor(client): move json input style to global
* test(client): remove unused test case
2023-06-11 00:33:52 -07:00
chenos
91d6f09fc3
fix: acl missing
2023-06-10 16:57:09 +08:00
chenos
fe989bb71c
fix(acl): import SettingsCenterContext
2023-06-10 12:43:36 +08:00
Rairn
7e9f3dfa17
chore: avoid test error
2023-06-10 07:31:32 +08:00
chenos
8d4123d8d6
feat: filter out IDs in sub-forms ( #2025 )
2023-06-09 23:45:04 +08:00
chenos
84e52448f5
fix: model toJSON
2023-06-09 21:33:33 +08:00
Dunqing
77225a4e25
fix(GridCard): column count not work ( #2023 )
2023-06-09 20:02:39 +08:00
Dunqing
69bbfee67a
feat: use ActionContextProvider
instated of ActionContext.Provider
( #2019 )
2023-06-09 13:05:05 +08:00
Dunqing
151949362b
fix: re-insert repeat routes ( #2018 )
2023-06-09 12:23:53 +08:00
Junyi
9a376e4116
refactor(plugin-workflow): change node config api render to component ( #2014 )
...
* refactor(plugin-workflow): change node config api render to component
* fix(plugin-workflow): fix trigger drawer error and remove unused api
* fix(plugin-workflow): fix return value of request node run phase
* fix(client): fix classname order in action button
2023-06-08 21:09:22 -07:00
Rairn
b7cb9a45c2
fix(Variable): fix can not select
2023-06-09 11:47:20 +08:00