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

Menu back button component #320

Closed
2 tasks done
andrewtavis opened this issue May 21, 2023 · 2 comments
Closed
2 tasks done

Menu back button component #320

andrewtavis opened this issue May 21, 2023 · 2 comments
Assignees
Labels
feature New feature or request GSoC Available for Google Summer of Code participants help wanted Extra attention is needed

Comments

@andrewtavis
Copy link
Member

Terms

Description

This issue would be to create a baseline back button component that would be used and reused across Scribe menu pages. What it would include would be a chevron pointing to the left and a field that would receive a string that describes what the user would be going back to. The colors for the aforementioned elements would be determined by light or dark mode automatically. Furthermore, this element should be stuck to the top of the menu screen such that as the user scrolls down it will still be visible with a bit of an opacity less than one.

Contribution

This issue is included in Google Summer of Code 2023 ☀️🥇 Happy to help research how best to set up this component 😊

@andrewtavis andrewtavis added feature New feature or request help wanted Extra attention is needed GSoC Available for Google Summer of Code participants labels May 21, 2023
@SaurabhJamadagni
Copy link
Collaborator

This should be automatically handled by using a Navigation Controller on the root view. It would maintain a stack of the views that are pushed on top of it. A back button is created automatically, tapping which pops the top most view bringing us back to the previous view.

I'll demo this in our meeting @andrewtavis. It is probably exactly what we need. But we can make changes if required. From what I can see, we can adjust the back button tint as well as give it custom text. Although, by default it takes on the title of the previous page as its text.

@andrewtavis
Copy link
Member Author

This feature was included in #324 in so far as it's built in behavior for the new app screen components :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request GSoC Available for Google Summer of Code participants help wanted Extra attention is needed
Projects
Archived in project
Development

No branches or pull requests

2 participants