Update drop embed to say who dropped it when no one has claimed it yet #397
Labels
No labels
blocked
duplicate
high priority
needs
approval
needs
criteria
needs
estimate
needs
tests
question
step
doing
step
review
step
testing
step
todo
step
uat
type
admin
type
alert
type
bug
type
change
type
defect
type
dependencies
type
development
type/documentation
type
epic
type
idea
type
incident
type
investigation
type
spike
type
story
type
tests
wontfix
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
External/card-drop#397
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Show who created a claimable drop in the Discord embed before anyone claims it, then switch to showing who claimed it after a successful claim.
Story Points: 2
Acceptance Criteria
GIVEN a user posts a claimable card drop via
/dropor the reroll (🔁) buttonWHEN the drop message is first shown and the card has not been claimed
THEN the embed includes an inline field named
Dropped byAND the field value is the dropper's Discord username (same format as the existing
Claimed byfield)GIVEN an unclaimed drop embed that shows
Dropped byWHEN another user successfully claims the card via the Claim button within the claim window
THEN the
Dropped byfield is no longer shownAND the embed shows
Claimed bywith the claimer's Discord usernameAND the
Claimedquantity field reflects the claimer's inventory count for that card (existing behaviour)GIVEN a card embed that is not part of the standard claimable drop flow
WHEN the message is produced by
/id, card search previews, stage drop commands, or multidrop keep/sacrificeTHEN this change is out of scope (unless product owner expands scope later)
Technical notes
DropEmbedHelper.GenerateDropEmbed,src/commands/drop.ts,src/buttonEvents/Reroll.ts, andsrc/buttonEvents/Claim.ts.Subtasks (implementation)
Dropped byvsClaimed bystates/dropand reroll embedsPlanning (needs/criteria → needs/estimate)
Acceptance criteria added to the issue description based on the current drop/claim embed behaviour in
DropEmbedHelperand the/drop, reroll, and Claim flows.No open questions from my side; please review the criteria (especially out-of-scope flows) and adjust if needed. Next step: story point estimate (
needs/estimate).Planning (
needs/estimate→needs/test)Story points: 2
/drop, reroll, and post-claim update; out-of-scope flows already excluded in ACClaimed byformatting; dropper id already on Claim button custom idFibonacci mapping: smaller than a new command, larger than a one-line fix because of multiple entry points and test coverage.
Next step: QA test scripts against the acceptance criteria (
needs/test).Planning (
needs/tests→needs/approval)QA test scripts
Prerequisites: Test bot in a guild with drop permissions; at least two test users (dropper + claimer); a claimable card drop flow enabled.
TS-1 — Unclaimed
/dropshows dropper (AC block 1)/dropfor a claimable cardDropped byis presentClaimed byfield)Claimed byis not shown while unclaimedTS-2 — Successful claim swaps fields (AC block 2)
Dropped byvisibleDropped byfield is removedClaimed byshows User B's Discord usernameClaimedquantity fieldTS-3 — Reroll (🔁) unclaimed embed (AC block 1, reroll path)
Dropped byshows User A (dropper for the rerolled drop)TS-4 — Out of scope flows unchanged (AC block 3)
/id(or card search preview)Dropped byfield introduced by this changeDropped by/ claim-field change unless product expands scopeDropped by/ claim-field change unless product expands scopeTS-5 — Automated regression (dev)
DropEmbedHelper/ drop + claim + reroll embed buildersDropped byvsClaimed by)Criteria and estimate (2 SP) are sufficient for QA; no open questions.
@Vylpes — please review and approve planning when ready (remove
needs/approvalto start implementation).