-
Notifications
You must be signed in to change notification settings - Fork 48
fix: DSL should not be displayed without wired network devices #331
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
Conversation
DSL should not be displayed without wired network devices pms: BUG-311983
deepin pr auto review关键摘要:
是否建议立即修改: |
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.
Hey @caixr23 - I've reviewed your changes - here's some feedback:
Overall Comments:
- It looks like
updateDSLEnabledablecould be extracted to a separate file/class to improve separation of concerns. - Consider adding a comment to explain why
NetType::NetManagerFlag::Net_DSLis checked multiple times.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Reviewer's Guide by SourceryThis pull request ensures that the DSL network configuration is only displayed when there are wired network devices available. It achieves this by adding a function that checks for wired network devices and emits a signal to update the visibility of the DSL configuration. The function is called when devices are added or removed. The pull request also removes unused VPN-related code. No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: caixr23, robertkill The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
DSL should not be displayed without wired network devices
pms: BUG-311983
Summary by Sourcery
Modify DSL network item visibility to only show when wired network devices are present
Bug Fixes:
Enhancements: