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

Wait for login before ask for notification permission #4935

Merged
merged 3 commits into from
Jan 22, 2024

Conversation

SimonTen
Copy link
Contributor

@SimonTen SimonTen commented Nov 3, 2023

Changes
Previously the user was interrupted on first login with a popup to allow notifications.

Now the popup component checks if there is a current user and if not it will listen to the login event, to register the eventlisteners wich trigger the permission request

Issues
Fixes: #3243

@SimonTen SimonTen requested a review from a team as a code owner November 3, 2023 23:00
Copy link

sonarcloud bot commented Nov 6, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@thornbill thornbill added this to In progress in Release 10.9.z via automation Jan 12, 2024
@thornbill thornbill added this to the v10.9.0 milestone Jan 12, 2024
@thornbill thornbill added the enhancement Improve existing functionality or small fixes label Jan 18, 2024
Simon Tenbusch and others added 3 commits January 18, 2024 16:10
Previously the user is interrupted on first login with a popup to
allow notifications. Now the popup component checks if the user is
logged in already an if not it will listen to input event.

Resolves: jellyfin#3243
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
Copy link

sonarcloud bot commented Jan 18, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.3% Duplication on New Code

See analysis details on SonarCloud

@jellyfin-bot
Copy link
Collaborator

Cloudflare Pages deployment

Latest commit 42d8d9f
Status ✅ Deployed!
Preview URL https://2727718f.jellyfin-web.pages.dev
Type 🔀 Preview

View build logs
View bot logs

@thornbill thornbill merged commit 358b1f5 into jellyfin:master Jan 22, 2024
22 checks passed
Release 10.9.z automation moved this from In progress to Done Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve existing functionality or small fixes
Projects
Development

Successfully merging this pull request may close these issues.

Notification permission prompt interrupts input on first use
4 participants