Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Paywalls V2] Add visible property to all components (and overrides to ones that were missing) #4781

Merged
merged 6 commits into from
Feb 14, 2025

Conversation

joshdholtz
Copy link
Member

Motivation

All (or almost all) need the new visible property

Description

Coming soon

Copy link

emerge-tools bot commented Feb 12, 2025

1 build increased size

Name Version Download Change Install Change Approval
Paywalls
com.revenuecat.PaywallsTester
1.0 (1) 10.9 MB ⬆️ 45.6 kB (0.42%) 41.1 MB ⬆️ 165.6 kB (0.41%) N/A

Paywalls 1.0 (1)
com.revenuecat.PaywallsTester

⚖️ Compare build
📦 Install build
⏱️ Analyze build performance

Total install size change: ⬆️ 165.6 kB (0.41%)
Total download size change: ⬆️ 45.6 kB (0.42%)

Largest size changes

Item Install Size Change
DYLD.String Table ⬆️ 61.0 kB
RevenueCatUI.TabsComponentViewModel.TabsComponentViewModel ⬆️ 13.8 kB
RevenueCatUI.TimelineComponentViewModel.TimelineComponentViewMode... ⬆️ 10.1 kB
📝 RevenueCat.PaywallComponent.PartialTimelineComponent.PartialTimel... ⬆️ 4.6 kB
RevenueCatUI.TextComponentViewModel.TextComponentViewModel ⬇️ -4.3 kB
View Treemap

Image of diff


🛸 Powered by Emerge Tools

Comment trigger: Size diff threshold of 100.00kB exceeded

@joshdholtz joshdholtz marked this pull request as ready for review February 12, 2025 12:48
Copy link
Contributor

@tonidero tonidero left a comment

Choose a reason for hiding this comment

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

Looking good! Just a couple of cleanup things

@joshdholtz joshdholtz force-pushed the paywalls-v2/visible-property branch from 29bb1dd to 35d9e2f Compare February 13, 2025 11:46
@joshdholtz joshdholtz force-pushed the paywalls-v2/visible-property branch from f8286e8 to 5bc8084 Compare February 13, 2025 19:48
@joshdholtz joshdholtz requested a review from a team February 13, 2025 19:48
@joshdholtz joshdholtz changed the title Add visible property to all components (and overrides to ones that were missing) [Paywalls V2] Add visible property to all components (and overrides to ones that were missing) Feb 13, 2025
Copy link
Member

@JayShortway JayShortway 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! Hiding whitespace on GitHub made reviewing this a breeze.


public enum PaywallComponent: PaywallComponentBase {
Copy link
Member

Choose a reason for hiding this comment

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

I'm curious about the motivation behind this change. (I have no opinion on it though haha.)

Copy link
Member Author

Choose a reason for hiding this comment

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

Ahhhh... at one point I had the PaywallComponentBase protocol required a visible property but then took it away 😅

This could use some clean up work in the future anyway 🤷‍♂️

Copy link
Member

Choose a reason for hiding this comment

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

Haha okay okay, thanks for explaining!

@joshdholtz joshdholtz merged commit 09f9646 into main Feb 14, 2025
10 checks passed
@joshdholtz joshdholtz deleted the paywalls-v2/visible-property branch February 14, 2025 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants