Commit Graph
91 Commits
Author SHA1 Message Date
James Babcock efafcb0f0c Fix unit tests 2026-09-25 22:13:02 -07:00
James Babcock 2f88b108a8 Merge branch 'main' of https://github.com/jimrandomh/faceclaw 2026-09-25 22:08:18 -07:00
James Babcock 419eef7cca Merge pull request #39 from jmomakesstuff/fix-test-build-events
Compile events.ts for the tests, and run the Kotlin tests in CI
2026-09-25 22:07:53 -07:00
James Babcock 459560cd72 Fix a frozen menu in the notification modal 2026-09-25 22:06:44 -07:00
James Babcock b0a98f5942 Add animations to launcher and Files app 2026-09-25 13:25:51 -07:00
JMO cd32aed849 Compile events.ts for the tests
tests/ios-glanceboard.test.cjs requires .test-build/app/g2/events.js, but events.ts was not in tests/tsconfig.json, so a clean build never produced it.
2026-09-25 08:09:56 -07:00
James Babcock 09a59b9821 Fix the EvenHub login form sizing and missing cancel button 2026-09-25 01:56:52 -07:00
James Babcock 90d60cee10 Dither when darkening for the system context menu 2026-09-25 01:30:26 -07:00
James Babcock 4f3ad37c20 Custom auto-brightness, and fade in/out effects 2026-09-25 00:57:43 -07:00
James Babcock f66e0b025f Add partial rows and a bounce effect to menus 2026-09-24 12:23:20 -07:00
James Babcock c801bd5185 Animate scrolling in menus 2026-09-24 11:04:10 -07:00
James Babcock 915f155819 Add Glanceboard depth setting 2026-09-24 02:26:20 -07:00
James Babcock 71c1971992 Use animated menus in a bunch more places 2026-09-23 23:57:50 -07:00
James Babcock 123c1142d6 Better menu class; use it in the Music app 2026-09-23 22:05:44 -07:00
James Babcock 440674b261 Animations are mainly on the typescript side, not kotlin 2026-09-23 22:05:06 -07:00
James Babcock 063d8a0b03 Clean up magic-numbers used in menu animation 2026-09-23 11:34:20 -07:00
James Babcock 08f1b9a2a2 Optimize on-glasses animation 2026-09-23 02:58:29 -07:00
James Babcock c8d835176f Display-list based menu slide animation 2026-09-23 01:13:03 -07:00
James Babcock 92e8def0f0 Merge branch 'main' of https://github.com/jimrandomh/faceclaw 2026-09-22 21:40:55 -07:00
James Babcock 4a194e37bb Refactor iOS version to use a bunch more shared code 2026-09-22 21:26:51 -07:00
James Babcock c3a0ba9f56 Refactor Kotlin for iOS commonality 2026-09-22 19:55:08 -07:00
JMO 662cbd75dc Fix the EvenHub sign-in form reopening every launch and never closing
Open EvenHub once without finishing sign in and the phone side form comes back
on every app start, with no way to close it. Back exits the app rather than
closing the form.

Three things combine:

- EvenHubStoreLayer.paint() opened the credential editor on its first paint
  when no credentials were stored. First paint includes the restore of a
  still-open EvenHub at startup, so an unfinished sign in put the form back
  every time. handleInput already opens it on a click, so the auto open only
  removed the choice of when.

- LayerActions.startTextSettingsEdit declares a fifth onCancel parameter, but
  the DashboardController wiring forwarded four and the method accepted four.
  Nothing failed to compile, because a 4-parameter function is assignable to a
  5-parameter function type. That callback resets openCredentialEditor's
  phoneEditor guard, so with it dropped the guard latched at "credentials":
  the screen timeout hid the panel without resetting the state behind it, and
  the form could then be neither closed nor reopened. ios-preview-controller.ts
  already forwards all five, so this was the G2 path only.

