mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-08 23:19:26 +08:00
12 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
|
4180913651
|
fix(async-task-manager): get subapp name | ||
|
c0055ce826
|
perf(Page): improve performance (#5515)
* refactor(Tabs): remove observer and add memo * refactor(useFilterFieldProps): use useCallback * perf(FilterProvider): use startTransition * perf(BlockRequestProvider): split context to improve rendering performance * fix: make e2e tests pass * perf(FilterBlockProvider): avoid rerender when updating state * perf(DocumentTitleProvider): avoid rerender when updating state * chore: set the default page title to empty string * perf(BlockRequestProvider_deprecated): remove useless code * perf(RecordProvider): add memo * chore(Table): add comment * perf: add memo to avoid rerender * perf(InternalSchemaToolbar): improve style performance * perf(ActionPage): improve style performance * perf(BlockItem): improve style performance * perf(Grid): improve style performance * perf(IconField): improve style performance * perf(MenuItem): improve style performance * refactor(style): remove useless code * perf(ArrayCollapse): improve style performance * perf(acl): improve style performance * perf(LinkageRules): improve style performance * perf(ActionDrawerUsedInMobile): improve style performance * perf(InternalPopoverNesterUsedInMobile): improve style performance * perf(MobileActionPage): improve style performance * perf(MobileTabsForMobileActionPage): improve style performance * perf(Mobile): improve style performance * perf(MobileTabBar): improve style performance * perf(MobilePageContentContainer): improve style performance * perf(MobilePageHeader): improve style performance * perf(MobilePageNavigationBar): improve style performance * perf(MobileNavigationBarAction): improve style performance * chore: fix build error * perf: some minor optimizations * perf(CollectionFieldInternalField): optimize performance of default value processing * refactor(CollectionFieldInternalField): remove useless code * perf(PageContent): improve performance * refactor(Table): use skeleton component * perf(Table): improve pagination performance * perf(TableSkeleton): improve skeleton component performance * style(TableSkeleton): optimize style * perf(PageTabs): cache rendered content to prevent re-rendering * fix: fix add tab * chore: make unit tests pass * refactor: remove deprecated API * fix(filterBlocks): make e2e tests pass * fix(Action): make e2e tests pass * perf(CollectionField): use custom RecursionField component to avoid unnecessary re-renders * perf(Map): extract style * Revert "perf(CollectionField): use custom RecursionField component to avoid unnecessary re-renders" This reverts commit 203ecc1334429a8b77177337c8649ece1abdaeed. * fix: fix e2e error * fix: fix unit tests * chore: fix build error * perf(useResourceName): avoid unnecessary re-renders * perf(TableBlockProvider): prevent unnecessary re-renders by splitting context * perf(useDataBlockRequest): prevent unnecessary re-renders * perf(useBlockCollection): avoid unnecessary re-renders * perf(ActionContextProvider): add useMemo for context value * perf(useTableBlockProps): avoid unnecessary re-renders * perf(Details): add skeleton component * chore(SchemaSettingsDropdown): make menu visibility more stable * perf(withSkeletonComponent): use useDeferredValue * refactor(ErrorBoundary): optimize code * perf(plugin-charts-old): ignore old plugin context * perf(CollectionHistoryProvider): optimize location context * perf(MenuEditor): optimize router context * fix(InternalAdminLayout): fix the issue of missing left sidebar menu * perf(MenuEditor): prevent unnecessary re-renders * perf(RouteSchemaComponent): prevent unnecessary re-renders * perf(react-router-hooks): improve performance * perf: add skeleton component for other blocks * perf(CurrentUserProvider): remove loading * refactor: remove useless code * fix: fix the issue of redirecting to the homepage after refreshing the page * perf(SystemSettingsProvider): remove loading * perf(CollectionHistoryProvider): remove loading * perf(useCurrentAppInfo): remove loading * perf(RemoteCollectionManagerProvider): remove loading * perf(RequestSchemaComponent): remove loading * refactor(MenuEditor): remove useless code * refactor: remove useless code * perf(Page): reduce white screen time * Revert "Revert "perf(CollectionField): use custom RecursionField component to avoid unnecessary re-renders"" This reverts commit b3a4201a82617534b9f5c3d16d4769f1327b3b02. * perf(wip): add custom RecursionField component * perf(RecursionField): complete custom RecursionField component * perf(FilterAction): avoid unnecessary re-rendering * perf(InputReadPretty): improve render performance * fix(NocoBaseRecursionField): fix the issue where the page does not update * perf(ReadPrettyInternalViewer): remove observer * perf(Table): remove unnecessary context * perf(NocoBaseField): customize a Field component * chore: add comments * fix(ButtonEditor): fix the issue where button title does not update after modification * fix(ellipsis): fix the issue where the page does not refresh after modification * refactor(NocoBaseField): rename and improve performance * fix(NocoBaseField): add compile * perf(Table): avoid rendering popup content * chore: fix build error * fix(popup): fix the issue where popups cannot be opened in embedded pages * perf(CollectionField): remove ErrorBoundary * chore(NocoBaseRecursionField): add isUseFormilyField * perf(TemplateBlockProvider): use performance hooks * refactor(FormV2): optimize skeleton screen effect * perf(EditableAssociationField): remove observer * perf(CollectionField): reduce nested component hierarchy * refactor(SchemaSettingsSwitchItem): prevent UI refresh issues * fix: fix field issues * refactor(CollectionField): extract CollectionFieldInternalField component * fix(DataSources): fix table error issue * fix(drawer): fix drawer error * fix(CollectionManagerSchemaComponentProvider): fix incorrect scope value * fix(BodyRowComponent): fix issue with empty record * fix(usePopupSettings): fix issue with popup not opening * fix(BlockTemplates): fix table error issue * refactor(NocoBaseRecursionField): set default value of isUseFormilyField to true * refactor(Action): replace RecursionField with NocoBaseRecursionField * fix(RequestSchemaComponent): fix issue with subpage not opening on mobile devices * feat(loading): add delay for loading component * fix(workflow): fix workflow table display issue * chore(NocoBaseField): add compile method for default value * fix(CollectionField): compatibility with legacy version * fix(CollectionField): compatibility with legacy version * fix(e2e): remove memoize function * fix: add back dn.refresh * refactor(CollectionField): reduce component rendering in specific cases * Revert "fix(drawer): fix drawer error" This reverts commit da8b43d9322aed39a1adf0ccdf24beca52a228ef. * fix(popup): fix the issue where the second layer popup cannot be opened * Revert "fix(popup): fix the issue where the second layer popup cannot be opened" This reverts commit 71e9a43f361dd806affe9707254ed30882c27178. * fix(popup): fix the issue where the second layer popup cannot be opened * fix(popup): fix the issue where content is not displayed when reopening the popup * fix(NocoBaseRecursionField): add default value * refactor: revert to RecursionField version * fix(Duplicate): fix the issue where values are not displayed * Revert "refactor: revert to RecursionField version" This reverts commit 087dcd4dc4d8d83f41272ac1b270dea281f49e08. * fix(association-field): use NocoBaseRecursionField * fix(menu): fix the issue where menu items are not displayed after adding * fix(grid-card): make e2e pass * fix(NocoBasePageHeader): fix the issue where title is not updated after modification * fix(AdminLayout): fix page navigation issue * fix(e2e): make e2e pass * fix(e2e): fix the issue where data is not refreshed after closing the popup * fix(e2e): fix the issue where relationship field popup variables are displayed incorrectly * fix(e2e): fix JSON.stringify circular reference issue * fix(e2e): make mobile e2e more stable * fix(e2e): fix subform display issue * fix(e2e): fix field pattern state * chore(test): make some unit tests pass * fix(test): make some unit tests pass * fix(test): make unit tests pass * perf(SortableItem): reduce unnecessary component rendering in non-configuration mode * chore(Table): use startTransition * perf(page): implement keep-alive effect * chore: remove loading delay * chore(e2e): skip one e2e * chore: fix build error * refactor: extract KeepAlive component and fix e2e test errors * fix(test): make unit tests pass * fix(KeepAlive): children should be a function * fix(popup): avoid being affected by KeepAlive * perf(KeepAlive): reduce lag when switching pages * refactor(DndContext): extract InternalDndContext component * refactor(KeepAlive): avoid memory overflow * chore: limit maximum number of cached pages * refactor: use useEffect instead of useLayoutEffect * refactor(AdminLayout): extract NocoBaseLogo component * perf: reduce lag when switching pages * chore(KeepAlive): increase maximum number of cached pages * perf(Grid): optimize rendering performance in non-configuration mode * perf(Table): reduce one re-render when switching pagination * refactor(SubTable): separate SubTable's Table component from normal Table component * chore(test): make unit tests pass * fix(e2e): fix the issue where table data does not refresh after form submission * chore(e2e): update some e2e tests * fix(Table): fix the issue where Dropdown component disappears after adding association fields * perf(Table): optimize refresh performance * refactor(NocoBaseField): simplify code writing * perf(Context): improve performance * perf(Context): improve render performance * perf(Menu): improve menu performance * perf: lower the priority of updating title * perf(Page): avoid re-layout when switching pages * perf(Table): reduce repainting time * perf(popup): improve popup opening speed * perf(popup): using toJSON for deep clone, faster than lodash's cloneDeep * perf(withSkeletonComponent): defer loading state update * perf(PopupRouteContextResetter): improve render performance * perf(popup): improve popup closing speed * perf(popup): improve popup closing performance * perf(SchemaToolbar): avoid excessive style calculations * perf(SchemaSettingsDropdown): avoid using useLayoutEffect * perf(popup): improve popup opening speed * fix(pageTab): fix the error when switching tab pages * fix(popup): fix the issue of duplicate URLs caused by rapid button clicks * refactor: extract NocoBasePageHeaderTabs * fix(pageTabs): fix settings not refreshing after changes * chore(test): make unit tests pass * chore(test): update test case * chore(SchemaInitializerSwitch): update unit test * chore(useVariables): update unit tests * chore(e2e): make some e2e tests pass * chore(e2e): make e2e tests pass * chore(e2e): update tests to make it pass * fix(SideMenu): fix the issue where is not refresh when adding a page * fix(Menu): fix the issue where is not refresh when changing menu * fix(e2e): fix e2e error * fix(e2e): fix refresh issues * fix(e2e): fix some bugs * fix(e2e): fix e2e error * fix(test): fix unit tests * fix(popup): prevent rapid clicking issues * fix(e2e): fix e2e error * fix(e2e): fix refresh issues * fix(Table): do not change table pagination after switching pages * perf(Menu): improve performance * perf(Table): reduce row render times * fix(KeepAlive): fix lag when switching designable * fix(e2e): fix e2e error --------- Co-authored-by: chenos <chenlinxh@gmail.com> |
||
|
2063227f4a
|
refactor: export & import plugin (#4468)
* feat: chunk method in repository * chore: xlsx export test * chore: xlsx export * chore: export action * chore: export action * chore: code * feat: database interface manager * feat: export with ui schema * chore: console.log * chore: export with china region field * chore: export with attachments * chore: export with multiple select * chore: export with interface * chore: export action * fix: export with datetime file * chore: limit export action running in same time * chore: yarn.lock * fix: render json value * chore: chunk with limit * feat: add EXPORT_LIMIT env config * fix: typo * fix: type * chore: asyn mutex version * chore: test * chore: test * fix: export null value * chore: test * chore: createdAt test * fix: export with createdAt * chore: import template * chore: xlsx importer * chore: import run * chore: export with data source api * chore: toValue api in interface * fix: build * chore: import with transaction * fix: build database * chore: many to one interface * chore: code * chore: import with associations * chore: default toValue * chore: import template with explain * chore: import with explain template * chore: reset id seq after import * chore: download template action * fix: database build * fix: build * fix: build * fix: test * chore: import with number field * chore: import with boolean field * chore: json interface * chore: import action * chore: typo * chore: i18n * chore: select interface * chore: china region interface * chore: datetiem field * chore: cast to array * fix: import tips * chore: import await * fix: test * fix: test in mariadb * chore: comments * chore: comments * fix: parse date with empty string * fix: read import limit * fix: type * fix: test in mariadb * chore: skip bigint test in sqlite * chore: skip bigint test in sqlite * chore: download tip i18n keys * fix: download tips * feat(client): add new variable named 'URL search params' and support link action (#4506) * feat: support link action * feat(client): add new variable named 'URL search params' * chore: add translation * fix: avoid crashing * chore: fix failed test * feat: link action * feat: link action * fix: remove filter parameters with undefined values * feat: link action * feat: add support for default values in filter form fields * refactor: code improve * refactor: locale improve * refactor: locale improve * test: add e2e test * refactor: locale improve * refactor: locale improve * fix: resolve operation issues with variables * refactor: code improve * chore: enable direct selection of variables as default value * chore: use qs to parse query string * fix: menu selectKeys (T-4373) * refactor: use qs to stringify search params * refactor: locale improve * refactor: locale improve * chore: fix failed tests * fix: resolve issue where setting Data scope is not work * chore: fix failed e2e tests * chore: make e2e tests more stable * chore: add translation * chore: make e2e tests more stable * fix: resolve the issue of error when saving data scope * feat: trigger variable parsing after context change * test: add unit tests * test: add e2e test * refactor: extract template * chore: fix failed unit tests * chore: fix failed e2e test * fix(Link): hide linkage rules in top link (T-4410) * fix(permission): remove URL search params variable from data scope * chore: make more stable * chore: make e2e test more stable * fix(Link): reduce size for variable * fix: clear previous context (T-4449) * fix(calendar, map): resolve initial data scope setting error (T-4450) * fix: correct concatenation of query string (T-4453) --------- Co-authored-by: katherinehhh <katherine_15995@163.com> Co-authored-by: jack zhang <1098626505@qq.com> * refactor(FormV2): add FormWithDataTemplates component (#4551) * Revert "fix(client): fix data template style (#4536)" This reverts commit db66090ab279508473e74803dbb8637341fa6f3f. * refactor(FormV2): add FormWithDataTemplates component * chore: fix failed e2e tests * chore: make e2e test more stable * chore: import warning i18n * chore: import warning i18n * fix: bug * fix: export action loading * fix: bug * chore: map field interface * fix: merge bug --------- Co-authored-by: xilesun <2013xile@gmail.com> Co-authored-by: Zeke Zhang <958414905@qq.com> Co-authored-by: katherinehhh <katherine_15995@163.com> Co-authored-by: jack zhang <1098626505@qq.com> |
||
|
62b2b5c68b
|
chore: add copyright information to the file header (#4028)
* fix: add license code * fix: bug * fix: bug * fix: upgrade * fix: improve * chore: add copyright information to the file header * fix: d.ts bug * fix: bug * fix: e2e bug * fix: merge main --------- Co-authored-by: chenos <chenlinxh@gmail.com> |
||
|
91254bdf55
|
test: add frontend unit test (#3991)
* test: add unit test * fix: build error * fix: exclude requirejs * fix: e2e bug * fix: block delete refresh(T-3936) * fix: add test utils * fix: build bug * fix: remove test only * fix: kanban bug * fix: add more unit tests * fix: coverage bug * fix: update * fix: refactor * fix: add more tests * fix: unit test bug * fix: refactor code * fix: refactor nocobase test * test: add test case --------- Co-authored-by: chenos <chenlinxh@gmail.com> |
||
|
454d1d34ed
|
fix: add displayName (#3628)
* fix: context add displayName * fix: observer add displayName * fix: memo component add displayName * fix: forwordRef component add displayName |
||
|
05040a1c5f
|
fix: client docs (#2965)
* fix: application bug * fix: test error * feat: client doc * fix: delete it.only * fix: demos * fix: ci * fix: create index.md --------- Co-authored-by: dream2023 <1098626505@qq.com> |
||
|
39ee4b8873
|
feat: application supervisor (#2353)
* chore: skip sync localization-management plugin enable status * chore: unSyncPlugins array * chore: remove install at dev * chore: gateway and supervisor * chore: install command * chore: remove app manager * chore: share plugin * chore: wsserver * chore: websocket server * chore: websocket connection with app status * feat: socket server at gateway * chore: loading message * chore: ready status * chore: handle app error * feat: restart app at supervisor * feat: health check endpoint * chore: test * chore: test * chore: test * chore: test * chore: build * chore: test * chore: build * chore: application ready status * chore: error message * chore: handle application error * chore: handle error in load * chore: report error in websocket * chore: ws error * chore: ws error * chore: typo * chore: switch app ready status at install * chore: test * chore: test * chore: test * chore: test * feat: add WebSocket client * chore: start gateway * chore: start command in application * chore: code * chore: pm command * chore: run start after load sub app * feat: application fsm * refactor: server life cycle (#2402) * refactor: server life cycle * fix: test error * fix: test error * fix: test error * fix: app.start * fix: cronjob stop * fix: db.sync before upgrade * fix: pm.get * fix: test error * fix: test error * fix: test error * test: add test cases * fix: remove PluginType * chore: start application after install * chore: fsm * chore: working status * chore: working command * chore: remove swith app ready status * chore: switch status after working done * chore: ws status * chore: gateway error * chore: test * chore: stopping status * chore: test * chore: test * feat: app proxy * chore: application destory * chore: application message changed with status * chore: test * chore: test timeout * test: remove listener add by plugin * test: remove listener add by plugin * chore: test * feat: app maintaining * fix: add AppMaintainingDialog * feat: off * test: gateway http response * test: gateway with errors * chore: unkown error * chore: websocket message * chore: ws message * chore: code * chore: error format * chore: delay app load * feat: improve code * chore: application initializing status * chore: supervisor with app status * chore: command status response * chore: test * chore: ws message * chore: test * fix: command running message * feat: restart * chore: code * chore: status transition * chore: test * fix: improve code * fix: error * fix: restart * fix: command * chore: reset client app tag when app selector changed * chore: error report * fix: application status * fix: build * chore: disable help command dispatch * chore: test * test: multi apps test * fix: improve code * fix: test * fix: test * fix: multi apps single running * fix: improve code * fix: app status * chore: move plugin static file to gateway * feat: static file handler * chore: test * chore: enable plugins in share collection * chore: gateway serve upload files * fix: improve client * chore: ws nginx config * fix: gateway with naonoid * fix: db sync * fix: loading * fix: ping * fix: locale load * fix: yarn start --quickstart * fix: add debug log * chore: application started event * chore: running working message payload * chore: nginx log * chore: nginxconf * chore: working message log * feat: logs * feat: compression * fix: remove koa-send and koa-static * fix: remove -e * fix: remove nginx * fix: remove -e * fix: __appName * chore: delay install sub application * chore: sync plugin status * fix: boot sub app * fix: main app reload * fix: test * fix: app status * test: field.bind block event loop * feat: newrelic * feat: debug log * chore: upgrade * fix(file-manager): test error * fix: default app selector * fix: reload after maintained * chore: boot sub app * chore: application destroy command * chore: destroy command * chore: clean code * chore: package.json * chore: maintaining message * chore: test * fix: collection.sync * feat: add test cases * chore: application * fix: test error * feat: improve codes and add test cases * fix: test error * fix: pm enable and disable * fix: pm.disable * feat: update docs * chore: update dockerfile --------- Co-authored-by: chenos <chenlinxh@gmail.com> |
||
|
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 |
||
|
fd36c970bc
|
refactor(client)!: upgrade antd to v5 (#2078)
* refactor: change moment to dayjs * refactor: remove antd css * refactor: change @formily/antd to @formily/antd-v5 * chore: add dep * chore: upgrade babel/core and typescript * refactor: rename moment to dayjs * fix(dayjs): add plugins * refactor: fix type errors * refactor: change default export to named export * chore: upgrade ts-loader * refactor: rename moment to dayjs * refactor: fix type errors * chore: upgrade deps for build * fix: fix build errors * fix: add antd reset css * fix: fix build error * chore: add __builtins__ * chore: optimize genStyleHook * refactor(Calendar): less to css-in-js * refactor(acl): less to css-in-js * refactor(board): less to css-in-js * chore: add antd-style * refactor(acl): use antd-style * refactor(board): use antd-style * refactor: schema-initializer * refactor: refactor genStyleHook * refactor: kanban * refactor: filter * refactor: upload * refactor: markdown * refactor: rename className to componentCls * refactor: rich-text * style: fix style * fix: fix merge error * chore: update yarn.lock * chore: upgrade formily * style: fix pageHeader * style: fix add button style * style: fix header menu color * chore: update yarn.lock * chore: upgrade deps * test: fix tests * test: fix tests * fix: fix build error * fix: fix style of plugin doc * fix: fix tests * fix: fix drag bug * refactor: remove useless code * fix: fix Modal style (T-621) * fix: fix box-shadow of subMenu (T-622) * fix: fix style of linkage rules (T-623) * fix: fix style of DataTemplate * fix: fix style of variable (T-620) * chore: update yarn.lock * fix: avoid test failed * test: fix error * chore: update yarn.lock * test: fix error * test(dayjs): fix error * fix: should delay show menu to avoid the menu not hidden * test: skip failure test * fix(mouseEnterDelay): change default value from 100 to 150 * test: avoid failed * refactor: rename component names * chore: optimize types * chore: lock antd version * fix: fix build * fix: fix build * fix: layout bg color use variable * fix: fix style of buttons * feat: remove theme config * fix(calendar): fix style * fix(mobile-client): fix dialog style * fix: fix test * refactor: make code gooder * chore: change code * fix: fix T-847 * fix: fix T-845 * fix: display block * fix: danger button * refactor: make tester better * fix: change moment to dayjs * fix: build error * fix: import dayjs/plugin/isSameOrBefore * refactor: downgrade @testing-library/react to fix warning * fix: fix CI * fix: upgrade deps to fix build * fix: fix test * fix: skip some filed tests to avoid error * fix: fix build errors that maked by merge code * refactor: remove moment * fix: error * feat: update doc --------- Co-authored-by: chenos <chenlinxh@gmail.com> |
||
|
4427c70087
|
feat: compact theme (#1574)
* feat: compact theme * fix: theme * fix: styling * fix: margin * feat: improve * fix: remove console.log |
||
|
ba94dfaf6c
|
Feat/collection inherits (#1097)
* chore: test * chore: inherited-collection class * feat: collection inherit * feat: collection inherit * feat: inhertis sync runner * test: get parents fields * feat: collection inherit style promote * feat: sync * feat: sync alter table * feat: pgOnly Test * fix: child collection create api * feat: replace parent field * chore: reload parent fields * test: reload collection test * feat: details are displayed according to conditions * fix: typo * feat: inheritance map class * chore: is parent node * feat: display where child row created from * fix: find with appends * feat: add parent collection fields * fix: create table * feat: load fields for all children * refactor: sync fields from parent * test: has one field inhertis * feat: replace child association target * feat: should not replace child field when parent field update * test: should update inherit field when parent field update * feat: only the blocks directly inherited from the current data are displayed * fix: inherit from multiple collections * feat: only the blocks directly inherited from the current data are displayed * fix: test * feat: parent collection expend * fix: test * test: belongsToMany inherits * test: belongsToMany inherits * feat: block display * feat: collection inherite * feat: collection inherite * feat: multiple inherits * fix: sync runner * feat: collection inherite * feat: collecton inherits * feat: cannot be modified after inheritance and saving * feat: collection inherit for graph * feat: collection inherits * fix: drop inhertied field * fix: should throw error when type conflit * feat: output inherited fields * feat: bulk update collection fields * feat: collection fields * feat: collection fields * test: create relation with child table * fix: test * fix: test * fix: test * feat: style impove * test: should not replace field with difference type * feat: add text * fix: throw error when replace field with difference type * feat: overriding * feat: kan bankanban group fields * feat: calendar block fields * feat: kan bankanban group fields * fix: test * feat: relationship fields * feat: should delete child's field when parent field deleted * feat: foreign key filter * fix: build error & multiple inherit destory field * fix: test * chore: disable error * feat: no recursive update associations (#1091) * feat: update associations * fix(collection-manager): should update uiSchema * chore: flip if * feat: mutile inherits * feat: db dialect * feat: inherits show by database * chore: git hash into docker image * fix: js gzip * fix: dockerfile * chore: error message * feat: overriding * feat: overriding * feat: overriding * feat: local * feat: filter fields by interface * fix: database logging env * test: replace hasOne target * feat: add view * feat: local * feat: enableInherits * chore: error message * feat: enableInherits * feat: code optimization * feat: code optimization * feat: code optimization Co-authored-by: chareice <chareice@live.com> Co-authored-by: chenos <chenlinxh@gmail.com> |