mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
Add ability to sort plugins by added date on marketplace (#11993)
Co-authored-by: Charlie <xyhp915@qq.com>
This commit is contained in:
committed by
GitHub
parent
1cd561dbd0
commit
ebb985f78e
@@ -669,7 +669,11 @@
|
||||
|
||||
{:title (t :plugin/title "A - Z")
|
||||
:options {:on-click #(reset! *sort-by :letters)}
|
||||
:icon (ui/icon (aim-icon :letters))}]]
|
||||
:icon (ui/icon (aim-icon :letters))}
|
||||
|
||||
{:title (t :plugin/date-added)
|
||||
:options {:on-click #(reset! *sort-by :date-added)}
|
||||
:icon (ui/icon (aim-icon :date-added))}]]
|
||||
|
||||
(ui/button
|
||||
(ui/icon "arrows-sort")
|
||||
@@ -814,7 +818,7 @@
|
||||
(rum/local false ::fetching)
|
||||
(rum/local "" ::search-key)
|
||||
(rum/local :plugins ::category)
|
||||
(rum/local :default ::sort-by) ;; default (weighted) / downloads / stars / letters / updates
|
||||
(rum/local :default ::sort-by) ;; default (weighted) / downloads / stars / letters / updates / date-added
|
||||
(rum/local :default ::filter-by)
|
||||
(rum/local nil ::error)
|
||||
(rum/local nil ::cached-query-flag)
|
||||
|
||||
@@ -324,6 +324,7 @@
|
||||
:plugin/uninstall "Uninstall"
|
||||
:plugin/marketplace "Marketplace"
|
||||
:plugin/downloads "Downloads"
|
||||
:plugin/date-added "Newly added"
|
||||
:plugin/popular "Popular"
|
||||
:plugin/stars "Stars"
|
||||
:plugin/title "Title ({1})"
|
||||
|
||||
Reference in New Issue
Block a user