1593 Commits

Author SHA1 Message Date
nocobase[bot]
79c6934335 Merge branch 'main' into next 2025-03-10 01:52:02 +00:00
Zeke Zhang
e80ef27f79 fix: move visibility check for action button to the correct location 2025-03-10 09:51:30 +08:00
Zeke Zhang
5bc1d6f6c1 fix: move useApp import to the bottom to prevent frontend test failures 2025-03-07 12:55:07 +08:00
Zeke Zhang
216e13f744
fix: integrate menu translation for route titles in admin layout (#6377)
* fix: integrate menu translation for route titles in admin layout

* fix: add useMenuTranslation hook for improved localization in routes table schema

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2025-03-07 12:04:59 +08:00
Zeke Zhang
d45eefe644 fix: e2e 2025-03-06 20:34:18 +08:00
chenyongxin
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>
2025-03-06 20:09:14 +08:00
nocobase[bot]
9243a1199b Merge branch 'main' into next 2025-03-06 10:16:31 +00:00
Katherine
f856b17f02
fix: timezone-related issue causing one hour less in date picker (#6359)
* fix: timezone-related issue causing one hour less in date picker

* fix: bug

* fix: build error
2025-03-06 18:16:08 +08:00
Zeke Zhang
f2bbb406e6 fix: append search parameters to navigation paths for legacy route compatibility 2025-03-06 17:25:02 +08:00
Zeke Zhang
1abd11d0a1 fix: move visibility check for action button to the correct location 2025-03-06 17:25:02 +08:00
Zeke Zhang
4ee55dc079 refactor: rename useCurrentRouteData to useCurrentRoute for consistency 2025-03-06 11:48:02 +08:00
Katherine
6772bdb873
fix: attachment field storage setting dropdown not displaying options (#6365)
* fix: public form local improve

* fix: bug
2025-03-06 09:26:36 +08:00
nocobase[bot]
82d9f1aefb Merge branch 'main' into next 2025-03-06 00:09:35 +00:00
chenyongxin
8d40210948
feat: button add anti double click processing (#6351)
* feat: button add anti double click processing

* feat: remove useless files

* fix: add conditional debounce to button click handling for E2E testing

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2025-03-06 08:09:06 +08:00
Zeke Zhang
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>
2025-03-05 22:52:24 +08:00
nocobase[bot]
bd4e86d4b3 Merge branch 'main' into next 2025-03-05 09:54:50 +00:00
Junyi
cb2cb0b5ed
fix(plugin-file-manager): fix error thrown when creating file collection (#6363) 2025-03-05 17:54:27 +08:00
nocobase[bot]
d57e11336b Merge branch 'main' into next 2025-03-05 03:48:36 +00:00
Katherine
4dc22e06a5
fix: subform components not aligning with main form when label is hidden (#6357) 2025-03-05 11:48:15 +08:00
Katherine
ef18e272cf
style: optimize block description style (#6325) 2025-03-02 21:33:58 +08:00
nocobase[bot]
04deacc470 Merge branch 'main' into next 2025-02-27 08:44:55 +00:00
Katherine
97f81d3237
fix: add new button appears on hover in association field read-only mode (#6322)
* fix: add new button appears on hover in association field read-only mode

* fix: bug
2025-02-27 16:44:33 +08:00
Zeke Zhang
bb044f1176
fix(menu): drag issue (#6315) 2025-02-27 12:08:33 +08:00
Zeke Zhang
8223419fc4 Merge branch 'main' into next 2025-02-26 22:55:00 +08:00
Zeke Zhang
376cb21a71
fix(action-modal): improve modal visibility handling (#6305) 2025-02-26 22:52:51 +08:00
Katherine
b28dea76e8
fix: build error (#6308) 2025-02-26 16:40:40 +08:00
Katherine
3e477a4182
refactor: add 'collectionField' parameter to TitleRenderer in calendar block (#6302) 2025-02-26 12:35:21 +08:00
Zeke Zhang
e1d891ed3a
fix: move to inner (#6289) 2025-02-25 20:23:17 +08:00
nocobase[bot]
b6ee7ae2ad Merge branch 'main' into next 2025-02-25 09:21:54 +00:00
Katherine
e293b4b7d6
fix: rich text cannot be fully cleared (#6287) 2025-02-25 17:21:30 +08:00
Katherine
23aadf74e0
refactor: edit block title & description (#6277)
* refactor: edit blokc title & description

* refactor: code improve
2025-02-25 12:33:58 +08:00
gchust
3cbf81e5cd
chore: upgrade react types definition (#6278)
* chore: upgrade react type to 18

* chore: update ant design icons to avoid ts error

* fix: ts errors

* fix: ts error after upgrade react types

* fix: some icons ts error

* fix: improve type validation in bulk edit form item settings

* fix: lazy load component type error

* fix: some ts errors

* fix: unit test error after upgrade ant design icons

* chore: remove ts-ignore comment for startTransition
2025-02-25 09:48:13 +08:00
Jiannx
669c7f6335
feat: add backend code to generate file preview url for next (#6281)
* feat: adjust preview field of file collection

* fix: add banckend to generate preview

* fix: undefined error
2025-02-25 09:33:11 +08:00
Zeke Zhang
739fecbbe7 Merge branch 'main' into next 2025-02-25 05:57:38 +08:00
Junyi
cdcea99e30
fix(plugin-file-manager): increase url length (#6275)
* fix(plugin-file-manager): increase url length

* fix(client): fix null value
2025-02-24 22:53:57 +08:00
Zeke Zhang
235fd81e6b
refactor(mobile): optimize style (#6270)
* feat(mobile): improve mobile UI styling and theme

- Adjust GridCard and mobile page styling
- Update mobile theme tokens with compact algorithm
- Refine spacing, border radius, and padding for mobile components

* feat(mobile): enhance workbench block layout and styling for mobile

- Refactor WorkbenchBlock and WorkbenchAction components for improved mobile responsiveness
- Integrate antd-mobile Grid and List components
- Update styling for grid and list layouts
- Optimize responsive space and item rendering
- Remove manual width calculations and resize observers

* feat(mobile): adjust menu item styling for mobile layout

- Add margin and width adjustments for mobile menu items
- Ensure consistent spacing and sizing of menu elements
- Improve visual layout of menu items in mobile view

* feat(mobile): adjust table container margins in mobile layout

- Remove hardcoded negative margins for table containers
- Improve responsive styling for mobile table layouts

* feat(mobile): refine grid card and nester component styling

- Update GridCard component with token-based margin and border radius
- Adjust InternalNester CSS with dynamic padding and margin
- Improve responsive styling for grid and card components

* feat(mobile): clean up and optimize mobile component styles

- Remove unnecessary chart block and action bar styling
- Simplify CSS rules for mobile components
- Clean up commented-out and redundant style definitions

* test(mobile): improve z-index test with precise click positioning

- Add click positioning to edit action buttons in z-index test
- Ensure consistent and precise interaction in multi-level page navigation

* chore: make e2e more stable
2025-02-24 21:12:44 +08:00
nocobase[bot]
1b437ee069 Merge branch 'main' into next 2025-02-22 13:33:31 +00:00
Junyi
9e0654ed93
fix(client): fix upload component (#6260)
* fix(client): fix upload component

* fix(client): revert test case back

* test(client): skip test failed cases due to it works in browser
2025-02-22 21:33:06 +08:00
Sheldon Guo
8e9a2dbd85
feat: add expression prop to TextAreaWithGlobalScope and update ConfigForm (#6221) 2025-02-22 07:10:56 +08:00
chenos
5fbc7697c6
feat: release 202502 (#6259)
* chore(versions): 😊 publish v1.6.0-alpha.24

* chore(versions): 😊 publish v1.6.0-alpha.25

* feat: support extending frontend filter operators (#6085)

* feat: operator extension

* fix: bug

* refactor: code improve

* fix: jsonLogic

---------

Co-authored-by: chenos <chenlinxh@gmail.com>

* refactor: remove registerOperators (#6224)

* refactor(plugin-workflow): trigger workflow action settings (#6143)

* refactor(plugin-workflow): move bind workflow settings to plugin

* refactor(plugin-block-workbench): move component to core

* refactor(plugin-block-workbench): adjust component api

* fix(plugin-workflow-action-trigger): fix test cases

* fix(plugin-workflow): fix component scope

* fix(plugin-workflow-action-trigger): fix test cases

* chore(versions): 😊 publish v1.6.0-alpha.26

* feat: support the extension of preset fields in collections (#6183)

* feat: support the extension of preset fields in collections

* fix: bug

* fix: bug

* fix: bug

* refactor: create collection

* fix: config

* fix: test case

* refactor: code improve

* refactor: code improve

* fix: bug

* fix: bug

---------

Co-authored-by: chenos <chenlinxh@gmail.com>

* feat: support for the extension of optional fields for Kanban, Calendar, and Formula Field plugins (#6076)

* feat: kanban field extention

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* feat: calender title fields

* feat: background color fields

* fix: bug

* fix: bug

* feat: formula field expression support field

* feat: preset fields

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve

* revert: preset fields

* refactor: code improve

* refactor: code improve

* fix: bug

* fix: bug

* fix: bug

* refactor: code improve

* fix: bug

* refactor: code improve

* refactor: code improve

* fix: bug

* fix: locale

* refactor: code improve

* fix: bug

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: locale

* fix: test

* fix: bug

* fix: test

* fix: test

---------

Co-authored-by: chenos <chenlinxh@gmail.com>

* chore(versions): 😊 publish v1.6.0-alpha.27

* fix(data-source-main): update order

* fix: improve code

* fix: getFontColor (#6241)

* chore(versions): 😊 publish v1.6.0-alpha.28

* fix: print action e2e test (#6256)

* fix: print action e2e test

* fix: test

* fix: version

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: nocobase[bot] <179432756+nocobase[bot]@users.noreply.github.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
2025-02-21 13:25:17 +08:00
nocobase[bot]
0a54efc7d9 Merge branch 'main' into next 2025-02-19 15:10:31 +00:00
Junyi
81ff3741a2
fix(client): fix uploaded files missing (#6247)
* fix(client): fix uploaded files missing

* fix(client): test case
2025-02-19 23:10:00 +08:00
nocobase[bot]
e2d62ef802 Merge branch 'main' into next 2025-02-19 02:17:12 +00:00
Katherine
1955499178
fix: inferPickerType (#6244) 2025-02-19 10:16:49 +08:00
nocobase[bot]
6de6928cc2 Merge branch 'main' into next 2025-02-19 02:10:41 +00:00
Katherine
dcd2279eeb
fix: datepicker missing picker (#6243) 2025-02-19 10:10:21 +08:00
nocobase[bot]
2a75f6d0ad Merge branch 'main' into next 2025-02-19 01:47:31 +00:00
Katherine
d62911b646
fix: picker format mismatch in filter form field (#6234)
* fix: picker format mismatch in filter form field

* fix: bug
2025-02-19 09:47:05 +08:00
nocobase[bot]
08bff8f04a Merge branch 'main' into next 2025-02-18 14:25:37 +00:00
Junyi
211e688547
fix(client): fix variable component disabled height (#6197)
* fix(client): fix variable component disabled height

* fix(client): fix type
2025-02-18 22:25:13 +08:00