feat(ui): add configurable secondary color settings - #116
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe application now stores a configurable secondary color with metadata settings, provides a Settings popup with reset support, and applies the color to measurements, history highlights, mammography borders, GSPS graphics, and SR graphics and labels. Desktop settings persist; browser settings last for the current session. ChangesSecondary color settings and rendering
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to This UI configuration change has no supplied evidence of a correctness, security, availability, or deployment risk at the current head; no actionable merge-blocking risk remains beyond completing the normal Rust checks. Sequence Diagram(s)sequenceDiagram
participant DicomViewerApp
participant Titlebar
participant SettingsPopup
participant settings.toml
Titlebar->>DicomViewerApp: open Settings
DicomViewerApp->>SettingsPopup: render current settings
SettingsPopup->>DicomViewerApp: edit or reset secondary color
DicomViewerApp->>settings.toml: save unified settings
DicomViewerApp->>DicomViewerApp: apply color to overlays and indicators
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 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 |
Summary by CodeRabbit
New Features
Bug Fixes