Skip to content

feat: Add subscription investment panel for recurring investments (#1241) - #1263

Merged
Chucks1093 merged 1 commit into
accesslayerorg:devfrom
ezechinonyelumvivian-create:pr/subscription-panel
Oct 21, 2026
Merged

Chucks1093 merged 1 commit into
accesslayerorg:devfrom
ezechinonyelumvivian-create:pr/subscription-panel

Conversation

@ezechinonyelumvivian-create

@ezechinonyelumvivian-create ezechinonyelumvivian-create commented Oct 21, 2026 •

Copy link
Copy Markdown

Build a subscription investment panel on the key detail page allowing investors to configure a recurring automatic investment, with interval selector and preview of next execution.

Changes

  • Types: KeySubscription, SubscriptionInterval types and constants
  • Contract Service: KeySubscriptionContractService with create_subscription, cancel_subscription, get_subscription contract calls
  • Hooks: useKeySubscription, useCreateSubscription, useCancelSubscription, useInvestorSubscriptions hooks
  • Query Keys: keySubscription query key factory
  • UI Components: Tabs component
  • Subscription Panel: SubscriptionInvestmentPanel with amount input, interval selector, next execution preview, active subscription card with cancel button
  • Integration: Subscribe tab in CreatorDetailPage

Acceptance Criteria

  • Subscription form submits correct create_subscription contract call
  • Interval selector maps correctly to seconds in contract call
  • Active subscription card shows accurate next execution date
  • Cancel submits correct cancel_subscription call and clears card
  • Total invested updates correctly after each execution

closes #1241
closes #1240
closes #1238
closes #1236

…cesslayerorg#1241)

- Add KeySubscription types and constants
- Add KeySubscriptionContractService with create_subscription, cancel_subscription, get_subscription calls
- Add useKeySubscription hooks for queries and mutations
- Add queryKeys for keySubscription
- Add SubscriptionInvestmentPanel component with amount input, interval selector, next execution preview, and active subscription card with cancel button
- Integrate panel into CreatorDetailPage with Subscribe tab alongside Buy tab

closes accesslayerorg#1241
@drips-wave

drips-wave Bot commented Oct 21, 2026

Copy link
Copy Markdown

@ezechinonyelumvivian-create Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Chucks1093
Chucks1093 merged commit f6da5b7 into accesslayerorg:dev Oct 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants