Skip to content

feat: 自定义日志级别筛选下拉框 - #15

Merged
MimoKit merged 1 commit into
MimoKit:masterfrom
spaxie:feat/custom-log-level-select
Jul 30, 2026
Merged

feat: 自定义日志级别筛选下拉框#15
MimoKit merged 1 commit into
MimoKit:masterfrom
spaxie:feat/custom-log-level-select

Conversation

@spaxie

@spaxie spaxie commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

变更说明

  • 将日志页面的原生 <select> 替换为与 WebUI 视觉一致的自定义下拉组件
  • 为各日志级别增加对应颜色圆点,当前选项使用强调色和勾选标记
  • 支持浅色、深色以及自定义背景下的玻璃层样式
  • 支持点击外部关闭、Escape 关闭、上下方向键、Home、End 和回车选择
  • 使用 listbox / option 语义及 aria-expandedaria-selected 保持可访问性
  • 保持原有日志筛选逻辑不变,不再调用浏览器或移动端系统选择面板
  • 将版本提升到 0.1.11,同步锁文件和前端静态资源缓存参数,确保 WebUI 可以检测并加载本次更新

验证

  • uv run ruff format --check .
  • uv run ruff check .
  • uv lock --check
  • node --check src/nonebot_plugin_mimo_console/static/assets/app.js
  • uv run pytest:144 passed
  • git diff --check
  • 本地 WebUI 手动验证通过

@MimoKit
MimoKit merged commit 23d9681 into MimoKit:master Jul 30, 2026
11 checks passed
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.

2 participants