Skip to content

Conversation

christian-byrne
Copy link
Contributor

@christian-byrne christian-byrne commented Oct 14, 2025

Summary

After #5292, at certain browser zoom levels, the xterm terminal did not fill horizontal space properly, showing a gap with mismatched background colors (#171717 viewport vs black terminal content).

Fixes #6049

Problem

The hardcoded #171717 terminal theme background only affected the xterm viewport, while terminal content remained black, causing a visible color mismatch at low zoom levels where the gap was more apparent.

Fixed by keeping original theme when not on desktop distribution.

┆Issue is synchronized with this Notion page by Unito

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Oct 14, 2025
@christian-byrne christian-byrne changed the title choose terminal theme based on distribution fix terminal style Oct 14, 2025
Copy link

github-actions bot commented Oct 14, 2025

🎭 Playwright Test Results

⚠️ Tests passed with flaky tests

⏰ Completed at: 10/14/2025, 08:25:22 PM UTC

📈 Summary

  • Total Tests: 497
  • Passed: 463 ✅
  • Failed: 0
  • Flaky: 4 ⚠️
  • Skipped: 30 ⏭️

📊 Test Reports by Browser

  • chromium: View Report • ✅ 454 / ❌ 0 / ⚠️ 4 / ⏭️ 30
  • chromium-2x: View Report • ✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • chromium-0.5x: View Report • ✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • mobile-chrome: View Report • ✅ 6 / ❌ 0 / ⚠️ 0 / ⏭️ 0

🎉 Click on the links above to view detailed test results for each browser configuration.

Copy link

github-actions bot commented Oct 14, 2025

🎨 Storybook Build Status

Build completed successfully!

⏰ Completed at: 10/14/2025, 08:09:36 PM UTC

🔗 Links


🎉 Your Storybook is ready for review!

Copy link
Collaborator

@AustinMroz AustinMroz left a comment

Choose a reason for hiding this comment

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

LGTM

@christian-byrne christian-byrne added needs-backport Fix/change that needs to be cherry-picked to the current feature freeze branch 1.28 labels Oct 14, 2025
@christian-byrne christian-byrne merged commit d1af7c8 into main Oct 14, 2025
57 of 58 checks passed
@christian-byrne christian-byrne deleted the desktop/fix-terminal-style branch October 14, 2025 20:26
Copy link

@christian-byrne Backport to core/1.28 failed: Merge conflicts detected.

Please manually cherry-pick commit d1af7c8256cdca0b4be431083be015c154bd7ff1 to the core/1.28 branch.

Conflicting files
  • src/platform/distribution/types.ts
  • vitest.setup.ts

arjansingh pushed a commit that referenced this pull request Oct 16, 2025
## Summary

After #5292, at certain browser zoom levels, the xterm terminal did not
fill horizontal space properly, showing a gap with mismatched background
colors (`#171717` viewport vs `black` terminal content).

Fixes #6049

## Problem

The hardcoded `#171717` terminal theme background only affected the
xterm viewport, while terminal content remained black, causing a visible
color mismatch at low zoom levels where the gap was more apparent.

Fixed by keeping original theme when not on desktop distribution.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-6056-fix-terminal-style-28c6d73d36508132b521e5767f41d540)
by [Unito](https://www.unito.io)
arjansingh added a commit that referenced this pull request Oct 17, 2025
## Summary

Updates with cloud specific features merged into `main`.

Notable changes include the `DISTRIBUTION=cloud` changes. Will also be
changing cloud build workflow to build with that flag in
Comfy-Org/cloud#1043

## Changes

- bb61d98 feat: AssetCard tweaks (#6085)
- 05f7352 fix terminal style (#6056)
- d5fa221 Add distribution detection pattern (#6028)
- 6c36aaa feat: Improve MediaAssetCard video controls and add gallery
view (#6065)
- 6944ef0 fix Cloudbadge (#6063)
- 6764f8d Badge for cloud environment (#6048)

---------

Co-authored-by: Johnpaul Chiwetelu <[email protected]>
Co-authored-by: Jin Yi <[email protected]>
Co-authored-by: Claude <[email protected]>
Co-authored-by: Christian Byrne <[email protected]>
@arjansingh arjansingh mentioned this pull request Oct 17, 2025
christian-byrne added a commit that referenced this pull request Oct 17, 2025
## Summary

After #5292, at certain browser zoom levels, the xterm terminal did not
fill horizontal space properly, showing a gap with mismatched background
colors (`#171717` viewport vs `black` terminal content).

Fixes #6049

## Problem

The hardcoded `#171717` terminal theme background only affected the
xterm viewport, while terminal content remained black, causing a visible
color mismatch at low zoom levels where the gap was more apparent.

Fixed by keeping original theme when not on desktop distribution.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-6056-fix-terminal-style-28c6d73d36508132b521e5767f41d540)
by [Unito](https://www.unito.io)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.28 area:desktop needs-backport Fix/change that needs to be cherry-picked to the current feature freeze branch size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Console Bar Overlay

2 participants