[RFC] Extend file type categories and makes these more usable
Currently, the "Types" in KFMD leaves out several categories of files, e.g.:
- 3D models (Blender, STEP, FreeCAD, OpenSCAD ...)
- Mechanical Engineering (GCode, ..., FreeCAD, OpenSCAD, ..., various FEM support formats, ...)
- Electrical engineering (Spice circuits, IBIS data, ..., part models (e.g. STEP), ...)
- Chemical sciences (https://www.ch.ic.ac.uk/chemime/)
- dito for Maths, Bioinformatics
- Geodata (KML, GPX, ..., DEM, ...)
If corresponding categories are added, these should also be organized in a meaningful way.
See e.g. "Document", all "Spreadsheets" and "Presentations" are "Documents", but there are also files which are only "Documents" (e.g. LibreOffice Writer), and there is text/plain
, which is both "Document" and "Text".
As can be seen when looking at the first 3 groups above, there is quite some overlap, but also some formats which only fit one of the groups.
From the UI perspective, there are 2 use cases:
- Flat list. Useful for autocompletion/suggestion, e.g. "type:d..." could be autocompleted to
type:document
when entering a search query. Also useful for e.g. baloosearch, the--help
could list the possible parameters for--type
. - Drop down. Could use either flat list as above, or something more hierarchical. The latter may be difficult to create.
(Note, a flat list is already available with a currently pending MR).
A possible new "top level" category is "Science/Engineering", grouping most of the above. But one could also argue "3D Models" are actually "Artistic".