Giter Site home page Giter Site logo

Comments (10)

andrewngu avatar andrewngu commented on May 16, 2024

Makes sense 👍 Although I would prefer just using keydown instead of bringing in another library.

from sound-redux.

ghondar avatar ghondar commented on May 16, 2024

OK, I already have a pr by adding arrows events using keydown, also i added notifications to deezer style, in case you're in another tab.
Notification

from sound-redux.

andrewngu avatar andrewngu commented on May 16, 2024

Cool, but I'd prefer to have the notifications be a setting that users opt into. It'd be annoying if I suddenly started getting notifications without an explanation. What do you think?

from sound-redux.

ghondar avatar ghondar commented on May 16, 2024

of course, the first time load you page, ask if you want to receive notifications

from sound-redux.

ghondar avatar ghondar commented on May 16, 2024

Google will manage notifications

Notification Manager

from sound-redux.

andrewngu avatar andrewngu commented on May 16, 2024

Sounds good. I just remember turning on notifications for a website one time, not knowing exactly what would happen (new news articles) and got super annoyed. Is it possible to describe exactly what the notifications will do when asking for permission?

from sound-redux.

ghondar avatar ghondar commented on May 16, 2024

I think that it's not possible,When you run Notification.requestPermission, it only shows a popup saying: "https://soundredux.io" wants to show notifications -> Block or Allow.
requestPermission
request

from sound-redux.

wub avatar wub commented on May 16, 2024

What a few sites do, when they want to enable notifications, is have an "Enable notifications" checkbox/button underneath a paragraph or two explaining exactly what and why, in some kind of settings area.

It gives them an easy way to turn them on and off, and lets them know what it'll do.

from sound-redux.

wub avatar wub commented on May 16, 2024

Also, for those who don't know - shift + / shift + will go back and forth between songs, just like SoundCloud!

from sound-redux.

wub avatar wub commented on May 16, 2024

@andrewngu Should this be closed now?

from sound-redux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.