Skip to content

Special › AI components with app-supplied data; focus ring fixes - #33

Merged
239573049 merged 3 commits into
mainfrom
feat/special-ai-components
Oct 30, 2026
Merged

239573049 merged 3 commits into
mainfrom
feat/special-ai-components

Conversation

@239573049

Copy link
Copy Markdown
Member

Summary

  • Special › AI: 41 new components next to the five agent ones (46 in all). Components carry no sample data; scripted demos run through public <Component>Simulation classes the app fills, and an empty component shows its empty state. The gallery supplies real model names and prices from AiModelCatalog (official pages, checked 2026-10-29).
  • Focus rings: outset focus rings no longer show as four corner marks (templated controls clip by default; ~60 themes fixed). Focus moved by code after a click no longer lights the keyboard ring (internal FocusModality tracker, ~70 call sites, including Dialog/Drawer/Sheet, Card quick look and Popover).
  • Gallery WebAssembly host on .NET 11, compiled ahead of time again (Blocks, Special and the Gallery assembly stay interpreted); Onigwrap rebuilt for Emscripten 6 by tools/onigwrap/build-wasm.sh.
  • Roslyn 5.9.0 and Microsoft.NET.Test.Sdk 18.11.0.

Breaking for 0.3.2-preview.1

  • AgentPlanSamples and ContextWindowSamples are removed: fill the simulation or the items yourself.
  • ContextWindow with app items and no models shows no model.

Tests

  • TKCode.Arc.Tests: 9607 tests, 7 failures, all of them failing before this change (CornerStyle ×3 from six Blocks components, GalleryDocs BudgetVariance ## Keyboard, GalleryLlms, GalleryLocalization, UsageForecast Off_Motion_Jumps_Everything).
  • TKCode.Arc.Core.Tests 183/183, TKCode.Arc.BaseTheme.Tests 27/27.
  • Not checked on real devices (motion, hover, touch, screen readers, the WebAssembly build in browsers).

🤖 Generated with Claude Code

239573049 and others added 3 commits October 30, 2026 07:07
…st.Sdk 18.11.0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ad of time

- The Browser host targets net11.0-browser (wasm-tools workload). SkiaSharp 4.151.2 and HarfBuzzSharp
  14.2.1.200 bring archives built with a newer Emscripten that links with .NET 11.
- Onigwrap ships WebAssembly archives only up to Emscripten 3.1.56: native/onigwrap/<version>/st/libonigwrap.a
  is built from the same pinned sources by tools/onigwrap/build-wasm.sh (rerun after a .NET update).
- Release publishes compile ahead of time again (-p:ArcAot=false publishes interpreted); Blocks, Special
  and the Gallery assembly stay interpreted to keep the startup download at 22 MB instead of 29 MB.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…fixes library-wide

Special › AI
- 41 new components in TKCode.Arc.Special/Ai next to the five agent ones (AgentStatus, ToolCall,
  AgentPlan, AgentTimeline, ContextWindow): model cards, cost calculator, provider keys and status,
  reasoning, sources, feedback, starter prompts, code suggestion, ghost text, command palette, tone,
  translate, TL;DR, reply draft, meeting summary, form fill, PII redaction, agent cursor, workflow,
  enrich column, ticket router, ask your data, design to code, connector setup, training run, image
  generation and reveal, sketch to image, dictation, speech player, team switcher, live visitors,
  social proof, install snippet, mascots, upgrade prompt, referral card, trial banner.
- Components carry no sample data. Each scripted demo runs through a public <Component>Simulation that
  the app fills; with no data a component shows its empty state. The gallery supplies the data: real
  model names and prices from AiModelCatalog (official pages, checked 2026-10-29); people, companies
  and emails stay invented.
- Breaking for 0.3.2-preview.1: AgentPlanSamples and ContextWindowSamples are removed (fill the
  simulation or the items yourself); ContextWindow with app items and no models shows no model.
- Gallery pages, demos and docs in en-US, zh-CN and zh-TW; catalog entries with AddedOn; corner
  table regenerated for the new radius tokens.

Focus
- Templated controls clip by default, so outset focus rings showed only their four corners
  (seen on TeamSwitcher): ClipToBounds is off on about 60 control themes, clipping moved to inner
  parts where needed.
- Focus moved by code after a click no longer lights the keyboard ring: an internal FocusModality
  tracker (Core; same-content copies in Blocks, Special and AdvancedCharts) records whether the last
  input was a press or a key. About 70 call sites use it, including ModalPresence (Dialog, Drawer,
  Sheet), Card quick look and Popover; keyboard-only paths and text inputs keep Tab.
- Tests: focus tests per package; FocusRingInput.Click waits until the hit test reaches its target
  (headless hit testing lags under load), which also steadies two MorphSelect tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@239573049
239573049 merged commit 8bdccef into main Oct 30, 2026
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant