Share code search overlay across product viewers - #8266
BillLeoutsakosvl346 merged 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
@greptile review this PR |
|
@cubic-dev-ai review this PR |
@BillLeoutsakosvl346 I have started the AI code review. It will take a few minutes to complete. |
|
| <ChipInput {...inputProps} className='mr-0.5 w-[94px]' /> | ||
| ) : ( | ||
| <Input {...inputProps} className='mr-0.5 h-[23px] w-[94px] text-caption' /> | ||
| )} |
There was a problem hiding this comment.
Legacy input in shared overlay
The new plain-input branch uses Input for preview and terminal search. The repository’s EMCN directive requires new shared controls to use ChipInput instead of the legacy Input. Preserve the intended compact appearance, but satisfy that requirement before merging.
Context Used: EMCN component library patterns with CVA (source)
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
There was a problem hiding this comment.
Addressed in 81a8c60: the preview and terminal branches now use ChipInput with an EMCN-owned compactSearch appearance. The default 30px ChipInput remains unchanged; the compact appearance owns the existing 23px geometry and caption text. The source-derived fixture still has pixel-identical before/after captures in all 16 light/dark, 16px/20px, idle/focus/empty states. Focused overlay and EMCN tests pass.
31a8431
into
codex/emcn-next-code-viewer
|
@greptile review this PR |
|
@cubic-dev-ai review this PR |
@BillLeoutsakosvl346 I have started the AI code review. It will take a few minutes to complete. |
Summary
Base and design review
Targets the exact Code.Viewer #8238 head
dffc482e. This component builds on that branch's viewer appearances; the PR is intentionally separate from other EMCN migrations.The local 3.10.7 design diff completed with three raw findings, all from existing classes moved into the shared component: the terminal's
rounded-b-[4px]lower edge and the plain search Input'sh-[23px]andtext-captionoverrides. The radius has a uniquely fingerprinted retained-Extra decision in the external review ledger. The two Input overrides remain unresolved owned-chrome findings for a separate EMCN compact Input treatment; they have not been classified as Extras or suppressed. One advisory records the existingshadow-xsshell treatment now shared by this feature. There are no coverage failures.Validation