-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
Connect WelcomeView and WelcomeViewAddVehicle to App Flow #301
base: dev
Are you sure you want to change the base?
Conversation
Great thank you! I may not get to this for a week or so to review @maartinj |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much for the contribution forever ago, and I'm just now getting to review it!
I have several comments that need resolved please. If you would like you can continue this PR and make the changes I suggested, or if you'd like to pass on this issue, you can un-assign yourself and close the PR
Once you fix everything, please click the re-review button
Basic-Car-Maintenance/Shared/Onboarding/Views/WelcomeViewAddVehicle.swift
Outdated
Show resolved
Hide resolved
Basic-Car-Maintenance/Shared/Onboarding/Views/WelcomeViewAddVehicle.swift
Outdated
Show resolved
Hide resolved
Basic-Car-Maintenance/Shared/Onboarding/Views/WelcomeViewAddVehicle.swift
Outdated
Show resolved
Hide resolved
Basic-Car-Maintenance/Shared/Onboarding/Views/WelcomeViewAddVehicle.swift
Outdated
Show resolved
Hide resolved
Basic-Car-Maintenance/Shared/Onboarding/Views/WelcomeViewAddVehicle.swift
Outdated
Show resolved
Hide resolved
Basic-Car-Maintenance/Shared/Onboarding/Views/WelcomeViewAddVehicle.swift
Outdated
Show resolved
Hide resolved
Basic-Car-Maintenance/Shared/Onboarding/Views/WelcomeViewAddVehicle.swift
Outdated
Show resolved
Hide resolved
Basic-Car-Maintenance/Shared/Onboarding/Views/WelcomeViewAddVehicle.swift
Outdated
Show resolved
Hide resolved
…-appflow' #Conflicts: # Basic-Car-Maintenance/Shared/Localizable.xcstrings # Basic-Car-Maintenance/Shared/Onboarding/Views/WelcomeViewAddVehicle.swift # Basic-Car-Maintenance/Shared/Settings/Views/SettingsView.swift
I sent corrected PR. Please check and share your thoughts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maartinj something happened...
there's a bunch of changes reverting several PRs recently
you should merge dev
into your branch
and click "resolve" for all the comments you addressed that you don't have questions on and have fixed, and then click re-review
# Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Need to integrate other changes with onboarding branch # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
I sent corrected PR. Fingers crossed that now is fine. Please check and share your thoughts. |
@maartinj can you check, there might be a settings somewhere about when the PR was created about allowing edits from the maintainer...? If you edit the description...? it'll maybe come up...? or somewhere on the right side? |
@mikaelacaron This box was unticked, do not know why: Nevertheless, I ticked this box, so you should have access now. Please check and let me know 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've made several comments about how data is passed and things to fix. I've resolved most of them, and left the comments for you, for next time!
don't change anything, I'm still deciding how I want some things to function
Basic-Car-Maintenance-Widget/Assets.xcassets/test.colorset/Contents.json
Outdated
Show resolved
Hide resolved
Basic-Car-Maintenance/Shared/Onboarding/Views/WelcomeView.swift
Outdated
Show resolved
Hide resolved
Basic-Car-Maintenance/Shared/Onboarding/Views/WelcomeViewAddVehicle.swift
Outdated
Show resolved
Hide resolved
Basic-Car-Maintenance/Shared/Onboarding/Views/WelcomeViewAddVehicle.swift
Outdated
Show resolved
Hide resolved
} | ||
} | ||
|
||
var message: String? { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this and the title
should be a LocalizedStringResource
so that they can be translated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You fixed this also, right? I see in commit 'PR 301 Suggestions, moving around functionality', in line 171, that is added with localizedStringResource
?
Basic-Car-Maintenance/Shared/Onboarding/Views/WelcomeViewAddVehicle.swift
Outdated
Show resolved
Hide resolved
@@ -17,10 +18,10 @@ struct WelcomeView: View { | |||
HStack(spacing: 5) { | |||
Text("Welcome to") | |||
Text("Basic") | |||
.foregroundStyle(Color("basicGreen")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note we don't need to use strings anymore because assets automatically generate type safe names like .basicGreen
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You fixed this also, right? I see in commit 'fix colors, capitalization and comments', you changed all .basicGreen
?
I'm flying today and will look back at this, don't change anything! thank you! it's almost ready to merge |
Sure @mikaelacaron, I am waiting for your other comments 😊👍 |
What it Does
WelcomeView
andWelcomeViewAddVehicle
to App Flow #285WelcomeView
andWelcomeViewAddVehicle
WelcomeView
present the highlighted features of the appWelcomeViewAddVehicle
allows to add basic data about first car (Vehicle Name, Make & Model)WelcomeView
, and then pushWelcomeViewAddVehicle
after tapping continueDashboardView
. When clicked "OK" on presented alert, the app will start always from theDashboardView
SettingsView
as "Locally Saved Vehicle" to visualize correctly working Onboarding App Flow. This data can be deleted by swiping the added temporary vehicle data from right to the left. Temporary vehicle data is visible when app is restarted and app remember this data using UserDefaults functionalityHow I Tested
WelcomeView
appear, and suddenly dismiss and shows alert "This is a Test Message From the Real Time Alert System" (I cannot turn this off. It looks like this alert is presented from server side)WelcomeView
shows againWelcomeViewAddVehicle
appearWelcomeViewAddVehicle
dismiss, theDashboardView
appearNotes
SettingsView
or other different task to add properly Vehicle data and delete temporary added vehicle data functionScreenshots
Screencast
onboardingFlowVideo.mp4