feat(reasoning): default expand thinking bubble and add more css variables#311
feat(reasoning): default expand thinking bubble and add more css variables#311gene9831 wants to merge 4 commits intoopentiny:developfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughReasoning bubbles now default to expanded; thinking state changes also toggle an Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
📦 Package Previewpnpm add https://pkg.pr.new/@opentiny/tiny-robot@56af697 pnpm add https://pkg.pr.new/@opentiny/tiny-robot-kit@56af697 pnpm add https://pkg.pr.new/@opentiny/tiny-robot-svgs@56af697 commit: e211613 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@packages/kit/src/vue/message/plugins/thinkingPlugin.ts`:
- Around line 23-25: The code clears flags by setting lastMessage.state.thinking
and lastMessage.state.open to undefined, which triggers Reasoning.vue's
open-by-default fallback; change those assignments in thinkingPlugin (the block
that checks lastMessage?.state?.thinking) to explicitly set
lastMessage.state.thinking = false and lastMessage.state.open = false so the
panel stays closed at turn end instead of re-opening.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 396b5e6a-22da-4e1c-bf9c-609bff8a64a2
📒 Files selected for processing (4)
docs/src/components/bubble.mddocs/src/tools/message.mdpackages/components/src/bubble/renderers/Reasoning.vuepackages/kit/src/vue/message/plugins/thinkingPlugin.ts
…ubble in quick start guide
…eflect updated naming conventions

Summary by CodeRabbit
New Features
Documentation