Potential enhancements to the Smart 404 Feature
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 #801 中的 Smart 404 实现开始,检查 ElasticPress 代码,寻找用于验证活动 Elasticsearch 连接的 helper。然后查看现有的 404-template helper 函数和 FSE block 入口。完成的标准是:该功能在 setup 之前检查连接,并且 Smart 404 结果可以通过 block 进行渲染。
由索引模型根据 Issue 内容生成。
描述
Is your enhancement related to a problem? Please describe.
In #801, a new Smart 404 Feature was added. As mentioned in a comment, I think there are a few additional things we can look to do.
- Add better check to ensure ElasticPress isn't just installed and active but is actually configured properly. I don't think we need to go so far as to check that our mapping exists (and thus a sync has run) but ensuring it's actually connected to elasticsearch before we allow the Feature to be set up would be nice. I'd suggest we look at the ElasticPress code to see if there's a helper function or method we can use
- We have some helper functions that can be hardcoded into a theme's 404 template to render results but to better support FSE themes, would be nice to introduce a Smart 404 block
Designs
No response
Describe alternatives you've considered
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
- 主要语言
- PHP
- 星标
- 714
- 派生
- 68
- 平均合并
- 4 小时 32 分钟
- 30 天内合并 PR
- 23
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
10up/classifai 的其他 Issue
-
wpvc
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
wpvc
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
Register ClassifAI functionality with the Abilities API可能已有人在做 @nhrrob 于 10 天前认领。 未关闭help wanted
难度 4/5 3-5 天 新手友好度 48/100
10up/classifai#1249 · 已指派 1 人 ·
维护者通常 1 天内回复
-
OpenAI usage tracking: Project ID setting is ignored可能已有人在做 @dajiaohuang 于 30 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 35/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 1/5 1 小时以内 新手友好度 78/100
firefly-iii/firefly-iii#13259 · 3 条评论 ·
维护者通常 1 天内回复
-
[Sync EN] Document the getLastErrors() return value change in the PHP 8.2 migration guide (#6107)未关闭sync-en
难度 1/5 1 小时以内 新手友好度 78/100
维护者通常 1 天内回复
-
sync-en
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
Перевод устарел
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复