Extra Printing Options — Suggestions
S-01: Add integration test for CSV upload with display-name aliases
Section titled “S-01: Add integration test for CSV upload with display-name aliases”Unit tests cover the parseScalar alias resolution in RowTest.kt, but there is no end-to-end test that uploads a CSV file using display names like “Quarter-Index” and verifies the resulting item has cardSize = X_SMALL. The aliased test harness (ItemCsvUploadServiceAliasedTest) could be extended with a value-alias round.
S-02: Consolidate Breadcrumb X_SMALL template
Section titled “S-02: Consolidate Breadcrumb X_SMALL template”Breadcrumb X_SMALL and SMALL share the same Documint template ID (695eb8be226280f110894177). If a distinct template is created for X_SMALL in the future, only the spreadsheet and pdf-templates.json need updating — no code changes required due to the configuration-driven architecture.
S-03: Add active flag to the print API response
Section titled “S-03: Add active flag to the print API response”Currently active is stored in PrintingTemplateConfiguration but not exposed via any API endpoint. If the frontend needs to fetch active/inactive status at mount time (rather than hardcoding from the spreadsheet), a lightweight endpoint or inclusion in the existing configuration endpoint would avoid frontend-backend drift.
S-04: Automate spreadsheet-to-JSON synchronization
Section titled “S-04: Automate spreadsheet-to-JSON synchronization”The pdf-templates.json file is manually synchronized with the Documint spreadsheet. A build-time script that reads the spreadsheet via the Google Sheets API and generates the JSON would eliminate drift and reduce manual effort for future template additions.
Copyright: (c) Arda Systems 2025-2026, All rights reserved
Copyright: © Arda Systems 2025-2026, All rights reserved