Skip to content

fix(web): 需求搜索无匹配时不再引导同步或新建 - #1421

Closed
eust-w wants to merge 1 commit into
Tencent:mainfrom
eust-w:fix/issue-1355-search-empty
Closed

eust-w wants to merge 1 commit into
Tencent:mainfrom
eust-w:fix/issue-1355-search-empty

Conversation

@eust-w

@eust-w eust-w commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

问题

需求列表搜索或筛选无结果时,空状态仍提示“从 GitHub 同步,或在本平台新建需求”,与实际原因(关键词/筛选未命中)不符。

变更

  • 有搜索词时显示“未找到与当前关键词匹配的需求”,提示修改关键词或点击搜索框右侧 × 清除搜索;同时有筛选条件时追加“也可调整筛选条件”。
  • 仅有筛选条件时显示“没有符合当前筛选条件的需求”。
  • 仅在既无搜索也无筛选(项目确实没有需求)时保留同步/新建引导;原有“需要介入”“待处理 MR”两种空状态不变。
  • 补充英文翻译。

验证

  • 新增 webtest 用例覆盖四种空状态;运行了 issues-list 与 i18n-navigation 两个测试文件,7 项通过。
  • 未运行 webtest 全量、Go 测试、chatbot 测试,未做浏览器手动验证。

Fixes #1355

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@eust-w

eust-w commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

已合并进 #1443 一并 review,关闭本 PR。

@eust-w eust-w closed this Nov 26, 2026
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