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

System 1418/update network plugin #19

Merged
merged 41 commits into from
Jan 18, 2023

Conversation

cmajed
Copy link
Contributor

@cmajed cmajed commented Dec 13, 2022

Description

Update Network widget to:

  • handle redis messages change for android version >= 8.0
  • Update the network widget to normalize it with Desktop one
  • Move baseband section to a separated widget

Fixes #https://genymobile.atlassian.net/browse/SYSTEM-1418

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • I've read & comply with the contributing guidelines
  • I have tested my code for new features & regressions on both mobile & desktop devices, using the latest version of major browsers.
  • I have made corresponding changes to the documentation (README.md).
  • I've checked my modifications for any breaking changes.

cmajed and others added 23 commits December 2, 2022 11:05
So we can adjust widget layout and network profile items.
input list for mobile profile

input list for signal strength
  - edit 5g name (to be consistent with redis message)
  - unlimited item correspond to redis 'none' value.
version is >= 8.
This is done when an item is selected on the list.
…ted on the list.

Update mobile signal strength list UI when a new value is received with redis.
Remove default input values for snetwork type and signal strenth for
android versions >= 8.0

Add a call to the sendDataToInstance method when profile changed

Remove explicit calls to changeProfile
Also update screenshot with the new baseband widget icon.
Copy link
Contributor

@pgivel pgivel left a comment

Choose a reason for hiding this comment

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

This is looking great ! My remarks are mostly about var naming or code style, not really deep changes.

src/plugins/util/network-profiles-ge8.js Outdated Show resolved Hide resolved
src/GenymotionInstance.js Outdated Show resolved Hide resolved
src/GenymotionInstance.js Outdated Show resolved Hide resolved
src/plugins/Network.js Outdated Show resolved Hide resolved
src/plugins/Network.js Show resolved Hide resolved
src/plugins/Network.js Outdated Show resolved Hide resolved
src/plugins/Network.js Outdated Show resolved Hide resolved
src/plugins/Network.js Outdated Show resolved Hide resolved
src/plugins/Network.js Outdated Show resolved Hide resolved
src/plugins/Network.js Outdated Show resolved Hide resolved
@cmajed cmajed requested a review from caarmen January 6, 2023 09:15
}

disable5G() {
// Nothing to do!

Choose a reason for hiding this comment

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

Why?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

because the widget is constructed by default without 5G
if capability is true we add it if its fals we have nothing to do

README.md Show resolved Hide resolved
src/plugins/BasebandRIL.js Outdated Show resolved Hide resolved
src/plugins/BasebandRIL.js Outdated Show resolved Hide resolved
@cmajed cmajed requested a review from caarmen January 11, 2023 14:47
Copy link
Contributor

@caarmen caarmen left a comment

Choose a reason for hiding this comment

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

I have a limited knowledge of this repository, so my understanding of the PR is not 100% complete.

But looks like the few comments I left have been accounted for :)

@guillaume-roche guillaume-roche merged commit 1ce6826 into main Jan 18, 2023
@guillaume-roche guillaume-roche deleted the SYSTEM-1418/update_network_plugin branch January 18, 2023 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants