django-webpush icon indicating copy to clipboard operation
django-webpush copied to clipboard

Consider an option to have only basic functionality in js and not force user to use specific UI

Open arogachev opened this issue 8 years ago • 0 comments

As I said in #16 in this comment maybe it will be better to have just basic functionality in JS and not force user to use specific UI because it's hard to cover all possible variations and nuances.

In this case user can build his own interface, but for subscribing / unsubscribing he just only needs to call one method. Also we can generate some events and changes in UI will be done by subscribing to these events. This way logic and presentation will become more separated from each other.

We still can have basic template with button and probably it will fit majority of users, but it can be easily overridden using Django template mechanism.

arogachev avatar Oct 10 '16 06:10 arogachev