Skip to content

fix(chat): use the typed FlexShrink - #2824

Merged
houko merged 1 commit into
mainfrom
fix/chat-typed-flexshrink
Dec 1, 2026
Merged

houko merged 1 commit into
mainfrom
fix/chat-typed-flexshrink

Conversation

@houko

@houko houko commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

#2739 made core.Style.FlexShrink a type of its own (core.Shrink, core.NoShrink) after ui/chat set it with untyped 0 and 1, so main does not build: ui/chat and every package that imports it, tsx among them. This uses core.NoShrink and core.Shrink(1) there.

Tests

  • go build ./...
  • go test ./ui/chat

#2739 made core.Style's FlexShrink a type of its own after the chat's turns had been written with untyped 0 and 1, so main stopped building: ui/chat and every package that imports it, tsx among them.
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

This pull request has no valid Local CI declaration for its head commit, so a maintainer audits it before merging:

  • the body has no <!-- local-ci --> block under ## Verification

Run the checks on the head commit, fill the block in the template, then push or edit the body: this label and comment update on their own.

@github-actions github-actions Bot added size/XS ui bug Something isn't working and removed size/XS labels Dec 1, 2026
@houko
houko merged commit b84aa6d into main Dec 1, 2026
48 checks passed
@houko
houko deleted the fix/chat-typed-flexshrink branch December 1, 2026 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working local-ci-skipped ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant