Skip to content

fix(onboarding): midi-input multi-provider discovery + home-tour lifecycle - #568

Merged
byrongamatos merged 1 commit into
mainfrom
fix/midi-discover-and-tour
Jun 22, 2026
Merged

fix(onboarding): midi-input multi-provider discovery + home-tour lifecycle#568
byrongamatos merged 1 commit into
mainfrom
fix/midi-discover-and-tour

Conversation

@byrongamatos

Copy link
Copy Markdown
Contributor

Codex review of #526/#528 (2 iterations on the midi-input part):

  • midi-input discover() no longer aborts on one provider's enumerate() rejection — other providers (e.g. a native/desktop MIDI provider) are still queried, and denial is only reported when NO provider enumerates. A failed provider's now-unverifiable sources are dropped so revoked/unplugged devices don't linger as selectable.
  • Home tour waits for a v3:dashboard-rendered event (emitted after the #v3-home innerHTML swap) before attaching Shepherd, instead of a single animation frame that could latch onto pre-render nodes the async render then replaces.
  • "Play it now" onboarding arms the tour (armPendingFirstRun) to run the first time the user returns to home, instead of silently never showing it.

Codex-reviewed clean.

…cycle

Addresses Codex review of #526/#528:
- midi-input discover(): one provider's enumerate() rejection no longer aborts
  the whole discovery — other providers (e.g. a native/desktop MIDI provider)
  are still queried; denial is only reported when NO provider enumerates.
- Home tour now waits for a 'v3:dashboard-rendered' event (dashboard.js emits
  it after the #v3-home innerHTML swap) before attaching Shepherd, instead of a
  single animation frame that could latch onto pre-render nodes the async
  dashboard render then replaces.
- "Play it now" onboarding now arms the tour (armPendingFirstRun) to run the
  first time the user returns to v3-home, instead of silently never showing it.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@byrongamatos
byrongamatos merged commit 5d0229f into main Jun 22, 2026
@byrongamatos
byrongamatos deleted the fix/midi-discover-and-tour branch June 22, 2026 12:06
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.

1 participant