From c923fda8c9b0ddc141ab1c22b35cb984c2e30f48 Mon Sep 17 00:00:00 2001 From: wn_ Date: Sun, 5 Mar 2023 20:03:35 +0000 Subject: Also use friendly names for special feed+cat IDs in the frontend. --- js/Feeds.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'js/Feeds.js') diff --git a/js/Feeds.js b/js/Feeds.js index 42641dc74..d84255310 100644 --- a/js/Feeds.js +++ b/js/Feeds.js @@ -3,6 +3,19 @@ /* global __, App, Headlines, xhr, dojo, dijit, fox, PluginHost, Notify, fox */ const Feeds = { + FEED_ARCHIVED: 0, + FEED_STARRED: -1, + FEED_PUBLISHED: -2, + FEED_FRESH: -3, + FEED_ALL: -4, + FEED_NOTHING: -5, + FEED_RECENTLY_READ: -6, + FEED_ERROR: -7, + CATEGORY_UNCATEGORIZED: 0, + CATEGORY_SPECIAL: -1, + CATEGORY_LABELS: -2, + CATEGORY_ALL_EXCEPT_VIRTUAL: -3, + CATEGORY_ALL: -4, _default_feed_id: -3, counters_last_request: 0, _active_feed_id: undefined, -- cgit v1.2.3-54-g00ecf