Skip to content
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

Adding signal string to tooltip #109

Merged
merged 3 commits into from
Jul 24, 2024
Merged

Adding signal string to tooltip #109

merged 3 commits into from
Jul 24, 2024

Conversation

Edu-Amorim
Copy link
Contributor

@Edu-Amorim Edu-Amorim commented Jul 23, 2024

Related to ghostbsd/issues#81

Summary by Sourcery

This pull request enhances the connectionStatus function to display the signal strength percentage in the tooltip for WiFi connections and updates the program version in setup.py from 6.3 to 6.5.

  • Enhancements:
    • Enhanced the connectionStatus function to include signal strength percentage in the tooltip for WiFi connections.
  • Build:
    • Updated the program version in setup.py from 6.3 to 6.5.

@Edu-Amorim Edu-Amorim requested a review from ericbsd July 23, 2024 22:54
@Edu-Amorim Edu-Amorim self-assigned this Jul 23, 2024
@Edu-Amorim Edu-Amorim requested review from a team as code owners July 23, 2024 22:54
Copy link

sourcery-ai bot commented Jul 23, 2024

Reviewer's Guide by Sourcery

This pull request enhances the tooltip functionality by adding signal strength information to the network status. The connectionStatus function in NetworkMgr/net_api.py was updated to accept an additional network_info parameter and format the output to include signal strength. Additionally, the version number in setup.py was incremented from 6.3 to 6.5.

File-Level Changes

Files Changes
NetworkMgr/net_api.py Enhanced the connectionStatus function to display signal strength in the tooltip by utilizing additional network information.
setup.py Incremented the software version to 6.5.

Tips
  • Trigger a new Sourcery review by commenting @sourcery-ai review on the pull request.
  • Continue your discussion with Sourcery by replying directly to review comments.
  • You can change your review settings at any time by accessing your dashboard:
    • Enable or disable the Sourcery-generated pull request summary or reviewer's guide;
    • Change the review language;
  • You can always contact us if you have any questions or feedback.

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Edu-Amorim - I've reviewed your changes and found some issues that need to be addressed.

Blocking issues:

  • Use of shell=True in Popen is a security risk. (link)
Here's what I looked at during the review
  • 🟡 General issues: 2 issues found
  • 🔴 Security: 1 blocking issue
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

NetworkMgr/net_api.py Show resolved Hide resolved
NetworkMgr/net_api.py Show resolved Hide resolved
NetworkMgr/net_api.py Show resolved Hide resolved
NetworkMgr/net_api.py Show resolved Hide resolved
Copy link
Member

@ericbsd ericbsd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ericbsd
Copy link
Member

ericbsd commented Jul 24, 2024

Related to #81

@ericbsd ericbsd merged commit 79cfaf9 into master Jul 24, 2024
@ericbsd ericbsd deleted the Issue#81 branch July 24, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants