docs: update sidebar navigation documentation
Updated documentation to reflect new sidebar structure: - Added Platform Administration section - Added Customers page to navigation - Updated page mapping table with all current pages - Updated sidebar organization in page-templates.md - Added customers logger to pre-configured loggers list 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1201,9 +1201,11 @@ cp app/static/admin/js/dashboard.js app/static/admin/js/new-page.js
|
|||||||
### Pre-configured Loggers
|
### Pre-configured Loggers
|
||||||
```javascript
|
```javascript
|
||||||
window.LogConfig.loggers.dashboard
|
window.LogConfig.loggers.dashboard
|
||||||
|
window.LogConfig.loggers.companies
|
||||||
window.LogConfig.loggers.vendors
|
window.LogConfig.loggers.vendors
|
||||||
window.LogConfig.loggers.vendorTheme
|
window.LogConfig.loggers.vendorTheme
|
||||||
window.LogConfig.loggers.users
|
window.LogConfig.loggers.users
|
||||||
|
window.LogConfig.loggers.customers
|
||||||
window.LogConfig.loggers.products
|
window.LogConfig.loggers.products
|
||||||
window.LogConfig.loggers.orders
|
window.LogConfig.loggers.orders
|
||||||
window.LogConfig.loggers.imports
|
window.LogConfig.loggers.imports
|
||||||
@@ -1546,14 +1548,29 @@ async applyFilters() {
|
|||||||
```javascript
|
```javascript
|
||||||
// Admin sidebar sections
|
// Admin sidebar sections
|
||||||
{
|
{
|
||||||
"Main Navigation": [
|
"Dashboard": [
|
||||||
"Dashboard",
|
"Dashboard"
|
||||||
"Users",
|
],
|
||||||
|
"Platform Administration": [
|
||||||
|
"Companies",
|
||||||
"Vendors",
|
"Vendors",
|
||||||
"Marketplace Import" // ← Self-service import
|
"Users",
|
||||||
|
"Customers",
|
||||||
|
"Marketplace"
|
||||||
|
],
|
||||||
|
"Content Management": [
|
||||||
|
"Platform Homepage",
|
||||||
|
"Content Pages",
|
||||||
|
"Vendor Themes"
|
||||||
|
],
|
||||||
|
"Developer Tools": [
|
||||||
|
"Components",
|
||||||
|
"Icons",
|
||||||
|
"Testing Hub",
|
||||||
|
"Code Quality"
|
||||||
],
|
],
|
||||||
"Platform Monitoring": [
|
"Platform Monitoring": [
|
||||||
"Import Jobs", // ← System-wide monitoring
|
"Import Jobs",
|
||||||
"Application Logs"
|
"Application Logs"
|
||||||
],
|
],
|
||||||
"Settings": [
|
"Settings": [
|
||||||
|
|||||||
@@ -160,8 +160,11 @@ function adminUsers() {
|
|||||||
| Page | JavaScript `currentPage` | Sidebar Check | URL |
|
| Page | JavaScript `currentPage` | Sidebar Check | URL |
|
||||||
|------|--------------------------|---------------|-----|
|
|------|--------------------------|---------------|-----|
|
||||||
| Dashboard | `'dashboard'` | `x-show="currentPage === 'dashboard'"` | `/admin/dashboard` |
|
| Dashboard | `'dashboard'` | `x-show="currentPage === 'dashboard'"` | `/admin/dashboard` |
|
||||||
|
| Companies | `'companies'` | `x-show="currentPage === 'companies'"` | `/admin/companies` |
|
||||||
| Vendors | `'vendors'` | `x-show="currentPage === 'vendors'"` | `/admin/vendors` |
|
| Vendors | `'vendors'` | `x-show="currentPage === 'vendors'"` | `/admin/vendors` |
|
||||||
| Users | `'users'` | `x-show="currentPage === 'users'"` | `/admin/users` |
|
| Users | `'users'` | `x-show="currentPage === 'users'"` | `/admin/users` |
|
||||||
|
| Customers | `'customers'` | `x-show="currentPage === 'customers'"` | `/admin/customers` |
|
||||||
|
| Marketplace | `'marketplace'` | `x-show="currentPage === 'marketplace'"` | `/admin/marketplace` |
|
||||||
| Imports | `'imports'` | `x-show="currentPage === 'imports'"` | `/admin/imports` |
|
| Imports | `'imports'` | `x-show="currentPage === 'imports'"` | `/admin/imports` |
|
||||||
| Components | `'components'` | `x-show="currentPage === 'components'"` | `/admin/components` |
|
| Components | `'components'` | `x-show="currentPage === 'components'"` | `/admin/components` |
|
||||||
| Icons | `'icons'` | `x-show="currentPage === 'icons'"` | `/admin/icons` |
|
| Icons | `'icons'` | `x-show="currentPage === 'icons'"` | `/admin/icons` |
|
||||||
@@ -170,20 +173,34 @@ function adminUsers() {
|
|||||||
|
|
||||||
### Updated Sidebar Structure
|
### Updated Sidebar Structure
|
||||||
|
|
||||||
The fixed sidebar now includes:
|
The sidebar is organized into the following sections:
|
||||||
|
|
||||||
**Main Navigation:**
|
**Dashboard:**
|
||||||
- Dashboard
|
- Dashboard
|
||||||
|
|
||||||
|
**Platform Administration:**
|
||||||
|
- Companies
|
||||||
- Vendors
|
- Vendors
|
||||||
- Users
|
- Users
|
||||||
- Import Jobs
|
- Customers
|
||||||
|
- Marketplace
|
||||||
|
|
||||||
**Developer Tools Section:** (NEW!)
|
**Content Management:**
|
||||||
|
- Platform Homepage
|
||||||
|
- Content Pages
|
||||||
|
- Vendor Themes
|
||||||
|
|
||||||
|
**Developer Tools:**
|
||||||
- Components
|
- Components
|
||||||
- Icons
|
- Icons
|
||||||
- Testing Hub
|
- Testing Hub
|
||||||
|
- Code Quality
|
||||||
|
|
||||||
**Settings Section:**
|
**Platform Monitoring:**
|
||||||
|
- Import Jobs
|
||||||
|
- Application Logs
|
||||||
|
|
||||||
|
**Settings:**
|
||||||
- Settings
|
- Settings
|
||||||
|
|
||||||
Each section is properly separated with dividers and all menu items have active indicators.
|
Each section is properly separated with dividers and all menu items have active indicators.
|
||||||
|
|||||||
Reference in New Issue
Block a user