Details
-
Story
-
Resolution: Won't Do
-
Neutral
-
None
-
None
-
None
Description
In the Resource files app, the
- "Type" column denotes the type of resource file. We will differentiate between:
- "Template" for any type of template
- "Configuration" for any type of config-by-file resource
- "Text" for rich and plain text and Word documents
- "Web resource" for CSS/SASS/HTML/JS and images.
- "Other" for any other type of file found.
- "Format" column shows a human-readable version of the file format used by the resource file.
- We use "YAML", "Freemarker", "Text", "CSS", "Javascript" and the like instead of mere mime-types.
The resource file type connects with the use cases identified for configuring Magnolia (configuration, resources). It will eventually also be used for filtering in a future list view (see also here). It will also be used as a differentiator for instantiating the Resource files app multiple times.
It's probably enough to have a simple algorithm that just takes the file extensions into account. I doubt there's much more needed for a first take.
Note that there's actually a 1:n relationship between "type" and "format" (not 1:1):
- Template: Freemarker, JSP
- Configuration: YAML, (Groovy)
- Web resource: CSS/SASS/LESS, Javascript, HTML, images
- Text: Text, Rich-text, Word
- Others: all other type of files not recognized to be among the types above.
Acceptance criteria:
- human readable values in "type" and "format" columns
- "type" can act as set for more than one "format" value, which helps to work with resources from different angles (web dev, admin, configuration)
Checklists
Attachments
Issue Links
- is depended upon by
-
MGNLRES-191 Visual improvements for the Resource files app
-
- Closed
-
-
MGNLRES-204 Add icons to indicate different resource types
-
- Closed
-
- Wiki Page
-
Wiki Page Loading...