From 0e739d6711aeb8c3a4e8e93954c0e081f19348b3 Mon Sep 17 00:00:00 2001 From: Koushien Date: Fri, 28 Oct 2016 22:50:44 -0700 Subject: [PATCH 01/12] Let custom board navigation accept "rev" option. Explicitly add reversed hash commands and suggest option in settings description. --- src/General/Index.coffee | 18 ++++++++++++------ src/General/Settings/Advanced.html | 2 +- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/General/Index.coffee b/src/General/Index.coffee index 155ea87ab..7bde3661b 100644 --- a/src/General/Index.coffee +++ b/src/General/Index.coffee @@ -342,12 +342,18 @@ Index = 'all-pages': 'all pages' 'catalog': 'catalog' sort: - 'bump-order': 'bump' - 'last-reply': 'lastreply' - 'last-long-reply': 'lastlong' - 'creation-date': 'birth' - 'reply-count': 'replycount' - 'file-count': 'filecount' + 'bump-order': 'bump' + 'bump-order-rev': 'bump-rev' + 'last-reply': 'lastreply' + 'last-reply-rev': 'lastreply-rev' + 'last-long-reply': 'lastlong' + 'last-long-reply-rev': 'lastlong-rev' + 'creation-date': 'birth' + 'creation-date-rev': 'birth-rev' + 'reply-count': 'replycount' + 'reply-count-rev': 'replycount-rev' + 'file-count': 'filecount' + 'file-count-rev': 'filecount-rev' processHash: -> # XXX https://bugzilla.mozilla.org/show_bug.cgi?id=483304 diff --git a/src/General/Settings/Advanced.html b/src/General/Settings/Advanced.html index cb09ffc15..324e5e55c 100644 --- a/src/General/Settings/Advanced.html +++ b/src/General/Settings/Advanced.html @@ -40,7 +40,7 @@
Index-only link: g-index
Catalog-only link: g-catalog
Index mode: g-mode:"infinite scrolling"
-
Index sort: g-sort:"creation date"
+
Index sort: g-sort:"creation date rev"
External link: external-text:"Google","http://www.google.com"
Combinations are possible: g-index-text:"Technology Index"
Full board list toggle: toggle-all
From a1d2408dade030da970902dc31bfa3a2c56f32ba Mon Sep 17 00:00:00 2001 From: Koushien Date: Fri, 28 Oct 2016 22:52:04 -0700 Subject: [PATCH 02/12] Place reverse sort checkbox after Index dropdowns --- src/General/Index/NavLinks.html | 1 + src/css/style.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/General/Index/NavLinks.html b/src/General/Index/NavLinks.html index 90d1794fc..c458f35e0 100644 --- a/src/General/Index/NavLinks.html +++ b/src/General/Index/NavLinks.html @@ -6,6 +6,7 @@ × + × - +