1625 Commits

Author SHA1 Message Date
Katherine
d2025ee76f
fix: field label display issue to prevent truncation by colon (#6599)
* fix: form field label truncation due to colon

* fix: test

* fix: bug
2025-04-02 14:54:09 +08:00
Katherine
69fac11204
fix: oneToMa ny e2e test (#6601) 2025-04-01 11:38:15 +08:00
Katherine
a7775c25db
fix: association field (select) displaying N/A when exposing related collection fields (#6582)
* fix: association field (select) displaying N/A when exposing related collection fields

* fix: cascade issue: 'The value of xxx cannot be in array format' when deleting and re-selecting

* fix: bug
2025-03-31 14:42:16 +08:00
Katherine
c16d65ba7c
fix: cascade issue: 'The value of xxx cannot be in array format' when deleting and re-selecting (#6585)
* fix: cascade  issue: 'The value of xxx cannot be in array format' when deleting and re-selecting

* fix: bug

* fix: bug
2025-03-31 09:27:06 +08:00
Zeke Zhang
9eaa47863d
fix: remove refreshComponent in Grid component (#6578)
* fix: remove refreshComponent in Grid component

* test: add e2e test for modal content persistence after reopening
2025-03-28 12:01:13 +08:00
Katherine
eba3f79134
fix: linkage conflict between same-named association fields in different sub-tables within the same form (#6577)
* fix: linkage conflict between same-named association fields in different sub-tables within same form

* fix: bug
2025-03-27 23:00:04 +08:00
Katherine
0349edb42c
fix: issue with date field display in data scope filtering (#6564) 2025-03-26 20:03:52 +08:00
Junyi
46a3816d83
fix(client): only support plain text file to preview (#6563) 2025-03-26 15:40:30 +08:00
Zeke Zhang
c80fbc3063
fix(kanban): unable to open popup (#6535)
* fix: handle potential errors when retrieving card schema in Kanban

* fix(kanban): unable to open popup

* fix(Link): cannot use 'current user' variable

* fix(PagePopups): improve schema fetching and cloning logic for popups

* fix(Kanban): clicking cards repeatedly opens multiple popups
2025-03-26 14:37:01 +08:00
Katherine
1dd47e7571
style: optimize button style for no-permission state (#6552) 2025-03-25 15:38:32 +08:00
Zeke Zhang
322f3d749e
fix(Link): cannot use 'current user' variable (#6536) 2025-03-24 20:39:44 +08:00
Zeke Zhang
57c8722c3c
fix: remove caching logic (#6530) 2025-03-24 20:38:44 +08:00
gchust
38bac8291e
fix: yarn doc error (#6540) 2025-03-24 16:56:52 +08:00
Katherine
437e9dba52
fix: action button transparency causing setting display issue on hover (#6529)
* fix: button transparency causing setting display issue on hover

* fix: button transparency causing setting display issue on hover
2025-03-22 23:11:52 +08:00
Katherine
f82e426daa
fix: the height of the subtable in the form is set along with the mai… (#6518)
* fix: the height of the subtable in the form is set along with the main form height

* fix: bug
2025-03-20 23:17:33 +08:00
Katherine
dad61a2a10
fix: time field submission error in Chinese locale (invalid input syntax for type time) (#6511) 2025-03-20 15:56:25 +08:00
Katherine
186463abb2
fix: association field detection to be based on type (#6506) 2025-03-19 21:01:24 +08:00
Katherine
62c06c7ac3
fix: rich text field not clearing data on submission (#6486) 2025-03-17 16:21:10 +08:00
Katherine
34528c4b0c
fix: calendar block not displaying events on boundary dates (#6463)
* fix: calendar block not displaying events on boundary dates

* fix: bug
2025-03-17 10:09:38 +08:00
Junyi
5144d47eb9
refactor(plugin-file-manager): refactor file url generating (#6472)
* refactor(plugin-file-manager): change file url generation to a better way

* fix(plugin-file-manager): use url field first

* fix(client): remove unused function call

* fix(plugin-file-manager): fix test cases

* fix: local getURL

* fix: md5

* fix: getFileURL

* fix(plugin-file-manager): fix FileModel class

* fix: use DeleteObjectCommand

* fix(plugin-file-manager): fix package version and require

* test(plugin-file-manager): fix test cases

* fix: storageInstance

* fix: test case error

* fix: url-join

* fix: autoGenId false

* fix: url

* fix: file.url

* fix: file preview

* fix: test error

* fix: isURL

* fix: only

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2025-03-17 08:54:26 +08:00
chenyongxin
705e167dc4
feat: cascade selection component add dataScope setting (#6386)
* feat: cascade select filter parameter extension

* feat: cascade selection component add dataScope setting

* fix: remove useless import
2025-03-14 21:34:05 +08:00
chenos
cc524c45fe
fix: encode (#6464) 2025-03-14 15:01:14 +08:00
Junyi
78455c1a5d
fix(plugin-file-manager): fix image url (#6459)
* fix(plugin-file-manager): fix image url

* fix(plugin-file-manager): fix url with search part

* fix(plugin-file-manager): fix lightbox preview url

* fix(plugin-file-manager): encode link url
2025-03-14 00:10:00 +08:00
Katherine
d9d58e60de
fix: incorrect page number when adding data after subtable page size change (#6437) 2025-03-13 11:14:52 +08:00
Junyi
cc0e13dce0
fix(plugin-file-manager): fix file issues (#6436)
* fix(plugin-file-manager): fix file issues

* fix(plugin-file-manager): fix special char in windows
2025-03-12 23:35:14 +08:00
Katherine
3e1b828fc7
fix: date field range selection excludes the max date (#6418) 2025-03-11 21:51:44 +08:00
Zeke Zhang
d90c17b3a4
feat: add deletePopupContext function to manage popup context storage (#6411) 2025-03-11 14:30:37 +08:00
Katherine
5ade85acd4
fix: multi-select field value changes and option loss when deleting subtable records (#6405) 2025-03-11 13:44:33 +08:00
Zeke Zhang
256b526800
fix(menuItemSettings): enhance route moving logic to support nested i… (#6413)
* fix(menuItemSettings): enhance route moving logic to support nested insertion

* fix(menuItemSettings): update position method from 'prepend' to 'insertBefore'

* fix: insertBefore

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2025-03-11 11:11:30 +08:00
Katherine
8741c26a86
fix: formDrawer theme context issue (#6403) 2025-03-10 20:37:34 +08:00
Junyi
e5507d0758
refactor(plugin-workflow): change task center api and ui (#6272)
* refactor(plugin-workflow): change task center api and ui

* fix(client): add className property for Grid.Col

* refactor(plugin-workflow): adjust tasks menu style

* fix(plugin-workflow): fix menu title

* feat(plugin-workflow): automatically update tasks number

* fix(plugin-workflow): ignore ws if not exist

* fix(plugin-workflow): fix compatibility of no user approvals

* refactor(server): revert ws api back

* fix(plugin-workflow-manual): fix migration and renamed test cases

* fix(plugin-workflow): fix acl for task resource

* refactor(client): show badge number in toolbar

* fix(plugin-workflow): fix toolbar number

* fix(client): adjust badge font size

* refactor(plugin-workflow): adjust task center style and api

* fix(plugin-workflow-manual): fix constants

* refactor(plugin-workflow-manual): change legacy workflow todo block to list style

* test(plugin-workflow-manual): migrations

* refactor(plugin-workflow): add workflow title component

* fix(plugin-workflow-manual): fix e2e test cases

* fix(plugin-workflow): fix test kit
2025-03-10 19:58:33 +08:00
chenos
c0d2c330ab
fix: useApp 2025-03-10 10:35:49 +08:00
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