Skip to content

Conversation

@cindyloo
Copy link
Contributor

@cindyloo cindyloo commented Sep 9, 2025

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

cb and others added 3 commits September 10, 2025 21:01
…then despite my attempts to stop the keyboard from moving things around, it moves things around
Change-Id: I79b4893dff849ea233a0c241abcc9d3a8d019ed3
@cindyloo cindyloo changed the title create secondary view for Neo landing screen create secondary view for Neo landing screen AND setValueFormat Sep 12, 2025
Comment on lines -155 to -165
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*) '()))))
""")
Copy link
Member

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.

Copy link
Contributor Author

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()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants