Skip to content

Expose search-first dialog presentation options - #7

Open
jeregrine wants to merge 1 commit into
elixir-crab:mainfrom
jeregrine:feat/search-first-dialogs
Open

jeregrine wants to merge 1 commit into
elixir-crab:mainfrom
jeregrine:feat/search-first-dialogs

Conversation

@jeregrine

Copy link
Copy Markdown

Summary

Expose show_title and an optional, bounded margin_top on dialogs. Callers can build search-first dialogs without a visible heading and choose a fixed top offset. Omitting the new options preserves visible titles and the native viewport-relative placement.

Keep the existing controlled-open behavior, content activation, focus handling, and Escape closure. Regenerate both native component schemas from the shared declaration, including optional numeric decoding.

Evidence

A native regression switches a dialog from titled to headerless and verifies that the heading row disappears while content activation and Escape still work. The native navigation suite passes all eight cases. Builder coverage checks defaults, explicit offsets, and rejection of invalid offsets. Visually inspected a real native fixture at an 80px top margin.

Clean package validation remains blocked in the unchanged transitive gpui-component dependency by incompatible upstream APIs, before compiling this bridge.

Release Notes:

  • [GPUI] Added headerless dialogs with optional top offsets while preserving default placement and interaction behavior.

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