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

Feat(QRCode): Enhance 'Scan QR Code From Screen' notifications # #1250 #1501

Merged
merged 3 commits into from
Oct 29, 2024

Conversation

hiddenSharp429
Copy link
Contributor

Improve the clarity of notifications in the QR code scanning feature:

  1. Permission handling:
    • Show notification when screen recording permission is missing
    • Automatically open system settings for permission grant

feature1

  1. Enhanced scanning status notifications: When no QR code found:

    • Title: "Scanned X displays"
    • Subtitle: "No QR codes found"
    • Body: "Try adjusting the QR code position on your screen"

    When invalid QR codes found:

    • Title: "Found X QR code(s)"
    • Subtitle: "No valid Shadowsocks URLs"
    • Body: "QR codes found are not Shadowsocks configuration"

    When valid QR codes found:

    • Title: "Found X Shadowsocks URL(s)"
    • Subtitle: "Scanned X displays, found X QR codes"
    • Body: "Successfully added X server configuration(s)"

feature2

…owsocks#1250

Improve the clarity of notifications in the QR code scanning feature:

1. Permission handling:
   - Show notification when screen recording permission is missing
   - Automatically open system settings for permission grant

2. Enhanced scanning status notifications:
   When no QR code found:
   - Title: "Scanned X displays"
   - Subtitle: "No QR codes found"
   - Body: "Try adjusting the QR code position on your screen"

   When invalid QR codes found:
   - Title: "Found X QR code(s)"
   - Subtitle: "No valid Shadowsocks URLs"
   - Body: "QR codes found are not Shadowsocks configuration"

   When valid QR codes found:
   - Title: "Found X Shadowsocks URL(s)"
   - Subtitle: "Scanned X displays, found X QR codes"
   - Body: "Successfully added X server configuration(s)"
@hiddenSharp429
Copy link
Contributor Author

Resolve invalid QR code scanning issue #1250

@hiddenSharp429
Copy link
Contributor Author

@lkebin I saw a recent PR mentioned you, Could you help review this PR?

@hiddenSharp429
Copy link
Contributor Author

The following error was encountered during the CI build process:

Makefile.am:21: error: Libtool library used but 'LIBTOOL' is undefined

This seems to be a configuration issue with the build system and has nothing to do with my code changes. Should I resubmit the PR?

@hiddenSharp429
Copy link
Contributor Author

@lkebin Hi maintainers,Could you please help to re-run the workflow? I noticed the build failed due to some configuration issues, but I don't have the permissions to trigger a rebuild myself.Thank you for your time and code review!

@lkebin lkebin merged commit 719203a into shadowsocks:develop Oct 29, 2024
1 check passed
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.

2 participants