ToddZ
13 Dicembre 2025, 7:17pm
41
Penso che qui intendiamo “voti di rilascio” essenzialmente come “voti di riempimento”.
So che il limite di voti serve a farci dare priorità, ma sembra che togliere il voto dica “non mi interessa affatto questo adesso” , cosa che spesso non è vera
È una sorta di conflitto di punti di vista che potrebbe essere attenuato da qualcosa come:
1 Mi Piace
Moin
31 Marzo 2026, 8:36pm
42
Sembra che i conteggi dei voti su Meta siano stati modificati.
ToddZ
1 Aprile 2026, 7:57am
43
Sì, i limiti di voto sono stati rimossi il 15 marzo, ma credo che sia stato menzionato solo in un argomento dedicato ai moderatori.
2 Mi Piace
A titolo informativo, abbiamo aggiunto il supporto per “disabilitare/nascondere” tali limiti
committed 09:03AM - 26 Mar 26 UTC
TL-based vote limits add complexity to category setup and may discourage
users f… rom voting at all. Currently, setting a limit to 0 means "no
votes allowed" rather than "unlimited", forcing admins to use
workarounds like setting limits to 999.
Add a `topic_voting_enable_vote_limits` boolean setting (default: true)
that acts as a master toggle for all vote limits.
When disabled:
- Users can cast unlimited votes
- `vote_limit` and `votes_left` return nil throughout the stack
- The 6 dependent settings (TL0-TL4 limits + alert threshold) are hidden
in the admin UI via `depends_on`/`depends_behavior`
- The frontend hides "X/Y votes left" and shows "See your votes"
Backend: centralize limit logic in UserExtension (`can_vote?`,
`votes_left`, `vote_limit`) so the serializer and controller delegate
directly without conditionals. Extract duplicated response hash in
VotesController into `voting_response` helper.
Frontend: add `@tracked vote_limit` on the user model so `limitsEnabled`
reacts to AJAX responses. Sync `vote_limit` from server on vote/unvote.
Re-enabling limits after disabling is safe: users keep existing votes
but cannot add more until under their TL limit.
Ref - t/180367
1 Mi Piace