feat: filtre utilisateurs analytics, améliorations dashboard + autres modifs
All checks were successful
Deploy Preprod / Build and Deploy to Preprod (push) Successful in 34s
All checks were successful
Deploy Preprod / Build and Deploy to Preprod (push) Successful in 34s
- Multiselect Kirby pour filtrer par utilisateur(s) - Données de test alignées sur les vrais comptes - Suppression bloc utilisateurs les plus actifs - Route get-data supporte le filtre emails - Améliorations UI filtres (layout dates + users) - Autres modifs : menu, router, dialog, deploy workflow Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
8a73da920f
commit
de104dc7dd
9 changed files with 243 additions and 42 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import { defineStore } from 'pinia';
|
||||
import { ref, computed, watch } from 'vue';
|
||||
import { useRoute } from 'vue-router';
|
||||
import { useAnalyticsStore } from './analytics';
|
||||
|
||||
export const useDialogStore = defineStore('dialog', () => {
|
||||
const content = ref(null);
|
||||
|
|
@ -148,6 +149,19 @@ export const useDialogStore = defineStore('dialog', () => {
|
|||
}
|
||||
}
|
||||
|
||||
// Analytics tracking pour ouverture de fichiers
|
||||
watch(openedFile, (newFile) => {
|
||||
if (newFile) {
|
||||
const analytics = useAnalyticsStore();
|
||||
const currentPath = route.path;
|
||||
analytics.trackVisit(
|
||||
`${currentPath}#file-${newFile.uuid}`,
|
||||
'modal-file',
|
||||
newFile.name || newFile.filename
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
return {
|
||||
content,
|
||||
activeTracks,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue