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

Introduces NavigationPathElement #70

Merged
merged 2 commits into from
May 10, 2021
Merged

Introduces NavigationPathElement #70

merged 2 commits into from
May 10, 2021

Conversation

ohitsdaniel
Copy link
Contributor

In preparation of #19.

Problem

Currently, the NavigationPath is a list of IdentifiedScreens. However, we will need to store more information in NavigationPathElements in the future to enable Tabbed screens and overlays. Also, paths need to be 'split-able' into multiple levels, allowing path elements to contain paths

Solution

Introduce the Either type NavigationPathElement that exposes a common interface that all navigation path elements need to implement. This PR does not contain any work towards tabbed path builders but is only preparing the transition.

@ohitsdaniel ohitsdaniel merged commit b7b62c7 into main May 10, 2021
@ohitsdaniel ohitsdaniel deleted the NavigationPathElement branch May 10, 2021 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant