| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
website: add GPUI core concept guides (#3181) ## What changed Adds bilingual guides for six GPUI core concepts: Entity, Window, Context, Render, RenderOnce, and Element. The guides explain ownership, lifecycle, rendering, async work, subscriptions, and how these concepts connect to the existing Action and Event guides, using patterns verified against GPUI, Zed, GPUI Kit, and Longbridge Pro. The new pages appear after Event and before Icon in the Guides sidebar. ## Validation - `git diff --check docs/gpui-focus-actions-events-guide...HEAD` - `SHOWCASES_DIR=/Users/jason/work/gpui-kit-showcases bun run build` - `bun run test:seo` (14 passed) --------- Co-authored-by: Codex <codex@openai.com> | 6 天前 | |
release: Skip Kit compatibility checks when publishing GPUI (#3282) ## Description Release GPUI runs Kit compatibility checks against the staged upstream snapshot, producing errors such as the Criterion version mismatch even though the GPUI packages themselves build. Pass the existing `--skip-kit-check` flag in the release workflow. This skips Kit adaptation during GPUI publication while keeping the license audit and staged-package compilation. Update only the two comments that described building Kit. The final diff changes one workflow file; no script, CI, dependency, or documentation changes. ## How to Test - `bun script/bump-gpui.ts 0.3.7 --zed target/gpui-pre/zed --dry-run --skip-kit-check`, with Zed at `1a28cff4b409169bac058bca40dfbfeb7621d19b` — passed on Linux: all 25 crates package and build, the Kit compatibility check is skipped, and nothing is uploaded. - Hash checks confirmed Kit's manifests and Cargo.lock remained unchanged. - Workflow YAML parsing, `git diff --check`, and independent review passed. ## Checklist - [x] Read CONTRIBUTING.md and followed its guidelines. - [x] Reviewed and validated the AI-assisted workflow change. | 1 天前 | |
website: Refine design guides and restore custom website themes (#3211) ## Summary - Refine the English, Chinese, and agent design guides with reusable rules for radius tiers, nested surfaces, tooltips, loading, motion, segmented controls, and title-bar commands. - Add light and dark animated SVG examples of a chat composer. The outer surface, inset surface, buttons, and text spacing move through three phases while preserving corner and alignment relationships. - Restore custom themes in versioned website builds by making the root theme catalog available to temporary build directories, including themes in cache fingerprints, and failing the release build if custom theme CSS is absent. ## Test Plan - `SHOWCASES_DIR=/Users/jason/work/gpui-kit-showcases bun run build` in `website/` (passed; 38 theme options and 36 custom-theme CSS selectors). - Parsed both SVGs as XML and rendered light, dark, and key phase previews. - Checked animation geometry at rest and all three phases: shared corner centers, button alignment, and equal top/left text gaps. - `bash -n script/build-website-versions`, `git diff --check`, and design guide mirror comparison (passed). Co-authored-by: Codex <codex@openai.com> | 5 天前 | |
Fix release crate CI | 20 天前 | |
website: Keep versioned docs links inside their version (#3243) Documentation pages read under `/versions/main` or `/versions/<tag>` linked back to the default version through site-root links (`/docs/entity`, `/component/...`), which often 404 there because the default is the latest release. ## Links stay in their version - 124 site-root links in `docs`, `component`, `base`, `shell` (en and zh-CN) now link the `.md` file relatively. zh-CN pages that linked English Base pages now link the Chinese ones. - `remarkDocLinks` prefixes any remaining site-root docs link with the build's base, so released snapshots (v0.6.6 still has such links) stay inside `/versions/<tag>` too. - Redirect destinations (`/docs/dock` → `/component/dock`, …) and the zh-CN → en language switch kept dropping the version base; both are fixed. - The 404 page, which GitHub Pages serves for every missing path, looks for the same page in the other versions and offers it ("This page is not in the v0.6.6 (latest) documentation, but it exists in main."). It also now loads the site stylesheet; it was unstyled before. ## GPUI snapshot version in one place Pages write `{{gpui_pre_version}}` in prose, code and docs.rs links. It resolves from the `gpui` entry of the workspace `Cargo.toml`; `script/build-website-versions` passes each revision's own value. The `.md` endpoints and `llms-full.txt` expand it as well. ## Maturity labels `maturity: [preview | experimental | showcase-only | platform-dependent | stable]` in frontmatter renders mono labels under the title, linking to a new Maturity section on the docs home. Marked: Mobile and WebView (Experimental, Platform-dependent), WebAssembly (Showcase only: it currently serves the component showcases, not shipped applications), all GPUI Shell pages (Preview), Native Extensions, SystemNotification and TitleBar (Platform-dependent). Unmarked pages are Stable. ## Checks - `bun run test:docs` (sources, no build): no site-root docs links; relative links resolve, in the same locale when possible; no hand-written pinned `gpui-pre` version or versioned docs.rs gpui-pre URL; known variables only; en/zh-CN maturity match. - `bun run test:links`: every `<a>` and redirect in a build reaches a built page; `test:versioned-examples` repeats it at `/versions/test/`, where leaving the version fails. - Test Docs now also runs on `Cargo.toml` changes. Verified locally with a production-shaped build (v0.6.6 at `/`, this branch at `/versions/main`): all website tests pass, the v0.6.6 snapshot passes the link check at `/versions/v0.6.6/`, and the 404 fallback works for `/docs/entity` and `/zh-CN/docs/entity`. Publishing a release that contains the new GPUI guides is what makes `/docs/` show them; this PR does not change which version is the default. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com> | 3 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 6 天前 | ||
| 1 天前 | ||
| 5 天前 | ||
| 20 天前 | ||
| 3 天前 |