mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-07 14:39:25 +08:00
27 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
|
9eb9d4e000
|
chore: user center extension (#6213)
* chore(versions): 😊 publish v1.6.0-alpha.24 * chore(versions): 😊 publish v1.6.0-alpha.25 * chore: user center extension * refactor: change password * chore: theme * chore: language * chore: code improve * feat: support extending frontend filter operators (#6085) * feat: operator extension * fix: bug * refactor: code improve * fix: jsonLogic --------- Co-authored-by: chenos <chenlinxh@gmail.com> * refactor: remove registerOperators (#6224) * refactor(plugin-workflow): trigger workflow action settings (#6143) * refactor(plugin-workflow): move bind workflow settings to plugin * refactor(plugin-block-workbench): move component to core * refactor(plugin-block-workbench): adjust component api * fix(plugin-workflow-action-trigger): fix test cases * fix(plugin-workflow): fix component scope * fix(plugin-workflow-action-trigger): fix test cases * chore(versions): 😊 publish v1.6.0-alpha.26 * feat: support the extension of preset fields in collections (#6183) * feat: support the extension of preset fields in collections * fix: bug * fix: bug * fix: bug * refactor: create collection * fix: config * fix: test case * refactor: code improve * refactor: code improve * fix: bug * fix: bug --------- Co-authored-by: chenos <chenlinxh@gmail.com> * feat: support for the extension of optional fields for Kanban, Calendar, and Formula Field plugins (#6076) * feat: kanban field extention * fix: bug * fix: bug * fix: bug * fix: bug * feat: calender title fields * feat: background color fields * fix: bug * fix: bug * feat: formula field expression support field * feat: preset fields * fix: bug * fix: bug * fix: bug * fix: bug * fix: bug * fix: bug * fix: bug * fix: bug * refactor: code improve * fix: bug * fix: bug * fix: bug * fix: bug * refactor: code improve * revert: preset fields * refactor: code improve * refactor: code improve * fix: bug * fix: bug * fix: bug * refactor: code improve * fix: bug * refactor: code improve * refactor: code improve * fix: bug * fix: locale * refactor: code improve * fix: bug * refactor: code improve * refactor: code improve * refactor: code improve * refactor: locale * fix: test * fix: bug * fix: test * fix: test --------- Co-authored-by: chenos <chenlinxh@gmail.com> * feat: inline mode * chore(versions): 😊 publish v1.6.0-alpha.27 * fix(data-source-main): update order * fix: bug * fix: bug * refactor: code improve * fix: bug * fix: code improve * fix: bug * fix: improve code * fix: getFontColor (#6241) * chore(versions): 😊 publish v1.6.0-alpha.28 * refactor: code improve * fix: bug * refactor: code improve * fix: bug * fix: print action e2e test (#6256) * fix: print action e2e test * fix: test * fix: merge bug * fix: bug * fix: bug * fix: bug * fix: bug * fix: bug * fix: bug * fix: bug * refactor: update package.json * fix: bug * feat: code improve --------- Co-authored-by: nocobase[bot] <179432756+nocobase[bot]@users.noreply.github.com> Co-authored-by: chenos <chenlinxh@gmail.com> Co-authored-by: Junyi <mytharcher@users.noreply.github.com> |
||
|
0fa56d7407
|
perf(Table): remove Formily components to improve performance (#5738)
* perf(Table): remove Formily components to improve performance * refactor: rename and modify comments * fix(UIEditor): fix hover style * fix(Table): fix style configuration option not showing * fix(ellipsis): fix refresh issue * fix: need to update field value * perf(Table): improve performance of configuring top buttons * refactor: skip style-related code when no style rules are set * chore(e2e): fix e2e errors * fix(e2e): fix e2e errors * fix(workflow): fix refresh issue * fix(workflow): fix refresh issue * fix(Action.Container): fix refresh issue * fix(drawer): fix refresh issue * fix(Table): fix refresh issue * fix(AssociationField): fix refresh issues * fix(NocoBaseRecursionField): fix refresh code * refactor(SchemaComponentContext): remove useless code * refactor: rename RefreshContext to RefreshFieldSchemaContext * refactor(useDataBlockRequestGetter): optimize comment * refactor: rename and new refresh context * fix(Table): fix some refresh issues * fix(AssociationField): fix refresh issue * refactor(Table): make code better * fix: replace RecursionField with NocoBaseRecursionField * refactor: remove useless code * fix(Menu): fix draging issue * fix: refresh entire page after drag and drop operation * fix(Page): fix draging issue * chore: fix build error * fix(test): make unit tests pass * chore(test): fix unit test * chore(e2e): fix e2e errors * chore(e2e): update e2e to make it pass * chore(e2e): update e2e to make it pass * chore(e2e): fix e2e errors * fix(e2e): fix some e2e errors * fix(SchemaComponent): fix onChange issue * chore(e2e): make e2e more stable |
||
|
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> |
||
|
607773075a
|
feat: implement on-demand loading for frontend components (#5647)
* fix: missing less loader while building client * fix: correct regex for .less file handling and resolve less-loader path * feat: dynamic import big react components for core plugins * chore: revert lerna.json * chore: remove global deps duplications [skip ci] * chore: optimization * feat: dynamic import for markdown vditor plugin * chore: optimization * chore: more optimization * feat: code split for plugins with some ui components * fix: incorrect submodule commit * fix: test cases failure * chore: refactor hook lazy import * chore: improve lazy component loading * chore: lazy load vditor lib's js files [skip ci] * chore: add bundle analyze option for client bundle * chore: update loading sytle * fix: add spinner when loading umi js files * chore: clean * chore: resolve develop branch confliction * chore: refactor helper function name * fix: error of lazy duplication [skip ci] * fix: replace useImported with uselazyhook * chore: rename * chore: add comments for the helper function * chore: update comment * fix: keep suspense into component level * fix: improve code --------- Co-authored-by: chenos <chenlinxh@gmail.com> |
||
|
ee512d7c9d
|
feat(notification-in-app-message): support in-app messages for mobile client (#5560)
feat(notification-in-app-message): support in-app messages for mobile client |
||
|
a2da825b31
|
feat: mobile modal bug (#4976)
* fix(T-4958): after closing the model, to reset the Form data * fix: bug |
||
|
ec5e4b0336
|
feat: open subpages within the main page (#4797)
* feat: open subpages within the main page * fix: fix known bugs and fix tests * refactor: optimize popups style * fix(style): avoid flickering * chore: add comment * fix: optimize nested popups * refactor: optimize path after closing popup * fix: fix draging * chore: optimize routing stack * feat: add back button for sub page * test: add e2e test * fix: enable returning from URL-opened pop-ups and subpages * fix: enable subpages to navigate via main page menu * refactor: optimize code * fix: fix closePopup method * fix: ensure block data refreshes after submitting from pop-up * fix: add 404 info when popup is deleted and add e2e test * fix: fix embed page * chore: add translation * fix(duplicate): fix e2e test * fix: fix filterByTK * chore(CI): add job for workflow-approval * chore(CI): fix syntax * chore(CI): add 'plugin-workflow-approval' in needs |
||
|
05cf9986b0
|
feat: enable direct dialog opening via URL and support for page mode (#4706)
* refactor: optimize page tabs routing * test: add e2e test for page tabs * feat: add popup routing * fix: resolve nested issue * refactor: rename file utils to pagePopupUtils * perf: enhance animation and overall performance * fix: fix filterByTK * fix(sourceId): resolve error when sourceId is undefined * fix: fix List and GridCard * fix: fix params not fresh * fix: fix parent record * fix: resolve the issue on block data not refreshing after popup closure * feat: bind tab with URL in popups * feat(sub-page): enable popup to open in page mode * chore: optimize * feat: support association fields * fix: address the issue of no data in associaiton field * fix: resolve the issue with opening nested dialog in association field * fix: fix the issue of dialog content not refreshing * perf: use useNavigateNoUpdate to replace useNavigate * perf: enhance popups performance by avoiding unnecessary rendering * fix: fix tab page * fix: fix bulk edit action * chore: fix unit test * chore: fix unit tests * fix: fix bug to pass e2e tests * chore: fix build * fix: fix bugs to pass e2e tests * chore: avoid crashing * chore: make e2e tests pass * chore: make e2e tests pass * chore: fix unit tests * fix(multi-app): fix known issues * fix(Duplicate): should no page mode * chore: fix build * fix(mobile): fix known issues * fix: fix open mode of Add new * refactor: rename 'popupUid' to 'popupuid' * refactor: rename 'subPageUid' tp 'subpageuid' * refactor(subpage): simplify configuration of router * fix(variable): refresh data after value change * test: add e2e test for sub page * refactor: refactor and add tests * fix: fix association field * refactor(subPage): avoid blank page occurrences * chore: fix unit tests * fix: correct first-click context setting for association fields * refactor: use Action's uid for subpage * refactor: rename x-nb-popup-context to x-action-context and move it to Action schema * feat: add context during the creation of actions * chore: fix build * chore: make e2e tests pass * fix(addChild): fix context of Add child * fix: avoid loss or query string * fix: avoid including 'popups' in the path * fix: resolve issue with popup variables and add tests * chore(e2e): fix e2e test * fix(sideMenu): resolve the disappearing sidebar issue and add tests * chore(e2e): fix e2e test * fix: should refresh block data after mutiple popups closed * chore: fix e2e test * fix(associationField): fix wrong context * fix: address issue with special characters |
||
|
935f9892fc
|
fix: double scrollbar on mobile client causing scrolling issues (#4745) | ||
|
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> |
||
|
19f905d34c
|
chore: update class names of plugins (#3981)
* chore: update class names of plugins * fix: build * chore: add back sample-hello * fix: test |
||
|
b750cab942
|
refactor: unify tab initailizer naming (#3932)
* refactor: rename dialog to popup * feat: add tabPaneInitializers * refactor: rename TabPaneInitializers to popup:addTab * refactor: rename TabPaneInitializersForCreateFormBlock to popup:addTab * refactor: rename TabPaneInitializersForBulkEditFormBlock to popup:addTab * chore: fix unit tests * chore: fix e2e |
||
|
b111f827ed
|
feat(data-vi): allows to add charts for mobile client (#3922)
* feat(data-vi): allows to add charts for mobile client * fix: remove foreign keys |
||
|
2f40bfab2b
|
chore: add API comments (#3919)
* chore: add API comments * refactor: rename |
||
|
b359f9eac6
|
feat: supports subdirectory deployment (#3731)
* feat: supports subdirectory deployment * feat: auto publicPath * fix: buildIndexHtml * fix: format * fix: regexp * fix: test error * fix: nocobase.conf * fix: path * fix: nocobase.conf * fix: bugs * fix: resourcer prefix * fix: cas |
||
|
51de34251a
|
refactor(SchemaInitializers): unify naming style (#3604)
* refactor(SchemaSettings): unify naming style * refactor(SchemaInitializers): unify naming stle * refactor: replace CreateFormBlockInitializers to blockInitializers:createForm * refactor: replace to blockInitializers:customizeCreateForm * refactor: replace block intializers name * refactor: replace action initializers name * refactor: replace field initializers name * style: fix hover style for column action (T-3297) * refactor: revert some codes * chore: update comment * chore: replace iframeBlockSchemaSettings to blockSettings:iframe * chore: delete pro-packages * feat: add CompatibleSchemaInitializer * test: add unit tests * chore: add @internal for CompatibleSchemaInitializer * chore: block * chore: field * chore: ations * fix: build * chore: typo * fix: fix unit tests * test: fix e2e * chore: remove igone * refactor: page:addBlock * refactor: popup:addNew:addBlock * fix: fix max call stack * refactor: popup:addRecord:addBlock * refactor: remove blockInitializers:recordForm * refactor: popup:tableSelector:addBlock * refactor: popup:view:addBlock * refactor: popup:bulkEdit:addBlock & charts:addBlock * refactor: mobilePage:addBlock * refactor: popup:snapshot:addBlock * refactor: popup:workflowManual:configureUserInterface:addBlock * fix: avoid crashing * chore: optimize * refactor: popup:common:addBlock * refactor: workflowManual:popup:configureUserInterface:addBlock * refactor: details:configureFields * refactor: form:configureFields * refactor: table:configureColumns * refactor: filterForm:configureFields * refactor: associationFilterInitializer * refactor: assignFieldValuesForm:configureFields * refactor: bulkEditForm:configureFields * refactor: auditLogsTable:configureColumns * refactor: chartFilterForm:configureFields * refactor: kanban:configureItemFields * refactor: workflowManual:customForm:configureFields * refactor: detailsWithPaging:configureActions * refactor: details:configureActions * refactor: createForm:configureActions * refactor: editForm:configureActions * refactor: gridCard:configureActions * refactor: gridCard:configureItemActions * refactor: list:configureActions * refactor: list:configureItemActions * refactor: table:configureItemActions * refactor: table:configureActions * refactor: filterForm:configureActions * refactor: subTable:configureActions * refactor: bulkEditForm:configureActions * refactor: auditLogsTable:configureItemActions * refactor: auditLogsTable:configureActions * refactor: calendar:configureActions * refactor: chartFilterForm:configureActions * refactor: gantt:configureActions * refactor: kanban:configureActions * refactor: map:configureActions * refactor: workflowManual:form:configureActions * feat: use 'createForm:configureActions' in page * feat: use 'details:configureActions' in Calendar * feat: register deleteEvent initializer in calendar plugin * fix: fix delete event action * test: fix e2e * test: fix e2e * chore: only run workflow's e2e * Revert "chore: only run workflow's e2e" This reverts commit 9e5b4af41e40e8d616007a5ab97291fb2370d88a. * fix: use isInitializersSame to fix some case |
||
|
454d1d34ed
|
fix: add displayName (#3628)
* fix: context add displayName * fix: observer add displayName * fix: memo component add displayName * fix: forwordRef component add displayName |
||
|
af6113c8ef
|
feat: support for multiple data sources (#3418)
* refactor: collectionName display with tablePrefix * fix: bug * fix: schema toolbar no ddata source (T-3182) * fix: unit test bug * fix: useAssociationNames support data source * chore(RecordProvider_deprecated): add collectionName * fix: deprecated * refactor: default value * refactor: default value * fix: fastRefresh=false * style: fix action link style (T-3228) * fix: should not diaplay Save mode for some Action (T-3217) * chore: remove group title (T-3194) * fix: extend collections bug * chore: transaction * fix: filter block only current data source (T-3226) * fix: fix filter block in drawer (T-3224) * fix: avoid error when editing field (T-3232) * fix: primary key name in postgres * chore: test * chore: test * refactor: forgin key support select and input * fix: doc bug * fix: change duplllicte divier name * feat: throughScope * fix: bug * refactor: local improve * fix: fix parent record of Add child in tree table (T-3235) * fix: block template filter by dataSource(T-3234) * chore: change table primary key * refactor: index for primarykey & unique * chore: test * fix: should not display filter blocks option if no association field (T-3242) * fix: dataSourceKey * refactor: sourcekey & forginkey & targetkey limit type * fix: bug * chore: test * fix: upload action * fix: unit test * fix: useSourceIdFromParentRecord * fix: permissions * fix: oho association field should has default fieldnames * fix: useSourceIdFromParentRecord * fix: tableSelectorProvider collection undefined * fix: bug * chore: validate association keys * fix: apply mixin bug * fix: getPrimaryKey * fix: bug T-3253 * fix: collection unit test * chore: validate association keys * fix: create collection * fix: getCollection in TableBlockProvider * refactor: association key in data source manager * fix: improve doc * fix(relationshipBlocks): fix sourceId (T-3257,T-3264) * fix: plugin acl test * chore: correct field options * fix: dataScope resource * fix: improve doc * fix: appVersion = '<0.20.0-alpha.1' * refactor: fieldNames * refactor: primarykey & unique & autoIncrement shuld not support edit in third dataSource * fix: bug * fix: gantt block params tree * fix: style * fix: wording & icon * fix: bug * fix: roles cache * refactor: calender & express & file collection support preset fields * fix: decode uri * refactor: migrate files [wip] (#3584) * refactor: migrate blockSettings:table * refactor: migrate fieldSettings:TableColumn * refactor: migrate TableBlockInitializer * fix: fix import path * refactor: migrate TableActionInitailizers * refactor: migrate TableColumnInitializers * refactor: migrate TableActionColumnInitializers * refactor: migrate TableColumnSchemaToolbar * refactor: migrate TableSelectorInitializer * refactor: migrate blockSettings:tableSelector * refactor(tableSelector): migrate e2e * refactor(form): migrate e2e * refactor: migrate FormBlockInitializer * refactor: migrate CreateFormBlockInitializer * refactor: migrate RecordFormBlockInitializer * refactor: migrate blockSettings:createForm * refactor: rename file name * refactor: migrate blockSettings:editForm * refactor: migrate FormActionInitailizers * refactor: move to a new file * refactor: migrate formItemInitializers * refactor: migrate FormItemSchemaToolbar * refactor: migrate fieldSettings:FormItem * chore: fix build * fix: fix weird path error * fix: rename formActionInitializers * fix: create collection field * refactor: throughCollection * fix: datasources get permission * fix: throughCollection * fix: throughCollection * fix: register initializer components * refactor: targetkey & source key must be unique * refactor: targetkey & source key must be unique index * fix(customRequest): avoid error when clicking button * chore: error message when add multiple primary keys * fix: target key in hasMany * fix: default value should not support edit in outside dataSource * fix: test * fix: update associations (#3586) * fix: source key * fix: addAccessor * fix: updateAssociations * fix: bugs * fix: remove test.only * refactor: migrate RecordReadPrettyFormBlockInitializer * refactor: migrate singleDataDetailsBlockSettings * fix(users): filter bug * refactor: migrate readPrettyFormActionInitializers * refactor: migrate readPrettyFormItemInitializers * refactor: migrate DetailsBlockInitializer * refactor: migrate multiDataDetailsBlockSettings * feat: validate association key pairs * chore: default title * refactor: migrate detailsActionInitializers * refactor: migrate e2e * refactor: migrate ListBlockInitializer * refactor: migrate listBlockSettings * refactor: migrate listActionInitializers * refactor: migrate listItemActionInitializers * fix: create collection * fix: remove fieldsHistoryRepository.createMany * test(e2e): fix error message for roles.name * fix: sync indexes in postgres * chore: test * test: acl test * test(e2e): fix sort error * refactor: remove useless code * test: kanban e2e * fix: load user * fix: test * test: fix unit tests * fix: db.sync * test: updateRole * fix: test * fix: settings and initializer performance improve * fix: update role resources * fix: add block * fix: fix T-3308 * test: fix e2e * test(e2e): skip fix block * chore: skip test in sqlite * fix: change initializer menu key * test(collectionManager): fix e2e * refactor: sort field availableTypes * fix: client core performance optimization * refactor(GridCard): migrate e2e * refactor: migrate GridCard * fix: bug * refactor: migrate utils * refactor: migrate filter-form * fix: change Record to CollectionRecord * chore: acl migration * chore: acl migration * chore: migration of acl * refactor: migrate Collapse * chore: error message * fix: update associations * chore: update collection search to be case-insensitive * refactor: migrate Markdown * fix(WorkflowTodos): x-toolbar typo * feat: admin change password * feat: check foreign key && target key value in update associations * chore: dataSource permission * refactor: dataSource permission * fix: acl support data source permission * fix: fix T-3307 * chore: test * refactor: locale improve * chore: locale * chore: sqlite test config * chore: create user with roles test * chore: test * test: fix mock data to avoid duplication * chore: test * fix: load table with tablePrefix * chore: move action in datasource * chore: number field to sort field type * test: optimize dropdown * chore: upgrade @playwright/test to v1.42.1 * fix: fix invalid path for Windows * test: fix e2e * chore: kanban Sort field * fix: kanban * fix: kanban * refactor: create sort in kanban * refactor: create sort field in kanban * refactor: locale improve * refactor: locale improve * fix: sync with null default value * refactor: collectionFieldInterfaceSelect * fix: move action * fix: update associations * fix: test case * chore: test * test: optimize e2e * feat: remvoe Duplicate for single details block (T-3195) * fix(fieldNames): should use primaryKey as default value (T-3322, T-3319) * fix: use filterTargetKey as fieldNNames.value * test: fix e2e * test: fix e2e * test(kanban): fix e2e * test(blockTemplate): should clear template at end of test * refactor: migrate fields * refactor: migrate actions * refactor: migrate menu * refactor: migrate page * refactor(SchemaSettings): unify naming style * fix: scopeKeyOptions undefined * refactor(SchemaInitializers): unify naming stle * fix(bi): chart filter fields * chore: acl snippets * refactor: replace CreateFormBlockInitializers to blockInitializers:createForm * refactor: replace to blockInitializers:customizeCreateForm * refactor: replace block intializers name * refactor: replace action initializers name * refactor: replace field initializers name * style: fix hover style for column action (T-3297) * refactor: revert some codes * chore: update comment * fix: revert record deprected * fix: remove pro-plugins * fix: bug * chore: replace iframeBlockSchemaSettings to blockSettings:iframe * Revert "refactor: revert some codes" This reverts commit 991021ceaeecc5d27113a51e501a4abd439edcd2. * Revert "refactor: replace field initializers name" This reverts commit b47b808d06305741b56302e3dad1dd256658fad4. * Revert "refactor: replace action initializers name" This reverts commit eab1b6e3d986d1c3dc80d75fa6230fa948e3a33e. * Revert "refactor: replace block intializers name" This reverts commit 50ab9da177f344d037184a17746cb1d0e037a826. * Revert "refactor: replace to blockInitializers:customizeCreateForm" This reverts commit 77b9f59bb14d944fd8c42006e899861196589748. * Revert "refactor: replace CreateFormBlockInitializers to blockInitializers:createForm" This reverts commit e9a38b0b4d9fabc571b7d9cdc8929914f5e2a367. * Revert "refactor(SchemaInitializers): unify naming stle" This reverts commit 542390899fa84d212a8dbbe7f77e0f19befa6ae8. * Revert "refactor(SchemaSettings): unify naming style" This reverts commit 8566735922c4a157efccdb3830deaedeb08c6f6a. * Revert "chore: replace iframeBlockSchemaSettings to blockSettings:iframe" This reverts commit 884f6df92fdc860a50500025f132904e9528002f. * refactor: create sorting field in kanban * refactor: create sorting field in kanban * fix: style * fix: bug * fix(SideMenu): fix the problem of invalid add menu (T-3331) * fix: translation * feat: client en-US docs --------- Co-authored-by: xilesun <2013xile@gmail.com> Co-authored-by: dream2023 <1098626505@qq.com> Co-authored-by: Zeke Zhang <958414905@qq.com> Co-authored-by: chenos <chenlinxh@gmail.com> Co-authored-by: Chareice <chareice@live.com> |
||
|
d85aaa36e3
|
fix(z-index): avoid obscuring the pop-up and upgrade antd to v5.12.8 (#3337)
* fix(z-index): avoid obscuring the pop-up * test: optimize * chore: fix build * test: fix errors |
||
|
1cbdfa4f60
|
feat(mobile-client): update the text of the preview button (#3189) | ||
|
f82b4d8726
|
feat(ui-schema): nocobase-admin-menu & nocobase-mobile-container (#3213)
* feat(ui-schema): nocobase-admin-menu & nocobase-mobile-container * fix: db.sync * fix: error * fix: error * fix: error * fix: add test case * fix: migration error * fix: test error |
||
|
bf1a19426a
|
refactor: new schema initializer and schema settings (#2802)
* fix: form * refactor: schema-initializer * fix: bug * refactor: schema initializer * refactor: rename * fix: delete SchemaInitializerProvider * refactor: props `insert` to hooks `useSchemaInitializerV2` * fix: bug * refactor: delete `SchemaInitializer.Button` * refactor: delete old SchemaInitializer * fix: bug * fix: workflow * fix: docs * fix: bug * fix: bug * feat: style * fix: remove v2 * fix: visible * fix: bug * fix: item hook * feat: item hook * fix: add search DataBlockInitializer * fix: build bug * fix: style bug * fix: style bug * fix: test bug * fix: test bug * fix: rerender bug * fix: remove menu select * fix: bug * chore: add aria-label for SchemaInitializerButton * refactor: rename name to camel case * fix: menu height bug * fix: build errors * fix: build errors * fix: bug * fix: bug * fix: performance * test: add test for header * fix: sidebar is not refresh (T-2422) * feat(e2e): support to add group page and link page * chore: make sure the page is configurable when using page.goto * test: add tests for menu initializer * fix: imporve code * chore: fix build error * chore: optimize locator of menu item * refactor: rename testid for select * test: make tests passing * fix: make tests passing * chore: upgrade vitest to v0.34.6 * chore: increase timeout of e2e * feat: core * fix: revert schema initializer demos * test: menu, page tabs, page grid, table column * fix: schema button interface * feat: refactor: page tab settings * feat: page settings * fix: dumirc * fix: export CSSVariableProvider * feat: lazy render * fix: form-item * fix: general schema desinger * feat: filter form item settings * refactor: form-v2 schema settings * refactor: form-v1 schema settings * refactor: action schema settings * fix: action bug * fix: form-item bug * fix: types error * docs: schema settings doc * docs: schema settings * feat: schema setting item add name * fix: visible lazy render bug * fix: revert form item filter * fix: test bug * fix: test JSON.parse bug * fix: test bug * fix: improve styling * fix: styling * fix: cleanup * fix: token.borderRadiusSM * fix: bug * test: add tests * fix: style bug * fix: add chart performance * feat: add SchemaDesignerContext * fix: bug * fix: test bug * style: create record action style improve * fix: make test passing * chore: mack tests passing * chore: make tests passing * test: fix tests * style: style revert * fix: bug * fix: data selector * fix: fix tests * fix: fix tests * fix: delete PluginManagerContext * refactor: improve router and add SchemaComponentProvider & CSSVariableProvider to MainComponent * fix: add dn and field builtin to SchemaSettingWrapper * feat: update docs * refactor: application providers * fix: test bug * fix: fix tests * chore: make test passing * feat: update docs * chore: rename collection name * feat: update docs * chore: skip weird test * fix: blockInitializers media to otherBlocks * fix: cancel to skip test * fix: bug * test: add test * refactor: migrate to small files * test: add tests for form block settings * chore: format * fix: add chart scroll bug * refactor: action designer improve * refactor: formitem designer schemaSetting * feat: schemaSettingsManager and schemaInitializerManager addItem and removeItem * test: add tests for color field in creating block * test: add tests for email field in creating block * test: make tests passing * perf: reduce fields number * fix: sub menu bug * test: add tests basic in editing form * test: add tests basic in details form * fix: improve code * test: make tests passing * test(plugin-mock-collections): add color for enum options * refactor: improve code * fix: bug * fix: bug * refactor: convert parameters to destructured object * test: add tests choices * test: add tests media * test: add tests for datetime in creating form * feat(plugin-mock-collection): generate faker time * test: add tests for datetime in editing form * test: add tests for datetime in details form * fix: bug * feat: improve code * test: add tests for relation fields * fix: rename SchemaSettings * fix: type bug * refactor: useDesinger() * fix: bug * fix: bug * fix: build tip * fix: designableState * fix: bug * fix: designable * fix: designable * test: add tests for relation fields * test: add tests for relation fields * test: add tests for relation fields * feat: client api doc * test: add tests for relation fields * test: avoid errors * test: make tests passing * fix: bug * test: make tests passing * test: add tests for advanced fields * test: increase e2e timeout-minutes to 60 * fix: bug * fix: improve code * feat: add schema initailizer component demos * test: make tests passing * fix: schema settings demos * feat: shallowMerge & deepMerge * test: reduce number of tests * test: make tests passing * feat: updates * fix: add Initializer Internal * demos: useSchemaSettingsRender * test: make tests passing * test: make tests passing * fix: improve docs * fix: bug * chore: upgrade dumi theme * test: make tests passing * test: add tests for linkage rules * test: add test for form data templates * test: add tests for default value * test: reduce number of tests * fix: dn.deepMerge * fix: bug * fix: bug * fix: toolbar * fix: docs ssr * test: add tests for system fields * test: add tests for actions * fix: bug * test: add tests for lazy loading of variables * test: make testing more stable * fix: update docs * fix: bug --------- Co-authored-by: Rain <958414905@qq.com> Co-authored-by: chenos <chenlinxh@gmail.com> Co-authored-by: katherinehhh <katherine_15995@163.com> |
||
|
cc40849c59
|
fix(plugin-mobile-client): page content disappears when tab is disabled (#3059)
* fix(plugin-mobile-client): page content disappears when tab is disabled * feat: make sure include tabs schema |
||
|
35b06cbfa0
|
refactor: plugin settings manager (#2712)
* feat: add settingsCenter * fix: style bug * chore: optimized code * refactor: settingCenter Auth * feat: add aclSnippet option * refactor: all plugin's setting center api * feat: add plugin with name * docs: add settings-center doc * fix: settings center menu sort by name * fix: change setting center layout * fix: change hello sort * test: add SettingsCenter.ts test case * fix: bug * fix: acl bug * fix: bug * fix: bug and 404 page * fix: test bug * fix: test bug * fix: bug * fix: locale * fix: styling * fix: rename settingsCenter to pluginSettingsManager * fix: styling * fix: e2e bug * fix: e2e bug * fix: locale * feat: update docs * fix: update --------- Co-authored-by: chenos <chenlinxh@gmail.com> |
||
|
29bf187fbf
|
chore: optimize locators (#2833)
* test(e2e): better locators for designer buttons * fix: make test passing * refactor: remove DesignerControl * chore: better locators * fix: should not disable add-menu-item * chore: better test id for block * chore: optimize Action * chore: remove role in BlockItem * feat: improve locators * chore: menu & add block * chore: initializer * chore: testid -> aria label * chore: tabs * chore: designers * refactor: optimize schemaInitializer * refactor: rename * chore: add collectionName * chore: block item * chore: action * fix: avoid crashting * chore(e2e): add __E2E__ * chore: all dialog * chore: add aria-label for block menu * Revert "chore: add aria-label for block menu" This reverts commit 6a840ef816ee1095484dc268b5dfa1bbe6cd8cbe. * chore: optimize aria-label of Action * chore: schema-initializer * chore(e2e): increase timeout * chore: schema settings * chore: optimize table * chore: workflow * chore: plugin manager * chore: collection manager and workflow * chore: details of workflow * chore: remove testid of Select * test: fix unit-tests * test: fix unit-tests * test(e2e): passing tests * test: fix unit test * chore: should use hover * test: passing tests * chore: passing tests * chore: fix CI * chore: fix CI * chore: increase timeout in CI --------- Co-authored-by: chenos <chenlinxh@gmail.com> |
||
|
a57c93d35b
|
feat: support e2e (#2624)
* chore: upgrade vitest to v0.34.3 * feat: setup NocoBase * chore: preparing test env * test: add a test of rigster * refactor: rename test dir to testUtils * chore: add tests * chore: add ci for e2e * chore: fix ci * chore: avoid error in CI * chore: add some utils for test * chore: make more stable * chore: should not close server in CI * chore: add comments * chore: change output dir * fix: should use current branch to run tests * chore: should request systemSettings by api in e2e * chore: should build first in e2e CI * chore: remove key * chore: use execa to replace execSync * refactor: extract test suite * chore: add gotoPage * chore: update uid of pageSchema * chore: update collection name * chore: use faker.js to generate data * refactor: extract page config * chore: ignore for association fields in faker * chore: add testid * chore: optimize action designer * chore: associationFilter.Item designer * chore: AssiciationFilter & BlockItem * Revert "chore: AssiciationFilter & BlockItem" This reverts commit b418df650e106fd0c8e23035d2f75acf60dcafe4. * Revert "chore: associationFilter.Item designer" This reverts commit 7aa4d35c1af7f3a780b370d8b1b44aac01697be3. * Revert "chore: optimize action designer" This reverts commit ff717b972ffd64f7968d565a3a84ad617ff889e2. * chore: optimize Designer * chore: compat with older browsers * chore: use describe to avoid hooks is not run * chore: add no-floating-promises to eslint rules * chore: support argv * chore: demo * chore: better testId * chore: change .e2e.ts to .test.ts * fix(SchemaInitializer): avoid error * refactor: move e2eUtils.ts to @nocobase/test * fix: move e2eUtils to client * chore: remove uselesscode * refactor: add .env.e2e.example * chore: optimize log * refactor: use mockPage to replace gotoPage * chore: update env.e2e * chore: add APP_BASE_URL * chore: gitigore * test: add test related of menu * chore: add SOCKET_PATH in env * fix(vscode): load env when using vscode plugin |
||
|
705b7449f0
|
feat: new plugin manager, supports adding plugins through UI (#2430)
* refactor: plugin manager page * fix: bug * feat: addByNpm api * fix: improve the addByNpm * feat: improve applicationPlugins:list api * fix: re-download npm package when restart app * fix: plugin delete api * feat: plugin detail api * feat: zipUrl add api * fix: upload api bug * fix: plugin detail info * feat: upgrade api * fix: upload api * feat: handle plugin load error * feat: support authToken * feat: muti lang * fix: build error * fix: self review * Update plugin-manager.ts * fix: bug * fix: bug * fix: bug * fix: bug * fix: bug * fix: bugs * fix: detail click and remove isOfficial * fix: upgrade no refresh * fix: file size and type check * fix: bug * fix: upgrade error * fix: bug * fix: bug * fix: plugin card layout * fix: handling exceptional cases * fix: tgz file support * fix: macos compress file * fix: bug * fix: bug * fix: bug * fix: bug * fix: add upgrade npm type * fix: bugs * fix: bug * fix: change plugins static expose url * fix: api prefix * fix: bug * fix: add nginx `/static/plugin/` path * fix: bugs and pr docker build no dts * fix: bug * fix: build tools bug * fix: improve code * fix: build bug * feat: improve plugin info * fix: ui bug * fix: plugin document bug * feat: improve code * feat: improve code * feat: process dev deps check * feat: improve code * feat: process.env.IS_DEV_CMD * fix: do not delete the plugin package * feat: plugin symlink * fix: tsx watch --ignore=./storage/plugins/** * fix: test error * fix: improve code * fix: improve code * fix: emitStartedEvent * fix: improve code * fix: type error * fix: test error * test: console.log * fix: createStoragePluginSymLink * fix: clientStaticMiddleware rename to clientStaticUtils * feat: build tools support plugins folder * fix: 350px * fix: error * feat: client dev support plugin folder * fix: clear cli options * fix: typeError: Converting circular structure to JSON * fix: plugin name * chore: restart application after command * feat: upgrade error & docs * Update v14-changelog.md * Update v14-changelog.md * Update v14-changelog.md * fix: gateway test * refactor(plugin-workflow): add ready state for gracefully tearing down * Revert "chore: restart application after command" This reverts commit 5015274f8e4e06e506e15754b672330330e8c7f8. * chore: stop application whe restart * T 1218 change plugin folder (#2629) * feat: change folder name * feat: change `pm create` command * feat: revert plugin name change * fix: delete samples * feat: change plugins folder * fix: pm create * feat: update docs * fix: link package error * fix: docs * fix: create command * fix: pm add error * fix: create add build * fix: pm creatre + add * feat: add tar command * fix: docs * fix: bug * fix: docs --------- Co-authored-by: chenos <chenlinxh@gmail.com> * feat: docs * Update your-fisrt-plugin.md * Update your-fisrt-plugin.md * chore: application reload * chore: test * fix: pm add error * chore: preset install skip exists plugin * fix: createIfNotExists --------- Co-authored-by: chenos <chenlinxh@gmail.com> Co-authored-by: chareice <chareice@live.com> Co-authored-by: Zhou <zhou.working@gmail.com> Co-authored-by: mytharcher <mytharcher@gmail.com> |