feat: refactor personal document management to use server-side pagination, grouping, and filtering

This commit is contained in:
estifanos
2026-08-28 11:17:25 +00:00
parent 6f9986acef
commit bf083bff82
5 changed files with 299 additions and 101 deletions

View File

@@ -1374,6 +1374,16 @@ export const am: Translations = {
"አመልካቹ በእያንዳንዱ ማመልከቻ ላይ ከመስቀል ይልቅ በ\u2018ሰነዶቼ\u2019 ውስጥ አንድ ጊዜ የሚያስቀምጣቸው የማንነትና የትምህርት ሰነዶች። ለተወሰኑ የፈቃድ አይነቶች ከወሰኑት፣ እነዚያን የሥራ ዘርፍ ያሳወቁ አመልካቾች ብቻ ይጠየቃሉ።",
add: "የግል ሰነድ ጨምር",
empty: "እስካሁን የተዋቀረ የግል ሰነድ የለም።",
searchPlaceholder: "በስም ወይም በቁልፍ ይፈልጉ",
moreTypes: " +{{count}} ተጨማሪ",
columns: {
document: "ሰነድ",
actions: "ድርጊቶች",
},
filterAny: "ማንኛውም የፈቃድ አይነት",
filterGlobal: "ለሁሉም ፈቃዶች የሚሆኑ ብቻ",
noMatch: "በእነዚህ ማጣሪያዎች የሚመጣጠን የግል ሰነድ የለም።",
clearFilters: "ማጣሪያዎችን አጽዳ",
fileCount_one: "{{count}} ፋይል",
fileCount_other: "{{count}} ፋይሎች",
deleteWarning:

View File

@@ -1380,6 +1380,16 @@ export const en = {
'Identity and education documents an applicant keeps once, in My Documents, instead of uploading with every application. Scope one to licence types and only applicants who declared those modes of operation are asked for it.',
add: 'Add personal document',
empty: 'No personal documents configured yet.',
searchPlaceholder: 'Search by name or key',
moreTypes: ' +{{count}} more',
columns: {
document: 'Document',
actions: 'Actions',
},
filterAny: 'Any licence type',
filterGlobal: 'All-licence documents only',
noMatch: 'No personal document matches those filters.',
clearFilters: 'Clear filters',
fileCount_one: '{{count}} file',
fileCount_other: '{{count}} files',
deleteWarning: