Skip to content

[Bug]: 终端搜索优化 #574

Closed
Closed

Description

@feigeCode

发生了什么?/ What happened?

搜索可否单独搞一个小框,而不要跟设置在一起,有时候只是想搜终端页面上的单词,就必须把设置整个框都显示出来

如何复现?/ How can we reproduce it?

No response

版本与系统 / Version and system

No response

截图、日志或其他信息 / Screenshots, logs, or anything else

No response

Activity

  1. feigeCode commented on Nov 20, 2026

    @feigeCode
    OwnerAuthor

    已在 3f63fbc 修复并推送到 dev:终端搜索改为右上角独立浮层,不再展开设置面板;支持实时匹配、上一个/下一个、Esc 关闭并恢复终端焦点。terminal_view 全量 lib 测试通过。

  2. feigeCode commented on Nov 20, 2026

    @feigeCode
    OwnerAuthor

    修复已合入 dev,随 PR #573 进入 main。

  3. feigeCode commented on Nov 20, 2026

    @feigeCode
    OwnerAuthor

    补充搜索可发现性,提交 ad91db8ec 已推送到 dev:

    • 终端右键菜单新增“搜索”,显示当前实际快捷键。
    • 命令栏折叠/展开状态均提供搜索按钮,无键盘也能打开。
    • 设置中增加触发方式说明,不恢复第二套搜索输入。
    • 快捷键提示改为 Enter / Shift+Enter,匹配实际导航行为。
    • 搜索输入框聚焦时 Cmd/Ctrl+F 等搜索快捷键仍有效。

    验证:cargo test -p terminal_view --lib,628 passed。

  4. feigeCode commented on Nov 20, 2026

    @feigeCode
    OwnerAuthor

    已根据交互反馈继续调整:搜索入口不再放在底部命令栏或侧边工具栏,鼠标仅通过终端右键菜单中的“搜索”打开。快捷键与设置中的触发提示保留。提交:9f1c34b83 fix(terminal): 搜索仅保留右键鼠标入口。验证:cargo test -p terminal_view --lib,628 passed,0 failed。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions