Commit Graph
314 Commits
Author SHA1 Message Date
waozi 7e2ebe16ea Refresh native TSX examples, starters and website gallery 2026-11-29 10:17:53 -03:00
waozi 30bbf74261 Verify TSX example profiles and fix Workout Android asset lookup 2026-11-29 02:58:19 -03:00
waozi 6a6d866625 Pin maintained Kryon projects to the published toolchain graph 2026-11-28 23:03:01 -03:00
waozi 238143dddb Resolve the TSX browser compiler from the locked package graph
Use the gallery project resolver for Kryon as well as optional packages so browser type checking, mounted declarations and native previews use the same selected sources. Refresh the ordinary gallery lock and browser compiler output for the published providers.

Local validation: clean normal dependency resolution; fresh site and browser compiler builds; portable formatting; full browser routes, all 103 maintained TSX sources/previews, source editing and authored diagnostics, mobile layout, disabled controls, reduced motion and contrast. The original ignored gallery local configuration was restored byte for byte.

The current starter profile/runtime and pre-push gates are running separately. The full breaking migration remains Unreleased and incomplete.
2026-11-28 16:14:31 -03:00
waozi 4a43d55042 Align TSX starters and examples with verified native packages
Select the published Ziran, Kryon and optional-package revisions through normal manifests and generated locks. Keep project creation, upgrade defaults and documented pins consistent.

Local validation: all 102 standalone examples resolve one published Kryon without overrides and pass TSX source checking; the rebuilt CLI and pin test pass; all four freshly generated starters check and report zero native TypeScript editor diagnostics. Current full profile/runtime validation and the required pre-push gate remain pending.
2026-11-28 16:02:01 -03:00
waozi c11378900d Publish runnable TSX website guide and verify all examples 2026-11-28 13:47:15 -03:00
waozi 4ea3a668f9 Complete TSX website examples and checked preview options 2026-11-28 08:51:02 -03:00
waozi 214504012c Complete the TSX website with full clipboard capacity 2026-11-28 07:23:07 -03:00
waozi 14aaa3f1b1 Isolate hosted Group imports and align maintained TSX project pins 2026-11-28 05:57:09 -03:00
waozi 9fa2cd80c6 Compose gallery scenes from maintained TSX screens 2026-11-28 01:56:53 -03:00
waozi 628b8846cb Bind native guest services for TSX app hosts 2026-11-27 22:32:18 -03:00
waozi 246d9033c2 Author remaining root example screens in TSX 2026-11-27 19:34:45 -03:00
waozi 78af36cc88 Align TSX project pins and trim duplicate verification 2026-11-27 19:21:25 -03:00
waozi f4bda47333 Preserve module paths and release hosted input borrows 2026-11-27 17:33:38 -03:00
waozi 280443293a Align native TSX toolchain and shorten widget and host borrows 2026-11-27 16:18:31 -03:00
waozi e2b0fbd891 Migrate Kryon UI composition to typed native TSX
Expose the native widget surface through ordinary typed TSX components and enforce application composition at generic export and entry boundaries. Migrate maintained screens, scaffolds, gallery publication and editor transport through the common checked IR path. Preserve native logic, retained component state, input and platform hosts; remove the pixmap application route.

Local validation: complete make push-check passed with published Ziran dc3ecf0a, including docs, public source/saved surface, private-display desktop input, native host links and Canvas input parity. Fresh CLI/player/desktop library installed and byte-verified. The full migration matrix records remaining owning suites, published consumer pins, platform runs and Alpha benchmarks; this is a source milestone, not completion of the full campaign.
2026-11-27 14:24:19 -03:00
waozi e8b42fd4cb Finish flex layout, structural selectors and radial gradients end to end
Style: finalize structural sibling facts (:last-child family) at parent closure so late siblings match in the same frame, parse and match +/~ combinators from submitted siblings, and document the exact tree-context support. Flex: measured page/row/column placement with basis, grow, gaps and padding now sizes the gallery shell (header, scene row, controls bands) instead of manual rectangles. Paint: radial gradients reach every render path (desktop, pixmap, terminal, web, zx). Gallery: the catalog registry imports kryon/app (kryon/app_types is package-internal), fixing the widget-catalog project build broken by the entry-point removal; the desktop shell test follows the shared example build path and locates interactive controls by tree label.
2026-11-26 19:58:04 -03:00
waozi e643adc4b2 Migrate gallery scenes to layout containers and document CSS completion 2026-11-26 10:23:29 -03:00
waozi f07d917931 Lock the workout example to its verified native bridge 2026-11-25 19:30:58 -03:00
waozi ad43e92a58 Fix plain program entry bridges for native builds 2026-11-25 19:18:09 -03:00
waozi 66137545b7 Add a standalone workout scene example
examples/workout is an independent Kryon application: a plain main that
runs one animated VRM figure through the GPU Scene backend, with no
navigation, text or CPU copy in a frame. It pins the Kryon and Ziran
commits that carry the GPU skin palette fix, prints one WORKOUT line per
60 frames with the frame breakdown, and builds its desktop profile from
the lock alone. The Android profile is documented as blocked by the
AndroidProgramMain host bind.
2026-11-25 18:51:43 -03:00
waozi 09664f076d Remove the program-export program entry; main is the only entry
main is the only program entry. Frame stays an ordinary function that apps pass to App.Run; the frame-entry export mechanism (frame_entry, ProjectFrame binds, KRYON_FRAME_ENTRY, *_run.zi hosts) is gone. The pixmap, dom, terminal, zx and android frame loops are now frames_*.zi modules that App.Run selects. Consumer tests and fixtures build their own shot programs through the kryon package exports, and the desktop project probe imports Window explicitly. General #program_export component exports stay.
2026-11-25 05:56:17 -03:00
waozi ccf74e1917 Build Kryon's portable halves as shared ZX libraries
Add `make zx-libraries`, which builds kryon-pixmap.zx, kryon-session.zx,
kryon-tree.zx and kryon-text.zx with `ziran bundle --library` and
explicit export roots over the one implementation of the pixel, session,
tree and text code, loadable from a `--module-root`. The drawing
libraries bind the software rasterizer, so they need no host grants and
run under a plain `ziran run`.

examples/zx_libraries.zi is the consumer: built statically linked and
linked against the libraries, both print the same frame hash.
`make zx-libraries-example` compares them and `make test` runs it.
Document the build in docs/BACKENDS.md.
2026-11-23 19:56:46 -03:00
waozi 69880ee739 Pin Ziran e225a4fe with Kryon 2f9b5db2 and CSS d55590a6
The final matched set: the starter, the dashboard and the cheat sheet's
project pin Kryon 2f9b5db2 and CSS d55590a6, which is built on that Kryon,
so a fresh lock holds one Kryon. Ziran e225a4fe names a program export two
package revisions both define and refreshes a lock's stale checked
packages; every Ziran pin moves to it: kryon init and kryon upgrade
(toolchain_pin.zi, which also carries the Kryon and CSS refs), the four
templates, the cheat sheet project, the test fixtures and the examples
that pin a toolchain, relocked without their local overrides. The
migration block names the new set. templates/app/ziran.toml also carries
an orphaned commented-out `frame_mode = "events"` line from the Android work.

Local tests: a fresh `kryon new` from the template with no overrides locks
to one Kryon (2f9b5db2) and CSS (d55590a6) on Ziran e225a4fe, builds,
shoots both themes and bundles in 4,011,330 bytes; toolchain-pin-test,
watch-test, new-widgets-test, cheatsheet-test, shot-test, templates_test
(digests unchanged, kryon upgrade round trip) and the responsive dashboard pass.
2026-11-23 05:19:33 -03:00
waozi 09d69d62a7 Remove LayoutContentBounds: unsized containers grow to their children
LayoutContentBounds summed measured child rectangles so a container could
be given a height up front. Containers without a height now grow to the
children they place when End closes them, so its last two users, the
gallery's button and text-field scenes, are content-sized columns with
their keys dropped, and the function, its api example entry and its
WIDGET_PACKAGES.md paragraph are gone. No other repository uses it. The
layout api example now shows a content-sized column of two rows.

