feat(company): add expiry warning banner, route wrapper, and conditional UI for expired companies
- Add CompanyExpireWarning component to layout header for expiring subscription alerts - Add CompanyExpire wrapper to guard rules and data-source routes - Refactor CompanyExpireGuard to support optional fullscreen mode via prop - Add responsive Popover support to VoiceCheck for mobile breakpoints - Hide rule CRUD action buttons when company validity is expired - Update profile page to display expiry status alongside validity date - Update i18n strings for clearer expiry messaging Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -52,7 +52,7 @@ export const roleRoutes = [
|
||||
meta: {
|
||||
permissions: ['rule:list'],
|
||||
},
|
||||
wrappers: ['@/wrappers/noBindDataSource'],
|
||||
wrappers: ['@/wrappers/CompanyExpire', '@/wrappers/noBindDataSource'],
|
||||
component: './rules',
|
||||
routes: [
|
||||
{
|
||||
@@ -166,6 +166,7 @@ export const roleRoutes = [
|
||||
meta: {
|
||||
permissions: ['data-source:list'],
|
||||
},
|
||||
wrappers: ['@/wrappers/CompanyExpire'],
|
||||
component: './data-source/index',
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user