-
-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move log level to about page #3342
Conversation
This comment has been minimized.
This comment has been minimized.
@onesounds I really do not know which glyph should I choose for |
📝 WalkthroughWalkthroughThe changes introduce a new log level management feature in the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant ComboBox
participant VM as SettingsPaneAboutViewModel
participant Log
User->>ComboBox: Open log level dropdown
ComboBox->>VM: Retrieve LogLevels
User->>ComboBox: Select new log level
ComboBox->>VM: Update LogLevel property
VM->>Log: SetLogLevel(newValue)
VM->>VM: Update dropdown labels (UpdateEnumDropdownLocalizations)
Possibly related PRs
Suggested labels
Poem
Tip ⚡🧪 Multi-step agentic review comment chat (experimental)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (3)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
Flow.Launcher/SettingPages/Views/SettingsPaneAbout.xaml (1)
126-132
: Missing icon for consistency with other cardsThe newly added log level card is missing an icon property, unlike other cards in this page. Consider adding an appropriate icon to maintain UI consistency.
- <cc:Card Title="{DynamicResource logLevel}"> + <cc:Card Title="{DynamicResource logLevel}" Icon="">The suggested icon (E7BA) represents settings/configuration, but you can choose a more appropriate one from the icon set you're using.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
Flow.Launcher/SettingPages/ViewModels/SettingsPaneAboutViewModel.cs
(2 hunks)Flow.Launcher/SettingPages/ViewModels/SettingsPaneGeneralViewModel.cs
(0 hunks)Flow.Launcher/SettingPages/Views/SettingsPaneAbout.xaml
(1 hunks)Flow.Launcher/SettingPages/Views/SettingsPaneGeneral.xaml
(0 hunks)
💤 Files with no reviewable changes (2)
- Flow.Launcher/SettingPages/Views/SettingsPaneGeneral.xaml
- Flow.Launcher/SettingPages/ViewModels/SettingsPaneGeneralViewModel.cs
⏰ Context from checks skipped due to timeout of 90000ms (3)
- GitHub Check: gitStream.cm
- GitHub Check: gitStream.cm
- GitHub Check: gitStream.cm
🔇 Additional comments (6)
Flow.Launcher/SettingPages/ViewModels/SettingsPaneAboutViewModel.cs (6)
11-11
: LGTM!Appropriate namespace added for the Logger functionality.
49-49
: LGTM!Clean implementation of LogLevelData class that extends DropdownDataGeneric.
51-53
: LGTM!Proper initialization of LogLevels property using the standard pattern for dropdown data in this codebase.
54-66
: LGTM!Well-implemented LogLevel property with appropriate change detection before updating settings and log level.
72-73
: LGTM!Good addition of UpdateEnumDropdownLocalizations() call in the constructor to initialize dropdown labels.
75-78
: LGTM!Proper implementation of UpdateEnumDropdownLocalizations method to ensure dropdown labels are correctly displayed.
Thank you! Please check and review. |
This comment has been minimized.
This comment has been minimized.
@check-spelling-bot Report🔴 Please reviewSee the 📂 files view, the 📜action log, or 📝 job summary for details.
See ❌ Event descriptions for more information. Using If the flagged items are 🤯 false positivesIf items relate to a ...
|
Sorry for any inconvenience. I forgot to change the related strings. |
@VictoriousRaptor @Jack251970 |
Move log level card to about page since dev tools card is also here.