323 Commits

Author SHA1 Message Date
Junyi
3b1f016256
fix(plugin-workflow): remove bind workflow settings button from data picker (#6455) 2025-03-14 09:58:44 +08:00
Jonas Fleischer
9d572bf8f4
feat: add German localization files for NocoBase core and plugins (#6435)
* feat: add German localization files for NocoBase core and plugins

* feat: expand German localization for NocoBase plugins compared to chinese translation

This commit adds and enhances German translation files across multiple NocoBase plugins, including:
- Workflow plugins (action trigger, manual, notification, etc.)
- File management
- Charts and data visualization
- Async task management
- Import/export functionality
- Theme editor
- And several other core and extension plugins
2025-03-12 21:35:26 +08:00
Junyi
7d14ebf06f
fix(lugin-workflow-tasks): only use the provider in admin layout (#6412) 2025-03-11 10:00: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
nocobase[bot]
1670cead6c Merge branch 'main' into next 2025-03-07 09:16:37 +00:00
N3tN00b3r
a1fe85bd03
Adding italian translation for plugins (#6316)
* Add italian translation

* Create it-IT.json
2025-03-07 17:16:16 +08:00
nocobase[bot]
97d6a2e74d Merge branch 'main' into next 2025-03-07 02:51:37 +00:00
Junyi
f6ec9f82b4
refactor(plugin-workflow): add option to skip triggering in collection event (#6379) 2025-03-07 10:51:15 +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
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]
6a1cb3c0d1 Merge branch 'main' into next 2025-03-04 09:35:19 +00:00
Junyi
2345ea62da
fix(plugin-workflow): fix acl for getting job (#6352) 2025-03-04 17:34:53 +08:00
nocobase[bot]
bc9ff30a72 Merge branch 'main' into next 2025-03-03 05:42:43 +00:00
Junyi
2f7b7315ca
refactor(plugin-workflow): lazy load job result for better performance (#6344) 2025-03-03 13:42:14 +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]
44b7b73432 Merge branch 'main' into next 2025-02-20 06:42:29 +00:00
Junyi
5b13c52245
refactor(plugin-workflow): hide node id from canvas (#6251)
* refactor(plugin-workflow): hide node id from canvas

* fix(plugin-workflow): group order for nodes
2025-02-20 14:42:04 +08:00
nocobase[bot]
ef54fc895f Merge branch 'main' into next 2025-02-19 15:02:29 +00:00
Junyi
43e71edf69
fix(plugin-auth): support to trigger workflow when change password (#6248)
* fix(plugin-auth): support to trigger workflow when change password

* fix(plugin-auth): fix await
2025-02-19 23:02:01 +08:00
nocobase[bot]
359b020696 Merge branch 'main' into next 2025-02-19 08:58:50 +00:00
Junyi
e827c5823f
fix(plugin-workflow): fix style details (#6240)
* fix(plugin-workflow): fix style details

* fix(plugin-workflow): revert node id back due to e2e fails
2025-02-19 16:58:28 +08:00
nocobase[bot]
26a95a8f3b Merge branch 'main' into next 2025-02-18 05:57:28 +00:00
Junyi
418a27bf41
feat(plugin-workflow): add api to register group of instruction (#6237)
* feat(plugin-workflow): add api to register group of instruction

* fix(plugin-workflow): fix type
2025-02-18 13:57:03 +08:00
nocobase[bot]
bd81a6f3fa Merge branch 'main' into next 2025-02-17 16:17:01 +00:00
Junyi
a96783a4b0
fix(plugin-workflow-loop): fix pending nodes in loop but resolved (#6236)
* fix(plugin-workflow-loop): fix pending nodes in loop but resolved

* fix(plugin-workflow-test): fix test instruction
2025-02-18 00:16:35 +08:00
Sheldon Guo
feb9074e56
refactor(test): modify the test function login to be asynchronous and update the relevant test cases (#6181)
* refactor(test): modify the test function login to be asynchronous and update the relevant test cases
2025-02-08 13:53:30 +08:00
nocobase[bot]
0b7e7347c4 Merge branch 'next' into develop 2025-02-07 14:15:33 +00:00
Junyi
48ca650a68
fix(plugin-workflow): add loading to duplicate action (#6179) 2025-02-07 22:14:46 +08:00
Sheldon Guo
0144e2e510
fix(auth): use loginWithJti to update authentication-related test cases and prevent errors (#6175)
* refactor(auth): update login method to use loginWithJti for test cases
2025-02-07 17:45:48 +08:00
nocobase[bot]
4d2045e358 Merge branch 'next' into develop 2025-01-28 15:19:20 +00:00
Junyi
2783e62aa5
fix(plugin-field-sort): fix move action to trigger workflow (#6145) 2025-01-28 23:18:53 +08:00
Chareice
2b58c13aa5
chore: migration rules 2025-01-24 22:31:39 +08:00
Zeke Zhang
e29f9fa39e Merge branch 'next' into develop 2025-01-24 16:46:21 +08:00
katherinehhh
955c167f5e Merge branch 'main' into next 2025-01-24 15:51:52 +08:00
Junyi
19ffa45ee9
fix(plugin-workflow): fix tsfn for generating SQL (#6128) 2025-01-23 20:33:04 +08:00
nocobase[bot]
67c1d9d131 Merge branch 'next' into develop 2025-01-21 01:57:00 +00:00
Junyi
8b0b46190b
fix(plugin-workflow): fix styles (#6095)
* fix(plugin-workflow): remove useless node id from node card

* fix(plugin-workflow): option locale

* fix(plugin-workflow): fix add node button style

* fix(plugin-workflow): fix styles

* fix(plugin-workflow): revert node id back
2025-01-21 09:56:37 +08:00
mytharcher
6af8f4cfdf Merge branch 'next' into develop 2025-01-20 12:09:17 +08:00
Junyi
a598120277
refactor(plugin-workflow): adjust canvas style (#6088)
* refactor(plugin-workflow): adjust canvas style

* fix: adjust end sign height

* fix(plugin-workflow-test): fix e2e model

* fix(plugin-workflow): fix e2e locator

* fix(plugin-workflow): fix e2e locator
2025-01-19 16:20:10 +08:00
nocobase[bot]
7093f478c1 Merge branch 'next' into develop 2025-01-18 06:16:40 +00:00
citlalinda
aee8d9b7ce
feat: add stack limit to workflow (#6077)
* feat: add stack limit to workflow

* test: add stack limit test

---------

Co-authored-by: Linda <huanghui9850@gmail.com>
2025-01-18 14:16:15 +08:00
nocobase[bot]
53afd48756 Merge branch 'next' into develop 2025-01-17 15:47:58 +00:00
nocobase[bot]
222b4bc9da Merge branch 'main' into next 2025-01-17 15:46:56 +00:00
Junyi
04b817036f
fix(plugin-workflow): fix dispatch not process in preparing phase (#6087) 2025-01-17 23:46:29 +08:00
nocobase[bot]
50ab97fdc7 Merge branch 'next' into develop 2025-01-17 01:58:50 +00:00
Junyi
85b36da746
refactor(plugin-workflow): refactor validate context api (#6082) 2025-01-17 09:58:28 +08:00
Junyi
000095114c
feat: add validateConfig to trigger (#6040) (#6073)
* feat: add validateConfig to trigger

* refactor: validateConfig

* fix: validate config

Co-authored-by: citlalinda <hxn9850@163.com>
2025-01-16 16:52:15 +08:00
Junyi
f26e501172
feat(plugin-workflow-manual): add task title column (#6051)
* feat(plugin-workflow-manual): add task title column

* fix(plugin-workflow-manual): fix distribution and assignee logic
2025-01-16 10:26:27 +08:00
citlalinda
63ffe1a99d
feat: add validateConfig to trigger (#6040)
* feat: add validateConfig to trigger

* refactor: validateConfig

* fix: validate config
2025-01-16 10:16:27 +08:00
chenos
5aec227032 Merge branch 'next' into develop
# Conflicts:
#	packages/plugins/@nocobase/plugin-workflow/src/client/variable.tsx
2025-01-15 21:09:10 +08:00