Katherine
0231ce7898
style: action penal style improve ( #5834 )
2024-12-08 20:19:16 +08:00
katherinehhh
3723076cbe
Merge branch 'next' into develop
2024-12-07 20:05:50 +08:00
Katherine
5fa6a86021
chore: add new & select record in sub-table ( #5819 )
...
* chore: add new & select record in sub-table
* fix: bug
* fix: bug
* fix: bug
* fix: test
2024-12-07 18:57:32 +08:00
Zeke Zhang
92e87ee1da
Merge branch 'next' into develop
2024-12-05 16:36:42 +08:00
Katherine
99e9f41fef
refactor: optimize operation panel and public form components for mobile adaptation ( #5788 )
...
* refactor: public form datetime & select
* refactor: action panel
2024-12-05 11:38:48 +08:00
Zeke Zhang
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
2024-12-04 21:05:50 +08:00
Katherine
79743f0948
fix: missing date input field in filter operation on mobile ( #5786 )
2024-12-03 22:31:47 +08:00
nocobase[bot]
484eb28877
Merge branch 'next' into develop
2024-12-03 13:25:31 +00:00
Katherine
d23ac5580c
fix: missing date input field in filter operation on mobile ( #5779 )
...
* fix: missing date input field in filter operation on mobile
* fix: bug
2024-12-03 21:25:07 +08:00
Zeke Zhang
3cd24a79ab
chore(mobile): optimize text
2024-11-28 19:00:06 +08:00
Zeke Zhang
d54fec10e7
Merge branch 'next' into develop
2024-11-28 09:03:39 +08:00
Katherine
9fff5c8a8b
refactor: optimize compact theme for mobile ( #5723 )
...
* refactor: optimize compact theme for mobile
* fix: bug
* fix: bug
* style: style improve
* fix: bug
* fix: bug
* fix: bug
2024-11-27 20:57:23 +08:00
Zeke Zhang
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>
2024-11-27 07:19:52 +08:00
nocobase[bot]
6b18650cc3
Merge branch 'next' into develop
2024-11-25 03:10:29 +00:00
Katherine
cfe2f46c64
fix: mobile Tab text vertical alignment issue ( #5718 )
2024-11-25 11:10:12 +08:00
chenos
960467655e
Merge branch 'next' into develop
...
# Conflicts:
# packages/core/build/src/buildPlugin.ts
2024-11-21 14:09:35 +08:00
Zeke Zhang
91b41ddb64
fix(zIndex): fix the issue of modal being obscured ( #5701 )
2024-11-21 14:01:45 +08:00
nocobase[bot]
9756bad256
Merge branch 'next' into develop
2024-11-19 12:28:20 +00:00
Zeke Zhang
294f04ab54
chore(Tabs.TabPane): support hidden property ( #5687 )
2024-11-19 20:25:12 +08:00
mytharcher
fa5a61fc97
Merge branch 'next' into develop
2024-11-19 10:52:28 +08:00
chenos
1d7da5b7d8
fix: mobileRoutes:move 403 forbidden
2024-11-18 17:02:45 +08:00
Katherine
9cc3b4d7fc
fix: style issue on mobile when subtable is configured to allow selecting existing data only ( #5670 )
2024-11-18 12:20:09 +08:00
Katherine
e7cb99ea47
fix: field assignment to support variable value as 0 ( #5663 )
...
* fix: associationFieldMobile
* fix: bug
2024-11-17 13:51:06 +08:00
Katherine
6f170df2f1
fix: use desktop components for select in mobile configuration mode & fix error when using variables as default values in datePicker ( #5662 )
...
* refactor: use desktop components for select in mobile configuration mode
* fix: bug
2024-11-16 21:38:53 +08:00
mytharcher
5824f1fb15
Merge branch 'next' into T-4910
2024-11-15 11:03:16 +08:00
Katherine
514a63edbf
fix: style issue when using long text as the title field in association fields ( #5655 )
2024-11-15 09:55:47 +08:00
Katherine
fd6b63d24f
refactor(mobile): Improve mobile component usability ( #5590 )
...
* refactor: mobile component
* refactor: mobile datepicker
* refactor: datepicker
* refactor: selectpicker
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: style improve
* fix: bug
* refactor: locale improve
* fix: locale
* fix: bug
* chore: datetime picker
* fix: test
* fix: test
* refactor: make test stable
* refactor: make test stable
* fix: bug
* fix: bug
* fix: bug
* refactor: locale improve
* fix: bug
2024-11-14 17:13:40 +08:00
Katherine
6badfd8983
style: optimize mobile styling for reduced field spacing and a more compact display ( #5605 )
...
* style: mobile style improve
* style: action penal style improve
* style: style improve
* style: style improve
* style: style improve
* style: style improve
* style: style improve
* style: style improve
* style: style improve
* style: style improve
* style: style improve
2024-11-12 15:05:00 +08:00
Sheldon Guo
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
2024-11-06 09:29:05 +08:00
Zeke Zhang
f6fd8152cc
Merge branch 'main' into next
2024-10-30 18:02:02 +08:00
Zeke Zhang
9e5355cbed
fix(mobile): fix the issue of preview images being covered by page ( #5535 )
...
* refactor(mobile): replace mobile BasicZIndexProvider with zIndexContext from core library
* fix(mobile): fix the issue of preview images being covered by page
2024-10-30 11:06:29 +08:00
Katherine
bb055f575c
feat: mobile client support filter form block ( #5482 )
2024-10-23 16:31:32 +08:00
mahuan
09b86bf18b
refactor: standardize localization file name
2024-10-22 23:02:52 +08:00
mytharcher
2ac5457583
Merge branch 'next' into T-4910
2024-10-14 17:23:56 +08:00
GitHub Actions Bot
f6db64af30
Merge branch 'main' into next
2024-10-10 23:14:06 +00:00
Zeke Zhang
e6a95b3b91
fix(mobile): fix file field rendering error issue ( #5387 )
...
* fix(mobile): fix file field rendering error issue
* test(AssociationFieldModeProvider): add unit tests
2024-10-11 07:13:47 +08:00
GitHub Actions Bot
e5397b4a79
Merge branch 'main' into next
2024-09-29 00:34:20 +00:00
Zeke Zhang
4130d1d180
chore(mobile): hide scrollbar ( #5339 )
2024-09-29 08:33:53 +08:00
Zeke Zhang
81d1353511
fix(mobile): correct z-index ( #5333 )
2024-09-27 07:15:31 +08:00
mytharcher
ca214dff10
Merge branch 'main' into next
2024-09-25 20:34:52 +08:00
mahuantest
2bde4a3176
feat(locale): update and improve Japanese translations in ja_JP files ( #5292 )
...
* feat(locale): update and improve Japanese translations in ja_JP files
* fix(locale): correct japanese translations in ja_JP files
---------
Co-authored-by: mahuan <1007409254@qq.com>
2024-09-24 14:50:13 +08:00
Zeke Zhang
ffc2982380
feat(acl): add support for configuring mobile menu permissions ( #5174 )
...
* refactor(plugin-acl): extensible support for role permissions configuration UI
* feat: complete the configuration UI
* feat: complete the backend section
* chore: update unit tests
* chore: add translation
* chore: change 'Menu' to 'Desktop menu'
* refactor: use 'extendCollection' instead of 'this.db.extendCollection'
* chore: update acl e2e test
* test: add e2e tests
* fix: should refresh data when changing tab
* fix(menu): should hide children when children only have one
* feat: show tip when no pages find
* feat(tabBar): supports left and right swiping
* refactor: improve code
* chore: make e2e test pass
* chore: add migration
* fix: should use tk instead of values
* chore: nothing
* fix: improve
* refactor: rename mobileMenuUiSchemas to mobileRoutes
* refactor: add onDelete
* fix: change snippet to 'pm.mobile' from 'pm.mobile.roles'
* refactor: extract nested loop to outside
* refactor: use db.on('mobileRoutes:afterCreate')
* refactor: simplify code logic
* chore: fix build
* fix: improve code
* chore: fix build
* feat: hide menu configuration UI when no permission
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-09-21 23:04:26 +08:00
Katherine
2180c7aad8
refactor:action panel for mobile to support mobile:addBlock ( #5235 )
...
* refactor: action panel for mobile to support mobile:addBlock
* fix: test
2024-09-09 19:36:49 +08:00
Katherine
93a788e769
refactor: ActionPanel support popup & custom request action ( #5148 )
...
* refactor: workbench support popup action
* fix: popup action in workben
* fix: popup action in workben
* feat(WorkbenchAction): adapt popup
* refactor: workbench support custom request
* fix: workbench support custom request
* refactor: action panel
* refactor: support layout
* refactor: support layout
* refactor: locale improve
* refactor: popup action support openMode
* refactor: layout
* fix: bug
* fix: bug
* fix: bug
* style: improve
* fix(map): resolve issue with map not displaying
* refactor: add popup action
* fix: bug
* refactor: confirm title
* style: improve
* fix: bug
* fix: resolve error when creating blocks
* chore: get unit test pass
---------
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-09-05 23:01:41 +08:00
Zeke Zhang
55cebbd291
fix(mobile): fix permission ( #5163 )
...
* refactor: wrap a useMemo for value
* fix(mobile): fix permission
* chore: update unit tests
* fix: fix e2e error
* test: add e2e tests
* fix: reset role to root
2024-09-01 17:44:14 +08:00
Zeke Zhang
065e8de5f6
fix(mobile): should not force redirect to mobile page ( #5152 )
...
* fix(mobile): no forced redirect to mobile page
* fix: optimize redirect
* test: add e2e test
2024-08-29 22:10:38 +08:00
Zeke Zhang
fae2205ce1
fix(mobile): resovle redirect issue ( #5145 )
...
* fix(mobile): resovle redirect issue
* test: add e2e tests
2024-08-28 14:50:49 +08:00
ChengLei Shao
28cda22a79
feat: sync collection using sync manager ( #4920 )
...
* chore: sync collection message
* chore: sync acl
* fix: typo
* chore: sync data source
* chore: remove collection
* fix: typo
* fix: test
* chore: sync sub app event
* chore: sync collection test
* chore: collection test
* chore: test
* chore: data source sync message
* chore: sync multi app
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
2024-08-26 16:35:07 +08:00
Zeke Zhang
db33645821
fix(mobile): avoid crashing ( #5109 )
2024-08-23 09:46:53 +08:00
chenos
d94a054c01
fix: route url
2024-08-18 17:24:01 +08:00