- The panel has no Cancel control, so the keyboard's Done key on the password
  field is the only way to end the edit. On an untouched form that reached
  submitCredentials, which called enterLogin("Email and password are
  required."), which reopens the editor. A loop with no exit.

The auto open is removed; onCancel is forwarded, stored and fired from
endTextSettingEdit, with finishTextSettingEdit clearing it first so a completed
edit does not also report a cancel; and a wholly empty submission is treated as
a cancel. A half-filled form is a real mistake and still reopens with the
message.

tests/evenhub-signin.test.cjs covers the open and close contract through the
existing load-typescript.cjs loader. Two of its five tests fail against the
current store-layer.ts and pass with this change.
2026-09-22 19:07:22 -07:00
James Babcock 587364e5e6 Convert most Android-specific kotlin to shared or shareable 2026-09-22 18:43:55 -07:00
James Babcock f9724ddcab Convert remaining Java to Kotlin 2026-09-22 17:26:09 -07:00
James Babcock ea9bfae6af Refactor: g2flash protocol doesn't have so many magic numbers 2026-09-22 16:27:04 -07:00
James Babcock 2e4d20e130 Clean up unused worker threads for closed apps; other performance optimizations 2026-09-22 14:56:54 -07:00
James Babcock 9560f3ac8d Phone CPU usage optimization 2026-09-22 14:19:23 -07:00
James Babcock 44eddedc01 Add script for collecting CPU profile information 2026-09-22 11:54:45 -07:00
James Babcock 392554dd37 Depth effects 2026-09-22 10:59:51 -07:00
James Babcock 4320021222 Display lists 2026-09-22 00:25:40 -07:00
James Babcock a7af84e231 Nightscout glanceboard widget shows out-of-bounds values when out of space 2026-09-21 18:08:29 -07:00
James Babcock 0c3d7517bc Resource management for the texture cache 2026-09-20 18:23:33 -07:00
James Babcock 146fe66bdd Add "map around me" mode to Navigate app 2026-09-20 17:02:24 -07:00
James Babcock 183adf5a43 Remove some failing tests that were accidentally retained form experiments or other branches 2026-09-20 15:22:17 -07:00
James Babcock 07828db0bf Refactor texture cache usage to shared Kotlin for iOS 2026-09-20 15:12:13 -07:00
James Babcock ccb320c66f Add tokens and faceclaw-input script, which allows using a CLI utility as an input device for the glasses 2026-09-20 00:34:58 -07:00
James Babcock 313ba85708 Hub apps on iOS no longer have their timers stopped while the phone app is in the background 2026-09-19 22:07:35 -07:00
James Babcock 6c3144cc31 Make iOS app main screen match the Android UI 2026-09-19 21:54:18 -07:00
James Babcock 32063e57cd iOS calendar integration 2026-09-19 20:52:36 -07:00
James Babcock 7b19c00443 Forward ring input events before filtering, and include swipe info 2026-09-19 19:02:11 -07:00
James Babcock b972cd7682 Rebase firmware on 2.3.0, fixing issue with lost ring input events 2026-09-19 17:19:21 -07:00
James Babcock e50da605e0 Add support for buzzer sound effects on iOS 2026-09-19 12:03:57 -07:00
James Babcock cef879fec0 Display proper app name in iOS notifications 2026-09-19 11:46:46 -07:00
James Babcock 67823f66ef Implement notifications on iOS 2026-09-19 11:07:37 -07:00
James Babcock 64bf600ef9 Porting onboarding/flashing flow io iOS 2026-09-19 09:19:26 -07:00
James Babcock e2b35ada1a Port lock screen to iOS 2026-09-19 02:55:13 -07:00
James Babcock ef7878359f Merge branch 'main' into ios-port 2026-09-19 02:33:59 -07:00
James Babcock 0337470c05 Mark stock firmware 2.3 as validated for installing custom firmware over 2026-09-19 02:18:23 -07:00
James Babcock 15a3e129b2 iOS wakeword support 2026-09-19 01:37:36 -07:00
James Babcock 7e58c7c05f EvenHub compatibility for iOS 2026-09-19 00:48:26 -07:00