Skip to content

fix: strip trailing whitespace failing CI format - #275

Merged
SakiRinn merged 3 commits into
SakiRinn:masterfrom
jrkasprzyk:fix/dotnet-format-whitespace
Aug 17, 2026
Merged

fix: strip trailing whitespace failing CI format#275
SakiRinn merged 3 commits into
SakiRinn:masterfrom
jrkasprzyk:fix/dotnet-format-whitespace

Conversation

@jrkasprzyk

Copy link
Copy Markdown
Contributor

The Check code formatting step (dotnet format --verify-no-changes) currently fails on master, which turns every open PR red:

src/apis/TranslateAPI.cs(160,1): error WHITESPACE: Fix whitespace formatting.
src/models/TranslateAPIConfig.cs(92,1): error WHITESPACE: Fix whitespace formatting.

Both are blank lines that carry trailing whitespace. Since pull_request builds check out the simulated merge with the base branch, the failure is inherited by PRs that do not touch these files.

This PR removes the trailing whitespace on those two lines. Whitespace only, no behaviour change.

jrkasprzyk and others added 3 commits July 5, 2026 16:22
Ctrl+Scroll over the original or translated caption card adjusts its
font size independently (clamped to StyleConsts MIN/MAX_FONT_SIZE).
Sizes persist via MainWindowState (OriginalFontSize/TranslatedFontSize,
defaults 15/18 matching previous fixed values).

Useful for language learning: e.g. large original text with a smaller
translation below.

The previous auto-shrink of the translated caption (18 -> 15 when text
is long) is removed, since it would silently override the user's chosen
size.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Add adjustable caption font sizes on main window (Ctrl+Scroll)
Two blank lines carry trailing whitespace, so the "Check code formatting"
step (dotnet format --verify-no-changes) exits 1. The CI/CD Pipeline has
failed on master since these were introduced, and because pull_request
builds check out the simulated merge with the base branch, every open PR
inherits the red check.

Whitespace only; no behaviour change.
@SakiRinn
SakiRinn merged commit a6fee12 into SakiRinn:master Aug 17, 2026
2 checks passed
@SakiRinn

Copy link
Copy Markdown
Owner

Thanks for your contribution!

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.

2 participants