Commit graph

100 commits

Author SHA1 Message Date
isUnknown
95a8bf99cb build plugin refresh cache 2026-01-15 12:19:35 +01:00
isUnknown
378af9ac96 Fix : affichage progression dans le texte du bouton
La div en dessous ne s'affichait pas dans le panel Kirby.
La progression s'affiche maintenant directement dans le bouton :
"En cours 0%" → "En cours 20%" → "En cours 100%" → "Terminé"

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-15 12:18:33 +01:00
isUnknown
4669f03f16 Amélioration affichage progression du refresh cache
Ajout d'une ligne de texte sous le bouton pour afficher la progression :
- "Traitement : 10/50 projets (20%)" pendant le traitement
- "50 projets mis à jour avec succès" à la fin
- Tooltip aussi mis à jour avec la progression

Le bouton affiche "En cours…" et la progression détaillée est en dessous.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-15 12:13:26 +01:00
isUnknown
a57b0c203a Optimisation du refresh cache avec batch processing
Problème : Le refresh cache de tous les projets timeout côté serveur à cause
du trop grand nombre de projets à traiter en une seule requête.

Solution : Batch processing avec indicateur de progression
- Backend : traite 10 projets par batch avec offset/limit
- Frontend : fait plusieurs requêtes successives et affiche la progression
- Timeout réduit à 60s par batch au lieu de illimité
- Bouton désactivé pendant le traitement
- Ajout invalidateNotificationsCache() pour vider aussi ce cache

Affichage : "15/50 (30%)" pendant le traitement, puis "Terminé (50)"

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-15 12:08:13 +01:00
isUnknown
86db1f5a0c Fix collectLight() : inclure author, text, location pour l'affichage
Problème : collectLight() ne retournait que id/type/isRead/date, causant
notification.author undefined dans le frontend.

Solution : Inclure tous les champs nécessaires à l'affichage (author, text,
location) mais toujours alléger en excluant les gros détails inutiles.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-15 11:55:17 +01:00
isUnknown
0a980603a4 Ajout de collectLight() pour optimiser le chargement du listing des projets
Problème : projects.json.php causait un dépassement mémoire en collectant
toutes les notifications complètes (avec author, location, text, etc.) pour
tous les projets.

Solution : Nouvelle méthode collectLight() qui ne retourne que les données
minimales nécessaires au frontend pour afficher les indicateurs :
- id, type, isRead, date
- location.project.uri (pour le filtrage)

Les détails complets sont toujours chargés dans project.json.php individuel.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-15 11:18:59 +01:00
isUnknown
6ff59e9b07 Fix : URL correcte pour notifications de brief validé depuis PDF + redirect briefs vides
Problème 1 : Les notifications de brief validé depuis un PDF renvoyaient vers
/projects/xxx/client-brief au lieu de l'URL complète avec dialog et fileIndex.

Problème 2 : Les URL /projects/xxx/client-brief pour des briefs non créés
affichaient une page vide au lieu de rediriger vers le kanban.

Solutions :
- Stocker validationDialogUri lors de la validation du brief
- Utiliser ce dialogUri dans ContentProvider et Notifications.vue
- Rediriger vers le projet parent si brief vide et non validé

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-15 10:44:30 +01:00
isUnknown
a7d315942a Refonte du système de notifications : passage aux notifications dérivées
Remplace le système de notifications stockées par un système de providers
qui dérivent les notifications des données existantes (commentaires, réponses,
demandes de projet, demandes de rendez-vous, validations de brief).

