anomalyco / anomalyco/opencode

[Desktop] Expand/collapse all button overflows with longer locale labels

Open
#48,685 0 comments 1 reaction 1 assignee View on GitHub

@Brendonovich is already working on this.

Since Sep 12, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

With the UI language set to pt-BR, the "Expandir tudo" (Expand all) button in the session review header overflows its border: the last character is rendered outside the button.

The button in packages/session-ui/src/components/session-review.tsx has a hardcoded width (class="w-[106px] justify-start"). "Expand all" fits in 106px, but longer translations do not, and since the label is not truncated it overflows over the border.

![expandir tudo overflowing the button border]

Image
Plugins

none

OpenCode version

OpenCode Desktop 1.18.29

Steps to reproduce
  1. Set the UI language to pt-BR (or any locale whose label is wider than 106px)
  2. Open a session with file changes and go to the "Files changed" tab
  3. Look at the "Expandir tudo" button in the "Changes from last turn" header
Screenshot and/or share link

See image above.

Operating System

CachyOS (Arch Linux), KDE Plasma 6.7.5, Wayland

Terminal

n/a (desktop app)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.