Open SGA-A opened 3 months ago
By default, we could always sort tags by date creation, and then add an optional parameter to control whether or not it should be ordered alphabetically. This could even be made a setting?
This will become a setting. We initially went down the parameter route, and well, it was quickly reconsidered when we discovered that prefix commands are now impossible to use alongside it.
Some creativity is required here. It could be made a setting and be customizable at any time when interacting with the command, through an item (select) within the paginator view. One select for displaying the filter (what to sort by) and possibly another one for displaying the order method (ascending or descending).
We will also most likely add buttons to the view enabling you to change your "default order by" setting (date created, alphabetical) and "default tag order" setting (ascending/descending) without having to change the setting on a per-view basis.
ORDER BY rowid DESC
ORDER BY name ASC
The ASC
is not really needed because it defaults to ascending order, but it is better to be explicit.
The options to toggle between the two filters will be in a select alongside the paginator(s).
Is your feature request related to a problem? Please describe. Sometimes I want to look for tags that I recently created because they are more relevant to me. Though in the current system, it is stored alphabetically.
Describe the solution you'd like
Describe alternatives you have considered By default, we could always sort tags by date creation,
and then add an optional parameter to control whether or not it should be ordered alphabetically.This could even be made a setting?Additional context With tags, you can store text that may be useful to you for later retrieval. If you made a tag recently, you would expect to use it sooner than later. This functionality makes it possible.