refactor(ui): relocate action buttons to tab header#1190
Conversation
WalkthroughThe rendering logic for the "Disable/Enable at Boot" and "Restore Defaults" buttons in the feature settings tab has been refactored. These buttons are now positioned outside the child window but within the "Settings" tab, aligned to the right of the tab bar with dynamic sizing and updated color logic. Control flow and button tooltips remain unchanged. Changes
Poem
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (3)
✨ Finishing Touches
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: |
|
This isn't a fix. This is a style or refactor at best. |
|
@coderabbitai please provide the appropriate conventional commit given the changes. Please adhere to github's title limit of 50 and also consider whether this is a fix or something else. |
|
Tip For best results, initiate chat on the files or code changes. @alandtse You're absolutely right - this is not a fix. Based on the changes, here's the appropriate conventional commit message: This is 44 characters and correctly categorizes the change as a 🐰💭 |
Yeah my mistake, idk why I put fix |
…s#1190) Updated the layout of the "Disable/Enable at Boot" and "Restore Defaults" buttons in the feature settings tab for improved alignment and appearance.
Moved two buttons from inline in settings page into the heading tab to better use the space.

Summary by CodeRabbit