aboutsummaryrefslogtreecommitdiffhomepage
path: root/generate.go
diff options
context:
space:
mode:
authorGravatar Carl Helmertz <carl.helmertz@elvaco.se>2018-10-14 00:43:09 +0200
committerGravatar Frédéric Guillot <fred@miniflux.net>2018-10-19 20:05:26 -0700
commit15a11c3da98a5375fad22c7cdeaa73d073bb473d (patch)
treea291e9515f95c7987c6a0711c4688998e9908567 /generate.go
parentb8f874a37d5ce57fb139e857b5cbd2276da46714 (diff)
Unsubscribe from feed through link or "#"
After importing old OPML files, you may discover that many feeds are obsolete or uninteresting. You list the feeds entries and determine that you want to unsubscribe. This needs three clicks (edit feed, delete, confirm) and requires moving the mouse to hit the different targets. This quickly becomes tiring, if you are up to possibly deleting hundreds of feeds. One mediation, introduced in this commit, is to add an unsubscribe link to each feed's entry listing view, and also adding a keyboard shortcut. The keyboard shortcut "#" is: * longer than one keystroke (requires shift) * hard to type by accident * used in Google products (thanks for the hint @fguillot) In an effort to try to reduce the number of accidental feed unsubscriptions.
Diffstat (limited to 'generate.go')
-rw-r--r--generate.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/generate.go b/generate.go
index a06b68e..ac1c3cd 100644
--- a/generate.go
+++ b/generate.go
@@ -194,6 +194,7 @@ func main() {
"ui/static/js/request_builder.js",
"ui/static/js/unread_counter_handler.js",
"ui/static/js/entry_handler.js",
+ "ui/static/js/feed_handler.js",
"ui/static/js/confirm_handler.js",
"ui/static/js/menu_handler.js",
"ui/static/js/modal_handler.js",