Skip to content

fix(tui): use sentence case for theme mode items#21301

Closed
fakhriaunur wants to merge 3 commits intoanomalyco:devfrom
fakhriaunur:fix/opentui-cluster
Closed

fix(tui): use sentence case for theme mode items#21301
fakhriaunur wants to merge 3 commits intoanomalyco:devfrom
fakhriaunur:fix/opentui-cluster

Conversation

@fakhriaunur
Copy link
Copy Markdown

Issue for this PR

Fixes #21191

Type of change

  • Bug fix

What does this PR do?

Change "Toggle Theme Mode" to "Toggle theme mode" and similar inconsistent capitalizations in the command palette to use sentence case consistently.

How did you verify your code works?

  • Visual inspection of command palette items
  • No behavioral changes, only text case

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

…alyco#4332)

The prompt component had flexShrink={0} which prevented the textarea
container from shrinking when the window is small. This caused text
to become invisible or clipped at small terminal sizes (80x24, 80x40).

Changed the textarea container box to use:
- minHeight={0} to allow shrinking below content size
- flexShrink={1} to allow responsive shrinking

This follows the same pattern used in home.tsx for components that
need to shrink responsively while maintaining minimum visibility.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 7, 2026

The following comment was made by an LLM, it may be inaccurate:

Potential Duplicate Found

PR #21192: "fix(tui): use sentence case for theme mode command palette items"
#21192

Why it's related: This PR appears to be addressing the exact same issue - converting theme mode items in the command palette to sentence case. Both PRs are fixing the same capitalization inconsistency issue #21191. PR #21192 seems to be the earlier fix for this same problem, so PR #21301 may be a duplicate or overlapping effort.

@fakhriaunur fakhriaunur closed this Apr 7, 2026
@fakhriaunur
Copy link
Copy Markdown
Author

Closed in favor of separate PRs #21303 #21304 #21305

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.

Inconsistent capitalization on the two "Theme Mode" command palette items

1 participant