sandbox-notebookllamalm/src/notebookllama
DJP fbefffe002 Add logo to all pages, hide sidebar on login, create Admin Dashboard
Logo Implementation:
- Logo now appears on ALL pages automatically
- Moved logo display to apply_custom_styles() function
- 300px width, positioned at top with margin adjustments
- Uses SBLM.jpg from src/notebookllama/

Login Page Improvements:
- Sidebar completely hidden when not logged in
- Cleaner login experience
- No navigation shown to unauthenticated users
- Title updated to "Sandbox-NotebookLM - Login"

Admin Dashboard:
- Replaced Observability Dashboard with Admin Dashboard
- Shows platform usage statistics:
  * Total users, notebooks, documents, chat messages
  * Estimated costs (documents, chats, podcasts)
  * Recent activity (users, notebooks, documents)
  * Background task monitoring
  * User analytics (most active users)
  * System health (failed/pending tasks)

Admin Access Control:
- Only user ID 1 or users with "admin" in email can access
- Admin link only shows in sidebar for admins
- Protected with access check

Cost Tracking:
- Document processing: ~$0.60 each
- Chat messages: ~$0.01 each
- Podcasts: ~$0.50 each
- Total cost estimate displayed

Analytics Features:
- Top 5 most active users by notebook count
- Recent users/notebooks/documents lists
- Background task status with color coding
- System health indicators
- Real-time statistics

Files:
- Created pages/5_Admin_Dashboard.py
- Removed pages/5_Observability_Dashboard.py (backed up)
- Updated styles.py with show_logo() function
- Updated App.py navigation to show Admin conditionally

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-01 19:10:51 -04:00
..
pages Add logo to all pages, hide sidebar on login, create Admin Dashboard 2025-10-01 19:10:51 -04:00
__init__.py Renaming to NotebookLlama 2025-06-30 22:31:22 +02:00
App.py Add logo to all pages, hide sidebar on login, create Admin Dashboard 2025-10-01 19:10:51 -04:00
audio.py Add Write+Share permission and voice selection 2025-10-01 18:15:26 -04:00
auth.py Add logo, hide deploy button, fix login title 2025-10-01 19:03:27 -04:00
background_tasks.py Add Write+Share permission and voice selection 2025-10-01 18:15:26 -04:00
database.py Fix permission enum case mismatch (lowercase to uppercase) 2025-10-01 18:57:49 -04:00
database_old.py.bak Transform NotebookLlaMa to enterprise multi-user NotebookLM clone 2025-10-01 17:28:06 -04:00
document_manager.py Transform NotebookLlaMa to enterprise multi-user NotebookLM clone 2025-10-01 17:28:06 -04:00
init_database.py Transform NotebookLlaMa to enterprise multi-user NotebookLM clone 2025-10-01 17:28:06 -04:00
instrumentation.py Renaming to NotebookLlama 2025-06-30 22:31:22 +02:00
instrumentation_init.py Transform NotebookLlaMa to enterprise multi-user NotebookLM clone 2025-10-01 17:28:06 -04:00
migrate_to_notebooks.py Transform NotebookLlaMa to enterprise multi-user NotebookLM clone 2025-10-01 17:28:06 -04:00
models.py Renaming to NotebookLlama 2025-06-30 22:31:22 +02:00
notebook_manager.py Transform NotebookLlaMa to enterprise multi-user NotebookLM clone 2025-10-01 17:28:06 -04:00
notebook_synthesis.py Add custom podcast themes and complete sharing management 2025-10-01 17:56:24 -04:00
OLD_Home.py.bak Transform NotebookLlaMa to enterprise multi-user NotebookLM clone 2025-10-01 17:28:06 -04:00
SBLM.jpg Add logo, hide deploy button, fix login title 2025-10-01 19:03:27 -04:00
server.log Transform NotebookLlaMa to enterprise multi-user NotebookLM clone 2025-10-01 17:28:06 -04:00
server.py Transform NotebookLlaMa to enterprise multi-user NotebookLM clone 2025-10-01 17:28:06 -04:00
styles.py Add logo to all pages, hide sidebar on login, create Admin Dashboard 2025-10-01 19:10:51 -04:00
utils.py Renaming to NotebookLlama 2025-06-30 22:31:22 +02:00
workflow.py Renaming to NotebookLlama 2025-06-30 22:31:22 +02:00