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

Introduce NavigationOptions for custom navigation and CustomerCenterNavigationLink #4682

Merged
merged 5 commits into from
Jan 20, 2025

Conversation

facumenzella
Copy link
Contributor

Motivation

This PR tackles #4311 (comment), introducing CustomerCenterNavigationOptions to customize how navigation is handle within the CustomerCenter.

Description

Instead of three separate variables I went for a struct, winning in future flexibility. New variables can be added without breaking the API.

It adds some view modifiers to simplify the use of it internally as well.

Copy link
Member

@aboedo aboedo left a comment

Choose a reason for hiding this comment

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

looking great so far

Copy link

emerge-tools bot commented Jan 17, 2025

1 build increased size

Name Version Download Change Install Change Approval
Paywalls
com.revenuecat.PaywallsTester
1.0 (1) 10.6 MB ⬆️ 27.9 kB (0.26%) 40.0 MB ⬆️ 215.6 kB (0.55%) N/A

Paywalls 1.0 (1)
com.revenuecat.PaywallsTester

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

Total install size change: ⬆️ 215.6 kB (0.55%)
Total download size change: ⬆️ 27.9 kB (0.26%)

Largest size changes

Item Install Size Change
DYLD.String Table ⬆️ 137.9 kB
Code Signature ⬆️ 5.3 kB
DYLD.Exports ⬆️ 1.8 kB
Other ⬆️ 70.6 kB
View Treemap

Image of diff


🛸 Powered by Emerge Tools

Comment trigger: Size diff threshold of 100.00kB exceeded

@facumenzella facumenzella force-pushed the fix/navigation-stack-vs-navigationview branch from 28d82b6 to 2d26a6d Compare January 20, 2025 10:41
@facumenzella facumenzella marked this pull request as ready for review January 20, 2025 10:43
Copy link
Member

@ajpallares ajpallares left a comment

Choose a reason for hiding this comment

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

LGTM!

@facumenzella facumenzella merged commit 3c5e07f into main Jan 20, 2025
10 checks passed
@facumenzella facumenzella deleted the fix/navigation-stack-vs-navigationview branch January 20, 2025 15:35
@vegaro vegaro changed the title fix: [CustomerCenter] Introduce NavigationOptions for custom navigation Introduce NavigationOptions for custom navigation Jan 21, 2025
@vegaro vegaro added pr:feat A new feature and removed pr:fix A bug fix labels Jan 21, 2025
@vegaro vegaro changed the title Introduce NavigationOptions for custom navigation Introduce NavigationOptions for custom navigation and CustomerCenterNavigationLink Jan 21, 2025
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