Skip to content

feat(keys): add early access whitelist status indicator and gating - #1071

Merged
Chucks1093 merged 6 commits into
accesslayerorg:devfrom
Francis6-git:feat/early-access-whitelist-indicator-962
Oct 1, 2026
Merged

Chucks1093 merged 6 commits into
accesslayerorg:devfrom
Francis6-git:feat/early-access-whitelist-indicator-962

Conversation

@Francis6-git

Copy link
Copy Markdown
Contributor

Description

This PR resolves issue #962 by introducing early access whitelist indicators and access gating for creator key detail pages, along with management controls for creators.

Summary of Changes

  • Data Model (course.service.ts)

    • Added isEarlyAccess and whitelistedWallets attributes to the key data payload.
    • Added an optional publicLaunchDate attribute.
  • Key Detail Page (CreatorDetailPage.tsx)

    • Integrated Wagmi wallet context for case-insensitive whitelist checks.
    • Added an early access status badge when early access mode is enabled.
    • Disabled the buy button for disconnected or non-whitelisted users during early access.
    • Added an informative tooltip explaining why access is restricted.
    • Allowed whitelisted wallets to proceed with purchases during early access.
    • Added public launch date display when configured.
  • Creator Management (CreatorDashboardPage.tsx)

    • Added an early access toggle under key settings.
    • Connected the toggle to the course update mutation.
    • Refreshes the detail query cache after updating the setting.
  • Testing (CreatorDetailPage.integration.test.tsx)

    • Added integration tests for:
      • Early access badge conditional rendering.
      • Buy button access gating.
      • Whitelisted wallet purchasing.
      • Public launch date rendering.
      • Early access settings persistence.

Checklist

  • Early access badge visible only when early access mode is active
  • Whitelisted wallet can buy normally during early access
  • Non-whitelisted/disconnected wallet sees a disabled buy button with a tooltip explanation
  • Public launch date displayed when configured
  • Creator toggle updates early access mode and local query cache
  • Integration tests added and passing

Closes #962

@drips-wave

drips-wave Bot commented Sep 29, 2026

Copy link
Copy Markdown

@Francis6-git 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 da0a249 into accesslayerorg:dev Oct 1, 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

Development

Successfully merging this pull request may close these issues.

Add early access whitelist status indicator on key detail page

2 participants