4614 Commits

Author SHA1 Message Date
Katherine
63a9292066
fix: incorrect formatting of time field in filter form (#6374) 2025-03-06 18:13:59 +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
ffcb223060 fix: append search parameters to navigation paths for legacy route compatibility 2025-03-06 17:22:51 +08:00
Zeke Zhang
c68366eff6 fix: move visibility check for action button to the correct location 2025-03-06 16:54:16 +08:00
nocobase[bot]
d3f8024f0d Merge branch 'next' into develop 2025-03-06 07:54:26 +00:00
nocobase[bot]
0b1b274710 Merge branch 'main' into next 2025-03-06 07:54:02 +00:00
Katherine
08023bd10b
fix: missing sortable setting for inherited collection fields (#6372) 2025-03-06 15:53:35 +08:00
Zeke Zhang
2cf3486b56 Merge branch 'next' into develop 2025-03-06 11:58:38 +08:00
Zeke Zhang
4ee55dc079 refactor: rename useCurrentRouteData to useCurrentRoute for consistency 2025-03-06 11:48:02 +08:00
Katherine
191d25bd29
fix: build error (#6370) 2025-03-06 11:35:38 +08:00
Katherine
c690fcf7fe
fix: build error (#6369)
* fix: build error

* fix: build
2025-03-06 11:10:29 +08:00
nocobase[bot]
17ef134639 chore(versions): 😊 publish v1.5.22 2025-03-06 02:59:01 +00:00
Sheldon Guo
98e659b115 feat: replace SchemaComponentProvider with AntdSchemaComponentProvider in demo1 2025-03-06 09:47:31 +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]
079401f2dc Merge branch 'main' into next 2025-03-06 01:00:16 +00:00
YANG QIA
4b2b1da8ad
fix(db): the string sourceKeyValue in relation repository is being converted to a number (#6360) 2025-03-06 08:59:52 +08:00
Sheldon Guo
df3b7aeae4 feat: add demo plugin for variable filters integration with mock app 2025-03-06 08:51:21 +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
Sheldon Guo
cebfab9337 feat: update variable filters and localization for improved time unit handling 2025-03-06 07:34:46 +08:00
nocobase[bot]
c6c1a1e663 chore(versions): 😊 publish v1.5.21 2025-03-05 15:21:47 +00: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]
c4c7cd230f Merge branch 'next' into develop 2025-03-05 14:16:17 +00:00
nocobase[bot]
ea64d975ed Merge branch 'main' into next 2025-03-05 14:15:53 +00:00
Junyi
c453612e11
fix(plugin-workflow-aggregate): add precision process after query (#6358)
* fix(plugin-workflow-aggregate): add precision process after query

* test(plugin-workflow-aggregate): add test cases

* fix(evaluators): fix test cases

* fix(plugin-workflow-aggregate): fix e2e test case

* fix(plugin-workflow-aggregate): fix test cases
2025-03-05 21:55:47 +08:00
Sheldon Guo
940a82ad9c feat: implement variable filters and filter groups for JSON template parsing 2025-03-05 21:35:33 +08:00
Sheldon Guo
116ecdc10f feat: integrate extractTemplateElements for improved variable handling and filtering 2025-03-05 21:31:59 +08:00
Sheldon Guo
fd8784eee5 feat: refactor variable extraction logic to use extractTemplateVariable function 2025-03-05 21:31:59 +08:00
Sheldon Guo
469d6819ab feat: add localization for "Array" in English and Chinese, and improve input value handling 2025-03-05 21:31:59 +08:00
Sheldon Guo
eeef974788 feat: enhance JSONTemplateParser 2025-03-05 21:31:58 +08:00
Sheldon Guo
766a08f4ff feat: update json-template-parser imports and enhance filter sorting functionality 2025-03-05 21:31:58 +08:00
Sheldon Guo
dcb2e21747 feat: add array filter functions and enhance filter localization 2025-03-05 21:31:58 +08:00
Sheldon Guo
7cf500bf62 feat: add delete filter functionality and improve filter context management 2025-03-05 21:31:58 +08:00
Sheldon Guo
8f8dcb9c05 feat: remove unused field variable in Filter component 2025-03-05 21:31:58 +08:00
Sheldon Guo
2ec99126ae feat: enhance Filters component with context 2025-03-05 21:31:58 +08:00
Sheldon Guo
94c679e498 feat: refactor Filters component to utilize Formily and enhance filter saving functionality 2025-03-05 21:31:58 +08:00
Sheldon Guo
5fda3e6b4b feat: improve Filter UI 2025-03-05 21:31:57 +08:00
Sheldon Guo
04a142751f feat: integrate json-templates package and enhance variable filters with new schema components 2025-03-05 21:31:57 +08:00
Sheldon Guo
e713787ffb feat: add variable filters functionality and enhance Input component to support template extraction 2025-03-05 21:31:57 +08:00
sheldon guo
7916be22ee feat: integrate json-template-parser package and update imports across core modules 2025-03-05 21:31:57 +08:00
sheldon guo
4a309f3045 feat: rename pkg name to json-template-parser package 2025-03-05 21:30:24 +08:00
sheldon guo
b1ff33a939 feat: refactor json-templates engine and filters structure for improved organization 2025-03-05 21:30:24 +08:00
sheldon guo
e47edf3913 feat: update json-templates import to use @nocobase/json-templates and adjust exports 2025-03-05 21:30:24 +08:00
sheldon guo
15fe39d699 Revert "refactor: replace utils parse import with json-templates parse in multiple files"
This reverts commit 71dca1ba180231c2238d3be09813f4e0cfa0f742.
2025-03-05 21:30:23 +08:00
sheldon guo
ff0d49df73 feat: enhance variableFilters schema with additional properties and update exports in index 2025-03-05 21:30:23 +08:00
Sheldon Guo
64cabacef4 test: add tests for escape and revertEscape functions to handle special characters 2025-03-05 21:30:23 +08:00
Sheldon Guo
95d5a50f88 feat: add template extraction and composition utilities in json-templates 2025-03-05 21:30:23 +08:00
Sheldon Guo
5d641bd123 fix: correct key handling in revertEscape function for arrays and objects 2025-03-05 21:30:23 +08:00
Sheldon Guo
553688f316 feat: enhance escape function to handle array keys and add tests for escape functionality 2025-03-05 21:30:22 +08:00