- Ajout du NotificationCollector et de l'interface NotificationProvider
- Création de 5 providers : Comment, Reply, ProjectRequest, AppointmentRequest, Content
- Métadonnées de notifications stockées directement sur les entités source
- Nouvelles routes mark-as-read et mark-all-read
- Mise à jour du frontend pour le nouveau système
- Route de migration pour les données existantes

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 10:31:31 +01:00
isUnknown
33ec908a23 merge main -> preprod 2025-10-05 17:31:53 +02:00
isUnknown
5deb07f09d #170 2025-10-02 12:42:15 +02:00
isUnknown
c11a85e7f8 vite config : ignore /local and /public/** to improve perf 2025-10-02 09:53:59 +02:00
isUnknown
ec1acc7671 CI : fix dep conflict 2025-09-24 09:32:30 +02:00
isUnknown
e185d15815 node : update vite plugin-vue 2025-09-24 09:17:59 +02:00
isUnknown
b1f7854510 refresh cache button plugin : add last cache update date and time on button title 2025-09-24 09:13:04 +02:00
isUnknown
3c9eed7804 remove refresh cache button plugin 2025-09-23 08:20:50 +02:00
isUnknown
2e0f28a13f #164 fix comment update 2025-09-23 08:20:17 +02:00
isUnknown
9a86d41254 update kirby to v5 and add refresh cache panel view button 2025-09-10 14:28:38 +02:00
isUnknown
0d8821f3a0 #156 - virtual samples : preserve views files original quality (only convert to webp) 2025-09-03 18:32:59 +02:00
isUnknown
441323e0f5 fix cache 2025-05-27 11:39:20 +02:00
isUnknown
1064432984 improve cache system 2025-05-26 13:48:04 +02:00
isUnknown
c29906f306 #144 2025-04-04 14:58:49 +02:00
isUnknown
37a978763c #128 - add position check 2025-02-19 09:38:15 +01:00
isUnknown
d022a9094b comments : do not add duplicate comments 2025-02-11 18:45:23 +01:00
isUnknown
f47886ccf0 Revert "Revert "kaban : fix comments count for virtual sample step""
This reverts commit 37b0175941.
2025-02-09 10:57:25 +01:00
isUnknown
37b0175941 Revert "kaban : fix comments count for virtual sample step"
This reverts commit 57b5ee3949.
2025-02-09 10:07:15 +01:00
isUnknown
57b5ee3949 kaban : fix comments count for virtual sample step 2025-02-09 09:52:57 +01:00
isUnknown
1ae2964d58 Revert "improve comments system"
This reverts commit e55eb48f45.
2025-01-28 09:47:58 +01:00
isUnknown
e55eb48f45 improve comments system 2025-01-28 09:37:33 +01:00
isUnknown
f5cdfba421 DTL custom mention and comment grades 2025-01-27 20:18:59 +01:00
isUnknown
46b0e8a4e0 DTL proposals : add custom titles 2025-01-27 15:51:26 +01:00
isUnknown
345bbfea1b DTL panel : open proposal corresponding to dialog working for all steps 2025-01-27 11:23:07 +01:00
isUnknown
c2d00e0edf DTL panel : show proposal corresponding to dialog working for virtual sample (dynamic and static) 2025-01-27 11:23:07 +01:00
841f872aff fix: add label to indicators 2025-01-23 18:48:34 +01:00
isUnknown
30fbc0e4e8 kanban > steps : add dtl indicator 2025-01-23 17:39:40 +01:00
isUnknown
7038185e7f read project creation request notification working 2025-01-23 16:30:17 +01:00
isUnknown
c75c5e1d8a project creation request notification working 2025-01-23 16:16:51 +01:00
24f807abbd fix: leaf icon 2025-01-23 12:28:26 +01:00
isUnknown
28804ceba1 save DTL 2025-01-23 12:23:14 +01:00
isUnknown
c2314e6b8e design to light button and panel working without indicators 2025-01-22 13:25:34 +01:00
isUnknown
ef09a04b5e read all working 2025-01-15 16:27:09 +01:00
isUnknown
0b472988a2 comments working 2025-01-15 16:27:08 +01:00
isUnknown
246d21f85a read comment notification working 2025-01-15 16:27:08 +01:00
isUnknown
9222069ef5 create and delete notification for a project working 2025-01-15 16:27:08 +01:00
isUnknown
8c6e21c707 start linking notification to project based of project page UUID 2025-01-15 16:27:08 +01:00
isUnknown
cb1f842fc9 fix #69 2025-01-07 16:54:08 +01:00
isUnknown
dd6eff2904 delete reply working 2025-01-07 15:58:52 +01:00
isUnknown
6cc8325d2b #88 - edit comment fonctional but not styled 2025-01-07 15:19:50 +01:00
isUnknown
f790653fcf reply comment on 360 working 2024-12-20 12:42:46 +01:00
isUnknown
cdeebbf8c8 finish client brief step 2024-12-20 07:19:46 +01:00
isUnknown
c578538fe0 #59 2024-12-19 19:27:38 +01:00