feat: add admin env badge, quick post button, and harden plugin enable
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:
+12
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user