Docs search: let pages declare tags so related searches find them
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- documentation, search
Hướng nghiên cứu
Start with the search endpoint in app/docs/api/search/route.ts and the docs frontmatter schema in source.config.ts, where the blog's optional tags list shows the pattern to follow. Check how the search index is built and whether it can weight tags above body text. Done means a page is found by a tag that does not appear in its body, existing pages still validate, and pnpm test and pnpm build pass.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Copied from DeadantCo/answerLoops#109 · originally opened by sethr07 on 2026-11-20
Copied from https://github.com/answerLoops/answerLoops/issues/480 — originally opened by
@NathanTarberton 2026-10-26
Problem
Docs search matches page titles and body text, but nothing else. Someone searching "webhook", "SSO" or "Ollama" gets results ordered only by where the word happens to appear, and a page can't say what else it should be found for. A visitor looking for "self-host" or "Docker" can miss the right page because it uses different words.
Where
app/docs/api/search/route.tsserves the search (built on Fumadocs'createFromSource).source.config.tsdefines the docs frontmatter schema.- The blog already has an optional
tagslist in its frontmatter (source.config.ts), which is a pattern to follow.
Suggested approach
- Add an optional
tagsfield (a list of strings) to the docs frontmatter schema. - Include the tags in the search index so they influence matching, and check whether the search library supports weighting them above body text.
- Add useful tags to the pages people search for most (the integrations, self-hosting and billing pages first).
- Check the result list shows enough context to tell similar pages apart.
Acceptance criteria
- Docs frontmatter accepts an optional
tagslist, and existing pages still validate. - A search for a tag that doesn't appear in a page's body still finds that page.
- At least the top 15 most-visited pages have sensible tags.
- A test covers the search route returning a page by tag.
-
pnpm testandpnpm buildpass.
Start here: new to the project? Read CONTRIBUTING.md first. It covers the ground rules, running answerLoops locally, and how to open a pull request.
- Ngôn ngữ chính
- TypeScript
- Star
- 0
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DeadantCo/answerLoopsdev
-
Widget: match the chat bubble color to the rest of the widgetCó thể đã có người làm @sethr07 đã nhận hôm nay. Đang mởenhancement frontend help wanted
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 75/100
DeadantCo/answerLoopsdev#68 · 3 bình luận ·
-
Widget: make the chat window fit on small phonesCó thể đã có người làm @sethr07 đã nhận hôm nay. Đang mởenhancement frontend good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
DeadantCo/answerLoopsdev#67 · 9 bình luận ·
-
Add 'select all' option to Slack channel picker in SettingsCó thể đã có người làm @sethr07 đã nhận hôm nay. Đang mởfrontend good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
DeadantCo/answerLoopsdev#22 · 5 bình luận ·
-
enhancement frontend help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
DeadantCo/answerLoopsdev#141 ·
-
backend enhancement frontend help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
DeadantCo/answerLoopsdev#140 ·
Tất cả issue của DeadantCo/answerLoopsdev
Issue tương tự
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
lingdojo/kana-dojo#34545 · 1 bình luận · 5 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Blocklist addition requestĐang mởblocklist addition
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
MetaMask/eth-phishing-detect#315455 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: telegram bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
griffinwork40/agent-afk#5275 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
macOS: the Save Diagnostics panel goes behind the editor after an app switch and can't be reachedĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
getopenscreen/openscreen#1667 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
erkamyaman/rust-anything#371 ·
Maintainer thường phản hồi trong vòng 1 ngày