add abilities as attributes to cards to enable richer search

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

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
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
ruby
Lĩnh vực
api, search

Hướng nghiên cứu

The issue names filter[search]= for cards and printings and lists example ability attributes; it also points to #99 for attributes already added. Start by reading #99 and tracing how the existing attributes are exposed through the search filter. Decide which additional attributes belong in scope, then verify that each can be searched for cards and printings.

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

Mô tả

enhancement

Current NRDB has limited support for searching by card abilities.

The following attributes would be nice

  • approach_effect
  • charge
  • fully_broken_effect
  • has_boost_strength
  • has_break_subroutine
  • has_gain_click
  • has_interface
  • has_paid_ability
  • install_effect
  • jack_out_effect
  • mark
  • on_encounter_ends_effect
  • run_ends_effect
  • sabotage
  • score_effect
  • steal_effect
  • subroutine_broken_effect
  • successful_run_effect

(that list is an example and not final)

This will be exposed via the filter[search]= operator for cards and printings.

#99 added the following already:

  • additional_cost
  • advanceable
  • gains_subroutines
  • interrupt
  • link_provided
  • mu_provided
  • num_printed_subroutines
  • on_encounter_effect
  • performs_trace
  • recurring_credits_provided
  • trash_ability
Ngôn ngữ chính
Ruby
Star
10
Fork
9
Merge trung bình
2 giờ 59 phút
Pull request đã merge (30 ngày)
2

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.

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

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 Null-Signal-Games/netrunnerdb-api-server

Tất cả issue của Null-Signal-Games/netrunnerdb-api-server

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.