This repository has been archived by the owner on Jun 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: iOS - Support multiple navigations in Beagle (#840)
* Adding support for multiple BeagleNavigationControllers * Fix Unit tests for Navigate * Fixing code smells * Adding new tests to BeagleNavigatorTests and BeagleScreenViewControllerTests * Fixing code smells * SwiftLint fixes * just removing unnecessary files * Pull request corrections * change Navigation to use builder pattern and deprecations * Removing unnecessary public declarations Signed-off-by: Caio Ortu <[email protected]> Co-authored-by: theffc <[email protected]>
- Loading branch information
Showing
24 changed files
with
316 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 21 additions & 19 deletions
40
...ces/Action/Types/Navigate/Tests/__Snapshots__/NavigateTests/test_decoding_pushStack.1.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
▿ Navigate | ||
▿ pushStack: Route | ||
▿ declarative: Screen | ||
▿ child: UnknownComponent | ||
- type: "custom:beagleschematestscomponent" | ||
- context: Optional<Context>.none | ||
- id: Optional<String>.none | ||
- navigationBar: Optional<NavigationBar>.none | ||
▿ safeArea: Optional<SafeArea> | ||
▿ some: SafeArea | ||
▿ bottom: Optional<Bool> | ||
- some: true | ||
▿ leading: Optional<Bool> | ||
- some: true | ||
▿ top: Optional<Bool> | ||
- some: true | ||
▿ trailing: Optional<Bool> | ||
- some: true | ||
- screenAnalyticsEvent: Optional<AnalyticsScreen>.none | ||
- style: Optional<Style>.none | ||
▿ pushStack: (2 elements) | ||
▿ .0: Route | ||
▿ declarative: Screen | ||
▿ child: UnknownComponent | ||
- type: "custom:beagleschematestscomponent" | ||
- context: Optional<Context>.none | ||
- id: Optional<String>.none | ||
- navigationBar: Optional<NavigationBar>.none | ||
▿ safeArea: Optional<SafeArea> | ||
▿ some: SafeArea | ||
▿ bottom: Optional<Bool> | ||
- some: true | ||
▿ leading: Optional<Bool> | ||
- some: true | ||
▿ top: Optional<Bool> | ||
- some: true | ||
▿ trailing: Optional<Bool> | ||
- some: true | ||
- screenAnalyticsEvent: Optional<AnalyticsScreen>.none | ||
- style: Optional<Style>.none | ||
- controllerId: Optional<String>.none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.