Skip to content

Continue refactoring of UI controls for pkg.ts usage#859

Open
sinelaw wants to merge 2 commits intomasterfrom
layout
Open

Continue refactoring of UI controls for pkg.ts usage#859
sinelaw wants to merge 2 commits intomasterfrom
layout

Conversation

@sinelaw
Copy link
Copy Markdown
Owner

@sinelaw sinelaw commented Jan 26, 2026

No description provided.

sinelaw and others added 2 commits January 26, 2026 14:30
Design for plugin UI controls library:
- Button, TextInput, List, Label controls
- FocusManager for Tab navigation
- VirtualBufferBuilder for automatic byte offset handling

Includes migration plan for pkg.ts and success criteria.
Also removes unused HitTest trait from layout.rs.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Leverage existing type-safe codegen architecture:
- Define ControlStyle, FocusTarget in Rust with #[derive(TS)]
- Types auto-generated to fresh.d.ts
- TypeScript library imports from fresh.d.ts, no duplication

Adds Phase 0 to migration plan for adding Rust types first.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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