nkanaev / yarr

yet another rss reader
MIT License
2.96k stars 224 forks source link

thanks #127

Closed ckp95 closed 1 year ago

ckp95 commented 1 year ago

this is really good. does almost exactly what I want in a feed reader. just thought I'd say thanks for it.

I had to patch it slightly to remove the unread indicators, because I don't like those. but other than that it's perfect.

if anyone else wants to do the same thing, clone the repo and comment out these two little parts:

diff --git a/src/assets/index.html b/src/assets/index.html
index 3b8cc7b..fceb04f 100644
--- a/src/assets/index.html
+++ b/src/assets/index.html
@@ -270,7 +270,7 @@
                     <div class="selectgroup-label d-flex flex-column">
                         <div style="line-height: 1; opacity: .7; margin-bottom: .1rem;" class="d-flex align-items-center">
                             <transition name="indicator">
-                                <span class="icon icon-small mr-1" v-if="item.status=='unread'">{% inline "circle-full.svg" %}</span>
+                                <!-- <span class="icon icon-small mr-1" v-if="item.status=='unread'">{% inline "circle-full.svg" %}</span> -->
                                 <span class="icon icon-small mr-1" v-if="item.status=='starred'">{% inline "star-full.svg" %}</span>
                             </transition>
                             <small class="flex-fill text-truncate mr-1">
diff --git a/src/assets/javascripts/app.js b/src/assets/javascripts/app.js
index a40cd1a..cba7d1b 100644
--- a/src/assets/javascripts/app.js
+++ b/src/assets/javascripts/app.js
@@ -298,9 +298,9 @@ var vm = new Vue({
         var unreadCount = Object.values(this.feedStats).reduce(function(acc, stat) {
           return acc + stat.unread
         }, 0)
-        if (unreadCount) {
-          title += ' ('+unreadCount+')'
-        }
+        // if (unreadCount) {
+        //   title += ' ('+unreadCount+')'
+        // }
         document.title = title
         this.computeStats()
       }, 500),
nkanaev commented 1 year ago

You're welcome.