-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
create secondary view for Neo landing screen AND setValueFormat #3595
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
base: master
Are you sure you want to change the base?
Conversation
76bdbea to
196e1c1
Compare
…then despite my attempts to stop the keyboard from moving things around, it moves things around
Change-Id: I79b4893dff849ea233a0c241abcc9d3a8d019ed3
| interpreter.evalForm("(add-component Screen1 AIComponentKit.BarcodeScanner BarcodeScanner1)") | ||
| interpreter.evalForm("(define-event BarcodeScanner1 AfterScan(result) (yail:invoke AICompanionApp.ViewController 'gotText result))") | ||
| if let exception = interpreter.exception { | ||
| NSLog("Exception: \(exception.name) (\(exception))") | ||
| } | ||
| interpreter.evalForm("(add-component Screen1 AIComponentKit.PhoneStatus PhoneStatus1)") | ||
| interpreter.evalForm("(add-component Screen1 AIComponentKit.Notifier Notifier1)") | ||
| interpreter.evalForm(""" | ||
| (define-event Notifier1 AfterChoosing($choice)(set-this-form) | ||
| (if (call-yail-primitive yail-equal? (*list-for-runtime* (lexical-value $choice) "Exit") '(any any) "=") (begin (call-component-method 'PhoneStatus1 'shutdown (*list-for-runtime*) '())))) | ||
| """) |
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 that this code is important as it sets up the PhoneStatus and Notifier components, referenced on lines 166-167 below and on lines 214-215 in the new version. If you put the phone in airplane mode and try running this version, it results in a crash when trying to display the warning about the lack of Wifi. At a minimum, you'll want to migrate these lines.
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.
that code was moved to setupCurrentForm(). and should still be operating with the same precedence? will look into. perhaps it is because form.makeTopForm() is called twice
|
|
||
| let interpreter = initializeInterpreter() | ||
|
|
||
| form.makeTopForm() |
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.
duplicate
Resolves # 3374 and extends PR #3581
under Main.storyboard we now have
ReplForm
-View
--neoView
--legacyView
we have the "?" on the landing (QR) screen that should take you to the onboarding screens
we have the My Saved Apps button
todo- key monitoring that @ewpatton suggested to handle the onboarding/menu toggle of the right bar button