mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-08 15:09:27 +08:00
42 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
|
c2928d38cf
|
feat: add tooltip configuration to menu item and table headers (#6346)
* feat: add tooltip configuration to menu item and table headers * feat: add tooltip to link and group menus * feat: menu tooltip icon style adjustment * feat: menu tooltip icon style adjustment * fix: e2e * refactor: optimize tooltip component usage in table columns * feat: add tooltip editing functionality and enhance tooltip display in menu items --------- Co-authored-by: Zeke Zhang <958414905@qq.com> |
||
|
0d0c81cc90
|
refactor: make the menu responsive to screen width (#6331)
* chore: convert routes * chore: stash * chore: stash * feat: support to add menu item * feat: add MenuSchemaToolbar * refactor: extract EditMenuItem component * feat: add hidden option * refactor: extract HiddenMenuItem * feat: add 'Move to' option * feat: add insert options * feat: remove route * fix: children * fix: route * feat: enhance menu item rendering and group handling in admin layout * feat: add container support to MenuSchemaToolbar and fix display issue in Group * fix: add conditional check before moving routes in menu item settings * feat(navigation): add default page navigation for admin layout * chore(versions): 😊 publish v1.6.0-alpha.24 * feat: export AppNotFound component and integrate 404 handling in AdminDynamicPage * fix: update admin layout route path to use item options URL * chore(versions): 😊 publish v1.6.0-alpha.25 * refactor: rename route node retrieval functions for clarity and add legacy route compatibility * refactor: clean up layout component by removing unused styles and improving header rendering * refactor: simplify menu item components by removing unused schema insertion logic and optimizing imports * refactor: add 'x-async' property to tab schema and clean up server imports * refactor: tabs * feat: support extending frontend filter operators (#6085) * feat: operator extension * fix: bug * refactor: code improve * fix: jsonLogic --------- Co-authored-by: chenos <chenlinxh@gmail.com> * feat: add fake schema for routing in SortableItem and remove unused fieldSchema import * feat: adjust content padding in InternalAdminLayout for improved layout * 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: replace SchemaComponent with RemoteSchemaComponent and add AppNotFound for empty tabs * refactor: rename useCurrentRoute to useCurrentRouteData for clarity * fix: redirect to first tab by default * 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> * fix: enhance access permission check and clean up unused props in Page component * fix: adjust Action.Page style to set top position to 0 * fix: update redirect logic to point to the first page route in admin layout * chore(versions): 😊 publish v1.6.0-alpha.27 * fix: add link handling in MenuItem to open URLs in a new tab * fix(data-source-main): update order * fix: integrate drag-and-drop functionality in MenuItem and Page components * fix: add drag-and-drop support in admin layout and improve loading behavior * fix: header style * fix: set sider width in admin layout * fix: refactor InternalAdminLayout for improved readability and maintainability * fix: optimize token management in InternalAdminLayout for better styling consistency * fix: style * fix: avoid error * fix: update container reference in MenuSchemaToolbarWithContainer * fix: add icon style to MenuSchemaToolbar * fix: remove bottom border from header in admin layout * fix: add collapsed button render function to InternalAdminLayout * fix: update viewport meta tag for better responsiveness * fix: add MenuItemIcon component for conditional icon rendering in admin layout * fix: wrap SchemaToolbar in SiderContext.Provider to prevent style issues in collapsed state * fix: update InternalAdminLayout styles for improved menu item appearance * fix: adjust menu item spacing and height for compact mode in admin layout * fix: add collapse handling and page change logic in InternalAdminLayout * fix: add header context provider and update MenuItemIcon rendering logic in InternalAdminLayout * fix: replace Modal with App.useApp().modal in HiddenMenuItem for improved modal handling * fix: enhance click area for links in MenuItem and streamline group navigation logic * fix: refresh routes after adding link menu * fix: add mobile actions popover for improved user interaction in admin layout * fix: adjust layout width and margin for improved alignment in admin layout * style: fix the style of the top collapsed menu button dropdown * fix: add active background color for selected menu items in collapsed menu * fix: improve z-index management for modal, drawer, and page components to prevent overlap with collapsed menu button * fix: adjust position of collapsed button to prevent overlap with subpages * fix: update collapsed button rendering to handle mobile context and prevent overlap with subpages * fix: prevent schema data request for group pages in admin layout * fix: handle undefined menu titles by providing a default value * fix: add refresh functionality for desktop routes in menu permissions * fix: adjust page header padding based on route settings and token * fix: center text * fix: add tooltip support for menu items in collapsed state * fix: tooltip * fix: improve page tab routing and deletion handling * fix: adjust admin layout height to account for header * fix: improve route navigation and deletion handling in admin layout * chore: update version * fix(routing): Add Navigate import from react-router-dom * fix(e2e): locator * test: remove demo and useless test case for Page component * fix: improve page creation and routing in e2e utils * fix: improve z-index handling for embedded pages * feat(admin-layout): Add aria-label to menu item links for improved accessibility * fix(mobile-ui): Adjust toolbar and navigation bar styling * test(acl): Simplify menu item visibility test setup * test: update e2e test templates and route handling * fix: fix compatibility issues * fix(admin-layout): improve default page navigation handling * fix(acl): add optional chaining to prevent potential null/undefined error in uiButtonSchemasBlacklist check * fix: keep alive * fix(desktop-routes): enhance route retrieval with automatic child route inclusion * test: add test * fix(page): update navigation logic to use location pathname for tab routing * fix(route): export CurrentRouteProvider for better accessibility in routing context * refactor(layout): remove unused styles for cleaner code * fix(layout): integrate useGlobalTheme for consistent theming and clean up unused parameters * fix(route): improve route redirection logic --------- Co-authored-by: nocobase[bot] <179432756+nocobase[bot]@users.noreply.github.com> Co-authored-by: Katherine <katherine_15995@163.com> Co-authored-by: chenos <chenlinxh@gmail.com> Co-authored-by: Junyi <mytharcher@users.noreply.github.com> |
||
|
97333d0c06
|
refactor(Menu): optimize menu interface (#5955)
* feat: define desktopRoutes collection * feat: convert routes to schema * feat: support to add new route * feat: support to delete routes * feat: adaptor Hidden option * feat: adaptor Edit option * fix: fix incomplete menu display issue * feat: support to insert * feat: adjust permission configuration page interface * feat: add listAccessible action * feat: routes table * feat: edit button * style: optimize style * chore: add confirm text * fix: delete corresponding schema when removing routes to ensure data consistency * chore: add field type * feat: create a tab when creating a page * fix: fix tabs issue * fix: avoid undefined error * fix: should hide menu when it's hideInMenu is true * fix: should refresh menu when updating it * chore: optimize params * fix: fix tab when adding child * chore: should display empty * fix: fix subapp path * fix: fix activeKey of tab * chore: add translation * chore: prevent menu collapse after adding new menu item * refactor: rename useDesktopRoutes to useNocoBaseRoutes * fix: fix tab path * fix: fix draging issue * feat: support to set Hidden for Tab * feat: implement move * fix: draging * chore: add migration * fix: fix migration * chore: fix build * chore: fix e2e test * fix: fix menu creation position issue * fix: migration * chore: add translation * fix: fix some bugs * fix: fix 'Move to' * fix: compile Route name in permission management page * fix: fix table selection issue * chore: add comment * fix: hidden * fix: fix mobile route path * fix: do not select parent node when selecting child nodes * fix(mobile): hide menu * fix(mobile): path * fix(mobile): fix schema * fix(mobile): compile tab title * fix: fix permission configuration page selection error * fix: fix selection issues * fix(migration): transform old permission configuration to new permission configuration * chore: translate fields title * feat: support localization * fix: fix pagination * chore: fix build * fix: change aclSnippet * chore: fix unit tests * fix: fix error * chore: fix unit tests of server * chore(migration): update version of migration * chore: fix e2e tests * chore: fix build error * chore: make e2e tests pass * chore: fix migration error * fix: show ellipsis when text overflows * fix: show ellipsis when text overflows * chore: change 'Access' to 'View' * fix: should use sort field to sort * fix: fix tab drag and drop issue * refactor: rename unnamed tab label to 'Unnamed' * fix: fix draging issue * refactor: add 'enableTabs' field * refactor: optimize route fields * refactor: optimize migration * fix: set enableTabs to false when creating page * refactor: change empty tab name to 'Unnamed' * fix: fix tab path * fix: avoid undefined error * chore(migration): update appVersion * fix(migration): fix page issue * chore: fix unit test * fix(mobile): fix incorrect path * fix(mobile): fix enableTabs issue * fix: disable Add child route button when enableTabs is false * fix: fix embed issue * fix(migration): add migration for mobile * chore: update migration * fix: fix tab title not updating issue * fix: fix untranslated text issue * fix: fix routes table style * fix: fix group issue * fix(mobile): fix 404 issue * fix: should hide tabs when creating page * fix: should translate tabs title * fix: fix translation issue * fix(migration): fix appVersion * fix: fix ACL * fix: should set paginate to true and filter out hidden items * fix(migration): fix bug * refactor(desktopRoutes): add enableHeader and displayTitle * fix: fix permission issue * fix(mobile): fix error * fix(mobile): fix migration error * fix(migration): compatible with older versions * fix: make unit tests pass * chore: ignore some failing test cases * chore: test * fix: test |
||
|
8b2ec36150
|
feat: add schemaSetting to show file name for attachments (#5995)
* feat: add schemaSettig to show file name for attachments * fix: bug * fix: bug * fix: bug * fix: bug |
||
|
3140edf798
|
fix: refresh issues (#5838)
* fix(associationField): fix the issue where the configuration popup does not show when reopened * test: add e2e test * refactor: extract template code * chore(e2e): fix e2e error |
||
|
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 |
||
|
7b81685179
|
fix(data-vi): issue where filter field components of chart blocks not rendering (#5769)
* fix(data-vi): issue where filter field components of chart blocks not rendering * chore: update |
||
|
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> |
||
|
541cef2fe7 |
Merge branch 'main' into next
# Conflicts: # packages/plugins/@nocobase/plugin-field-china-region/package.json # packages/presets/nocobase/src/server/index.ts |
||
|
6d8469b371
|
feat: china region field plugin remove from built-in plugins (#5693)
* refactor: optimize China region field plugin remove from built-in plugins * refactor: migration * fix: remove field-china-region --------- Co-authored-by: chenos <chenlinxh@gmail.com> |
||
|
c3e7a8e93b
|
feat: support for switching languages on the login page (#5323) | ||
|
a04aeb17e6
|
feat(data-vi): support for adding chart blocks in popups/drawers/sub-pages (#5248) | ||
|
77b60ed16c
|
feat(kanban): add support for opening via URL (#5083)
* refactor: rename 'usePagePopup' to 'usePopupUtils' * refactor: remove useless code * refactor(kanban): reduce card dependency on context * feat: finished * test: add e2e test * chore: fix e2e test |
||
|
61e9dd5cc1
|
feat: plugin mobile v2 (#4777)
* feat: init * fix: mobile layout * feat: more code * feat: improve navigate bar * fix: mobile title * feat: improve code * fix: add settings and initailzer * fix: settings * fix: tabbar items settings * feat: tabbar initializer * fix: api * fix: styles * feat: navbar * feat: navigate bar tabs initializer * feat: navigate bar tab settings * feat: navigation bar actions * fix: bug * fix: bug * fix: bug * fix: tabbar active * fix: bug * fix: mobile login and layout * fix: update version * fix: build error * feat: plugin settings support link * fix: add mobile meta * fix: desktop mode * fix: remove old code and change collection name and mobile path * fix: tabbar and tabs initialer layout * fix: initializer style * fix: adjust schema position * fix: mobile style * fix: delete relation resource and home page bug * fix: support multi app * fix: not found page * fix: js bridge * fix: bug * fix: navigation bar schema flat * fix: navigation bar action style * fix: change version * fix: mobile meta and real mobile test * refactor: folder and name * fix: navigation bar sticky and zIndex * fix: full mobile schema * fix: mobile readme and package.json * fix: e2e bug * fix: bug * fix: tabbar style on productino * fix: bug * fix: rename MobileTabBar.Page * fix: support tabbar sort * fix: support page tabs sort * fix: i18n * fix: settings utils import bug * docs: api doc * fix: qrcode refresh * test: unit tests * fix: bug * fix: unit test * fix: build bug * fix: e2e test * fix: overflow scroll * fix: bug * fix: scroll and overflow * fix: bug * fix: e2e expect await * fix: e2e bug * fix: bug * fix: change name * fix: add more e2e * fix: page header * fix: tab support icon * fix: bug * fix: bug * fix: docs * fix(T-4811): scroll bar too long * fix(T-4810): desktop mode * fix: e2e * fix(T-4812): title empty * fix: unit test * feat: hide Open mode option in mobile mode * feat: change default value of Open mode on mobile * feat: add OpenModeProvider * feat: support page mode * fix: fix build * test: update unit tests * chore: remove pro-plugins * fix: bug * fix(T-4812): title is required * fix: bug * fix: bug * fix: bug * fix: bug * refactor: remove z-index * refactor: make better for subpages * fix: drag bug * fix: bug * fix: theme bug * fix(T-4859): create tab bar title empty * fix(T-4857): action too long * fix: e2e bug * fix: remove comment * fix: bug * fix: theme bug * fix: should provider modal component * fix: bug --------- Co-authored-by: chenos <chenlinxh@gmail.com> Co-authored-by: Zeke Zhang <958414905@qq.com> |
||
|
7d660f5a0f
|
feat(Link): add 'Open in new window' option (#4898)
* refactor: rename 'useURLAndParamsSchema' to 'useURLAndHTMLSchema' and improve it * feat: add 'Open in new window' option * test: add e2e test |
||
|
881dced4dc
|
feat(Menu): add support for setting search params and using variables in links (#4855)
* refactor: extract urlSchema and paramsSchema to useURLAndParamsSchema * refactor: extract to useParseURLAndParams * feat: support to parse variables in Menu.URL * test: add e2e test * chore: fix e2e tests |
||
|
99a0fcae1c
|
feat(variable): add a new variable named 'Parent popup record' (#4748)
* refactor: extract CurrentPopupRecordProvider component * refactor: rename * feat(variable): add a new variable named 'Parent popup record' * chore: add translation * fix: fix known issues * test: add e2e tests |
||
|
585fea650e
|
feat: workbench block (#4555)
* feat: workbench block * feat: mobilePage * fix: update WorkbenchAction * feat: improve code * fix: iconColor * fix: Improve code * feat: Improve code * fix: version |
||
|
ef8e4aed48
|
fix(filter-form): fix operator not valid in block templates (#4390)
* fix(filter-form): fix operator not valid in block templates * test: add e2e test * test: clear data templates * chore: fix e2e tests * chore: stash * chore: change import path to fix unit tests * chore: change import path to fix unit tests * chore: fix build |
||
|
95fef86880
|
client components (#4216)
* docs: update docs components * docs: add more component docs * docs: add more docs * fix: add more docs * fix: build bug * feat: docs * fix: build error * fix: docs * fix: change x-read-pretty to x-patten * fix: upgrade docs and types * fix: build bug * fix: add more docs * fix: build bug * fix: cascader component * fix: bug * fix: add more docs * fix: add backend ci time --------- Co-authored-by: katherinehhh <katherine_15995@163.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> |
||
|
fe4be822b9 | feat: add to more blocks | ||
|
d14f8d23d7
|
chore: remove legacy formula plugins (#3939)
* chore: remove legacy formula plugins * fix(plugin-formula-field): fix readme |
||
|
2be065984c
|
fix: source id null (#3917)
* fix: source id null * refactor: use parentRecord instead of sourceId --------- Co-authored-by: Zeke Zhang <958414905@qq.com> |
||
|
768dfc624a
|
fix: get the correct sourceId (#3897)
* fix(withDynamicSchemaProps): replace recursive merge with simple merge * refactor: add useDetailsByAssociationRecordDecoratorProps * chore: update comment * fix: get the correct sourceId * test: add e2e * refactor: extract to template * refactor: add x-is-current * refactor: optimize code * Revert "refactor: optimize code" This reverts commit b2b03c3c0cd42d4027936cebceb8b0c6ba43edd8. * refactor: add useSourceIdCommon hook and update usage in multiple files * fix(EditForm): refactor form block sourceId logic * chore: add test for form block * chore: update comment * fix: fix filterKey assignment in useParentRequest function * refactor: refactor useParentRequest function to use fieldCollection for filterTargetKey * refactor: extract to useSourceKey * refactor: optimize code |
||
|
ba1e44c527
|
feat: support to set data loading mode (#3712)
* feat: add setDataLoadingModeSettingItem * feat: support to set data loading mode * chore: add translation * chore: refresh the block immediately after the configuration has been changed * feat: the data loading mode should also work for the filter buttons * feat: support old version * fix: data scope * fix: fix known bugs * fix: add setting for table selector * test: fix e2e |
||
|
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> |
||
|
33edd78531
|
style: fix color of more button and scrollbar style (#3486)
* style(header): fix color of more button * style: fix scrollbar style |
||
|
06f11a2d08
|
refactor(auth): move auth client from core to the plugin & refactor auth client api (#3215)
* refactor(auth): auth client api * fix: build * fix: dependencies * fix: fix T-2777 * fix: fix T-2776 * chore: update type * fix: build * fix: allowSignUp * fix: file name * fix: file name * refactor: client api * fix: build * chore: update name * fix: tsx must be loaded with --import instead of --loader * fix: type * fix: type * fix: type * fix: type * fix: bug * chore: improve wording * fix: test --------- Co-authored-by: chenos <chenlinxh@gmail.com> |
||
|
c129889df6
|
fix: fix switch role and input style (#3226)
* fix: fix switch role and input style * refactor: remove useless code |
||
|
b1610e6994
|
feat: kanban& gantt&bulk edit& bulk update& duplicate& print action pluggable (#3019)
* fix: bug * test: kanban test * test: gantt block test * test: gantt test * test: gantt test * test: gantt test * 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 * test: gantt block test * test: gantt test * test: gantt test * test: gantt test * fix: bug * feat: improve code * test: add tests for relation fields * refactor: style improve * fix: rename SchemaSettings * fix: type bug * refactor: useDesinger() * fix: bug * fix: bug * fix: build tip * refactor: kanban setting * refactor: gantt setting * refactor: bulk update setting * refactor: bulk update setting * refactor: bulk edit settings * refactor: duplicate settings * refactor: print action setting * refactor: duplicate settings * refactor: bulk update refactor * refactor: bulk update refactor * fix: designableState * fix: bug * fix: designable * refactor: bulk update * 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: gantt test * 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 * test: bulk update test * refactor: useSchemaToolbar * fix: improve docs * fix: bug * test: duplicate action test * test: duplicate action test * test: duplicate action test * test: duplicate action test * 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 * refactor: bulk edit setting * test: bulk edit action test * test: bulk edit action test * fix: dn.deepMerge * fix: bug * test: bulk edit action test * test: kanban test * refactor: bulk update version * refactor: print action version * 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 * test: bulk edit test * test: bulk update action test * fix: update docs * test: print test * test: kanban test * test: kanban test * refactor: duplicate version * fix: merge bug * refactor: bulk update * fix: merge bug * refactor: bulk edit * refactor: import * refactor: export action * refactor: code improve * refactor: kanban code improve * fix: merge bug * refactor: readPrettyFormActionInitializers * test: print action test * test: print action test * refactor: print action * test: action test * refactor: gantt date change * style: gantt style improve * test: gantt &bulkUpdate test * test: bulk update test * test: duplicate action test * test: print action test * test: bulk edit action test * test: gantt block test * test: kanban block test * test: test file name * test: test file name * test: bulk update action tst * refactor: rename test file name * refactor: bulk update action * refactor: gantt test * fix: block template * fix: block template * fix: useFieldModeOptions * refactor: code improve * fix: merge bug --------- Co-authored-by: dream2023 <1098626505@qq.com> Co-authored-by: Rain <958414905@qq.com> Co-authored-by: chenos <chenlinxh@gmail.com> |
||
|
16ad19b18d
|
feat(bi): filter block for charts (#2851)
* refactor: SchemaInitializer * feat: render * feat: finish BlockInitializers * feat: finish TableActionInitializers * refactor: new SchemaInitializerV2 * feat: support useChildren * feat: finish TableColumnInitializers * refactor: tableActionColumnInitializers * fix: bug * refactor: xx * docs: schemaInitializer demo1 * docs: schema-initializer demo2 * feat: demo3 * docs: schema-initializer * fix: form * feat(bi): filter block for charts * refactor: schema-initializer * fix: bug * feat: add filter block in chart block * refactor: schema initializer * refactor: rename * fix: delete SchemaInitializerProvider * refactor: props `insert` to hooks `useSchemaInitializerV2` * fix: bug * refactor: improve code & style * feat: add expand/collapse button * fix: filter & reset bug * fix: configure data conflict * refactor: delete `SchemaInitializer.Button` * refactor: delete old SchemaInitializer * feat: support for adding custom filter field * fix: bug * fix: workflow * fix: docs * feat: support for editing operator of collection field * fix: bug * fix: bug * feat: support for editing options of custom fields * feat: style * fix: remove v2 * feat: init chart with filter * fix: visible * fix: bug * fix: item hook * feat: support for setting default value * feat: item hook * feat: support for filtering by associate fields * fix: bug of associate field * fix: get field bug * fix: bug of adding filter block * fix: bug of empty filter * fix: filter parse issues * fix: add search DataBlockInitializer * fix: build bug * fix: fix bug and improve * fix: bug * fix: variable * fix: hook dependencies * 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 * fix: fix T-2388, T-2384 * 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 * fix: fix T-2383 * fix: variables * fix: variables * fix: fix T-2441 * chore: fix build error * chore: optimize locator of menu item * refactor: rename testid for select * feat: select source field for custom field, fix T-2416 * fix: bug * 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 * fix: fix T-2386 * feat: refactor: page tab settings * feat: page settings * fix: dumirc * fix: export CSSVariableProvider * feat: lazy render * fix: fix T-2473, T-2474 * fix: fix T-2476 * fix: fix T-2472 * fix: form-item * fix: general schema desinger * feat: filter form item settings * fix: fix T-2484, T-2482 * refactor: form-v2 schema settings * refactor: form-v1 schema settings * refactor: action schema settings * fix: dependency * 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 * chore: update filter hook * chore: fix association fields * fix: build * chore: use `default` instead of `componentProps.defaultValue` * chore: remove chinaRegion in custom field components * fix: menu height * fix: duplicate keys warning * fix: variable issues * fix: filter bug * fix: operator bug --------- Co-authored-by: Your Name <1098626505@qq.com> Co-authored-by: Rain <958414905@qq.com> Co-authored-by: chenos <chenlinxh@gmail.com> Co-authored-by: katherinehhh <katherine_15995@163.com> |
||
|
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> |
||
|
70d5b9e44b
|
feat: localization management (#2210)
* feat: init localization-management * feat: resource api * Merge branch 'main' into T-62 * chore: change name * feat: basic feature * feat: support filter & sync * feat: support auto get texts afterSave * Merge branch 'main' into T-62 * chore: upgrade * fix: dependency * fix: field type * fix: type error * chore: remove some translations * feat: support extract text from menu * chore: cache text keys * chore: remove test key * fix: issue of extracting menu titles * feat: translate collections & fields name * fix: remove unique of text * refactor: improve cache * chore: remove listeners after disable * chore: translation * fix: lang switch bug * refactor: actions & filter * fix: translation * refactor: merge lang bundles at backend * fix: style & field name * fix: translate issues * fix: cache bug * fix: translation merge bug * fix: translate issues * fix: map translation * fix: translation issues * fix: card title bug * feat: cover mobile client tabbar * fix: menu title * refactor: add locale plugin * chore: merge locale plugin * fix: map translation * chore: remove no data * style: change button style * fix: sync bug * docs: add README * chore: change name --------- Co-authored-by: chenos <chenlinxh@gmail.com> |
||
|
4812cc5692
|
feat: support custome themes (#2228)
* feat: create custom-theme plugin * feat: add custom-theme * chore: add plugin name and description * chore: add deps * chore: optimize deps * refactor: rename * chore: add antd-token-previewer * chore: add deps in plugin * feat: add theme-editor * feat: add theme-editor * feat: add settings * feat: add theme collection * refactor: migration to the components folder * feat: add ThemeList * refactor: be better * feat: export createStyles * feat: implement ThemeCard (T-723) * style: optimize style * feat: add ThemeEditorProvider * feat: add ToEditTheme * chore: add isBuiltIn field * feat: implement WYSIWYG * refactor: migrate i18n * feat: support to save config * feat: add validation rule * refactor: remove useless code * refactor: optimize GlobalThemeProvider * feat: add CurrentUserSettingsMenuProvider * feat: support switching themes * refactor: migrate CurrentUserProvider to app root * feat: add InitializeTheme * fix: fix preview demo * fix: filter themes * fix: not valid when editing theme * fix: should restore the previous theme when closing theme editor * fix: fix algorithm * fix: the theme that was just saved should be applied * refactor: loacl antd-token-previewer * fix: should be based on the current theme when editing themes * feat: support to edit theme * perf: reduce executions * feat: add animation * fix: fix the type error of useRequest * feat: remove built-in themes * chore: reinstall deps * fix: fix version of deps * fix: delete client.d.ts to fix build error * chore: reinstall deps * fix: fix build * fix: fix build * fix: avoid build errors * fix: fix crashing * fix: use value instead of defaultValue * fix: avoid error * fix: avoid closure * fix: fix build * fix: fix style of login page * refactor(page): fix style * fix: fix style of PageHeader * refactor: fix style of Drawer * refactor: add FormDialog to loacl * refactor: fix style of SchemaSettings.ModalItem * refactor: fix style of pm/Card * fix: fix text color of pm/Marketplace * fix: fix table error * refactor: fix style of collection-manager/summary * refactor: fix style of fields drawer * chore: reinstall deps * fix: fix build * fix: fix build of custom-theme * fix: should export Plugin * refactor: fix style of GraphDrawPage * chore: upgrade plugin version * refactor: fix style of Modal by using antd App * refactor: fix style of FormDialog by using local version * refactor(workflow): refactor style using antd-style in workflow * fix(workflow): fix style of workflow * fix: fix size * refactor: add --nb-header-height * feat: remove theme configuration from system settings * refactor: migrate useUpdateThemeSettings to a new file * refactor: rename theme to themeId * feat: add updateSystemThemeSettings * refactor: migrate utils function * feat: use localStorage to avoid theme invalid in login page * fix: fix style of login page * fix: fix style of Drawer * feat: optimize style of theme card * fix: should use a empty object to reset theme * fix: fix test of Page * fix: fix test of Application * fix: change backgroundColor of login page * fix: fix all style of modal * fix: fix gap between blocks (T-896) * fix: fix color of font (T-905) * fix: fix build * fix: fix can not scroll in Drawer (T-897) * fix: fix width of built-in plugins page (T-900) * fix: fix style of import Modal (T-907) * fix: fix style of calendar (T-908) * fix: fix style of kanban (T-909) * fix: fix style of Gantt (T-910) * fix: fix style of Collapse (T-915) * fix: fix style of mobile (T-916) * fix: fix style of PageHeader (T-958) * fix: optimize background color of Drawer * fix: fix style of notification * fix: fix T-1000 * fix: fix style of LinkageHeader (T-1003) * fix: fix T-1004 * fix: fix style of scroll bar of chart (T-911) * fix: fix style of workflow drawer (T-997) * fix: fix T-922 * fix: fix T-924 * refactor: rename custom-theme to theme-editor * fix: fix T-999 * fix: fix T-1011 * fix: fix error * fix: optimize dark mode (T-921) * fix: fix style of markdown (T-1020) * fix: fix style of data template (T-1025) * fix: fix style of rich text (T-1026) * fix: fix style of a * fix: fix style of XButton (T-1028) * fix: fix T-1027 * fix: fix color of variable tag (T-1030) * chore: translation * feat: add a modal before create new theme (T-1024) * feat: highlight card when editing theme (T-1031) * feat: support to change theme name (T-1023) * fix: api.auth.getOption('theme') * fix: fix T-1032 * fix: fix feedback in feishu group * refactor: code review * fix: fix test * chore: rename * fix: useNotificationMiddleware * refactor: revert * fix: fix build * fix: notification * refactor: migrate CurrentUserProvider from Application to NocoBaseBuildInPlugin * fix: fix test * refactor: fix code review * chore: avoid test error --------- Co-authored-by: chenos <chenlinxh@gmail.com> |
||
|
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> |
||
|
2cb1203aa4
|
refactor(client)!: application, router and plugin (#2068)
BREAKING CHANGE: * 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: complete basic functional refactor * fix: performance Application * feat: support client and server build * refactor: nocobase build-in plugin and providers * fix: server can't start * refactor: all plugins package `Prodiver` change to `Plugin` * feat: nested router and change mobile client * feat: delete application-v1 and router-switch * feat: improve routes * fix: change mobile not nested * feat: delete RouteSwitchContext and change buildin Provider to Plugin * feat: delete RouteSwitchContext plugins * fix: refactor SchemaComponentOptions * feat: improve SchemaComponentOptions * fix: add useAdminSchemaUid * fix: merge master error * fix: vitest error * fix: bug * feat: bugs * fix: improve code * fix: restore code * feat: vitest * fix: bugs * fix: bugs * docs: update doc * feat: improve code * feat: add docs and imporve code * fix: bugs * feat: add tests * fix: remove deps * fix: muti app router error * fix: router error * fix: workflow error * fix: cli error * feat: change NoCobase -> Nocobase * fix: code review * fix: type error * fix: cli error and plugin demo * feat: update doc theme * fix: build error * fix: mobile router * fix: code rewview * fix: bug * fix: test bug * fix: bug * refactor: add the "client" directory to all plugins * refactor: modify samples client and plugin template * fix: merge error * fix: add files in package.json * refactor: add README to files in package.json * fix: adjust plugins depencies * refactor: completing plugins' devDependencies and dependencies * fix: bug * refactor: remove @emotion/css * refactor: jsonwebtoken deps * refactor: remove sequelize * refactor: dayjs and moment deps * fix: bugs * fix: bug * fix: cycle detect * fix: merge bug * feat: new plugin bug * fix: lang bug * fix: dynamic import bug * refactor: plugins and example add father config * feat: improve code * fix: add AppSpin and AppError components * Revert "refactor: plugins and example add father config" This reverts commit 483315bca5524e4b8cbbb20cbad77986f081089d. # Conflicts: # packages/plugins/auth/package.json # packages/plugins/multi-app-manager/package.json # packages/samples/command/package.json # packages/samples/custom-collection-template/package.json # packages/samples/ratelimit/package.json # packages/samples/shop-actions/package.json # packages/samples/shop-events/package.json # packages/samples/shop-modeling/package.json * feat: update doc --------- Co-authored-by: chenos <chenlinxh@gmail.com> |
||
|
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 |
||
|
3332a488ca
|
fix: display on the PC side of moblie access is incomplete (#2039)
* fix: display on the PC side of moblie access is incomplete * fix: need refresh should work * fix: again * fix: keep 0.1 |
||
|
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> |
||
|
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 |