chenos
c229d837a3
fix: dropdownMatchSelectWidth=false ( #2143 )
2023-06-28 10:13:35 +08:00
chenos
8b03dfa96b
fix(input-number): change step to 1 ( #2104 )
2023-06-24 17:15:59 +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
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
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
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
被雨水过滤的空气-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
69bbfee67a
feat: use ActionContextProvider
instated of ActionContext.Provider
( #2019 )
2023-06-09 13:05:05 +08:00
YANG QIA
24601aa66f
feat(auth): support custom authentication ( #2007 )
...
* feat(auth): init auth package & collection
* feat(auth): register
* feat(auth): use authenticator
* feat(auth): mapRoles
* feat(auth): refactor
* feat(auth): base auth class
* feat(auth): add plugin
* chore(auth): test
* chore(auth): add test cases
* feat(auth): authenticators pane
* chore(auth): custom hook useAuthTypes
* feat(auth): authenticator pane
* chore(auth): store options schema using context
* feat(auth): signInPage provider
* feat(auth): signUpPage provider
* chore(auth): solve build errors
* chore(auth): add dependency
* chore(auth): remove dependency cycles
* chore(auth): add plugin-auth to preset
* chore(auth): fix test
* feat(auth): authenticator enable status
* fix(test): fix test using new authentication
* feat(auth): migration, set up basic auth
* chore(auth): can set options ui by component
* fix(test): workflow manunal.test
* fix(test): typo
* feat(auth): support multi-language
* chore(auth): imporve code
* chore(auth): hide button if no configuration
* chore(auth): readme
* chore(auth): remove allowSignup prop
* chore(auth): move configure pane to edit form
* fix(auth): jwt options bug
* feat(auth): init sms-auth
* chore(auth): at least authenticator required
* chore(auth): add test
* feat(auth): support sms auth
* fix(auth): fix test
* chore(auth): move findOrCreateUser to AuthModel
* chore(auth): history compatible processing
* feat(auth): support SAML auth
* chore(auth): saml auth list
* chore(saml-auth): improve ui
* Merge branch 'main' into feat/authentication
* chore(auth): improve code
* fix(saml-auth): fix bug
* fix(saml-auth): fix saml options
* chore(saml-auth): compatible processing && ut
* fix(auth): signin page bug
* chore(auth): saml compatible processing
* feat(auth): oidc-auth
* fix(oidc-auth): bug
* fix(oidc-auth): bug
* fix(auth): fix test
* chore(auth): filter enabled authenticator
* chore(oidc): add field map
* chore(auth): update readme
* docs(auth): create sms-auth readme
* feat(auth): allow signup config
* test(auth): fix test
* feat(auth): allow saml and oidc use http
* chore(oidc-auth): extends timeout
* docs(auth): update readme
* feat(auth): support sort
* docs(saml): update readme
* feat(auth): support sort all authenticator
* Merge branch 'main' into feat/authentication
* Merge branch 'main' into feat/authentication
* feat: improve code
* docs(auth): add doc
* Merge branch 'main' into feat/authentication
* chore: update yarn.lock
* feat: improve code
* chore(acl): write role to acl if it exists in database and not found … (#2001 )
* chore(acl): write role to acl if it exists in database and not found in acl
* fix: test
* fix: eager load with nested association (#2002 )
* chore: upgrade vitest
* chore: edit
* refactor: auth class
* fix: set options
* chore(acl): write role to acl if it exists in database and not found … (#2001 )
* chore(acl): write role to acl if it exists in database and not found in acl
* fix: test
* fix: eager load with nested association (#2002 )
* chore: upgrade vitest
* chore: add migrations
* test: fix api-client test
* chore: add sms-auth
* feat: avoid no permission after auth type disabled
* fix: translation
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-07 23:46:42 +08:00
被雨水过滤的空气-Rairn
47838889f4
test: add tests for client ( #1960 )
...
* feat: add test utils
* test: fix compatibility problem
* refactor: use esm
* refactor: change require to import
* test: add a test
* chore: optimize launch.json
* chore(jest): optimize config
* test: fix failed
* test(Action): fix failed
* test: migration test from nocobase-next
* test: fix failed
* chore: set css to false
* fix: fix errors
* test(Filter): add test
* test(BlockItem): add test
* test(Calendar): add test
* refactor: migrate testUtils to client
* fix: avoid error
* refactor: fix lint error
* Revert "refactor: migrate testUtils to client"
This reverts commit ae569e2021a5c720111518cf3f2236e761a7186d.
* test: fix test failed
* refactor: migrate tesetUtils to @nocobase/test/client
* fix(Select): fix BUG
* refactor: remove useless code
* Revert "refactor: migrate tesetUtils to @nocobase/test/client"
This reverts commit 70d2211d5af546ae3fffaf5b53a326be8e194b34.
* test(AssociationSelect): add test
* test(CardItem): add test
* test(CollectionSelect): add test
* test(Cron): add test
* test(Details): add test
* test(ErrorFallback): add test
* test(Form): add test
* fix: fix CI
* test(FormItem): add test
* test(FormV2): add test
* test(G2Plot): add test
* test(Gantt): add test
* test(Grid): add test
* test(GridCard): add test
* test(Kanban): add test
* test(List): add test
* test(Menu): add test
* test(Page): add test
* test(Pagination): add test
* test(Preview): add test
* test(RemoteSelect): add test
* test: fix: failed
* refactor: remove useless code
* test(Table): add test
* test(TableV2): add test
* test(Tabs): add test
* test(Variable): add test
* test(Upload): add test
* chore: comment
* Revert "refactor: change require to import"
This reverts commit 3a23607e6faeda6f8b5bee02b9d8fa33bf9d2684.
* refactor: remove useless code
* fix: fix translation bug
* fix: fix export position
* test: update snap
2023-06-07 10:37:10 +08:00
chenos
e6a2a292b3
feat: upgrade formily ( #1880 )
...
* feat: upgrade formily
* fix: upgrade @formily/json-schema
* fix: optimizing performance
* fix: performance code
* refactor: `React.memo` and `observer` component add `displayName` property
* fix: add cache to Schema.compile
* feat: 优化代码
* fix: 修复卡顿最终的问题
* Update SchemaComponentProvider.tsx
* feat: 再次优化代码
* feat: optimized code
---------
Co-authored-by: dream2023 <1098626505@qq.com>
2023-06-06 19:33:04 +08:00
Junyi
36d16bc015
refactor(plugin-fm): change api and allow to select storage ( #1250 )
...
* refactor(plugin-fm): change api and allow to select storage
* fix(plugin-fm): fix lint errors and demo actions
* refactor(plugin-fm): refactor action codes
* fix(plugin-fm): fix api in test
* fix(plugin-fm): fix build
* fix(plugin-fm): fix locale
* refactor(plugin-fm): hide storage from api and use sourceField param
* fix(plugin-fm): fix storage select load
* fix: improve code
* fix(plugin-fm): change to attachmentField
* refactor(plugin-fm): change middleware name
* fix(plugin-fm): fix params in test cases
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-06 19:30:42 +08:00
被雨水过滤的空气-Rairn
f286534752
perf(data-scope): async loading of variable data ( #1932 )
...
* refactor: remove useless code
* perf: async loading of user variable data
* perf: async loading children
* perf: add maxDepth
* refactor: use useMemo
* fix: avoid old data
2023-05-29 18:08:21 +08:00
katherinehhh
c0f9c8116a
refactor(linkage-rule): linkage rules condition support toMany association fields ( #1924 )
...
* refactor: linkage rule support to many association field
* refactor: linkage rule support toMany
* fix: support toMany association field
* fix: support toMany association field
* fix: operator support toMany association field
* refactor: useLinkageCollectionFilterOptions
2023-05-29 11:22:04 +08:00
被雨水过滤的空气-Rairn
e61568ac57
feat(data-template): support to set data scope and title field ( #1918 )
...
* refactor: optimize
* feat(Data-template): support to set data scope and title field
* fix: fix error when no template data
* fix: fix error
* fix: operator
* chore: remove id
* fix: filter
* fix: should be global
* fix: submit
* fix: global sync
* fix: title field
* fix: fix filter
* fix: fix first created
* fix: collection
* fix: collection
* fix: collection
* chore: should show N/A
* Revert "chore: should show N/A"
This reverts commit 00c91d77612aea0801fec88b5f3f91e4be999439.
* chore: should show N/A
* chore: remove useless code
2023-05-25 17:09:29 +08:00
被雨水过滤的空气-Rairn
e787890671
fix(ConfigurationTabs): avoid error ( #1782 )
2023-05-25 12:24:47 +08:00
katherinehhh
e299f5452c
refactor: initialization when switching field components ( #1915 )
...
* fix: toManyNester only display one data
* fix: sub-nester
* fix: initialValue
* fix: [null]
* fix: record picker initValue
* fix: initValue filter
* fix: association select initialValue filter
* fix: association select initialValue filter
* fix: [null]
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-24 10:36:29 +08:00
chenos
be50cb5929
chore: remove link to field and association fields filter
2023-05-17 17:04:33 +08:00
Rairn
2e4636a8ca
chore: avoid errors generated by collectionField
2023-05-16 20:09:36 +08:00
Junyi
0eb1c31514
feat(client): allow search by title in collection select ( #1869 )
2023-05-16 02:07:56 -07:00
Junyi
238af440e3
feat(plugin-workflow): loop ( #1787 )
...
* feat(plugin-workflow): add loop instruction
* fix(plugin-workflow): fix lint error
* feat(plugin-workflow): add loop variable in client
* feat(plugin-workflow): refactor and add job list to nodes in execution
* feat(plugin-workflow): allow to query multiple records
* fix(plugin-workflow): fix i18n
* fix(plugin-workflow): fix undefined value in component
* fix(plugin-workflow): fix parse context value with current node
* fix(plugin-workflow): fix revision with scope variable
* test(plugin-workflow): add failing case
* fix(plugin-workflow): fix revision with scope variable
* chore(plugin-workflow): fix lint errors
* fix(plugin-workflow): fix workflow canvas page style
* fix(plugin-workflow): revert abstracted node config drawer back to each node
* fix(plugin-workflow): fix parallel extra call
* fix(plugin-workflow): fix parallel branch end
* fix(plugin-workflow): fix jobs variable in processor
* fix(plugin-workflow): fix workflow canvas scroll style
* fix(plugin-workflow): fix slowly opening job modal
* fix(plugin-workflow): fix cycling reference
2023-05-15 18:45:45 -07:00
Dunqing
3a77e4376a
feat: support List and Grid Card block ( #1753 )
...
* feat: support details block
* feat: rename to list
* fix: imports
* feat: improve list block
* feat: support title hidden
* fix: showTitle default value
* feat: support table column actions
* feat: support appendsOnDemand
* feat: reuse same schema items
* feat: shouldn't display pagination when pages only one
* feat: block order
* feat: support card list
* fix: appends on demand
* fix: remove unused code
* fix: params
* fix: improve default pageSize
* feat: improve performance
* feat: add title designer
* feat: improve huge performance
* fix: better key
* feat: improve schema perf
* feat: improve initializer
* fix: improve grid perf
* fix: avoid haven't properties
* feat: support automatic run service when params changed
* fix: revert params
* fix: grid col width
* refactor: improve CardList performance
* fix: initializer related
* feat: i18n supports
* fix: improve get schema
* fix: create new form
* fix: revert code
* feat: css improve
* fix: i18n copy
* refactor: the CardList rename to GridCard
* feat: remove AssociationFilter item
* fix: edit and view data is incorrect
* feat: remove bulk actions
* feat: improve action bar
* feat: supports configuration of columns with different screen sizes
* fix: incorrect place to save the template
* feat: keep height in all card
* fix: remove console
* fix: rename
* refactor: improve GridCard implementation
* feat: support import/export actions
* fix: remove padding when actions is empty
* fix: remove incorrect import
* fix: remove unused props
* fix: action place
* feat: improve column count
* refactor: remove appendsOnDemand, and use useAssociationNames instated it
* fix: incorrect component
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-16 09:05:47 +08:00
李小斐
975b7dfe93
fix: action error when field deleted ( #1849 )
...
* fix: action error when field deleted
* fix: delete field cannot set dynamic value
2023-05-15 09:34:14 +08:00
katherinehhh
55efa40cdd
refactor: association field ( #1838 )
...
* feat: association field
* fix: bug
* refactor: association field
* style: style improve
* style: style improve
* refactor: support subtable
* refactor: support file collection
* refactor: locale improve
* refactor: subtable improve
* refactor: association select improve
* refactor: association select improve
* refactor: association select improve
* refactor: useAssociationNames
* refactor: enable link
* refactor: selector
* refactor: selector
* refactor: locale improve
* refactor: on demand loading of relational data
* refactor: locale improve
* refactor: select button
* refactor: association field
* refactor: formformBlock provider
* refactor: formformBlock provider
* refactor: internalSelect recordPicker
* refactor: formBlocklockProvider
* fix: addNewer schema
* fix: useServiceOptions
* fix: useCreateActionProps
* fix: useCreateActionProps
* refactor: nester delete
* refactor: nester delete in detail
* refactor: subTable suport select
* refactor: subTable suport select
* style: style improve
* style: style improve
* chore: fileManger
* fix: association readPrety
* fix: filemanger
* refactor: field mode
* refactor: enable link
* chore: error message
* refactor: association schemaInitialize
* refactor: association schemaInitialize
* refactor: currentMode
* refactor: field mode default value
* fix: file manage readPretty
* fix: appends
* chore: file manage readPretty
* fix: updateAssociationValues
* fix: updateAssociationValues
* fix: updateAssociationValues
* fix: nester appends
* fix: nester appends
* fix: tree collection association fields
* fix: tree collection association fields
* fix: nester appends
* fix: subtable to select field value missing
* fix: subtable to select field value missing
* fix: compatible with historical blocks
* fix: compatible with historical blocks
* fix: compatible with historical blocks
* feat: add migration
* fix: filter block allow add new
* fix: compatible with historical blocks
* fix: skip if not RecordPicker
* fix: compatible with historical blocks
* fix: detail block not support nester
* 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: locale
* fix: sub-table should not support add new
* refactor: code improve
* refactor: locale
* fix: compatibility history Subtable
* fix: improve
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Chareice <chareice@live.com>
2023-05-11 12:47:31 +08:00
katherinehhh
8aee0eef9b
fix: association scope inherit ( #1806 )
2023-05-06 21:44:01 +08:00
Jack
d0edc6ce3f
fix: table configuration delete button problem ( #1764 )
...
* fix: table configuration delete button problem
* fix: change copy
* refactor: optimize code
---------
Co-authored-by: Rairn <958414905@qq.com>
2023-05-05 11:30:10 +08:00
ChengLei Shao
f0816c663e
chore: enable overring field default value ( #1777 )
2023-04-27 13:36:41 +08:00
被雨水过滤的空气-Rairn
95e4e7e7b0
fix(variable-input): fix style ( #1761 )
...
* fix(variable-input): fix style
* refactor: avoid lint error
* feat: add invariable
* fix: fix the default value variable of the expression is empty
2023-04-26 09:56:25 +08:00
ChengLei Shao
9101bbbb1b
chore: skip sync overriding field default value ( #1762 )
...
* chore: skip sync overriding field default value
* chore: test
* chore: override field does not allow setting default values
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-04-25 19:31:16 +08:00
chenos
883f1e6fd1
fix: eslint ( #1759 )
...
* fix: eslint
* fix: eslint --fix
* fix: changelog
2023-04-25 13:12:14 +08:00
chenos
fb997bc6b3
fix: remove updateCollection
2023-04-24 23:40:34 +08:00
chenos
e087be887b
fix(collection-manager): filter null
2023-04-24 22:56:37 +08:00
李小斐
c03d271481
feat: deleted collection field give some tips ( #1744 )
...
* feat: deleted collection field give some tips
* chore: optimize traslation
---------
Co-authored-by: Rairn <958414905@qq.com>
2023-04-24 21:49:56 +08:00
Rairn
5fa490e9a1
fix(data-templates): fix unselectable problem
2023-04-24 16:14:55 +08:00
Rairn
5868cfa8a0
fix(collection-manager): fix incorrect grouping
2023-04-24 10:44:35 +08:00
Rairn
460d69fba8
fix(collection-manager): should expand all rows by default when adding a new field
2023-04-24 10:10:37 +08:00
Rairn
683db5b3ba
fix(collection-manager): fix table layout
2023-04-23 18:30:07 +08:00
被雨水过滤的空气-Rairn
b1068f2d51
feat: support to use variables to set default value ( #1726 )
...
* fix: fix the default value being overwriitten
* feat: supports association fields to set default value
* feat: support to toggle multiple
* feat: support to use variables to set default value
* refactor: migrate hooks
* fix: fix the title disappearing
* feat: suport to use current-user variable
* fix: fix error
* fix: one to one and one to many should not support to set default value
* fix: fix error when searching
* style: set the width of modal
* fix: should not support to set default value for system fields
* refactor: fix lint error
* style: optimize inputNumber width
* refactor: extract to one function
* refactor: extract function
* fix: should not display default when field is readPretty
* style: optimize width of select
* fix: avoid error
* fix: should not display multiple option when subtable
* fix: should not display default when attachment
* fix: chinaRegion
* chore: optimize code
* fix: build error
* fix: multiple should be true by default
* refactor: optimize code
* fix: fix Select multiple mode
* refactor: optimize code
* fix: width
2023-04-23 18:27:21 +08:00
被雨水过滤的空气-Rairn
71af0f16a9
fix: improve the display of the title field ( #1741 )
...
* fix: fix the displaying problem of Select
* fix: fix error
* fix: filter out fields
* feat: format date
* feat: optimize
* fix: fix error
* feat: use the default title field
* fix: fix bug
2023-04-22 11:04:10 +08:00
katherinehhh
564fe24c8a
style: automatically omit table cell content based on width ( #1646 )
...
* style: automatically omit cell content based on width
* fix: cell tooltips are only displayed when the width is exceeded
* chore: multiple select ellipsis in table collection
* fix: no automatic thumbnail when table column content exceeds width
* refactor: table ellipsis
* refactor: isOverflowTooltip
2023-04-22 10:36:21 +08:00
被雨水过滤的空气-Rairn
3c884cdd36
feat(collection-manager): support for setting the title field ( #1729 )
...
* feat: configure fields
* feat: edit
* feat: enable delete action
* style: indent style
* feat: support to override and view inherited fields
* feat: support to delete and add field and sync
* fix: should delete the seleted option
* feat: support to setting title field
* feat: avoid infinite loops and add default title field
* feat(data-templates): use titleField to display title
* fix: fix the pagination of collection manager
* feat: add prompt for title field switch
* feat: filter field types
* feat: not use title switch when field interface is icon
* feat: translate
* fix: sync update collections data
* feat: translate
* fix: fix build error
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-21 11:19:59 +08:00
katherinehhh
eeb07112c7
fix: button loading does not disappear when the operation submit failed ( #1698 )
...
* fix: button loading does not disappear when the view operation submission failed
* fix: add field button loading
* refactor: code improve
2023-04-17 17:20:35 +08:00
katherinehhh
12f95810d0
fix(linkage rule):multiple select condition judgment failed ( #1715 )
...
* fix: linkageCollectionFilterOptions
* fix: multiple select condition judgment failed
* fix: multiple select condition judgment failed
* fix: multiple select condition judgment failed
2023-04-17 17:19:54 +08:00
被雨水过滤的空气-Rairn
69bc18e166
feat(form-block): data templates ( #1704 )
...
* feat(Form): support to select existing data as template
* refactor: extract useDataTemplates
* feat(Form): support to use template
* fix: template switch
* fix: fix association field
* fix: filter fields
* fix: fix unselected default value
* fix: avoid errors
* refactor: remove useless code
* refactor: move templateSelect to FormBlockProvider
* feat: add a checkbox to toggle template selector
* feat: change the options order
* feat: hide Collection option when no inherit
* fix: optimize the label text
* fix: should empty form
* fix: should hide configuration when is not added
* chore: change text
* fix: template selector not displayed
* feat: optimize template
* feat: data template middleware
* fix: template select
* fix: default
* fix: fields
* feat: field delete button changed from hidden to disabled
* fix: improve code
* fix: prefix error
* fix: items
* feat: use Tree
* fix: maxDepth
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-16 14:22:46 +08:00
被雨水过滤的空气-Rairn
2050eb5317
feat: optimize file collection ( #1666 )
...
* feat(Upload.DraggerV2): add loading
* feat: auto close on uploading over
* feat: auto selected when upload is complete
* feat: filter selected options
* feat: add quick-upload and select-file
* fix: should not appear on readPretty mode
* fix: radio
* fix: compatible with older version
* feat: improving the interaction of radio selections
* fix: show two butons by default
2023-04-09 16:46:53 +08:00
katherinehhh
7821af4024
feat: collection template summary ( #1672 )
...
* feat: collection template description
* refactor: improve translation
* refactor: improve translation
2023-04-08 14:18:20 +08:00
Junyi
52329df140
feat: (plugin-workflow) dynamic expression ( #1560 )
...
* feat(plugin-formula): add dynamic expression field
* feat(plugin-workflow): add dynamic expression for calculation
* refactor(client): allow select part of paths in variable component
* fix(client): fix types
* feat(plugin-formula): add dynamic expression config
* feat(plugin-workflow): add dynamic calculation
* refactor(plugin-formula): move expression field type to workflow plugin
* fix(plugin-workflow): fix types
* fix(plugin-workflow): fix register field in client
* fix(plugin-workflow): fix expression result value default
* fix(plugin-workflow): fix dynamic expression field error when switch collection
* fix(plugin-workflow): test component value change
* test(plugin-workflow): test component linkages
* refactor(plugin-workflow): change to expression collection template
* fix(client): fix hooks of Variable.TextArea
* fix(client): fix to import evaluators in client
* fix(evaluators): move renderReference method to plugin
* fix(plugin-workflow): fix missed component
* fix(plugin-workflow): fix dynamic expression test case
* refactor(client): change popover to double click to choose entire object
* refactor(plugin-workflow): make variable options and filter more sensible
* fix(plugin-workflow): fix form effect
* fix(plugin-workflow): fix variable filtering in collection trigger
* fix(plugin-workflow): fix types
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-07 19:52:31 -07:00
katherinehhh
1d6417f7f9
feat: support tableoid filter ( #1657 )
...
* feat: support inherited collection filter
* refactor: improve translation
* chore: filter inherted collectiion
* feat: data scope support inherited collection filter
2023-04-07 16:48:32 +08:00
被雨水过滤的空气-Rairn
53d0c2dd23
feat: support file collection ( #1636 )
...
* feat: support to add File collection
* feat: support to upload files
* refactor: rename 'ReadPretty.Attachment' to 'ReadPretty.File'
* feat: support to associate the File collection
* refactor: add Preview and replace Upload.Selector
* fix(Preview): fix some problems in ReadPretty mode
* feat: use 'preview' as a default title field
* feat: support only local storage now
* fix: should not show 'Add new' button
* chore: add default value for file storage
* fix: fix preview field of file collection cannot be displayed normally
* fix: only Table and Details can display File collection
* chore: translate
* refactor: migration to plugin from core
* refactor: change 'preview' to 'url'
* fix: only 'belongsTo' and 'belongsToMany' can linked file collection
* fix: fix storage and add a field called storage in file collection
* feat: add 'deletable' to configure the visibility of the delete button
* fix: fix can't upload attachment problem
* fix: remove more option
* fix: can't use preview to filter
* fix: remove Import action option
* refactor: remove useless code
* chore: optimize condition
* chore: remove comment
* test: windows compatible
* refactor: optimize upload
* fix: upload action
* fix: createAction
* fix: uploads
* fix: file collection cannot be inherited by other collections
* fix: url should be editable
* fix: url is filterable
* fix: use input interface for url field
* fix: fix error
* fix: remove subform
* Revert "chore: translate"
This reverts commit 53cd346dab
.
* refactor: move translation to plugin
* fix: title is editable
* fix: collection?.template === 'file'
* fix: fix order of URL
* fix(collection-manager): allow collectionCategories:list
* chore: add translation
* fix(upload): should enable to use drawer
* refactor: move code to plugin
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-04-06 12:43:40 +08:00
katherinehhh
28ef3b6952
refactor: loading wthen action submit
2023-04-04 11:35:36 +08:00