1
0

overhaul trending polls

* Split into local, global, and completed sections
* Don't require credential, but check for local/global timeline perms
* Fix rate limit
* Return polls where the current user has already voted
* Return non-public polls if the user has permission to view them
* Apply user/instance blocks
* Fetch polls + notes + users in a single step to speed up pack
This commit is contained in:
Hazelnoot
2025-05-11 03:34:47 -04:00
parent b05b4ec74d
commit 3c949f0b81
6 changed files with 140 additions and 24 deletions
+4
View File
@@ -572,6 +572,10 @@ bubbleTimelineMustBeEnabled: "Note: the bubble timeline is hidden by default, an
popularUsersGlobal: "Users popular on the global network"
popularUsersLocal: "Users popular on {name}"
pollsOnLocal: "Polls trending on {host}"
pollsOnRemote: "Polls trending on the global network"
pollsExpired: "Polls that have ended recently"
silenced: "Silenced"
totalFollowers: "Total followers"
totalFollowing: "Total following"