Skip to content

Conversation

@KManolov3
Copy link
Contributor

Resolves:

https://scratchfoundation.atlassian.net/browse/UEPR-439

Changes:

Also pass membership information to the Preview component

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes an issue where cat blocks theme was not being displayed when accessing the editor through the search modal (UEPR-439). The fix ensures that membership information is properly propagated through the Preview component hierarchy.

Key changes:

  • Pass hasActiveMembership prop from Preview component to PreviewPresentation component
  • Forward hasActiveMembership prop to child components that need membership information to display premium features

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/views/preview/project-view.jsx Added hasActiveMembership prop to the PreviewPresentation component invocation
src/views/preview/presentation.jsx Received hasActiveMembership as a prop, added it to PropTypes, and passed it to child components

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@adzhindzhi adzhindzhi left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@KManolov3 KManolov3 merged commit 16e9fbb into release/membership-program Dec 10, 2025
5 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants