Skip to content

fix: run source phui with the Solid JSX preload - #28

Merged
phall1 merged 1 commit into
mainfrom
fix/source-preload-freeze
Sep 20, 2026
Merged

phall1 merged 1 commit into
mainfrom
fix/source-preload-freeze

Conversation

@phall1

@phall1 phall1 commented Sep 20, 2026

Copy link
Copy Markdown
Owner

Why

Typing `phui` on this machine hits the bun-linked checkout, not Homebrew. The wrapper ran `bun src/standalone.ts` without `@opentui/solid/preload`. First paint stuck on the splash; atom updates never applied. Looks frozen. Meanwhile Projects (if constructed) fans out `gh` per local repo.

What

  • Source fallback is now `bun --preload @opentui/solid/preload src/standalone.ts` from the package root — same as `bun run start`.
  • Projects does not scan/fetch GitHub unless that tab is selected.

Verified: PATH `phui` now shows the PR list and `j` moves selection. 798 tests pass.

The bun-linked `phui` command spawned `bun src/standalone.ts` without
@opentui/solid/preload, so JSX never transformed and the TUI froze on
the splash while gh kept running. Also skip the Projects GitHub fan-out
until that tab is actually selected.
@phall1
phall1 merged commit bed0391 into main Sep 20, 2026
@phall1
phall1 deleted the fix/source-preload-freeze branch September 20, 2026 06:12
@linear-code

linear-code Bot commented Sep 20, 2026

Copy link
Copy Markdown

PHA-552

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