Local tests: layout_widget, gallery-zx-test (103 bundles), ziran check of
the layout api example.
2026-11-23 05:04:50 -03:00
waozi 04d51f7064 Gallery site: Workbook replaces the retired GitHub client, brand icons, Gitea pins
The website's desktop apps list Workbook where the retired GitHub client
was; each card links to its source. The site gains the favicon, apple
touch icon and og:image tags and ships the mascot from assets/brand. The
gallery pins Kryon, Plot and Data Views on Gitea, reads its scene and
theme through std/environment_linux, and its rebuilt site carries nine
new runtime assets.

widget_examples_source_test and site_browser_test expected exactly 101
scenes; the gallery has grown since. Both now compare with the real
catalog built from this checkout's examples.

Local tests: gallery-zx-test (103 bundles), widget_examples_source_test.
site_browser_test still times out selecting the Toggle example by
keyboard: its picker model lands on scene 54; that is separate from
these changes and listed as open.
2026-11-23 04:52:22 -03:00
waozi 0ee058c1ec Port the overlay, button, reorder and toolbar examples
The thirteen overlay examples keep their overlays at explicit rects and
put only the page around them (title, trigger buttons) in a padded Layout
column; GuidedTour closes the column after its title so its scrim covers
the whole view. Button shows every tone and emphasis in a two-column Grid
now that a Button places itself in a grid cell. Reorder gives its rows the
area a Stack takes in the column. A Toolbar with no position or width
lets a placing column place it, so the toolbar example passes only its
height. The Modal Frame reopen button is 44 px instead of the modal's
188, and Skeleton gets a title: it had no dark pixel, so the gallery ZX
check failed on it since the example was added.

Shot digests, light theme, before -> after:
  button              3d76c2afddc5 -> 03fd6c044790
  commandpalette      b54fff7c4844 -> da25ce4ee021
  confirmpopover      0ba98f005a32 -> 8ccd1025e6a1
  contextmenu         ea7315924285 -> cc6aff78aa7f
  dismissibleoverlay  02d86bae2cc2 -> 85a56b56c62c
  guidedtour          2a7d2201ccae -> 3a777e8ca8b0
  hovercard           329b82b39f72 -> c6e9c9c5f8b5
  menu                2047019da1e4 -> 4055151eb21a
  modalframe          1240c35f52ab -> 0b3761c75941
  navigationbarconfig 174d336d38c2 -> 925d8adc239a
  popup               ca39b5f43085 -> d06bd17ae332
  reorder             812b68c1e35d -> a840da307a82
  sheet               51e68730e50c -> 7dbbcb785d21
  skeleton            79f16f226aa7 -> 839cade06b09
  toast               df4156285ba9 -> 741967a157b0
  toolbar             54138e0e480b -> 46c47233c3b9
  tooltip             f3cc2cb6f1e2 -> 532c5bc1a7e7
2026-11-23 01:49:41 -03:00
waozi 4e75eed35f Pin Ziran 8133bd41 and the Kryon 02cc10e6 + CSS b0e83ac2 pair
The starter template pinned Kryon cdf23986 and CSS e2d73fcd, which lack the
container Card and slot-free TitleBar its code uses, so a fresh `kryon new`
did not build. It now pins Kryon 02cc10e6 and CSS b0e83ac2, which is built on
that same Kryon: a fresh lock holds one Kryon. The dashboard moves to the same
pair. Every Ziran pin moves to 8133bd41, which resolves a checked library for
another toolchain from source instead of failing the lock: `kryon init`
(toolchain_pin.zi), the four templates, the cheat sheet project, the test
fixtures and the examples that pin a toolchain, with their locks.

A fresh `kryon new` from the template with no overrides locks, builds and
shoots both themes; the starter digests are unchanged.
2026-11-23 01:32:28 -03:00
waozi 02cc10e682 Port the swipe area and transition examples
Both lay content over one area: a Stack now holds the swipe surface, its
caption and the swipe target, and the transition's fade over its text, in
a padded Layout column.

Shot digests, light theme, before -> after:
  swipearea         73f2134f0c98 -> 88e7cce61521
  transition        0497bf53627d -> 7863a2b8626b
2026-11-23 01:11:53 -03:00
waozi 56862f15da Place ListBox and ListBoxMulti ahead; port their example
Both lists spanned their parent's full width, padding included. They now
place themselves ahead, and the example draws the two lists in a padded
Layout column.

