Themes: provide public search suggestions for a search overlay
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- javascript, php
调研方向
Start from the existing public search page and the SearchDetails object it renders, since the new endpoint must apply the same visibility rules. Find where the GET search query is resolved and reuse that filter logic rather than duplicating it. Done means a documented, read-only endpoint returns a bounded list of visible story titles and URLs, language-aware, with tests showing hidden stories are excluded and the ?s= search still works unchanged. The interface design needs maintainer input first.
由索引模型根据 Issue 内容生成。
描述
A theme with a search overlay can submit a visitor's query to the public search page with ?s=, but SearchDetails is available only when rendering that page. The overlay cannot request a short list of matching public stories while the visitor types using a documented theme interface.
Expected: a documented, language-aware, read-only search endpoint for theme JavaScript that returns a bounded number of visible story titles and URLs, with the same visibility rules as public search. The standard GET search should remain available for full results.
The port's search overlay submits to the existing public search page.
- 主要语言
- PHP
- 星标
- 1
- 派生
- 1
- 平均合并
- 1 小时 40 分钟
- 30 天内合并 PR
- 143
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
temecms/teme 的其他 Issue
-
area/admin type/enhancement when/soon
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
area/media type/enhancement when/soon
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
area/admin type/bug when/soon
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
area/import type/documentation when/soon
难度 2/5 半天 新手友好度 68/100
维护者通常 1 天内回复
-
area/admin area/import type/bug when/later
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
2DAW-CarlosIII/eportfolio_g5#35 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
2DAW-CarlosIII/eportfolio_g4#33 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
2DAW-CarlosIII/eportfolio_g1#34 ·
维护者通常 2 天内回复
-
P2 Team S Type: Infrastructure
难度 2/5 1-3 小时 新手友好度 62/100
google/site-kit-wp#14271 ·
维护者通常 2 天内回复
-
Display price Views field throws TypeError when the row has no product可能已有人在做 @albanycomputers 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
backdrop-contrib/ubercart#610 ·