-
Notifications
You must be signed in to change notification settings - Fork 48
feat: Synchronize to 107x #323
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
Reviewer's Guide by SourceryThis pull request synchronizes the dock network plugin to the 107x version. This includes major refactoring, UI improvements, and feature enhancements such as VPN and proxy support, and network notifications. The changes involve replacing the old implementation with a new one based on NetManager, NetView, and NetStatus classes, updating the build system, and modernizing the code. Sequence diagram for showing the network dialogsequenceDiagram
participant NP as NetworkPlugin
participant PI as PluginProxyInterface
NP->PI: requestSetAppletVisible(NETWORK_KEY, true)
PI->NP: appletVisibleChanged(NETWORK_KEY, true)
NP->NW: show()
loop
NW->NW: Update UI
end
Updated class diagram for NetStatusclassDiagram
class NetStatus {
-NetManager *m_manager
-NetIconButton *m_networkBut
-NetIconButton *m_vpnAndProxyBut
-QWidget *m_dockIconWidget
-QBoxLayout *m_dockIconWidgetlayout
-QPointer<QLabel> m_tipsLabel
-QString m_networkTips
-QString m_vpnAndProxyTips
-QIcon m_networkIcon
-QIcon m_vpnAndProxyIcon
-bool m_vpnAndProxyIconVisibel
-unsigned int m_deviceFlag
+NetStatus()
+~NetStatus()
+needShowControlCenter() const
+contextMenu() const
+createDockIconWidget()
+createDockItemTips()
+setDirection()
+refreshIcon()
+invokeMenuItem()
+networkActive() const
+quickTitle() const
+quickDescription() const
+quickIcon() const
+vpnAndProxyIconVisibel() const
+hasDevice() const
+setHoverTips()
+toggleNetworkActive()
-onChildAdded()
-onChildRemoved()
-onStrengthLevelChanged()
-updateVpnAndProxyStatus()
-doUpdateStatus()
-updateNetworkIcon()
-updateNetworkTips()
-updateQuick()
-getDeviceConnections()
-updateItemWidgetSize()
}
NetStatus -- NetManager : has a
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
TAG Bot TAG: 2.0.52 |
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.
We encountered an error and are unable to review this PR. We have been notified and are working to fix it.
You can try again by commenting this pull request with @sourcery-ai review, or contact us for help.
09e5b34 to
29cc742
Compare
Synchronize to 107x pms: TASK-361719
|
[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 |
Synchronize to 107x
pms: TASK-361719
Summary by Sourcery
Synchronize the network plugin to version 107x, introducing significant architectural changes and improvements to the network management and display components
New Features:
Bug Fixes:
Enhancements: