]> acesimba.cloud Git - codebuddy-web.git/commit
feat: 新增 /list 快捷链接配置页(URL 手工增删改、新标签打开)
authorCodebuddy <codebuddy@localhost>
Mon, 14 Sep 2026 02:07:06 +0000 (10:07 +0800)
committerCodebuddy <codebuddy@localhost>
Mon, 14 Sep 2026 02:07:06 +0000 (10:07 +0800)
commita4606f04a3b0421eac69401f8c2ff5bf10613fe8
tree19fb114a62f7567812cadfb6a2fc6b91f07c50a7
parentb519a6596281bf8147c235fe99de1156b37a0ff6
feat: 新增 /list 快捷链接配置页(URL 手工增删改、新标签打开)

- 后端: 新增 data/urls.json 读写(load_urls/save_urls),CRUD 路由
  GET/POST/PUT/DELETE /api/urls(_auth_ok 鉴权),新增 GET /list 返回 SPA 外壳
- 前端: 顶栏「🔗 链接」Icon(位于重启会话右侧)同标签跳转 /list;
  /list 渲染链接列表,链接 target=_blank 新标签打开;
  新增/编辑 modal(name+url),删除带确认;列表用 textContent 防 XSS
- .gitignore: 将 data/urls.json 纳入运行时用户数据忽略项
.gitignore
backend/app.py
frontend/index.html