Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Story Share portal: live search suggestions (autocomplete)

Đang mở
#2,146 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
ruby

Hướng nghiên cứu

Bắt đầu từ phần tìm kiếm trên navbar tại /story_shares và StorySharesController, sau đó kiểm tra luồng hiện có của Story.search_by_params/SearchCop và phần tìm kiếm trong menu mobile. Thêm hành vi gợi ý trực tiếp tăng dần với phạm vi hiển thị đã nêu cùng các yêu cầu về bàn phím và ARIA, đồng thời xác minh rằng các gợi ý liên kết đến các story và hoạt động trong cả tìm kiếm trên desktop lẫn mobile.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement stories

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_visible policy scope), each linking to the story.
  • Debounced requests to a lightweight JSON/Turbo-Stream endpoint on StorySharesController (or a small suggestions action), reusing Story.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.

Ngôn ngữ chính
Ruby
Star
15
Fork
28
Merge trung bình
1 ngày 12 phút
Pull request đã merge (30 ngày)
262

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của rubyforgood/awbw

Tất cả issue của rubyforgood/awbw

Issue tương tự

Thêm issue về Ruby

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.