Skip to content

feat(frontend): form validation, error messages, back buttons and translations

Ines Soltani requested to merge feat/fixbugsfront into Dev
  • Shared validation (lib/validation.ts, useFormValidation, FieldError) on ~45 forms: required fields, email, phone, tax ID, RIB/IBAN/SWIFT, amounts, dates; server errors shown with their real reason (toastApiError)
  • Pages that fail to load now show a pop-up instead of an empty list (global query error handler, lib/queryClient.ts)
  • Back arrow on invoice/quotation/PO/supplier invoice create and edit pages; signing document page no longer uses browser history
  • Signing envelope creation opens the created draft when a later step fails (no duplicate envelopes on retry); error pop-up lists the problems
  • Verify page: 25 MB limit (same as server), proper wrong-type message
  • Admin users list: company and sign-up date columns were empty (field names)
  • Admin sidebar scrolls instead of running under the user block
  • Icons/TND suffix no longer shift when a field error is shown (16 fields)
  • Translations: Platform Settings, admin users form, EasySign menu, invoice XML labels, common.add in French; dates follow the interface language
  • Test guarding against raw i18n keys in French
  • DOCS: El Fatoora (TTN) compliance analysis (docx + pdf)

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

Merge request reports