feat: add admin env badge, quick post button, and harden plugin enable
Build and Deploy / verify (push) Failing after 15m17s
Build and Deploy / deploy (push) Skipped

Show local/prod in the Filament topbar, jump to create post in one click, tighten sidebar spacing, and stop Hello World from 500ing when its tables are missing.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
gouki
2026-09-18 08:24:16 +00:00
co-authored by Cursor
parent b39423831c
commit 469160dc3f
19 changed files with 825 additions and 43 deletions
+12
View File
@@ -12,6 +12,18 @@ Modern blog migrated from SaBlog-X: Filament admin, themes, plugins, sablog impo
See `README.md` and `docs/` for install, import, plugins, and themes.
## Admin chrome
- Top-right badge shows the current app environment (`local` / `prod` / others).
- Top-right **写文章** button jumps to `/admin/posts/create`.
- Sidebar nav is compacted (Filament default `gap-y-7` / `py-8` is too tall for this site).
## Hello World plugin
- Enabling a plugin now runs that plugin's `database/migrations` automatically.
- Plugin boot / hook failures are isolated so one plugin cannot take down the whole admin.
- `/hello-world` stays available even if `hello_world_logs` is missing.
## Media library (xpier)
- Package: `xpier/filament-media-library` (admin Media Library + MediaPicker).