Skip to content

fix layout overflow issues - #28

Merged
batpad merged 2 commits into
mainfrom
fix-stat-overflow
Dec 1, 2026
Merged

batpad merged 2 commits into
mainfrom
fix-stat-overflow

Conversation

@batpad

@batpad batpad commented Nov 27, 2026

Copy link
Copy Markdown
Member

@batpad
batpad requested a review from dzole0311 November 27, 2026 07:58

@dzole0311 dzole0311 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me!

I pushed a tiny commit to run npm test in CI and also pinned the Python runner to Ubuntu 24.04 for Python 3.9 support (CI was using Ubuntu 26.04 where setup-python couldnt find a Python 3.9 build)

expect(el.querySelector(".manywidgets-stat__value")!.textContent).toBe("99");
});

it("shrinks a value wider than its row to fit", () => {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice, but do these tests actually run in CI? 😅

The JS job seems to run:

- run: npm ci
- run: npm run typecheck
- run: npm run build

Maybe we can also add npm test?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

added in 0710e93

@batpad
batpad merged commit 286b03b into main Dec 1, 2026
3 checks passed
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.

bug: stat widget doesn't handle overflow well Stat: long value + unit overflows its container instead of wrapping

2 participants