Skip to content

feat(admin): draft a pdfformat page and 'create cards feature'

Marc-AntoineA requested to merge feat-admin-create-pdfformat into main

Description

Some new features developed while setting up "Fresque Oceane".

  • A new pdfformat page to manipulate pdfformats
  • New feature create card

PdfFormat edition

Route: <i18n>/pdfformat/<pdfFormatFilename> (ex /fr-FR/pdfformat/pdfformat-v6.0.json)

We can:

  • load (locally) a pdf and see its content
  • for each entry in pdfformat, edit pdfpage, cardid and cardside
  • create new entries, each new entry is initialized with pdfpage = pdfpage of previous entry + 1 ; cardside = opposite side of previous entry ; cardid = previous cardid
  • see in real time the pdf page of the current entry (see screenshot bellow)

We can’t

  • delete entries ^^
  • list all pdfformats
  • publish results (should be fixed), for now copy-paste gitlab request from network panel.

image#

Issues : Ref #212, ref #207, ref #223, closes #225 (closed), closes #220 (closed).

Documentation

  • Upgrade the version
  • Add entry to the changelog
  • Update documentation if needed

Generator

  • New or updated files?

Checklist before merge :

  • No remaining console.log
  • Version changed if new feature
  • Lint ok
  • all eslintConfig rules are on ("2") (except no-useless-escape / vue/no-mutating-props)

Tests

  • Admin tests ok ?
  • Add new unit test
Edited by Marc-AntoineA

Merge request reports

Loading