refactor(web): remove unused input component variants - #10223
refactor(web): remove unused input component variants#10223juliusmarminge wants to merge 1 commit into
Conversation
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: unavailable · PR result: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This is a deletion-only cleanup of unused internal UI wrappers and exports across seven web component files. Existing in-repository callers and retained component behavior are unchanged, with no product-default, deployment, security, billing, or static-analysis implications identified. You can add or adjust custom eligibility rules. Learn more. |
|
Closing this layer after maintainer review. Core UI component modules are kept as complete pasted component sets, so this partial subcomponent cleanup is intentionally dropped. #10228 now records the matching Knip export exception while retaining whole-file detection. |
The input modules carry variants with no callers. Remove unused combobox chips, autocomplete wrappers, select helpers, number-field scrubbing, and other unused input variants.
Remove the NumberField context with its only consumer while preserving root IDs and props. Keep the Combobox chips-ref context and popup anchor behavior; only its unread multiple field is removed.
Layer 2 of 7 in the web runtime-export cleanup stack. Based on #10222.
Verification at the integrated stack tip:
vp run --filter @t3tools/web testpasses all 4,052 tests across 333 files. Web typecheck and changed-file lint/format pass. The stack passesvp run knip:check, including repository file/dependency checks and runtime-export checks for web and all seven internal packages.Model: gpt-6 astra. Harness: Codex in T3 Code.
Note
Remove unused input component variants from
autocomplete,combobox, and other UI modulesmultiplefield fromComboboxContextand memoizes the provider value with an empty dependency listNumberFieldContext,NumberFieldScrubArea, andCursorGrowIcon; the field ID is still passed directly to the primitive rootSelectButtonandSelectSeparatorfrom select.tsx,InputGroupTextandInputGroupTextareafrom input-group.tsx,Radio/RadioGroupItemfrom radio-group.tsx, andToggleGroupSeparatorfrom toggle-group.tsxComboboxChips,SelectButton,AutocompleteRow,NumberFieldScrubArea,InputGroupTextarea,Radio) will fail to compileMacroscope summarized 9d12bd7.