313 Commits

Author SHA1 Message Date
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
Zeke Zhang
739fecbbe7 Merge branch 'main' into next 2025-02-25 05:57:38 +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]
b6f666e0d9 chore(versions): 😊 publish v1.6.0-beta.11 2025-02-24 12:10:09 +00:00
nocobase[bot]
b47aca6ced chore(versions): 😊 publish v1.5.14 2025-02-24 10:37:30 +00:00
nocobase[bot]
5d17e0941d chore(versions): 😊 publish v1.6.0-beta.10 2025-02-24 06:02:03 +00:00
Katherine
9eb9d4e000
chore: user center extension (#6213)
* chore(versions): 😊 publish v1.6.0-alpha.24

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

* chore: user center extension

* refactor: change password

* chore: theme

* chore: language

* chore: code improve

* 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>

* feat: inline mode

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

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

* fix: bug

* fix: bug

* refactor: code improve

* fix: bug

* fix: code improve

* fix: bug

* fix: improve code

* fix: getFontColor (#6241)

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

* refactor: code improve

* fix: bug

* refactor: code improve

* fix: bug

* fix: print action e2e test (#6256)

* fix: print action e2e test

* fix: test

* fix: merge bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: update  package.json

* fix: bug

* feat: code improve

---------

Co-authored-by: nocobase[bot] <179432756+nocobase[bot]@users.noreply.github.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
2025-02-24 10:11:42 +08:00
nocobase[bot]
28e652e8ae chore(versions): 😊 publish v1.5.13 2025-02-22 14:06:13 +00:00
nocobase[bot]
4691a6146f chore(versions): 😊 publish v1.6.0-beta.9 2025-02-22 07:09:03 +00:00
nocobase[bot]
a4e9ce3f53 chore(versions): 😊 publish v1.5.12 2025-02-21 03:16:41 +00:00
nocobase[bot]
ca5ba21080 chore(versions): 😊 publish v1.5.11 2025-02-20 01:06:51 +00:00
nocobase[bot]
db26c82cce chore(versions): 😊 publish v1.5.10 2025-02-17 17:15:46 +00:00
nocobase[bot]
bede58c86b chore(versions): 😊 publish v1.5.9 2025-02-17 09:48:38 +00:00
nocobase[bot]
a101a20598 chore(versions): 😊 publish v1.5.8 2025-02-16 22:51:50 +00:00
Zeke Zhang
6381f18737 Merge branch 'main' into next 2025-02-15 15:48:22 +08:00
Zeke Zhang
0611e02c88
fix(permissions): disable pagination for resource fetching (#6219) 2025-02-15 11:29:09 +08:00
nocobase[bot]
4087b7a58c chore(versions): 😊 publish v1.6.0-beta.8 2025-02-14 16:23:18 +00:00
nocobase[bot]
8836fcaa5b chore(versions): 😊 publish v1.6.0-beta.7 2025-02-14 05:04:34 +00:00
nocobase[bot]
29dbe34e03 chore(versions): 😊 publish v1.5.7 2025-02-13 15:45:21 +00:00
nocobase[bot]
aff51d3683 chore(versions): 😊 publish v1.6.0-beta.6 2025-02-13 07:00:25 +00:00
nocobase[bot]
25c5637bde chore(versions): 😊 publish v1.5.6 2025-02-12 01:01:13 +00:00
nocobase[bot]
a56fb7cacf chore(versions): 😊 publish v1.6.0-beta.5 2025-02-11 12:54:47 +00:00
nocobase[bot]
406549a002 chore(versions): 😊 publish v1.6.0-beta.4 2025-02-11 04:23:54 +00:00
nocobase[bot]
de2fd10401 chore(versions): 😊 publish v1.5.5 2025-02-11 02:13:55 +00:00
YANG QIA
232d348b18
feat(l10n): text source registration in l10n plugin & l10n for desktop and mobile routes (#6180)
* feat(l10n): support text source registration in l10n plugin & l10n for desktop and mobile routes

* fix: build & test

* fix: build & tests

* fix: e2e

* fix: frontend test

* chore: update

* chore: migration

* fix: document title

* fix: header title
2025-02-10 23:56:46 +08:00
nocobase[bot]
9fb0a05a98 chore(versions): 😊 publish v1.5.4 2025-02-10 12:27:57 +00:00
Zeke Zhang
21e37f9915
fix: remove default tab title (#6178)
* fix: remove default tab title

* fix: add default tab title for route table

* chore: update migration

* fix: mobile

* fix: e2e errors
2025-02-09 08:04:28 +08:00
nocobase[bot]
c0ec18c0ec chore(versions): 😊 publish v1.6.0-alpha.23 2025-02-07 11:53:20 +00:00
nocobase[bot]
2fac130a47 chore(versions): 😊 publish v1.5.3 2025-02-07 09:29:51 +00:00
nocobase[bot]
cd50adcf5e chore(versions): 😊 publish v1.6.0-alpha.22 2025-02-07 07:46:20 +00:00
nocobase[bot]
c71edbb4e7 chore(versions): 😊 publish v1.6.0-alpha.21 2025-02-07 01:51:40 +00:00
nocobase[bot]
522b692ff0 chore(versions): 😊 publish v1.5.2 2025-02-06 12:58:13 +00:00
nocobase[bot]
c1e799cd58 Merge branch 'next' into develop 2025-02-06 12:52:35 +00:00
nocobase[bot]
3554453c12 Merge branch 'main' into next 2025-02-06 12:52:11 +00:00
Zeke Zhang
3f1d955ef9
chore: hide the header when no permissions are configured (#6171) 2025-02-06 20:51:45 +08:00
nocobase[bot]
25a35e5770 chore(versions): 😊 publish v1.5.1 2025-02-06 03:12:53 +00:00
nocobase[bot]
dbf4fb713d chore(versions): 😊 publish v1.5.0 2025-02-05 14:15:43 +00:00
nocobase[bot]
7fad455ae2 chore(versions): 😊 publish v1.6.0-beta.1 2025-02-05 13:56:56 +00:00
nocobase[bot]
c43fe72a66 chore(versions): 😊 publish v1.6.0-alpha.20 2025-02-02 04:55:59 +00:00
nocobase[bot]
e7c5f9d731 chore(versions): 😊 publish v1.5.0-beta.34 2025-02-01 03:58:20 +00:00
nocobase[bot]
4d0b1117b1 chore(versions): 😊 publish v1.6.0-alpha.19 2025-01-25 12:54:44 +00: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
daefd83114 fix: merge bug 2025-01-24 16:01:52 +08:00
katherinehhh
955c167f5e Merge branch 'main' into next 2025-01-24 15:51:52 +08:00
nocobase[bot]
61488d95af chore(versions): 😊 publish v1.6.0-alpha.18 2025-01-24 06:10:10 +00:00
Zeke Zhang
97333d0c06
refactor(Menu): optimize menu interface (#5955)
* feat: define desktopRoutes collection

* feat: convert routes to schema

* feat: support to add new route

* feat: support to delete routes

* feat: adaptor Hidden option

* feat: adaptor Edit option

* fix: fix incomplete menu display issue

* feat: support to insert

* feat: adjust permission configuration page interface

* feat: add listAccessible action

* feat: routes table

* feat: edit button

* style: optimize style

* chore: add confirm text

* fix: delete corresponding schema when removing routes to ensure data consistency

* chore: add field type

* feat: create a tab when creating a page

* fix: fix tabs issue

* fix: avoid undefined error

* fix: should hide menu when it's hideInMenu is true

* fix: should refresh menu when updating it

* chore: optimize params

* fix: fix tab when adding child

* chore: should display empty

* fix: fix subapp path

* fix: fix activeKey of tab

* chore: add translation

* chore: prevent menu collapse after adding new menu item

* refactor: rename useDesktopRoutes to useNocoBaseRoutes

* fix: fix tab path

* fix: fix draging issue

* feat: support to set Hidden for Tab

* feat: implement move

* fix: draging

* chore: add migration

* fix: fix migration

* chore: fix build

* chore: fix e2e test

* fix: fix menu creation position issue

* fix: migration

* chore: add translation

* fix: fix some bugs

* fix: fix 'Move to'

* fix: compile Route name in permission management page

* fix: fix table selection issue

* chore: add comment

* fix: hidden

* fix: fix mobile route path

* fix: do not select parent node when selecting child nodes

* fix(mobile): hide menu

* fix(mobile): path

* fix(mobile): fix schema

* fix(mobile): compile tab title

* fix: fix permission configuration page selection error

* fix: fix selection issues

* fix(migration): transform old permission configuration to new permission configuration

* chore: translate fields title

* feat: support localization

* fix: fix pagination

* chore: fix build

* fix: change aclSnippet

* chore: fix unit tests

* fix: fix error

* chore: fix unit tests of server

* chore(migration): update version of migration

* chore: fix e2e tests

* chore: fix build error

* chore: make e2e tests pass

* chore: fix migration error

* fix: show ellipsis when text overflows

* fix: show ellipsis when text overflows

* chore: change 'Access' to 'View'

* fix: should use sort field to sort

* fix: fix tab drag and drop issue

* refactor: rename unnamed tab label to 'Unnamed'

* fix: fix draging issue

* refactor: add 'enableTabs' field

* refactor: optimize route fields

* refactor: optimize migration

* fix: set enableTabs to false when creating page

* refactor: change empty tab name to 'Unnamed'

* fix: fix tab path

* fix: avoid undefined error

* chore(migration): update appVersion

* fix(migration): fix page issue

* chore: fix unit test

* fix(mobile): fix incorrect path

* fix(mobile): fix enableTabs issue

* fix: disable Add child route button when enableTabs is false

* fix: fix embed issue

* fix(migration): add migration for mobile

* chore: update migration

* fix: fix tab title not updating issue

* fix: fix untranslated text issue

* fix: fix routes table style

* fix: fix group issue

* fix(mobile): fix 404 issue

* fix: should hide tabs when creating page

* fix: should translate tabs title

* fix: fix translation issue

* fix(migration): fix appVersion

* fix: fix ACL

* fix: should set paginate to true and filter out hidden items

* fix(migration): fix bug

* refactor(desktopRoutes): add enableHeader and displayTitle

* fix: fix permission issue

* fix(mobile): fix error

* fix(mobile): fix migration error

* fix(migration): compatible with older versions

* fix: make unit tests pass

* chore: ignore some failing test cases

* chore: test

* fix: test
2025-01-24 13:02:38 +08:00
Katherine
7c45197058
fix: select in read-only mode clickable and text overflow issue on mobile (#6130) 2025-01-24 11:41:27 +08:00
nocobase[bot]
1250300fb2 chore(versions): 😊 publish v1.4.30 2025-01-23 00:13:10 +00:00
nocobase[bot]
7601386e18 chore(versions): 😊 publish v1.5.0-beta.33 2025-01-21 09:51:26 +00:00