-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nepnep: sort feature and refactor a lot of things (#295)
* nepnep: sort feature and refactor a lot of things * remove comma at end of list * use Cow from alloc and fmt * SortOptions enum * use From trait * fmt * Delete ls
- Loading branch information
Showing
7 changed files
with
315 additions
and
94 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[ | ||
{ | ||
"type": "title" | ||
}, | ||
{ | ||
"type": "sort", | ||
"name": "Sort", | ||
"canAscend": false, | ||
"options": [ | ||
"A-Z", | ||
"Z-A", | ||
"Recently Released Chapter", | ||
"Year Released - Newest", | ||
"Year Released - Oldest", | ||
"Most Popular (All Time)", | ||
"Most Popular (Monthly)", | ||
"Least Popular" | ||
], | ||
"default": { | ||
"index": 0, | ||
"ascending": false | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.