Skip to content

fix(walkthrough): name the selected source in the no-changes message - #411

Merged
chriswritescode-dev merged 1 commit into
mainfrom
fix/walkthrough-no-changes-source-message
Oct 9, 2026
Merged

chriswritescode-dev merged 1 commit into
mainfrom
fix/walkthrough-no-changes-source-message

Conversation

@chriswritescode-dev

Copy link
Copy Markdown
Owner

Summary

When a walkthrough source had no changes, the walkthrough panel always showed "This session has no text changes to walk through", even for the uncommitted, staged, unstaged, branch and pull request sources. The backend already returns a message that names the selected source; the panel now shows it.

  • No-changes errors show the server's message, for example "The staged changes contain no changes to walk through".
  • The previous session wording remains the fallback when the server sends no message.
  • Context-limit and other errors are unchanged.

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation

Checklist

  • Code follows project style (no comments, named imports)
  • TypeScript types are properly defined
  • Tests added/updated (80% coverage target)
  • pnpm lint passes locally
  • pnpm typecheck passes locally

Frontend typecheck and lint pass. ChangesWalkthroughSheet tests pass (29/29).

@coderabbitai

coderabbitai Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6b30d582-c0b9-42ea-a3a2-9f55379ce4b6

📥 Commits

Reviewing files that changed from the base of the PR and between 4180265 and 520d912.


📒 Files selected for processing (2)
  • frontend/src/components/session/ChangesWalkthroughSheet.test.tsx
  • frontend/src/components/session/ChangesWalkthroughSheet.tsx

 ____________________________________________________________________________________________________________________________________________________________
< Don't program by coincidence. Rely only on reliable things. Beware of accidental complexity, and don't confuse a happy coincidence with a purposeful plan. >
 ------------------------------------------------------------------------------------------------------------------------------------------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR

🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR


  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@chriswritescode-dev
chriswritescode-dev merged commit fa0440f into main Oct 9, 2026
1 of 2 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.

1 participant