Styleguide: the element card becomes the shared item row (no dimming, actions reachable on touch), plus the search field #346
Labels
No labels
bug
enhancement
needs-triage
ready-for-agent
ready-for-human
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Cloonar/deckle#346
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Mockup (definition agreed 2026-10-24): https://claude.ai/artifact/VKDHiP5SA6Nxdx5Ery762Q — sections "Proposal" (pins 5, 7, 9), "Row menu and statuses", "Decisions" G and I, "What changes where".
The first of three issues redrawing the Forms module against
docs/styleguide/. This one touches no module screen: it promotes the content element card to a shared component so the module list (#2 of the chain) can reuse it instead of inventing a row design.What changes
docs/styleguide/components.cssgains two shared pieces, each with a sample and rules instyleguide.html§5:.item,.item__icon(28px tile),.item__head,.item__label,.item__id(mono, muted),.item__summary,.item__digest(count · rows · "+n"),.item__acts,.item__grip; modifiers--disabled,--inherited,--dense,--dragging,--cut. Geometry and order exactly asweb/src/styles.cssdraws.ecard*today, every value a token. Two details change on the way in:--disabledis the warn-tone tile (--tone-warn-bg/--tone-warn-strong), the eye-off mark and the.badge--warn"Disabled"; the 72% opacity goes. The 1px shadow literal goes (or becomes a token, if a shadow is kept)..item__actsstay hover/focus-revealed with a pointer and are always visible under@media (hover: none)..inputwith a leading icon (.searchor similar role name), sample in §5 "Forms".web/src:ElementCard.tsxrenders.item*;.ecard*is renamed, not aliased (tests,styles.css, any selector inLayoutGrid/UnusedContent/drag code). The editor keeps only what the card needs beyond the shared rules (drag image, insert rows).Documents:
docs/styleguide/styleguide.html(samples, rules, the name map in §7 and brief E-list),docs/styleguide/README.mdif it lists components. Nothing in the README or AGENTS.md: no engine behaviour changes.Rule owners: none new. The card's summary/title/digest stay the server's verdicts on the node.
Skills: none; the element set and the template contract are unchanged.
Acceptance
python3 docs/styleguide/check-contrast.pyexits 0; theweb/styles drift test passes (no colour literal,opacityonly in disabled-control rules — the card's dim is gone, so this is what makes it pass).styleguide.htmlshows the item row in every state (plain, disabled, inherited, dense, with digest, with summary) and the search field; the samples andElementCardagree side by side.grep -r ecard web/srcfinds nothing.(hover: none)matches (or the CSS rule is covered by the styles test).