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

Qr channel select #1038

Closed
wants to merge 6 commits into from
Closed

Conversation

Robert-0410
Copy link

Addressing Issue #635

These changes allow the user to select what channels they want included in the URL/QR.

…R. The user can select what channels to include when editing channels.
…ment I did not think it was worth it to get the state needed there.
… an update of an empty ChannelSet. To be clear I don't fully understand the behavior behind updating the AppOnlyProtos.ChannelSet.
@CLAassistant
Copy link

CLAassistant commented May 14, 2024

CLA assistant check
All committers have signed the CLA.

@rcarteraz
Copy link
Contributor

Addressing Issue #635

These changes allow the user to select what channels they want included in the URL/QR.

Does this PR do anything for #953 or is it only for selecting which channels to share?

@Robert-0410
Copy link
Author

Robert-0410 commented May 14, 2024

Does this PR do anything for #953 or is it only for selecting which channels to share?

I'm not aware of what "add=true" is. Is it something meant to help with the feature?

@rcarteraz
Copy link
Contributor

Does this PR do anything for #953 or is it only for selecting which channels to share?

I'm not aware of what "add=true" is. Is it something meant to help with the feature?

It would be so when you add selected channels from a QR code, they’ll be added versus overwriting all channels. It was recently added in the Apple apps: meshtastic/Meshtastic-Apple@2a38dbb

@Robert-0410
Copy link
Author

Does this PR do anything for #953 or is it only for selecting which channels to share?

I'm not aware of what "add=true" is. Is it something meant to help with the feature?

It would be so when you add selected channels from a QR code, they’ll be added versus overwriting all channels. It was recently added in the Apple apps: meshtastic/Meshtastic-Apple@2a38dbb

Understood, These commits don't provide said feature.
But I wouldn't mind working on it after this.

Copy link
Member

@andrekir andrekir left a comment

Choose a reason for hiding this comment

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

while the effort is appreciated, this implementation is needlessly complex. the changes to Channel, ChannelSet, and viewmodel are unnecessary. instead, simply filter the checked channels to build a ChannelSet and generate the QR code/URL from that.

also consider using a separate UI screen or modal for channel selection and QR code/URL generation, for example, similar to how it’s done in the web app:

ezgif-1-bcf3779d20

@Robert-0410
Copy link
Author

Thanks for the feedback at @andrekir , and I appreciate the hard work that has gone into the app.

Ill take another crack at it 🏗️

@Robert-0410
Copy link
Author

Took a fresh approach with #1051

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants