feat(ui): Add DevTools button for mobile debugging
Add Eruda DevTools integration accessible from hamburger menu on mobile devices. - Add DevTools menu item with mobileOnly flag - Load Eruda dynamically from CDN when clicked - Filter menu items based on device type 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -21,7 +21,8 @@ export const menuSections = [
|
||||
{ to: '/reports/telegram', icon: 'pi pi-telegram', label: 'Telegram Bot' },
|
||||
{ to: '/reports/cache-stats', icon: 'pi pi-chart-bar', label: 'Statistici Cache' },
|
||||
{ to: '/data-entry/ocr-metrics', icon: 'pi pi-eye', label: 'Statistici OCR' },
|
||||
{ to: '/reports/server-logs', icon: 'pi pi-server', label: 'Server Logs' }
|
||||
{ to: '/reports/server-logs', icon: 'pi pi-server', label: 'Server Logs' },
|
||||
{ action: 'devtools', icon: 'pi pi-cog', label: 'DevTools', mobileOnly: true }
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user