Open JWahle opened 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.
A couple other suggestions for this part of CamillaGui.
- 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.
- 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.
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.
I pushed an implementation to the branch
file_sorting
(requires backend branchfilter_import
).This solution should also be easy to extend to #91 - this might have been, what you meant in the first place with this requirement.