Skip to content

feat: 添加日志查看页面并优化页面布局#283

Open
piexian wants to merge 5 commits intochenyme:mainfrom
piexian:feat/upstream-log-ui-polish
Open

feat: 添加日志查看页面并优化页面布局#283
piexian wants to merge 5 commits intochenyme:mainfrom
piexian:feat/upstream-log-ui-polish

Conversation

@piexian
Copy link
Contributor

@piexian piexian commented Mar 6, 2026

Summary

  • 新增管理后台日志查看页面,支持:
    • 文件切换
    • 级别筛选
    • 关键词搜索
    • 原始日志弹窗
    • 仅在日志页过滤 /v1/admin/*
  • 新增后端日志接口与工具:
    • 日志文件列表
    • 日志读取
    • 日志删除
    • 倒序读取最近日志
  • 优化日志页交互与展示:
    • 移动端文件面板默认折叠
    • 自动刷新按钮循环切换 5s / 10s / 30s / 关闭
    • 长内容固定高度、内部滚动
    • 整体日志列表固定高度、内部滚动
  • 优化缓存管理页面:
    • 本地图片/视频分页
    • 在线资产分页
    • 每页条数切换
    • 全选本页 / 全选全部 / 取消全选
    • 固定高度滚动表格
  • 优化 Token 页面:
    • 表格固定高度滚动
    • 长备注更规整
Screenshot_2026-03-06-21-54-35-385_com microsoft emmx Screenshot_2026-03-06-21-54-35-385_com microsoft emmx

Changes

  • 功能新增
  • Bug 修复
  • 重构/清理
  • 文档更新
  • 其他(请说明)

Related Issues

Verification

  • 本地运行验证
  • 单元/集成测试
  • Docker 构建通过
  • 未验证(请说明原因)

piexian added 3 commits March 6, 2026 21:57
- add a dedicated admin log viewer page with file switching, level filtering, keyword search, raw log modal, and page-only /v1/admin route filtering
- add backend log listing, reading, and deletion endpoints plus reverse-tail log parsing utilities
- add mobile-first log file panel behavior, cyclic auto-refresh control, and fixed-height scrollable log cards/lists
- polish cache management local and online asset tables with token-style pagination, fixed-height scroll containers, and bulk selection helpers
- polish token table layout with a fixed-height scroll wrapper and better long-text handling for note cells
- wire the new logs page into admin navigation and update related i18n strings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant