better-xcloud icon indicating copy to clipboard operation
better-xcloud copied to clipboard

[Feature] Queue notification

Open PotatoPTT opened this issue 2 years ago • 1 comments

I'm using:

  • Device: PC
  • OS: Windows 11
  • Browser: Edge

I want to suggest this feature:
Some kind of notification when the queue is finished.

most of the time i minimize the window and forgot that i was in the queue so a little notification will help.

I've generated this code and put on line 4025 in your code, not a good implementation but works

if ('Notification' in window) { Notification.requestPermission().then(function (permission) { if (permission === 'granted') { var notification = new Notification('Game Ready', { body: 'Queue finished.' }); } }); } else { console.log('not supported!'); } image

PotatoPTT avatar Oct 16 '23 21:10 PotatoPTT

#150

PotatoPTT avatar Oct 19 '23 00:10 PotatoPTT