chenos
1be324f524
fix: cannot read properties of null (reading 'sort')
2025-03-13 16:25:58 +08: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
gchust
607773075a
feat: implement on-demand loading for frontend components ( #5647 )
...
* fix: missing less loader while building client
* fix: correct regex for .less file handling and resolve less-loader path
* feat: dynamic import big react components for core plugins
* chore: revert lerna.json
* chore: remove global deps duplications [skip ci]
* chore: optimization
* feat: dynamic import for markdown vditor plugin
* chore: optimization
* chore: more optimization
* feat: code split for plugins with some ui components
* fix: incorrect submodule commit
* fix: test cases failure
* chore: refactor hook lazy import
* chore: improve lazy component loading
* chore: lazy load vditor lib's js files [skip ci]
* chore: add bundle analyze option for client bundle
* chore: update loading sytle
* fix: add spinner when loading umi js files
* chore: clean
* chore: resolve develop branch confliction
* chore: refactor helper function name
* fix: error of lazy duplication [skip ci]
* fix: replace useImported with uselazyhook
* chore: rename
* chore: add comments for the helper function
* chore: update comment
* fix: keep suspense into component level
* fix: improve code
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-11-26 20:58:55 +08:00
Zeke Zhang
ffc2982380
feat(acl): add support for configuring mobile menu permissions ( #5174 )
...
* refactor(plugin-acl): extensible support for role permissions configuration UI
* feat: complete the configuration UI
* feat: complete the backend section
* chore: update unit tests
* chore: add translation
* chore: change 'Menu' to 'Desktop menu'
* refactor: use 'extendCollection' instead of 'this.db.extendCollection'
* chore: update acl e2e test
* test: add e2e tests
* fix: should refresh data when changing tab
* fix(menu): should hide children when children only have one
* feat: show tip when no pages find
* feat(tabBar): supports left and right swiping
* refactor: improve code
* chore: make e2e test pass
* chore: add migration
* fix: should use tk instead of values
* chore: nothing
* fix: improve
* refactor: rename mobileMenuUiSchemas to mobileRoutes
* refactor: add onDelete
* fix: change snippet to 'pm.mobile' from 'pm.mobile.roles'
* refactor: extract nested loop to outside
* refactor: use db.on('mobileRoutes:afterCreate')
* refactor: simplify code logic
* chore: fix build
* fix: improve code
* chore: fix build
* feat: hide menu configuration UI when no permission
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-09-21 23:04:26 +08:00
Zeke Zhang
44275b5cd7
refactor(plugin-acl): extensible support for role permissions configuration UI ( #5216 )
2024-09-06 16:20:07 +08:00