Repository navigation
Make the buttons groups, each with its own place - #346
Merged
Merged
Conversation
Contributor
|
Preview: https://9d33f783.nstarkman-space.pages.dev Built from |
The buttons are individual elements; buttons:… may now be given again, the first the card's own and each part after it another group — its keys, its count to a row, its area and place — with every key in one group. buttons:code,docs:left-buttons:stars:right is the code and docs on the left and the stars on the right. Another group in the buttons' own area sits in a slot of their box (the mechanism year, position and context use); at the top it is a strip of the card's padding; in any other area (left, center, right, bottom) it has a box of its own, .c-xfoot, set as the buttons' box is. All of that is additive CSS for what a name adds: a card with one group draws as it did. The first group alone has the paper button and the parts among the buttons. The Card Builder carries other groups as the name has them; its controls for them are a follow-up. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
nstarman
force-pushed
the
add/placeable-buttons
branch
from
October 6, 2026 18:42
53223f7 to
d98b508
Compare
nstarman
added a commit
that referenced
this pull request
Oct 6, 2026
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1 task done
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.
Changing code or schema
What and why: the stars button should be separable from the rest — e.g. the buttons on the left and the stars on the right — and so should any other button. The buttons are individual elements, grouped by the name:
buttons:…may now be given again. The first part is the card's own; each part after it is another group with its own keys, count to a row, area and place.allin one,emptyin any); a key two groups list, a group ofnone, andpaperbutton/year/position/contextoutside the first group are refused.top→ a strip of the card's padding; any other area (left,center,right,bottom) → a box of its own,.c-xfoot, set as the buttons' box is (column in a side, row under the words or at the bottom), figure stacking included.data-xg,data-gper,data-xfeet,.c-xfoot);cardFacefor one group is what it was (all existing tests unchanged and green).Card.astrofor the first group andButtonList.astrofor the others; the embed page builds the same lists and boxes from the query. Both readcardFace.Checked in a browser on the embed page (seven arrangements: rail + rail, center + bottom row, same-rail slots, top strip, figure + groups, per-row groups) and on the Software page through a preset using groups.
npm run test:schemapasses; 596 unit tests (17 new: grammar,cardFacepartition and placement, the embed's copy, CSS coverage, builder pass-through) and the build passScreenshots
unxt, drawn by the real card CSS on the embed page (
/embed/unxt/?card=…).buttons:all— one group, as beforebuttons:code,docs:left-buttons:stars:right— code and docs in a left rail, stars in a right onebuttons:code,docs-buttons:stars:bottom:right— the usual row under the words, stars in a bottom row at the rightbuttons:code,docs:left-buttons:stars:left:bottom— stars at the foot of the same left rail (a slot of its box)buttons:code,docs-buttons:stars:top:right— stars in a strip of the card's padding at the top rightsize:480with a left figure,buttons:code,docs-buttons:stars:right:bottom— stars at the foot of the right sidebuttons:code:2-buttons:docs,stars:2:right:bottom:right— each group's rows its ownthe left/right arrangement in the dark theme
🤖 Generated with Claude Code