Repository navigation
Conversation
bureau-hold-fill had only its 100% frame, and a missing 0% frame starts at the property's resting value, which for scaleX is 1: the fill stood full from the first frame of the hold. It now starts at 0. Claude-Session: https://claude.ai/code/session_015YsDT1mrrucxxz116AeCoP
…its foundations and the guide Every picture on the site is drawn by Bureau. `deno task site:pictures` bundles the specimens in site/specimens/, runs each in a Ui of its own on a frozen clock, draws its display list through the Metal backend into a texture no window shows, and writes the PNG (site/specimens/render.mm, the bureau_specimens target). An animation is written as an animated PNG with its frames beside it, and the hero also as its quads alone, the x-ray its slider wipes across. The library's code samples are the source of the functions that drew its pictures. `deno task site` builds the pages into site/dist/: the home page, the library of 104 components in six sections, the foundations read from kit/tokens.ts, and docs/ as the guide. They are static HTML and CSS, and the hero's slider is the one script. The Website workflow draws the pictures on macOS, builds the pages on Ubuntu and publishes main to GitHub Pages; a pull request that touches the site, the kit or the engine builds both and publishes nothing. Claude-Session: https://claude.ai/code/session_015YsDT1mrrucxxz116AeCoP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A website for Bureau, in
site/, published to GitHub Pages by a new workflow. It is the project's home page, a library of every component in the kit, the design system's foundations, and the guide.Every picture on it is drawn by Bureau.
deno task site:picturesbundles the gallery's TSX, runs each specimen in abureau::Uiof its own, draws its display list through the Metal backend into an offscreen texture and writes the PNG (site/specimens/render.mm). There are no screenshots and no mock-ups: the library's code samples are the source of the function that drew each picture.Pages
kit/tokens.ts.docs/*.mdrendered, with links into the repository sent to GitHub.The site is static HTML and CSS. Its only script is the hero's slider. Links are relative, so it works at any address.
How it's built
site/specimens/*.tsx: one file per library section. A specimen is a function that renders the component, plus its title, description, kit file and imported names.site/specimens/render.mm(thebureau_specimenstarget, built with the tests): settles each specimen on a frozen clock, can hover a node, start the clock past an entrance animation, write frames as an animated PNG, and write the x-ray.site/build.ts(deno task site): the pages, intosite/dist/. A missing picture fails the build;--draftbuilds anyway..github/workflows/site.yml: draws the pictures onmacos-26, builds the pages on Ubuntu, and deploys frommain. Pull requests that touch the site, kit, docs or engine build everything and publish nothing.deno task checknow coverssite/, and the guide's "Developing Bureau" section names the two tasks.markedis the one new dev dependency.A kit fix
bureau-hold-fillhad no 0% frame, so aHoldButton's fill stood full from the moment the hold began. It now grows from empty. This is in its own commit.Bugs found while drawing the kit (not fixed here)
LoadingStateshows/img/hourglass.gif, but Bureau decodes only PNG and JPEG (STBI_ONLY_PNG/JPEG), and the file isn't inassets/. The hourglass never draws, so the library's picture has an empty slot.Icon'snameprop loads/icons/95/<name>.png, a set that isn't inassets/.Stamp,CardRowandCardStatusthrow without aHintProvider, even with no hint, because they useuseHintActionswhere keys useuseOptionalHintActions.GamepadKeyboardreads about 19controller:strings thatkit/i18n/kit_strings.tsdoesn't have. Without a game catalog it shows "Text unavailable". The site supplies them insite/specimens/catalog.ts.Cardhard-codesid="toolbox-config".ListLabelkeeps its own inks under a row'sselectedColor.Sheetwith awrap spansRowcell, in a shrink-to-fit parent, lays out far too tall.Selectdraws fragments of its hidden options at 2x, and its open list doesn't mark the chosen option.HudKey'sringingdoesn't move: the native animator leavesrotateDegout (src/view/anim.cpp), which also drops the rotation frombureau-shake.GlitchTextdraws empty boxes for 18 of its 38 symbols (⌘, ⚠, ★ and others), because no shipped face has them.RainbowWavedrops spaces: each glyph is its ownText, and a lone space has no width.kit/MenuBar.tsx's header comment still talks about game-specific files.To publish
GitHub Pages has to be switched on for the repository, with GitHub Actions as its source (Settings → Pages). A custom domain, as Quaso has, needs a DNS record plus that setting. Until Pages is on, the Website workflow fails on
mainatconfigure-pages; pull requests aren't affected, since they skip that step.https://claude.ai/code/session_015YsDT1mrrucxxz116AeCoP