Repository navigation
Add navigation, forms, and input skill files; expand accessibility section - #65
Merged
Chris Anderson (codemonkeychris) merged 1 commit intoApr 22, 2026
Conversation
…ction New skill files for AI agents: - skills/navigation.md: Routes, UseNavigation, NavigationHost, NavigationView, TabView, deep linking, state serialization, transitions, caching - skills/forms.md: Controlled inputs, UseValidationContext, Validate.* validators, FormField, MaskEngine, InputFormatter, ShowWhen - skills/input.md: Pointer/tap/keyboard events, OnPan/OnPinch/OnRotate gestures, OnLongPress, focus management, drag-and-drop with typed payloads Updated files: - skills/design.md: Expanded Section 7 (Accessibility) from ~50 to ~170 lines with tier 1/2 modifier tables, landmarks, heading hierarchy, UseFocusTrap, UseAnnounce, SemanticPanel, AccessibilityScanner, Roslyn analyzers - SKILL.md: Added navigation, forms, input rows to sub-skills table All code examples verified against source — API names, signatures, and parameter names match the actual Reactor implementation. Co-authored-by: Copilot <[email protected]>
Chris Anderson (codemonkeychris)
deleted the
skills/add-navigation-forms-input
branch
April 22, 2026 00:58
This was referenced Jun 25, 2026
Alexandre Zollinger Chohfi (azchohfi)
added a commit
that referenced
this pull request
Jun 26, 2026
Reduces redundant WinRT/COM-RCW boundary crossings and per-element allocations on the diff/reconcile/patch hot path (data-grid stress workload, StocksGrid). Targets the dominant Reconcile gap. Reconciler.cs / Update.cs / Mount.cs: - #16 UnmountRecursive: read ReactorAttached.State once (was 5x GetValue). - #17 UnmountAndCollect: read element tag once (was 5x GetElementTag). - #14 Update: coalesce repeated `is FrameworkElement` RCW type-tests to one. - #15 Cache the component rerender delegate on ComponentNode; recreate only when the requestRerender identity changes. - #18 UpdateDefaultAutomationName: ref/ordinal short-circuit before the AutomationProperties.GetName COM read. - #19 ApplyModifiers accepts null = clear-all (no fresh ElementModifiers). - #20 PopulateDirtyAncestorPath iterates a tracked self-triggered set instead of the whole _componentNodes dict. - #21 UnmountAndPool reuses a borrowed scratch list (reentrant calls fall back to a fresh list). - #22 RefreshRealizedContainers reuses a cleared field list. - #23 ApplyStyleToElement ref-equal + ActualTheme guard; ApplyThemeBindings gated on the ShallowEquals fast path. - #24 BuildCacheKey: thread-static StringBuilder + pair buffer, single pass. - #25 HasConsumedContextChanged compares via Context<T>/EqualityComparer<T> (no boxing of value-type context). - #26 ApplyResourceOverrides: no ToHashSet/ToArray, ref-equal fast path. - #27 WireReferenceListEdge: static loop, no per-edge List/closures. - #28 ApplyStaggerDelays: hoisted static animation-key array. - #29 PushContextDisposable: single-pair push overload, pooled PopOnDispose. Reconciler.KeyedItemsBinding.cs: - #39 ref-equality cache; only realloc + SetItemViewSource on change. Reconciler.Mount.cs: - #40 LayoutFootgunDetector gated by GridElement pre-filter. AccessibilityScanner.cs (debug-only scan path): - #62 compute GetChildren once in Walk, pass into Push. - #63 cache sibling-text array in ScanContext, invalidate on Push. - #64 BuildContext single-pass with pooled scratch (no LINQ chains). - #65 IsLikelyEmoji explicit span loop (no LINQ). - #66 CheckTabIndexGaps sorts a rented buffer (no OrderBy/ToList). Behavior preserved exactly: coalesced COM reads observe the same values at the same times; unmount/cleanup ordering unchanged; scanner emits identical findings. AOT/trim clean (no new reflection). Adds tests/Reactor.Tests/ReconcilerInteropPerfTests.cs (11 tests: rerender-delegate caching, context-change compare, cache-key reuse, single-pair context push, scanner output parity). Closes #654 Co-authored-by: Copilot <[email protected]>
Alexandre Zollinger Chohfi (azchohfi)
added a commit
that referenced
this pull request
Oct 28, 2026
Decode numeric character references (A, B) in Markdown text, which also covers MarkdownLink.Text and its image alt text. Invalid code points become U+FFFD per CommonMark. The Image callback still gets raw alt text. Co-authored-by: Copilot App <[email protected]>
Alexandre Zollinger Chohfi (azchohfi)
added a commit
that referenced
this pull request
Oct 28, 2026
…label (#1436) * feat(markdown): add LinkRenderer callback with plain-text link label Adds MarkdownOptions.LinkRenderer (Func<MarkdownLink, Element>), an additive alternative to LinkBuilder. MarkdownLink carries the label as plain Text (image alt text in place of images, line breaks as spaces), the formatted RichTextBlockElement Label (null when empty), and the validated Uri. Same URI policy, nesting rules, label styling and null-result error as LinkBuilder; LinkRenderer takes precedence when both are set. LinkBuilder is unchanged. Co-authored-by: Copilot App <[email protected]> * docs(markdown): back the LinkRenderer example with a compiled doc-app snippet Co-authored-by: Copilot App <[email protected]> * Address pr-review findings - MarkdownLink: required init properties instead of a positional record, so fields can be added later without breaking callers. - Text: decode entities and turn breaks into spaces in image alt text, like run text; warn that Text is author-controlled and prompts must show Uri. - LeaveLink: share label slicing between LinkRenderer and LinkBuilder. - Tests: alt-text offset when the link is not first, alt normalization, and rejected image sources inside a link. Co-authored-by: Copilot App <[email protected]> * Address review round 1 Decode numeric character references (A, B) in Markdown text, which also covers MarkdownLink.Text and its image alt text. Invalid code points become U+FFFD per CommonMark. The Image callback still gets raw alt text. Co-authored-by: Copilot App <[email protected]> * feat(markdown)!: LinkBuilder takes a MarkdownLink instead of (Element[], Uri) BREAKING CHANGE: MarkdownOptions.LinkBuilder changes from Func<Element[], Uri, Element> to Func<MarkdownLink, Element>, and the separate LinkRenderer option is removed. Rewrite (label, uri) => ... as link => ... using link.Label (null when empty) and link.Uri; link.Text is the label as plain text. URI policy, nesting rules, label styling and the null-result error are unchanged. Co-authored-by: Copilot App <[email protected]> --------- Co-authored-by: Copilot App <[email protected]>
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.
Summary
Adds 3 new skill files and expands the accessibility section in design.md to help AI agents build Reactor apps more effectively. Brings the total from 5 to 8 sub-skills.
New skill files
Updated files
Verification
Every code example was verified against the actual source code. API names, method signatures, parameter names, and enum values all match the Reactor implementation. Discrepancies found during verification were corrected before this PR.