feat: add frontend admin shortcut for staff
Build and Deploy / verify (push) Failing after 15m18s
Build and Deploy / deploy (push) Skipped

Let admin and editor open /admin in a new tab from the public header and profile, so they can jump to the backend without leaving the site.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
gouki
2026-09-21 23:42:54 +00:00
co-authored by Cursor
parent 36c4ffc5b4
commit debead72a5
13 changed files with 644 additions and 0 deletions
+1
View File
@@ -77,6 +77,7 @@ routes/web.php # 前台规范路由;routes/legacy.php 老 URL 301(新增
## 8. 后台导航约定
- 顶栏 **网站** 打开前台新窗口,**写文章** 进新建文章
- 前台登录后,管理员/编辑导航里有 **管理**,新窗口打开 `/admin`。会员不要显示这条链接
- **管理 → 页面缓存**:查看/清理前台整页缓存,不要只藏在用户菜单里
- **管理 → 语言**:只展示当前 `APP_LOCALE` 和已有语言包。文章还没有多语言版本,不要假装已经做了
- 文章置顶用 `sticky_level`(0/1/2/3),列表排序 `orderedForList()`。3 = 置顶头条,永远最前