SGA-A / c2c

Source code for the custom app exclusive to cc
MIT License
1 stars 0 forks source link

Tag filters #144

Open SGA-A opened 3 months ago

SGA-A commented 3 months ago

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.

SGA-A commented 2 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).

SGA-A commented 1 month ago

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.

SGA-A commented 6 days ago

SQL

The options to toggle between the two filters will be in a select alongside the paginator(s).

Option Names

  1. By date created: Recent tags come first
  2. Alphabetically: Special characters first, then from A onwards.