Skip to content

Add placeholder text to planning tab message input - #232

Open
jbrinkman wants to merge 1 commit into
mainfrom
spec/issue-231-61844
Open

Add placeholder text to planning tab message input#232
jbrinkman wants to merge 1 commit into
mainfrom
spec/issue-231-61844

Conversation

@jbrinkman

Copy link
Copy Markdown
Owner

Summary

This PR adds helpful placeholder text to the planning tab's message input while solving the virtual cursor artifact issue that previously caused a 'T' character to appear.

What Changed

  • Added Placeholder field to Styles struct in internal/tui/styles.go
  • Set placeholder text to 'ask a question or describe a task' in NewPlanningTabWithSession()
  • Disabled virtual cursor with ti.SetVirtualCursor(false) to prevent character artifacts
  • Applied placeholder styling using existing TextMuted color for theme consistency
  • Maintained compatibility with existing custom prompt rendering system

Key Files Modified

  • internal/tui/styles.go - Added placeholder styling to theme system
  • internal/tui/planning_tab.go - Configured textinput with placeholder and disabled virtual cursor

Problem Solved

Previously, the planning tab showed a blank input with no guidance for users. The original placeholder text was removed because the bubbles/v2 virtual cursor rendered the first placeholder character as a cursor glyph, causing a visual 'T' artifact. This implementation restores user guidance while preventing the artifact.

Validation

All acceptance criteria verified and QA checks passed for formatting, sync, linting, and build.

Closes #231

@coderabbitai

coderabbitai Bot commented Jul 12, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@jbrinkman, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 16 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 5d316d10-bffd-4dbe-9e7a-61b2171d3e63

📥 Commits

Reviewing files that changed from the base of the PR and between 93f61c9 and 6fd6eed.

📒 Files selected for processing (3)
  • .kiro-krew/specs/issue-231-add-placeholder-text.md
  • internal/tui/planning_tab.go
  • internal/tui/styles.go
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch spec/issue-231-61844

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

Add placeholder text to planning tab message input

1 participant