40 Commits
Author SHA1 Message Date
James Babcock a02b849200 Borderless modes have different padding inside the builtin apps
Most of the builtin apps had some padding between the window edge and
their content, because they expect to be displayed with a line border on
their edge. We added a customization option to remove the border, so,
that padding is not always necessary. Make the layouts dynamically
adjust, to omit the padding when it isn't needed.
2026-11-11 15:19:29 -08:00
James Babcock fde847a31a Add support for using RayNeo iO together with an R1 ring 2026-11-01 19:37:55 -08:00
James Babcock 7289496c09 R1 ring: Debug health-data sync 2026-11-01 12:19:46 -08:00
James Babcock fcea0b369a Merge branch 'main' of https://github.com/jimrandomh/faceclaw into ring-health-fixes 2026-11-01 11:00:38 -08:00
James Babcock f47d82b871 Port the Developer app's resource monitor to iOS 2026-10-31 14:45:43 -07:00
James Babcock c5f80a0b00 Merge branch 'main' of https://github.com/jimrandomh/faceclaw 2026-10-31 14:04:41 -07:00
James Babcock a5eda29368 Port developer debug tests to iOS 2026-10-31 13:57:18 -07:00
James Babcock 71bccd2c1c Ensure connection is re-set to 2M on reconnect 2026-10-27 13:05:13 -07:00
James Babcock 8e50c004a6 Make BLE benchmark work on iOS 2026-10-26 11:12:55 -07:00
James Babcock 4f8c082b52 Merge branch 'main' into ring-health-fixes 2026-10-25 01:06:38 -07:00
James Babcock b50898ea02 Fix a bunch of microphone-related bugs
> Most serious fixes
> - Recordings kept forever: a recording made with captions off, or with "Save captions"
>   off, was transcoded to .m4a and kept indefinitely. No conversation linked to it, so
>   the phone UI never showed it and the retention settings never deleted it. Recording
>   now only happens alongside a saved caption session, and turning captions off ends
>   that session's recording properly.
> - 4-mic mode went silent after a reconnect: a disconnect clears the phone's audio
>   forwarding, and nothing turned it back on, so the app kept showing "Listening (4-mic
>   array)" while hearing nothing. A check every 3 s now restores forwarding and re-sends
>   the config when it has been lost. The normal single-stream mode already recovered on
>   its own.
> - Turning off "4-mic capture" mid-session went silent: it stopped the glasses' stream
>   but never switched to the normal stream. Setup changes now take effect live,
>   including switching between the two modes.
> - Setup changes were undone: after the assistant closed, the app re-sent the config it
>   loaded at launch to the glasses, reverting any changes you'd made since.
> - Startup failures: if the caption engine failed to start, the session got stuck
>   half-running. If the glasses weren't connected, listeners piled up and an empty
>   conversation could be left open. Startup now brings up the microphone first and
>   cleans up properly on failure.
>
> Other fixes
> - Audio quality: the 4-mic beamformer put a small dropout at the start of every 25 ms
>   frame (an audible 40 Hz artifact in the audio feeding captions). Fixed, with a test
>   that fails on the old code.
> - Stale direction data: an arm that stopped sending kept steering the direction
>   estimate and could hold the caption feed on a silent arm.
> - Compass: closing Microphones switched off the Compass app's compass, because both
>   used the same owner name.
> - Speaker database failures:
>   - A failed speaker reload wiped the in-memory list, so the next voice became a
>     duplicate "Speaker N".
>   - A failed speaker insert crashed caption handling; in re-diarize it reassigned
>     transcript lines to a nonexistent speaker.
> - Translation:
>   - A crash path inside the model-download callback is now caught.
>   - Phones set to Hebrew, Indonesian or Yiddish never got translations, because of
>     old-style language codes.
> - Ask questions: once the speaker list grew past the size limit (every unknown voice
>   adds a "Speaker N"), it pushed all transcript lines out of the context sent to the
>   model. When trimming is needed, the oldest lines now go first.
> - Smaller fixes:
>   - The captions view stopped jumping back to live speech after 60 lines.
>   - "This is Dana calling…" was treated as introducing someone else.
>   - A model download that failed to start was stuck at "downloading" until restart.
>   - The developer mic monitor grew without limit while hidden.
2026-10-14 00:56:54 -07:00
James Babcock d7a02f25fb Autoconfigure ring for direct connection 2026-10-06 22:29:03 -07:00
James Babcock f38595422c Build out Ring Status debug tool; fix some aspects of ring direct communication 2026-10-06 19:53:43 -07:00
James Babcock e12cfaaf38 Merge branch 'main' of https://github.com/jimrandomh/faceclaw into ring-health-fixes 2026-10-06 13:32:49 -07:00
James Babcock 295922effd Various UI tweaks
Fix missing submenu indicators and change their appearance. Clean up
styling in the Terminal app and move Settings to the top-level menu.
Remove right padding from the bottom bar.
2026-10-02 12:19:25 -07:00
James Babcock 2c088378bd Lint 2026-09-30 13:38:12 -07:00
James Babcock f7fa4addc0 Merge branch 'microphone-fixes' 2026-09-29 20:34:09 -07:00
James Babcock 06146c2b08 Introduce oxlint, and fix lint warnings 2026-09-29 11:54:22 -07:00
James Babcock c119883ca0 Add ring debug; change GATT locking 2026-09-27 15:32:49 -07:00
James Babcock 7d0becfaa7 Fix some microphone-related bugs, add a debug panel 2026-09-26 14:12:29 -07:00
James Babcock 71c1971992 Use animated menus in a bunch more places 2026-09-23 23:57:50 -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 68b459751e iOS QR scanning for opening EvenHub apps 2026-09-19 03:06:56 -07:00
James Babcock 7e58c7c05f EvenHub compatibility for iOS 2026-09-19 00:48:26 -07:00
James Babcock 63b2a7d545 Merge branch 'main' into ios-port
# Conflicts:
#	app/app.ts
2026-09-18 19:38:10 -07:00
James Babcock b71fdde099 Add unicode test pages to the Developer app 2026-09-18 19:10:50 -07:00
James Babcock e8e144f3f2 Merge main into ios-port and update the iOS CFW transport 2026-09-17 23:33:51 -07:00
James Babcock b0cf1e4f67 Switch from capability strings to numeric versioning for firmwares 2026-09-11 00:22:36 -07:00
James Babcock 5a97b218e6 Add bluetooth settings options to bandwidth benchmark 2026-09-10 12:21:01 -07:00
James Babcock 50cbc3a756 Merge branch 'main' into ble-bandwidth-test 2026-09-09 21:59:38 -07:00
James Babcock e5ba7abc18 iOS porting: Battery indicators, app icon, add the rest of the apps 2026-09-07 10:18:30 -07:00
James Babcock c37a9eec45 Add a light-sensor demo to the Developer app 2026-09-03 22:23:54 -07:00
James Babcock 79a911ce25 Fix merge issue 2026-08-31 10:08:04 -07:00
James Babcock 0114c521ad Merge branch 'main' into ble-bandwidth-test 2026-08-31 01:24:53 -07:00
James Babcock 80d688dd4e Move and rename DashboardInputEvent->InputEvent 2026-08-30 13:02:44 -07:00
James Babcock 1d81ed7881 Add a BLE bandwidth estimation tool to the Developer/Debug tests menu 2026-08-24 17:45:01 -07:00
James Babcock cc4b69fb80 UI tweaks 2026-08-22 21:53:54 -07:00
James Babcock 0ed242a36f QR code loading works 2026-08-22 00:24:36 -07:00
James Babcock 92cd05b6ca Add options to load an app from a URL or a QR code
(The QR code reading does not work yet)
2026-08-21 12:03:24 -07:00