mtg: show the tokens a deck creates
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 技術スタック
- rust, typescript
- 領域
- databases, full-stack
調査の方向性
Start by reading services/mtg/src/utils/catalog_sync.rs and models/printing/db.rs, then trace how catalog data reaches the deck API and deck view. The issue proposes storing oracle-level card-to-token relations, returning distinct tokens with creator cards, and displaying token images; the UI location, included deck zones, helper types, counts, and export behavior are still open decisions.
索引モデルが issue の本文から書いたものです。
説明
What
In a deck, I want to see somewhere which tokens its cards create (e.g. Soldier 1/1, Treasure, Clue, Emblems), so I know which tokens to bring when I play it.
Current state
- The catalog sync (
services/mtg/src/utils/catalog_sync.rs, bulk fileall_cards) already imports tokens as printings. Cardmarket does not stock them (seemodels/printing/db.rs). - Nothing records which card creates which token.
ScryfallCarddoes not read Scryfall'sall_partsfield (entries withcomponent: "token"/"meld_part"etc.), so there is nothing to derive the list from yet.
Rough idea
- Catalog sync: read
all_partsand store a card -> token relation (at oracle level, since the tokens are the same for every printing of a card). - Deck API: return the distinct tokens of all cards in the deck (incl. sideboard? to be decided), each with the cards that create it.
- Frontend: a "Tokens" section/tab in the deck view with token images and "created by" hints.
Open questions
- Where in the deck UI: own tab, collapsible section below the list, or a dialog?
- Include sideboard / maybe-board cards?
- Show emblems and dungeons/other
all_partshelpers (Initiative, Monarch, etc.) too, or tokens only? - Count per token (how many to bring) or just the list?
- Should the MPCFill export offer to include the tokens?
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 1
- 平均マージ
- 10時間 20分
- マージ済み PR(30日)
- 36
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
myOmikron/code のほかの issue
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
wayfinder:task
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
wayfinder:task
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
myOmikron/code#102 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
ready-for-agent
難易度 5/5 1週間以上 初心者へのやさしさ 18/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
db-ux-design-system/core-web#8613 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
bug:new
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
callstackincubator/simlock#934 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
gchq/LD-Explorer#286 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
foxglove/mcap#1907 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信