Skip to content

Conversation

@magush27
Copy link
Collaborator

Improve premium feature handling for locked boards, specifically addressing CBuilder board import functionality with enhanced subscription prompts and modal management.

Changes

  • Enhanced Premium Feature Rendering
    • Refactored PremiumFeature component rendering to better support CBuilder boards
    • Added showPremiumRequired action handler for lock icon clicks
    • Improved locked board interaction flow
  • Added Unlock Messaging
    • Added specific unlock board messages for premium features
    • Added subscription prompt messages for better user guidance
  • Refactored SubscriptionProvider (actions, reducer, container)
    • Streamlined subscription check logic and removed redundant showPremiumRequired logic
    • Enhanced modal state management with isUnlockMessage flag for context-specific dialogs
    • Improved action readability and maintainability
  • Improved PremiumRequiredModal
    • Enhanced dialog to display appropriate unlock vs. premium messages
    • Better text handling based on context

Copy link
Collaborator

@RodriSanchez1 RodriSanchez1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job! Please make the requested changes!

The uploaded solution is not working, it throw an error when the subscription modal is opened. I need you to test your PRs before requesting the review 😅

@magush27
Copy link
Collaborator Author

Good job! Please make the requested changes!

The uploaded solution is not working, it throw an error when the subscription modal is opened. I need you to test your PRs before requesting the review 😅

Thanks! Sorry, it seems I've tested with cached stuff because I didn't see the error. Solved all in the new commits.

Copy link
Collaborator

@RodriSanchez1 RodriSanchez1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@RodriSanchez1 RodriSanchez1 merged commit 94cd41a into cboard-org:master Jan 5, 2026
5 checks 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.

2 participants