Shot digest, light theme, before -> after:
  listbox           36ca625bde28 -> f016149da664
2026-11-23 01:10:21 -03:00
waozi 1f9f0fc730 Place the direction pad and joystick ahead; port their examples
Both drew at the rect they were measured in, away from where a column
put them. They now place themselves ahead; their examples draw the pad in
a padded column with the step count beside its caption in a Row.

Shot digests, light theme, before -> after:
  dpad              d793a9926044 -> 066ac355ccbc
  joystick          c35b6e552a63 -> ad4cceb50206
2026-11-23 01:07:27 -03:00
waozi d41d74a1bc Place GridMulti, TileMap and EmptyState ahead; port their examples
All three read their rect before submitting a node and drew nothing in a
column. They now place themselves ahead, and their examples draw in a
padded Layout column with no rectangles taken from the viewport.

Shot digests, light theme, before -> after:
  emptystate        8a28dd30ea31 -> 237e79334e07
  gridmulti         043ba602e041 -> 58644d4010d4
  tilemap           77ecb4c705a9 -> 0f366b4303fd
2026-11-23 01:04:45 -03:00
waozi 856e4bd5c8 Port the layout container demos into a page column
Column, Row, Grid, Stack, Group and Screen demos now sit in a padded page
column with their demo container 208 tall in it, and the stack demo's
offset child is placed from its container rather than the viewport.

Shot digests, light theme, before -> after:
  column            6f5cb1f058d9 -> c82aa8991b1e
  grid              abaa5239c632 -> 80336dcb0e5c
  group             62f0aab179e6 -> e8ae16d8bc10
  row               34144c33e7d0 -> 31d9b73ff9bf
  screen            08e9622cadf2 -> 5ede7ea4a923
  stack             6f17ccb82881 -> d79500101d30
2026-11-23 01:01:30 -03:00
waozi 3c55ec8009 Place TextField, TextArea and the checklist ahead; port nine examples
TreePlaceAhead now leaves a widget to be placed when it submits if it
sets no size along its parent's axis (height in a column, width in a
row): a field that takes its height from a style rule still advances the
column by that height. TextField, TextArea and OnboardingChecklist place
themselves ahead, so a column with a set height shows them where they
used to vanish.

Avatar (a Row of two), Badge, Checklist, Chip (two Flows), ListItem,
Skeleton, Text, TextArea and TextField examples draw in a padded Layout
column with no rectangles taken from the viewport.

Shot digests, light theme, before -> after:
  avatar            59c10a47aced -> abf4eec2c7e5
  badge             f21bffa63ab6 -> 078de2c514b8
  checklist         01f33c0eae00 -> d957a059341d
  chip              fa3a99205e60 -> 465b17386c81
  listitem          9df4ef4ad678 -> 9df4ef4ad678
  skeleton          79f16f226aa7 -> 79f16f226aa7
  text              0e7e6b5e4823 -> 060a4853c2c2
  textarea          db288ca2c19d -> 54dc1618b524
  textfield         4fc0094c23b9 -> bc8a330e6545
2026-11-23 00:59:49 -03:00
waozi e2df0721cd Port 23 more examples to Layout columns; place Image and PanedView ahead
BandChart, Box, CandleChart, DiscreteSlider, Flow, Image, InlineEdit,
Kanban, LineChart, LineChartCompare, MoneyField, OneTimeCode, Page,
PanedView, Plot bars and lines, ScrubField, Shape, ShortcutRecorder,
Slider, TableView, TagInput and TreeView draw in a padded Layout column;
Box lays its caption over the surface in a Stack. Image and PanedView
read their rect before submitting a node and now place themselves ahead,
so a column shows the picture and keeps the panes inside its padding.
Popup stays at its explicit rect: an overlay places itself.

