Commit Graph
10 Commits
Author SHA1 Message Date
Tommy D. Rossi 23d6d3915d Use a real sky pixel for the site accent
#6490bc was an average of bright sky pixels, so it looked pale. The open
sky at the top left of the hero is one flat color, #234e9d. Use that for
the docs primary color and the hero dots.

Session: ses_f354b12f6ffecM3jsw9hX59RHp
2026-09-22 22:16:43 +02:00
Tommy D. Rossi 1863676151 Match the docs primary color to the hero sky
The site accent was orange. The new README image is a light blue sky, so
the Holocron primary color is now #6490bc, the average of the bright
saturated sky pixels.

Session: ses_f354b12f6ffecM3jsw9hX59RHp
2026-09-22 22:14:20 +02:00
Tommy D. Rossi 7d40fb6d2c Document the Solid adapter and wrap presence tests in Show
Add website/src/guides/solid.mdx covering install, preload, render,
primitives, motion, Select, testing, and automation. Link it from
the Guides nav and from the README Solid section.

The Solid AnimatePresence test now wraps the exiting motion.div in
Show. A boolean && child is not a tracked hole, so the previous
test never actually unmounted.

Session: ses_f3c074549ffe2jtrJMYbbLhqMx
2026-09-21 16:48:26 +02:00
Tommy D. Rossi 9b0232374f Rewrite the homepage and README intro around GPUI search terms.
The Holocron title, docs.json description, and README lead now say GPUI
and React for native apps, not only native React on the GPU. The hero
tagline is GPUI and React / for native apps. Keywords on the homepage
frontmatter are GPUI, GPUI React, GPUI TypeScript, and native GPUI app.

The shader overlay uses a 0.7 alpha multiplier instead of a dark/light
opacity class, so the flare stays visible behind the new copy.

Session: ses_f64f287b1ffeD0rCw6d52oXfHk
2026-09-14 11:03:58 +02:00
Tommy D. Rossi 2d6e599c2b Document shipping a GPUIX app on hermes-node.
Add a Holocron guide at website/src/guides/hermes.mdx and link it from the
README. The page covers rebuilding hermes-node on macOS (the published
tarball dead-strips napi_*), bundling React to CJS with bun build, and the
measured ship set: 12 MB executable plus a 22 MB native sidecar.

A hermes/ prototype sits next to the docs so the same path can be rerun.

Session: ses_f84b88b16ffePB3X7Fqzot47OY
2026-09-07 14:18:43 +02:00
Tommy D. Rossi 4194d9b654 docs: use the compact website layout
Use Holocron compact mode so the GPUIX documentation keeps its navigation and content closer together on wide screens.

Session: ses_fb1f5cd3fffeAe9VxtTeynTdjA
2026-08-29 17:03:56 +02:00
Tommy D. Rossi f52fa545f7 docs: add release changelog navigation
Replace the single docs sidebar with a tabbed navigation that separates the
main documentation from generated release notes. Keep GitHub and npm as
link-only tabs so all top-level destinations use one consistent navigation
model and icon set.

Add introductory content for the changelog tab. It explains that native and
React packages ship together from one commit and points readers to the
prebuilt chat binaries attached to each release. Holocron uses this page as
the stable introduction before the release entries fetched from GitHub.

This commit restores the website-only work that was deliberately left in the
working tree by a906cf9 after it was accidentally included in an unrelated CI
commit.

Session: ses_fc04fcb1dffeooxK1KAopXSTAY
2026-08-26 22:12:07 +02:00
Tommy D. Rossi a906cf9309 Back out the website files that belong to another session
My previous commit used `git add -A` and swept in `website/docs.json`
and `website/src/changelog/intro.mdx`, which another session wrote
while I was working. They are not part of the CI change.

This restores both to their state before that commit and leaves the
work on disk, untouched: docs.json is a modified working tree file
again and intro.mdx is untracked again, so whoever wrote them can
commit them with their own message.

Session: ses_fc073cf53ffem2NBtBXPFaCgyF
2026-08-26 21:51:46 +02:00
Tommy D. Rossi 0b257d0a36 ci: one target per OS, and ship the chat example as an archive
Three changes to the release pipeline, all found while cutting 0.5.0.

**One target per OS.** The matrix built six targets; it now builds the
architecture each OS is mostly used on and nothing else:

| OS      | Target                    | Renderer      |
|---------|---------------------------|---------------|
| macOS   | aarch64-apple-darwin      | Metal         |
| Linux   | x86_64-unknown-linux-gnu  | Vulkan / wgpu |
| Windows | x86_64-pc-windows-msvc    | Direct3D      |

Every extra target is a full gpui build, and gpui is most of the wall
clock of this workflow, so a release was paying twice over for platforms
almost nobody installs. Intel macOS, arm64 Linux and arm64 Windows lose
their prebuilt binary. `napi.targets` is trimmed to match; the two lists
must stay identical or the published loader looks for a platform package
CI never built. Both test jobs already pull targets that stay.

**The chat example gets an extension.** A GitHub release asset is served
as raw bytes, so a download lost the executable bit and, on macOS and
Linux, arrived with no extension at all. The build job now packs those
two into `example-chat-<target>.tar.gz`, which keeps the mode and names
itself. Windows keeps its `.exe`. Verified end to end with the real
0.5.0 macOS binary: pack, drop the mode to 644 like a browser download,
`tar -xzf`, and the extracted file is `-rwxr-xr-x` and opens its window.
The download also drops from 83 MB to 33 MB.

**Create the GitHub release before CI reaches the publish job.** The
upload step exits 0 when no release exists for the tag, so a release
created afterwards gets no binaries, and the only way to add them later
is to move ~100 MB through a laptop. There is no API that attaches an
artifact to a release: the assets endpoint wants the raw bytes in the
request body, and `gh release upload` cannot read stdin (cli/cli#5820).
AGENTS.md now spells out the order, and what to do about the tags when
CI fails and you push fixes.

Session: ses_fc073cf53ffem2NBtBXPFaCgyF
2026-08-26 21:50:55 +02:00
Tommy D. Rossi 92082a3402 Add the docs site
A Holocron site under `website/`, deployed to Cloudflare Workers. The
README is the only page for now, so the source of truth stays in the
repository root instead of drifting into a second copy.

Session: ses_fc1c6df4bffewVGSCAfO0JZ4nT
2026-08-26 16:40:26 +02:00