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

[feature] make server turbo native ready #819

Merged
merged 1 commit into from
Jun 26, 2022
Merged

[feature] make server turbo native ready #819

merged 1 commit into from
Jun 26, 2022

Conversation

donrestarone
Copy link
Contributor

resolves: #817

client repository

iOS project: https://github.com/restarone/violet_rails_ios_client

upgrade path

replace {{ cms:snippet navbar }} and {{ cms:snippet footer }} with {{cms:helper render_smart_navbar}} and {{cms:helper render_smart_footer}}. These new functions will intelligently render navbar/footer as {{ cms:snippet navbar }} and {{ cms:snippet footer }} for web clients. We don't want to show web navigation on native clients
Screen Shot 2022-06-26 at 11 33 06 AM

iOS support

Your Violet Rails app will now look like this on iOS

Screen Shot 2022-06-26 at 1 46 32 PM

how the app looks

native navigation

web navbar is not shown, instead a system tray is shown at the bottom with relevant navigation buttons
Simulator Screen Shot - iPhone 12 - 2022-06-26 at 13 44 25

Blog

Simulator Screen Shot - iPhone 12 - 2022-06-26 at 13 44 29

Forum

Simulator Screen Shot - iPhone 12 - 2022-06-26 at 13 45 02
Simulator Screen Shot - iPhone 12 - 2022-06-26 at 13 45 05
Simulator Screen Shot - iPhone 12 - 2022-06-26 at 13 45 10

* make Turbo available to the window

* dont show navbar/footer if mobile

* add safe navigation to mobile?

* hide web navbar on devise pages + forum

* render smart nav/footers

Co-authored-by: donrestarone <shashikejayatunge@gmail.co>
@donrestarone donrestarone changed the title make server turbo native ready [feature] make server turbo native ready Jun 26, 2022
@donrestarone donrestarone temporarily deployed to staging June 26, 2022 18:08 Inactive
@donrestarone donrestarone added the Passing UAT on Staging ✅ not generally available - deployed to Restarone.Solutions label Jun 26, 2022
@donrestarone
Copy link
Contributor Author

@donrestarone donrestarone marked this pull request as ready for review June 26, 2022 21:22
@donrestarone donrestarone merged commit 8d091a9 into master Jun 26, 2022
@donrestarone donrestarone deleted the rc branch June 26, 2022 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Passing UAT on Staging ✅ not generally available - deployed to Restarone.Solutions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

make server turbo native ready
1 participant