feat(weather overrides): add weather override pause checkbox#1722
Conversation
📝 WalkthroughWalkthroughThis PR adds per-feature weather override pause functionality by introducing a UI checkbox in the feature settings panel and implementing pause state tracking in the weather registry with accessor methods. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧹 Recent nitpick comments
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (3)**/*.{cpp,cxx,cc,c,h,hpp,hxx,hlsl,hlsli,fx,fxh,py}📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
src/**/*.{cpp,cxx,cc,h,hpp,hxx}📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
**/*⚙️ CodeRabbit configuration file
Files:
🧠 Learnings (4)📓 Common learnings📚 Learning: 2025-06-24T07:17:36.604ZApplied to files:
📚 Learning: 2025-08-17T18:37:35.839ZApplied to files:
📚 Learning: 2025-06-17T09:27:49.594ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (1)
✏️ Tip: You can disable this entire section by setting 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 |
Automated formatting by clang-format, prettier, and other hooks. See https://pre-commit.ci for details.
|
✅ A pre-release build is available for this PR: |
This pull request adds functionality to temporarily pause weather-based overrides for individual features in the menu, allowing users to disable weather-driven adjustments without affecting saved settings. The changes introduce new UI elements and internal state management to support this feature.
Weather override pause feature:
src/Menu/FeatureListRenderer.cpp)WeatherVariableRegistry.hinto the menu renderer to support weather override functionality. (src/Menu/FeatureListRenderer.cpp)Weather registry enhancements:
GlobalWeatherRegistryto track paused features using a newpausedFeaturesmap. (src/WeatherVariableRegistry.h)IsFeaturePausedandSetFeaturePausedmethods to manage the paused state for each feature. (src/WeatherVariableRegistry.h)src/WeatherVariableRegistry.h)Summary by CodeRabbit
New Features
✏️ Tip: You can customize this high-level summary in your review settings.