Story Share portal: live search suggestions (autocomplete)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 55/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- ruby
- 领域
- accessibility, backend, frontend
调研方向
从 /story_shares 的导航栏搜索和 StorySharesController 开始,然后检查现有的 Story.search_by_params/SearchCop 流程以及移动菜单搜索。添加具有所述可见性范围并满足键盘和 ARIA 要求的渐进式实时建议行为,并验证建议会链接到 stories,且在桌面和移动搜索中都能正常工作。
由索引模型根据 Issue 内容生成。
描述
Context
The Story Share portal (/story_shares) navbar has a keyword search that submits to a full results page (?query=…). The live WordPress site (stories.awbw.org) additionally shows an AJAX live-suggestion dropdown (JetSearch) as you type, surfacing matching story titles before you submit.
What's needed
- As-you-type suggestions below the portal search box: matching story titles (respecting the public/
publicly_visiblepolicy scope), each linking to the story. - Debounced requests to a lightweight JSON/Turbo-Stream endpoint on
StorySharesController(or a small suggestions action), reusingStory.search_by_params/SearchCop. - Keyboard navigation (up/down/enter/escape) and outside-click dismiss; accessible (ARIA combobox/listbox).
- Prefer Turbo (frame/stream) over bespoke JS where possible; a small Stimulus controller for debounce + keyboard handling is acceptable.
- Must work on mobile (the portal search appears in the mobile menu too).
Notes
Plain submit-to-results search already ships in the portal-parity work; this issue is the progressive-enhancement layer on top.
- 主要语言
- Ruby
- 星标
- 15
- 派生
- 28
- 平均合并
- 1 天 12 分钟
- 30 天内合并 PR
- 262
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
rubyforgood/awbw 的其他 Issue
-
blocked
难度 2/5 1-3 小时 新手友好度 68/100
rubyforgood/awbw#2824 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
rubyforgood/awbw#2822 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
rubyforgood/awbw#2160 ·
维护者通常 1 天内回复
-
Update callout faq defualt text when the new person subscription launches可能已有人在做 @maebeale 于 79 天前认领。 未关闭blocked
难度 2/5 1-3 小时 新手友好度 72/100
rubyforgood/awbw#2095 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
rubyforgood/awbw#2088 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
dracula/homebrew-install#22 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
voxpupuli/puppet-archive#566 ·
-
area/tech debt
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 2 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 62/100
AllYourBot/hostedgpt#864 ·
维护者通常 1 天内回复