-
Type: Improvement
-
Status: Resolved
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: 73.8
-
Fix Version/s: 73.11.1
-
Component/s: Documents, Ergonomy / UX / UI
-
Epic Link:
-
Tags:
-
Sprint:NOS 10.2.2, NOS 10.2.3
-
Story Points:5
Currently, people need to upload their doctype icons manually and create the tree structure if needed. This is cumbersome and should be made simpler.
TODO
In the doctype screen:
- Add a new SVG Icon option below them to upload / select the svg file to use for the icon in web ui
- Help label:
In Web UI, this icon is displayed in the document creation dialog for your document type.
AC
- SVG Icon option only shows up when web ui is among the dependencies
- When I select a SVG icon, I can only upload a svg file. Other formats are refused.
- When a file is uploaded, I can preview it securely (e.g. the attached test svg file should not be executed by triggering a preview in Studio)
- I can select an already uploaded svg for my document type icon
- When the bundle is generated, the svg is placed in the proper tree structure (created if needed) and named after the web ui convention
- An existing svg with this name is overwritten
- When I copy a doctype and copy succeeds, the svg is also copied in the designer resources with the new name
- An existing svg with this name is overwritten
- When I rename a doctype and renaming succeeds, the svg in Designer is renamed accordingly
- An existing svg with this name is overwritten
- When a doctype is deleted
- icon copy used for designer is removed as well
- svg icon is kept in the project resources
- is related to
-
NXS-4699 Fix incorrect SVG doctype icon name format
- Resolved
-
NXS-4601 Automatically sync label for document types in Designer
- Resolved
-
NXP-24541 Use document type svg icon instead of png for nuxeo-table
- Open
- is required by
-
NXS-4696 Cannot download Studio snapshot when a branding is created
- Closed
-
NXDOC-1547 Document icon type setup improvements
- Resolved