-
Notifications
You must be signed in to change notification settings - Fork 993
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
Consolidate presentation logic to ensure style configuration is applied #4518
Conversation
|
Name | Version | Download | Change | Install | Change | Approval |
---|---|---|---|---|---|---|
StripeSize com.stripe.StripeSize |
1.0 (1) | 2.1 MB | ⬇️ 2.3 kB (-0.11%) | 6.9 MB | ⬇️ 1.4 kB (-0.02%) | N/A |
StripePaymentsSize com.stripe.StripePaymentsSize |
1.0 (1) | 1.2 MB | ⬇️ 2.8 kB (-0.23%) | 4.2 MB | ⬇️ 1.4 kB (-0.03%) | N/A |
StripePaymentsUISize com.stripe.StripePaymentsUISize |
1.0 (1) | 1.9 MB | ⬇️ 2.8 kB (-0.15%) | 6.4 MB | ⬇️ 1.4 kB (-0.02%) | N/A |
StripePaymentSheetSize com.stripe.StripePaymentSheetSize |
1.0 (1) | 3.7 MB | ⬇️ 8.4 kB (-0.22%) | 11.1 MB | ⬇️ 21.6 kB (-0.2%) | N/A |
StripeIdentitySize com.stripe.StripeIdentitySize |
1.0 (1) | 1.4 MB | ⬇️ 2.7 kB (-0.2%) | 4.4 MB | ⬆️ 288 B | N/A |
StripeApplePaySize com.stripe.StripeApplePaySize |
1.0 (1) | 486.8 kB | ⬇️ 2.0 kB (-0.42%) | 1.7 MB | ⬇️ 108 B | N/A |
StripeFinancialConnectionsSize com.stripe.StripeFinancialConnectionsSize |
1.0 (1) | 1.5 MB | ⬇️ 1.5 kB (-0.1%) | 4.8 MB | ⬆️ 1.3 kB (0.03%) | N/A |
StripeSize 1.0 (1)
com.stripe.StripeSize
⚖️ Compare build
⏱️ Analyze build performance
Total install size change: ⬇️ 1.4 kB (-0.02%)
Total download size change: ⬇️ 2.3 kB (-0.11%)
Largest size changes
Item | Install Size Change |
---|---|
StripeCore.STPAnalyticEvent.init(rawValue) | ⬇️ -4.2 kB |
Other | ⬆️ 2.8 kB |
StripePaymentsSize 1.0 (1)
com.stripe.StripePaymentsSize
⚖️ Compare build
⏱️ Analyze build performance
Total install size change: ⬇️ 1.4 kB (-0.03%)
Total download size change: ⬇️ 2.8 kB (-0.23%)
Largest size changes
Item | Install Size Change |
---|---|
StripeCore.STPAnalyticEvent.init(rawValue) | ⬇️ -4.2 kB |
DYLD.Exports | ⬇️ -720 B |
Other | ⬆️ 3.5 kB |
StripePaymentsUISize 1.0 (1)
com.stripe.StripePaymentsUISize
⚖️ Compare build
⏱️ Analyze build performance
Total install size change: ⬇️ 1.4 kB (-0.02%)
Total download size change: ⬇️ 2.8 kB (-0.15%)
Largest size changes
Item | Install Size Change |
---|---|
StripeCore.STPAnalyticEvent.init(rawValue) | ⬇️ -4.2 kB |
Other | ⬆️ 2.7 kB |
StripePaymentSheetSize 1.0 (1)
com.stripe.StripePaymentSheetSize
⚖️ Compare build
⏱️ Analyze build performance
Total install size change: ⬇️ 21.6 kB (-0.2%)
Total download size change: ⬇️ 8.4 kB (-0.22%)
Largest size changes
Item | Install Size Change |
---|---|
🗑 StripePaymentSheet.EmbeddedPaymentElementViewModel | ⬇️ -5.6 kB |
StripeCore.STPAnalyticEvent.init(rawValue) | ⬇️ -4.2 kB |
DYLD.Exports | ⬇️ -1.6 kB |
DYLD.Fixups | ⬇️ -960 B |
DYLD.String Table | ⬇️ -904 B |
StripeIdentitySize 1.0 (1)
com.stripe.StripeIdentitySize
⚖️ Compare build
⏱️ Analyze build performance
Total install size change: ⬆️ 288 B
Total download size change: ⬇️ 2.7 kB (-0.2%)
Largest size changes
Item | Install Size Change |
---|---|
StripeCore.STPAnalyticEvent.init(rawValue) | ⬇️ -4.2 kB |
Other | ⬆️ 4.5 kB |
StripeApplePaySize 1.0 (1)
com.stripe.StripeApplePaySize
⚖️ Compare build
⏱️ Analyze build performance
Total install size change: ⬇️ 108 B
Total download size change: ⬇️ 2.0 kB (-0.42%)
Largest size changes
Item | Install Size Change |
---|---|
StripeCore.STPAnalyticEvent.init(rawValue) | ⬇️ -4.2 kB |
Other | ⬆️ 4.1 kB |
StripeFinancialConnectionsSize 1.0 (1)
com.stripe.StripeFinancialConnectionsSize
⚖️ Compare build
⏱️ Analyze build performance
Total install size change: ⬆️ 1.3 kB (0.03%)
Total download size change: ⬇️ 1.5 kB (-0.1%)
Largest size changes
Item | Install Size Change |
---|---|
StripeCore.STPAnalyticEvent.init(rawValue) | ⬇️ -4.2 kB |
Other | ⬆️ 5.4 kB |
Unsuccessful Builds
Name | Message |
---|---|
StripeConnectSize com.stripe.StripeConnectSize |
The diff could not be determined because no build for 847b7cb was uploaded |
🛸 Powered by Emerge Tools
2 builds increased size, 6 builds had no size change
StripeSize 1.0 (1)
|
Item | Install Size Change |
---|---|
Other | ⬆️ 1.4 kB |
StripeConnectSize 1.0 (1)
com.stripe.StripeConnectSize
⚖️ Compare build
⏱️ Analyze build performance
Total install size change: ⬆️ 1.4 kB (0.03%)
Total download size change: ⬆️ 652 B (0.04%)
Largest size changes
Item | Install Size Change |
---|---|
Other | ⬆️ 1.4 kB |
🛸 Powered by Emerge Tools
dba79ce
to
653c587
Compare
Summary
Turns out that the initial style configuration PR missed applying the configuration to some view controllers we show - it was an approach prone to developer error. This consolidates our view controller presentation logic into a
PresentationManager
which applies the specified style configuration to each controller we shown.Motivation
Reduce possibility of developer errors cause our theming system to not be correctly applied to each view.
Testing
Unit tests added, and manually tested.
Changelog
N/a