Repository navigation
fix(desktop): contain long confirmation dialog content - #227
Merged
Merged
Conversation
GoDiao
approved these changes
Nov 2, 2026
GoDiao
left a comment
Owner
There was a problem hiding this comment.
Thanks @imshah-id, and welcome to DreamCoder! This fixes #226 at the right layer. The dialog's content grid has an auto column, so a path with no break points widened the column past the dialog. min-w-0 on the header lets the column shrink, and w-full on the description gives the existing truncate a bounded width. Since the fix is in ConfirmDialog, it covers the other confirmation dialogs as well.
I pushed one small commit on top so it could merge today:
Thanks @imshah-id.and the same entry format as the others in the CHANGELOG.- Merged the current
main, which had cut 0.8.0 in the meantime. The entry now sits under[Unreleased]instead of the released 0.8.0 section.
CI is green. If you find DreamCoder useful, a star on the repo would be much appreciated.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #226.
Constrain both grid children in
ConfirmDialog: the header can shrink below its min-content width, and the description fills that bounded width. The existing path ellipsis then works, keeping the footer buttons inside the dialog. This also covers other confirmation bodies using the shared component.Validation:
bun test: 1,874 passed.bun run lint: passed.bun run test -- --run: 2,209 passed, 4 skipped (Node 22.7.0).