Repository navigation
feat(workspaces): dispatch closeAiSidebar action on workspace switch - #8451
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Walkthrough
ChangesAI Sidebar Teardown on Workspace Switch
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@packages/bruno-app/src/providers/ReduxStore/slices/workspaces/actions.spec.js`:
- Around line 25-31: The makeScratchCollection fixture currently hardcodes a
Unix-only pathname using /tmp, which will break on Windows. Update the pathname
construction to use an OS-agnostic path helper such as path.join() or
path.resolve() in makeScratchCollection so the generated scratch collection path
works across platforms.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: b8b1c191-a9e8-4e5c-a8c6-8eed30add6d8
📒 Files selected for processing (2)
packages/bruno-app/src/providers/ReduxStore/slices/workspaces/actions.jspackages/bruno-app/src/providers/ReduxStore/slices/workspaces/actions.spec.js
Description
Added a call to
closeAiSidebarin theswitchWorkspaceaction to ensure the AI sidebar is closed when switching workspaces, improving user experience and interface consistency.Contribution Checklist:
Summary by CodeRabbit