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

chore: prototype custom tab bar #831

Closed
wants to merge 10 commits into from

Conversation

hgray-instawork
Copy link
Collaborator

@hgray-instawork hgray-instawork commented Feb 26, 2024

Implemented as a new view type <footer> which lives outside the <body> element of a <doc>
As each screen is first loaded, it passes its <footer> element to a context which can then provide it to the <navigator> for display. Currently there is no state handling.

Pros:

  • Styles and behaviors are handled as part of the standard <hvscreen> component

Cons:

  • each tab's screen will have to contain the same <footer> element
  • have to wait for at least one screen to load before tab bar is shown
custom-tab-bar.mp4

Asana: https://app.asana.com/0/1204008699308084/1206459525167059/f

@hgray-instawork hgray-instawork marked this pull request as ready for review February 26, 2024 17:02
examples/navigator/custom_tabbar/tab_1.xml.njk Outdated Show resolved Hide resolved
src/core/components/hv-navigator/index.tsx Outdated Show resolved Hide resolved
examples/navigator/custom_tabbar/index.xml.njk Outdated Show resolved Hide resolved
@hgray-instawork
Copy link
Collaborator Author

Closing in favor of @flochtililoch's work in PRs like #962

@hgray-instawork hgray-instawork deleted the hardin/custom-tabbar-proto-1 branch October 15, 2024 14:36
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.

2 participants