霍世杰
add06ecbdb
fix: set mobileRoutes do not task effect #1747
2025-03-04 02:39:53 +08: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
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
chenos
1d7da5b7d8
fix: mobileRoutes:move 403 forbidden
2024-11-18 17:02:45 +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
55cebbd291
fix(mobile): fix permission ( #5163 )
...
* refactor: wrap a useMemo for value
* fix(mobile): fix permission
* chore: update unit tests
* fix: fix e2e error
* test: add e2e tests
* fix: reset role to root
2024-09-01 17:44:14 +08:00
jack zhang
aa76b78da4
fix: mobile auth ( #5015 )
...
* fix(T-5026): mobile auth
* fix: bug
* fix: plugin settings only have link type
* fix: bug
2024-08-09 15:21:34 +08:00
jack zhang
61e9dd5cc1
feat: plugin mobile v2 ( #4777 )
...
* feat: init
* fix: mobile layout
* feat: more code
* feat: improve navigate bar
* fix: mobile title
* feat: improve code
* fix: add settings and initailzer
* fix: settings
* fix: tabbar items settings
* feat: tabbar initializer
* fix: api
* fix: styles
* feat: navbar
* feat: navigate bar tabs initializer
* feat: navigate bar tab settings
* feat: navigation bar actions
* fix: bug
* fix: bug
* fix: bug
* fix: tabbar active
* fix: bug
* fix: mobile login and layout
* fix: update version
* fix: build error
* feat: plugin settings support link
* fix: add mobile meta
* fix: desktop mode
* fix: remove old code and change collection name and mobile path
* fix: tabbar and tabs initialer layout
* fix: initializer style
* fix: adjust schema position
* fix: mobile style
* fix: delete relation resource and home page bug
* fix: support multi app
* fix: not found page
* fix: js bridge
* fix: bug
* fix: navigation bar schema flat
* fix: navigation bar action style
* fix: change version
* fix: mobile meta and real mobile test
* refactor: folder and name
* fix: navigation bar sticky and zIndex
* fix: full mobile schema
* fix: mobile readme and package.json
* fix: e2e bug
* fix: bug
* fix: tabbar style on productino
* fix: bug
* fix: rename MobileTabBar.Page
* fix: support tabbar sort
* fix: support page tabs sort
* fix: i18n
* fix: settings utils import bug
* docs: api doc
* fix: qrcode refresh
* test: unit tests
* fix: bug
* fix: unit test
* fix: build bug
* fix: e2e test
* fix: overflow scroll
* fix: bug
* fix: scroll and overflow
* fix: bug
* fix: e2e expect await
* fix: e2e bug
* fix: bug
* fix: change name
* fix: add more e2e
* fix: page header
* fix: tab support icon
* fix: bug
* fix: bug
* fix: docs
* fix(T-4811): scroll bar too long
* fix(T-4810): desktop mode
* fix: e2e
* fix(T-4812): title empty
* fix: unit test
* feat: hide Open mode option in mobile mode
* feat: change default value of Open mode on mobile
* feat: add OpenModeProvider
* feat: support page mode
* fix: fix build
* test: update unit tests
* chore: remove pro-plugins
* fix: bug
* fix(T-4812): title is required
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* refactor: remove z-index
* refactor: make better for subpages
* fix: drag bug
* fix: bug
* fix: theme bug
* fix(T-4859): create tab bar title empty
* fix(T-4857): action too long
* fix: e2e bug
* fix: remove comment
* fix: bug
* fix: theme bug
* fix: should provider modal component
* fix: bug
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-07-22 14:06:36 +08:00