Skip to content

Web UI: router.yaml editor and global search (#19) - #87

Merged
Cd1s merged 1 commit into
mainfrom
feat/ui-yaml-search
Sep 26, 2026
Merged

Cd1s merged 1 commit into
mainfrom
feat/ui-yaml-search

Conversation

@Cd1s

@Cd1s Cd1s commented Sep 26, 2026

Copy link
Copy Markdown
Owner

What

Verification

  • Go tests:
    • the raw text is kept byte for byte and decoded strictly;
    • a token cannot change the guard through raw text;
    • raw text without base_rev is refused for tokens.
  • UI checked against the mock at 360 px (light) and desktop width (dark).
  • sh tools/ci.sh: ALL CHECKS PASSED.

Closes #19

https://claude.ai/code/session_01HWeUjo1dmS7gBkCYHrVjCr

- 系统 → router.yaml 原文: the whole file with comments and layout, saved as typed through the normal
  path (validate, changes, risk, apply, keep / roll back). API: GET config.raw; plan / validate /
  apply take `yaml` (whole text, <= 1 MiB, strict decoding); API tokens go through the same lock.
- Global search (Ctrl-K, "/", the ⌕ button): pages by title and everyday words, devices by name /
  IP / MAC.
- The 问题 / 最近事件 overview cards came with #77; the first-run wizard is #86.

Closes #19

Claude-Session: https://claude.ai/code/session_01HWeUjo1dmS7gBkCYHrVjCr
@Cd1s
Cd1s merged commit ccb19d1 into main Sep 26, 2026
2 checks passed
@Cd1s
Cd1s deleted the feat/ui-yaml-search branch September 26, 2026 03:36
@Cd1s Cd1s mentioned this pull request Sep 26, 2026
52 tasks done
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.

提议:界面(router.yaml 原文编辑、问题/事件卡片、全局搜索、首次设置向导)

1 participant