-
Notifications
You must be signed in to change notification settings - Fork 4
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
[INSPECT-340][FEATURE] - added scroll feature to validation #341
Conversation
- added emojis to validation errors - created new alert for validation message in inspection
alertVC.modalTransitionStyle = .crossDissolve | ||
alertVC.configure(title: title, message: message) | ||
topVC.present(alertVC, animated: true) | ||
} |
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 is the function to render our inspection validation with the scroll ability
@@ -0,0 +1,95 @@ | |||
// |
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.
Had to create a new class for this new alert message, rather than edit the existing class.
var message: String = "" | ||
guard let model = self.model else { return message } | ||
var counter = 1 | ||
var messages: [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 file is general clean up and the adding of the emojis to the error messages
@@ -209,7 +209,7 @@ class WatercraftInspectionViewController: BaseViewController { | |||
if canSubmit() { | |||
self.navigationController?.popViewController(animated: true) |
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.
Another clean up and adding emojis
@@ -145,3 +145,21 @@ extension UIViewController { | |||
return alert | |||
} | |||
} | |||
|
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 helps show alerts regardless of navigation stack (helped to display our alert box in each window)
Pull Request Standards
HOTFIX
,FEATURE
,etc
][INSPECT-###]
Description
This PR includes the following proposed change(s):
Simulator.Screen.Recording.-.iPad.10th.generation.-.2024-12-20.at.07.08.25.mp4