Commit Graph

3 Commits

Author SHA1 Message Date
ishenwei
6bd99d043c fix: add Daily Reports to admin sidebar via ready() monkey-patch
- openclaw_daily/apps.py ready(): monkey-patch admin.site.get_urls() to add
  daily/ and daily-reports/ URLs under admin namespace (admin: prefix)
- admin_custom_site.py: simplified (no custom site needed)
- Revert urls.py to use default admin.site
- URL now correctly resolves as admin:openclaw_daily_report_detail
2026-04-08 20:48:00 +08:00
ishenwei
21c5e895e0 feat: add Daily Reports to admin sidebar via monkey-patch
- urls.py: add daily/ and daily-reports/ URL patterns directly
- admin_new_views.py: use admin.site.each_context for full admin context
- openclaw_daily apps.py: monkey-patch admin.site.get_app_list to inject
  Daily Reports item into sidebar app list (no circular import issues)
2026-04-08 20:44:44 +08:00
ishenwei
9412e7880d fix: add Daily Reports to sidebar via get_app_list override
- Create openclaw_daily app (no models, just app config)
- Override get_app_list() in OpenClawAdminSite to inject Daily Reports item
- Use get_app_list approach (not nav-sidebar template override)
- Inject at top of app list for visibility
2026-04-08 19:42:10 +08:00