Skip to content

fix: autosave for global environments#6872

Merged
bijin-bruno merged 1 commit intousebruno:mainfrom
sanjaikumar-bruno:fix/global-env-autosave
Jan 21, 2026
Merged

fix: autosave for global environments#6872
bijin-bruno merged 1 commit intousebruno:mainfrom
sanjaikumar-bruno:fix/global-env-autosave

Conversation

@sanjaikumar-bruno
Copy link
Member

@sanjaikumar-bruno sanjaikumar-bruno commented Jan 21, 2026

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 21, 2026

Walkthrough

Renames an environment draft action type string from globalEnvironments/setGlobalEnvironmentDraft to global-environments/setGlobalEnvironmentDraft in the autosave middleware. Updates the actionsToIntercept list and a conditional check in determineSaveHandler to align with dash-separated naming convention.

Changes

Cohort / File(s) Summary
Autosave Middleware Action Type Rename
packages/bruno-app/src/providers/ReduxStore/middlewares/autosave/middleware.js
Standardizes environment draft action type naming from camelCase/PascalCase to dash-separated format in two locations: the actions intercept list and conditional handler logic.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested reviewers

  • helloanoop
  • lohit-bruno
  • naman-bruno
  • bijin-bruno

Poem

Dashes align with consistency's creed, 🔄
A naming convention reformed with speed,
Two places now match in perfect harmony,
The environment drafts flow in symmetry,
Small tweaks, big order—a developer's spree! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: fixing autosave functionality for global environments by correcting the action type naming convention.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

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 and usage tips.

@bijin-bruno bijin-bruno merged commit 0b79ce9 into usebruno:main Jan 21, 2026
8 checks passed
@sanjaikumar-bruno sanjaikumar-bruno deleted the fix/global-env-autosave branch January 21, 2026 13:03
FraCata00 pushed a commit to FraCata00/bruno that referenced this pull request Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants