Skip to content

ui: Update Dialog component styling - #27743

Merged
allozaur merged 3 commits into
masterfrom
allozaur/feat/chat-form-actions/base-dialog
Aug 26, 2026
Merged

ui: Update Dialog component styling#27743
allozaur merged 3 commits into
masterfrom
allozaur/feat/chat-form-actions/base-dialog

Conversation

@allozaur

@allozaur allozaur commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Overview

Few UI styling improvements for further UI updates.

Requirements

@allozaur allozaur changed the title allozaur/feat/chat form actions/base dialog ui: Update Dialog component styling Aug 26, 2026
@allozaur
allozaur marked this pull request as ready for review August 26, 2026 14:05
@allozaur
allozaur requested a review from a team as a code owner August 26, 2026 14:05
@allozaur
allozaur requested review from ServeurpersoCom and ggerganov and a lite review from Copilot August 26, 2026 14:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

UI-focused update to the shared Dialog components to support improved layout/styling for upcoming UI changes, including moving the close affordance into a sticky header and refining dialog sizing behavior.

Changes:

  • Add optional sticky header close button support via Dialog.Header (with showCloseButton prop).
  • Adjust Dialog.Content sizing classes and change its default showCloseButton to false.
  • Update Mermaid preview dialog to explicitly show a close button.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
tools/ui/src/lib/components/ui/dialog/dialog-header.svelte Makes the header sticky and adds an optional close button inside the header.
tools/ui/src/lib/components/ui/dialog/dialog-content.svelte Refines sizing classes and changes default close button behavior (now off by default).
tools/ui/src/lib/components/ui/dialog/dialog-close.svelte Adds a z-index style rule for dialog close elements (currently selector mismatch).
tools/ui/src/lib/components/app/dialogs/DialogMermaidPreview.svelte Enables the close button for the Mermaid preview dialog content.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread tools/ui/src/lib/components/ui/dialog/dialog-close.svelte
@allozaur
allozaur force-pushed the allozaur/feat/chat-form-actions/base-dialog branch from 6c26be3 to a76cd9f Compare August 26, 2026 15:37
@allozaur
allozaur merged commit 0379a19 into master Aug 26, 2026
1 check passed
therealkenc pushed a commit to therealkenc/llama.cpp that referenced this pull request Aug 26, 2026
* feat(ui): make base dialog responsive and support sticky headers

* ui: move dialog close button to the sticky header

Assisted-by: pi

* chore: Formatting & linting
ppenatra pushed a commit to ppenatra/llama.cpp that referenced this pull request Aug 27, 2026
* feat(ui): make base dialog responsive and support sticky headers

* ui: move dialog close button to the sticky header

Assisted-by: pi

* chore: Formatting & linting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants