feat(ui): replace microsoft icons with in-house developed icons. fix action icon scaling.#1315
Conversation
WalkthroughThis update removes references to Microsoft Icons and their MIT License from documentation and the codebase, deletes the associated license file, updates icon file paths from "Microsoft Icons" to "Action Icons," and changes icon and text sizing in the menu to be dynamically based on the current font size and UI scale rather than fixed pixel values. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Menu
participant UIUtils
User->>Menu: Open Settings Menu
Menu->>UIUtils: Load icon ("Action Icons/...")
UIUtils-->>Menu: Return icon handle
Menu->>Menu: Compute icon/text size (font size * scale)
Menu->>User: Render menu with scaled icons and text
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: .coderabbit.yaml ⛔ Files ignored due to path filters (8)
📒 Files selected for processing (4)
💤 Files with no reviewable changes (2)
🧰 Additional context used🧠 Learnings (3)📓 Common learningssrc/Utils/UI.cpp (1)Learnt from: davo0411 src/Menu.cpp (1)Learnt from: davo0411 ⏰ 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 (6)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
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: |
Summary by CodeRabbit
Bug Fixes
Chores