Voto MVP: definitivo, a pari merito, segreto e a tempo nell'app

Il pannello chiede conferma e non permette di cambiare il voto; con una parità in testa gli MVP
sono più d'uno; i conteggi vengono dalla vista mvp_voti_anonimi e il proprio voto dalla tabella;
il voto si chiude 24 ore dopo l'apertura.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
davideandClaude Sonnet 5.5 committed 2026-10-26 09:57:35 +01:00
1 parent e5fac24916
commit 127d5cb5b8
3 files changed
+169 -92

No files matched your search

+8 -1
View File
@@ -625,7 +625,14 @@ export type Database = {
};
};
Views: {
[_ in never]: never;
mvp_voti_anonimi: {
Row: {
match_id: string | null;
votato_id: string | null;
votato_nome: string | null;
};
Relationships: [];
};
};
Functions: {
has_role: {