MC/docs/design/DMPAINT-CURATED-DESIGNS.md
2026-11-27 23:43:05 +00:00

2 KiB

DMPaint curated designs

Ticket 413 extends the existing standalone SVG-Edit workspace. It does not create a J.A.R.V.I.S. bridge, save user artwork on the server or modify accounts, clans or companies.

The library has five version-one designs:

Design Availability Editable elements
Desert crest Clan and company Shield, dunes, star, name and three colours
Caravan mark Clan and company Hexagonal mark, caravan motif, name and colours
Service seal Existing staff authority Existing SPost seal artwork inside an editable ring, name and colours
Service award Existing staff authority Existing Network Staff award artwork, ribbons, name and colours
Desert traveller All signed-in users Minecraft-style character, name, colours and hood/headscarf/armour starting outfits

Existing source artwork remains unchanged. POL seals and artwork are excluded. The service templates embed the existing PNG artwork directly in the SVG, so exported drawings have no remote image dependency. Those embedded insignia remain intact while the surrounding shapes and text can be edited.

Every template list, preview and SVG request rechecks the current session and existing staff permission. Rendering accepts only curated design IDs, six-digit colours, bounded escaped text and known outfits. Templates contain no scripts, remote resources or user-supplied SVG. These rules do not replace the existing editor's handling of files a user opens themselves.

Opening the library or changing its fields does not change the canvas. Loading a design into a changed canvas requires confirmation. Existing SVG and PNG download actions are reused. Download the SVG to retain editable vector shapes; PNG is the raster export. Manual upload to existing organisation settings remains the workflow.

Focused checks cover every design, ordinary/staff/anonymous access, cross-mode rejection, label escaping, colour injection, outfit variants and cancelled/confirmed dirty-canvas replacement through the real template route.