Skip to content

feat: show loopkit stamp in qkit orders by default - #280

Merged
cljiahao merged 6 commits into
stagingfrom
feat/qkit-stamp-default-2
Dec 1, 2026
Merged

cljiahao merged 6 commits into
stagingfrom
feat/qkit-stamp-default-2

Conversation

@cljiahao

Copy link
Copy Markdown
Collaborator

Summary

  • Pro vendors with an active stamp program now offer it on every qkit order without opting in. Migration 0071 adds qkit_earn_resolve_program (explicit row wins; with no row, Pro vendors via loopkit.is_pro get the oldest active stamp program). Free vendors with no row stay disabled and cannot claim, as today.
  • qkit_earn_offer also returns reward_label, stamps_goal, stamps_per_order; lookup and commit use the same resolver.
  • Dashboard setting shows on by default for Pro with new copy. The Pro gate on saving is unchanged.

Test plan

  • pgTAP cases added: Pro no row enabled with new keys, non-Pro no row disabled and claim rejected (not run locally, Docker is off; CI runs them)
  • pnpm check, pnpm test, pnpm build pass locally

🤖 Generated with Claude Code

cljiahao and others added 6 commits December 1, 2026 04:14
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
# Conflicts:
#	CHANGELOG.md
#	package.json
@cljiahao
cljiahao merged commit 5b4ddd7 into staging Dec 1, 2026
10 checks passed
@cljiahao
cljiahao deleted the feat/qkit-stamp-default-2 branch December 1, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant