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

Highlighted special devices, added logo and removed unicodes from port description #12

Merged
merged 5 commits into from
Jan 25, 2022

Conversation

@git-elliot
Copy link
Collaborator Author

@guyluz11 Fixed some of the issues, I'm still working on rest of them.

@git-elliot git-elliot changed the title Highlighted Special Devices, Added logo and removed unicode from port description Highlighted special devices, added logo and removed unicode from port description Jan 22, 2022
@git-elliot git-elliot changed the title Highlighted special devices, added logo and removed unicode from port description Highlighted special devices, added logo and removed unicodes from port description Jan 22, 2022
@git-elliot git-elliot added the enhancement Request for enhancing and extending existing feature label Jan 22, 2022
Copy link
Collaborator

@guyluz11 guyluz11 left a comment

Choose a reason for hiding this comment

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

Nice work, we are on the right track

assets/ports_lists.json Outdated Show resolved Hide resolved
assets/ports_lists.json Outdated Show resolved Hide resolved
assets/ports_lists.json Show resolved Hide resolved
assets/ports_lists.json Outdated Show resolved Hide resolved
double _progress = 0;
bool _isScanning = false;
StreamSubscription<ActiveHost>? _streamSubscription;
late String? ip;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not clear about some parts in this page, like why is this not local variable.
Will check it out later as I am on the phone

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It should be private but not local, since I'm saving the result of NetworkInfo calls for latter use when giving name and icon to the device.

ip = await NetworkInfo().getWifiIP();
gatewayIp = await NetworkInfo().getWifiGatewayIP();

debugPrint('wifi ip : $ip');
Copy link
Collaborator

Choose a reason for hiding this comment

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

Don't forget to remove in the end

lib/pages/host_scan_page.dart Outdated Show resolved Hide resolved
assets/ports_lists.json Outdated Show resolved Hide resolved
@git-elliot git-elliot self-assigned this Jan 22, 2022
@git-elliot git-elliot linked an issue Jan 23, 2022 that may be closed by this pull request
@git-elliot git-elliot added the help wanted Extra attention is needed label Jan 23, 2022
@git-elliot git-elliot marked this pull request as ready for review January 23, 2022 05:14
Copy link
Collaborator

@guyluz11 guyluz11 left a comment

Choose a reason for hiding this comment

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

One last change and we are good to go

(ActiveHost device) {
debugPrint('Found device: ${device.ip}');
(ActiveHost host) {
debugPrint('Found host: ${host.ip}');
Copy link
Collaborator

Choose a reason for hiding this comment

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

Debug does not need to be included in the production, please remove it.

lib/pages/host_scan_page.dart Show resolved Hide resolved
@git-elliot git-elliot merged commit 02d4b16 into main Jan 25, 2022
@git-elliot git-elliot deleted the dev branch February 14, 2022 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Request for enhancing and extending existing feature help wanted Extra attention is needed
Projects
None yet
2 participants