Shot digests, light theme, before -> after:
  bandchart         cfd806fbd932 -> d37fe84375f2
  box               d6ddc973a937 -> a821528e410f
  candlechart       f2e99d28cdf1 -> cd5f05909ee6
  discreteslider    f5272a989129 -> 70622cc955d9
  flow              2c5805b26b8b -> 3e22f2b27294
  image             ca6250c0a36d -> 3fb48f5fd6b8
  inlineedit        8a527d0ad8ac -> f866a3238cb1
  kanban            dd5a34289cc8 -> f8c1ef8bb347
  linechart         cc8e3ef43199 -> 5fd1b3ad6ee2
  linechartcompare  7a8b1df653c7 -> 945b38580f5b
  moneyfield        c68414de862d -> dc7081c25f6c
  onetimecode       ffa8c2b07b64 -> f31c29882232
  page              a0e259c9a197 -> 93471a5ffc7a
  panedview         c989da6c2e7d -> 1bea2c600517
  plotbars          a9a4863153a8 -> 328835f9f30f
  plotlines         0c37c01f8363 -> cd702f3d76e1
  scrubfield        ed4adbba3b14 -> e54c141be31f
  shape             afea96070eff -> d0fda20c598f
  shortcutrecorder  2c5d3a09f612 -> a7d1ecf60db4
  slider            572dbc46e242 -> fce52743e18d
  tableview         586c1be5b4b3 -> 82df7903b3ac
  taginput          cfa785b58e2c -> 02253e90ba58
  treeview          f5dbe580fdd0 -> 7b80a157be8c
2026-11-23 00:46:17 -03:00
waozi f06017b560 Place widgets ahead of drawing; port fifteen more examples
Most widgets read their rect before they submit a node: they returned
without a width, laid parts out from the measured rect, or painted with no
node at all, so a column could not hold them. TreePlaceAhead asks the
parent for the placed rect first; the widget lays out, paints and submits
there, and its node is not placed or moved again. Alert, Banner,
Breadcrumb, ButtonGroup, Carousel, Countdown, Keycap, Loading,
LoadingScreen, ProgressRing, SvgIcon and Timeline place themselves this
way, and Keycap draws its caps at its placed rect. widget-tree-test checks
a keycap placed ahead lands where the column put it.

The examples of those widgets and of ConfirmButton, CopyButton and
HoldButton now draw in a Layout column.

Shot digests, light theme, before -> after:
  alert             6a9598d13b12 -> 3d1654a7b0f9
  banner            506158cb4840 -> 5e88c0cd5207
  breadcrumb        06e733ee02b5 -> 80f42f379bc9
  buttongroup       2837d933214d -> 8ac55d23e910
  carousel          7d6ef6fc3f4a -> a61ee8229b79
  confirmbutton     3d567fb7a29c -> e6d3f05fc4b0
  copybutton        c08cfc6132ab -> c61a372d25ad
  countdown         b45d9dd0894c -> eaac1f2eb526
  holdbutton        ff643b518e5c -> c87c900c4d2d
  keycap            dae61c9b364e -> 8b0aac195f74
  loading           c292e66a8e19 -> bff20371fb2a
  loadingscreen     03499f755726 -> 1b72c5fa37ba
  progressring      7c4f36e0a289 -> 4c363995d29d
  svgicon           1911b0f846eb -> d6cd03af7363
  timeline          74e6f38f660b -> 62de0c7b4a0f
2026-11-23 00:36:13 -03:00
waozi 366d6e4735 Place TimePicker in columns
TimePicker returned at once without a width and painted its field at the
placed rect, so a column could not hold it. It now leaves an unset width
to a placing column and adopts its placement; its field and popup draw
where it was placed. Its example draws in a Layout column.

Shot digest, light theme, before -> after:
  timepicker        3bc58cb6117d -> 0f3996f55dbe
2026-11-23 00:24:35 -03:00
waozi 0aded65bc9 Place Scroll, Collapsible and ColorPicker in columns
All three spanned their parent's full width when given none, padding
included, and painted at their placed rect, which the paint queue then
moved again: Scroll's bar sat outside the view, Collapsible's header fell
below its own content and ColorPicker ran past the edge. Each leaves an
unset width to a placing column, adopts its placement and lays out and
paints there. Their examples draw in a Layout column.

Shot digests, light theme, before -> after:
  collapsible       045d0925a361 -> 585db528c3e0
  colorpicker       577be5d9efa9 -> 845d6eab860b
  scroll            e2b5967d1bdc -> 3129e6e4ff68
2026-11-23 00:21:46 -03:00
waozi 1adec99bd0 Port Fieldset, Press and Separator examples; show CSS in the cheat sheet
Fieldset, Press and Separator draw in a Layout column. Press lays its
surface, caption and press target over one Stack; Fieldset's choices sit
in a padded column over its frame; Separator's bullet and caption share a
Row. The cheat sheet's token table shows the CSS that is now supported:
your own sheet by class, containers that paint and lay out their CSS box,
and flex, margins, percentages, calc and media rules, pointing to the
full property table. Its project pins Kryon 65b50b26, which has the
container Card and the placement fixes the sheet relies on.

Shot digests, light theme, before -> after:
  fieldset          98b2195d42fb -> d7397dc8106c
  press             28e84d9e16b6 -> c05d17a63bed
  separator         cd380e0cb156 -> 9d6c09ac0965
2026-11-23 00:14:33 -03:00
waozi e365588344 Close the dashboard's card panels on the Card container
The dashboard builds on Kryon 34720206, where a Card is a padded column
that must end: its responsive preview's Panel returns the card, and each
metric and chart panel closes with End after its labels. The responsive
preview test and the dashboard shots pass on it.
2026-11-22 23:59:51 -03:00
waozi 347202066b Make Card a container that sizes itself
Card painted a surface at given bounds and handed back a content rect, so
every app measured its content up front and drew it into a Layout.Stack
slot. Card.Draw now opens Layout.Box with the card's resolved face: a
padded column whose fill, border, radius and elevation paint at its final
size, growing to its content when it has no height. Draw the content while
`opened`, then End(session). A clickable card is one press target on that
column, with hover and pressed faces from the previous frame;
CardContentBounds is gone.

The starter's task cards and the cheat sheet's note cards drop their
measured heights and Stack slots, the card and style picker examples draw
in a Layout column, and the gallery site's and two gallery scenes' cards
close with End. The dashboard follows with its Kryon pin. Layout's
LayoutContentBounds stays while the gallery scenes still use it.

Shot digests, light theme, before -> after:
  card              670ccd2d21da -> 8cc61de0c49b
  stylepicker       c67487dfbb15 -> 08c9cae998f1
2026-11-22 23:57:10 -03:00
waozi f3894d7110 Build the dashboard on Kryon d0711324 and CSS 164d983
The dashboard pins the Kryon that CSS 164d983 declares and that CSS. Its
driver test passes; the 1120x720 light and dark shots and the 550x800
narrow shot render as before, now with the KPI progress bars filled, and
the README records their new digests.
2026-11-22 23:56:36 -03:00
waozi 387db71a96 Place TitleBar, Dropdown, NavigationBar and TabBar in columns
TitleBar spanned its parent from an explicit origin, so a column never
placed it, and it painted at the submitted rect. It now leaves an unset
width to a placing column, paints its bar and title where it was measured
and lays its leading button, dropdown and the caller's trailing rect out
where it was placed; the starter and the cheat sheet draw their app bar
with no Layout.Stack slot, the switch over the bar's trailing rect.
Dropdown and the compact NavigationBar returned early or laid their items
out at the measured rect; TabBar anchored itself to its parent's corner
and moved its indicator twice. TreeAdoptPlacement lets a widget that lays
itself out after placement give its paint in placed coordinates; TabBar
submits first when a column places it. TitleBar, ActionModal, Dropdown,
NavigationBar and TabBar examples now draw in a Layout column.

Shot digests, light theme, before -> after:
  actionmodal       8349f64156ee -> 2231b11ce73e
  dropdown          510e2a5260e3 -> 47728b94346b
  navigationbar     08428c29d011 -> d28a1ddc17dd
  tabbar            911c50eefda5 -> e454af3f6d55
  titlebar          b80ef7fdecbf -> 32b34094908f
2026-11-22 23:47:15 -03:00
waozi c0f1c51010 Port eight examples to a Layout column and fix what the move exposed
Checkbox, Toggle, Radio, Progress, Selectable, Link, SegmentedControl and
Spinbox now draw in a padded column with gaps from theme tokens: no
`b.y += 64` rows, no rectangles from the viewport. Their before and after
shots showed three widgets that sized themselves against the old layout:
Selectable took 120 wide and Spinbox kept its step buttons where it was
measured, and SegmentedControl spanned its parent's full width and painted
its face at the placed rect, so the queue moved it twice. TreeWillPlace
says whether the parent will place a widget; Selectable, Spinbox, Slider
and SegmentedControl leave an unset width for a placing column and keep
their own size otherwise. Their faces paint at TreeNodePaintBounds and
their child buttons go where the control was placed.

Shot digests, light theme, before -> after:
  checkbox          f7ab17936c4f -> f1952a7970d3
  link              a1befbe98fa0 -> 2165502e9c11
  progress          8e3bf04b7e14 -> c32eae06b94c
  radio             b9c9350000da -> 32be1359be23
  segmentedcontrol  3430928d8aef -> ee33eb6832b8
  selectable        ca8c8bc13c92 -> 8dbe6443825b
  spinbox           b0c8c431d3bf -> 32544e8d402f
  toggle            ca379112f581 -> 768dd009d695
2026-11-22 23:33:53 -03:00
waozi 8bb5e8e78d Drop widget keys from the demo, counter and surface examples
The time picker demo's Card and Picker helpers pass on their caller's
line instead of taking key numbers, so each use keeps its own identity;
the counter, loading, motion chart and hosted surface examples stop
numbering their widgets.
2026-11-22 23:10:33 -03:00
waozi 9994b820b0 Drop widget keys from the examples and older templates
Widgets are known by their call site now, so the examples and the pages,
tui and web templates stop numbering them: literal keys, `100 + index`
loop keys and the key parameters threaded through Label, Heading,
Paragraph and link helpers are gone. Keys stay where something points at
them: a guided tour's target, the gallery site's test handles and the
dashboard.
2026-11-22 23:07:25 -03:00
waozi 91c62bd49d Port the dashboard to self-sizing containers and its stylesheet
The frame now only says what goes where: a shell row, a fixed-width
sidebar column, a main column that takes the rest, a KPI grid of
painted cards, search and filters, and a flex body whose list and
inspector come from CSS flex bases. Breakpoints are 760 px media rules;
composite widgets sit in fixed-height Stack slots. The frame computes
no rectangles and no keys (514 + 249 lines, from 853 + 217). It pins
Kryon a04a3ba1 and CSS d8044da, and its driver test passes on them.
2026-11-22 18:46:29 -03:00
waozi 6bbe64eee7 Remove legacy and duplicate code with no users left
One way to build: the BSD and GNU make shims (root and examples) and a
go.mod with no Go sources go; everything runs through the Makefile.
Removed after checking every Kryon app and Harmony for users: the
SwipeRow widget and example (gallery entry included), the images_pending
stub, the host/android and host/terminal one-line re-exports, the unused
canvas and DOM HTML shells, system_typeface_linux and
typeface_collection, the tree_label_cost scripts, and the release-notes,
update_version, subset-fonts and update-showcase scripts (Harmony's jobs
plugin keeps its own copies). The profile table no longer presents the
PPM shot as a picture workflow. ClockLinux, SystemClipboardLinux and
FileDialogLinux stay: browser, terminal and Harmony import them. The
tree_draw export stays until explorer and the CSS tests import
kryon/Frame; plans/2026-11-22-legacy-candidates.md keeps that item.
2026-11-22 17:27:21 -03:00
waozi ae71619f4d Move the site app update steps into the examples guide
The deleted web-apps plan was out of date: its per-app blockers live in examples/gallery/src/site_apps.zi desktop_reason fields. The still-true update procedure lands beside the gallery and site docs.
2026-11-22 15:54:02 -03:00
waozi 283067e689 Pin the cheat sheet and widget examples to the Kryon that has them
The cheat sheet's project and the chip, list item and skeleton examples
now pin Kryon fd3bc998, which carries the new widgets and kryon run
--watch, so the sheet's manifest locks and builds as written; its start
block uses kryon run --watch. Checked by locking and building the
sheet's project from Gitea with no local overrides and shooting it.
2026-11-22 15:40:41 -03:00