HEnquist / camillagui

GNU General Public License v3.0
9 stars 1 forks source link

proper table in config file listing, enable sorting on date #92

Open JWahle opened 7 months ago

JWahle commented 7 months ago

I pushed an implementation to the branch file_sorting (requires backend branch filter_import).

image

This solution should also be easy to extend to #91 - this might have been, what you meant in the first place with this requirement.

JWahle commented 7 months ago

@HEnquist I am currently working on integrating (React Data Table Component)[https://github.com/jbetancur/react-data-table-component]. It would be used in the filter file selection, files tab and also the config import. So don't bother with testing currently.

vco1 commented 2 weeks ago

A couple other suggestions for this part of CamillaGui.

  1. It would be nice if the config list didn't show the filenames, but the Title (if available) or, if the Title is unavailable, just the filename without the extension.
  2. In the list an [i] icon could be used to show extra information about the config, like description and date. Date is not very useful imo to permananetly show in the list.
  3. The boxes could be wider to give more room for the information and better align with the rest of the gui.
HEnquist commented 2 weeks ago
  1. It would be nice if the config list didn't show the filenames, but the Title (if available) or, if the Title is unavailable, just the filename without the extension.

I don't want to hide the filename, I think that will be confusing, but title could be added as a separate column.

  1. In the list an [i] icon could be used to show extra information about the config, like description and date. Date is not very useful imo to permananetly show in the list.

That is a good idea. It could be an new info button or just a tooltip appearing when hovering. I like to have the date since it allows sorting to get the latest file, or finding that config I made last Tuesday.

HEnquist commented 1 week ago

I added the config title. Hovering over the title shows the description. If a config doesn't have a title but has a description, it shows the first part of the description as title. configlisting