feat: implement client-side dashboard for publicites with filtering, sorting, and pagination views

This commit is contained in:
Michael committed 2026-04-24 13:22:16 +02:00
1 parent 26ba285c0e
commit e1d79e66ed
3 files changed
+368 -199

No files matched your search

+6 -1
View File
@@ -19,7 +19,12 @@
"Bash(node -e \"let d=''; process.stdin.on\\('data',c=>d+=c\\); process.stdin.on\\('end',\\(\\)=>{ const j=JSON.parse\\(d\\); const rows=Array.isArray\\(j\\)?j:\\(j.propositions??j.data??j.items??[]\\); console.log\\('top-level keys:', Object.keys\\(j\\)\\); if\\(rows.length\\){ const s=rows[0]; console.log\\('row keys:', Object.keys\\(s\\).join\\(', '\\)\\); console.log\\('franco_ht:', s.franco_ht, '| franco:', s.franco, '| franco_atteint:', s.franco_atteint\\); } else console.log\\('empty'\\); }\\)\")",
"Bash(node -e \"let d=''; process.stdin.on\\('data',c=>d+=c\\); process.stdin.on\\('end',\\(\\)=>{ const j=JSON.parse\\(d\\); console.log\\('top-level keys:', Object.keys\\(j\\)\\); const resume=j.resume; console.log\\('resume type:', Array.isArray\\(resume\\)?'array':'object'\\); if\\(Array.isArray\\(resume\\)&&resume.length\\){ console.log\\('resume[0]:', JSON.stringify\\(resume[0],null,2\\)\\); } else { console.log\\('resume:', JSON.stringify\\(resume,null,2\\)\\); } }\\)\")",
"Bash(node -e \"let d=''; process.stdin.on\\('data',c=>d+=c\\); process.stdin.on\\('end',\\(\\)=>{ const j=JSON.parse\\(d\\); console.log\\('top-level keys:', Object.keys\\(j\\)\\); const resume=j.resume; console.log\\('resume type:', Array.isArray\\(resume\\)?'array':'object'\\); if\\(Array.isArray\\(resume\\)&&resume.length\\){ console.log\\('resume[0]:', JSON.stringify\\(resume[0]\\)\\); } else { console.log\\('resume:', JSON.stringify\\(resume\\)\\); } }\\)\")",
"Bash(node -e ' *)"
"Bash(node -e ' *)",
"Bash(xargs grep *)",
"Bash(node -e \"let d=''; process.stdin.on\\('data',c=>d+=c\\); process.stdin.on\\('end',\\(\\)=>{ const j=JSON.parse\\(d\\); console.log\\('top-level keys:', Object.keys\\(j\\)\\); console.log\\('total:', j.total, '| pages:', j.pages, '| page:', j.page, '| limit:', j.limit\\); const rows=j.publicites??[]; if\\(rows[0]\\) console.log\\('row keys:', Object.keys\\(rows[0]\\).join\\(', '\\)\\); }\\)\")",
"Bash(node -e \"let d=''; process.stdin.on\\('data',c=>d+=c\\); process.stdin.on\\('end',\\(\\)=>{ const j=JSON.parse\\(d\\); console.log\\('top-level keys:', Object.keys\\(j\\)\\); console.log\\('total:', j.total, '| pages:', j.pages\\); const rows=j.publicites??[]; if\\(rows[0]\\) { console.log\\('row keys:', Object.keys\\(rows[0]\\).join\\(', '\\)\\); console.log\\('statut field:', rows[0].statut\\); } }\\)\")",
"Bash(node -e \"let d=''; process.stdin.on\\('data',c=>d+=c\\); process.stdin.on\\('end',\\(\\)=>{ const j=JSON.parse\\(d\\); console.log\\('top-level keys:', Object.keys\\(j\\)\\); const rows=j.publicites??j.historique??j.data??[]; if\\(rows[0]\\) console.log\\('row keys:', Object.keys\\(rows[0]\\).join\\(', '\\)\\); console.log\\('total/count:', j.total??j.count\\); }\\)\")",
"Bash(node -e \"let d=''; process.stdin.on\\('data',c=>d+=c\\); process.stdin.on\\('end',\\(\\)=>{ const j=JSON.parse\\(d\\); console.log\\(JSON.stringify\\(j.publicites[0], null, 2\\)\\); }\\)\")"
]
}
}