Skip to content

show user vote statistics on user resource table#981

Merged
Speidy674 merged 5 commits into
masterfrom
justink/user-vote-count-overview
Jul 9, 2026
Merged

show user vote statistics on user resource table#981
Speidy674 merged 5 commits into
masterfrom
justink/user-vote-count-overview

Conversation

@justinkluever

@justinkluever justinkluever commented Jul 9, 2026

Copy link
Copy Markdown
Member

we will now be able to see the total, average per day and average per week vote counts of a user on the users table.

since we dont need that information except for verifying that jury are active i also added a simple 0 placeholder value if these columns are never visible (or sorted by) to keep load times minimal as these new sub queries can take 300+ ms and i cant be bothered optimizing the query further as this is more a edge case thing for yura anyway.

the statistics will be scoped to the maximum voting age of clips as votes after that time frame may be archived in the future.

these columns are disabled by default.

image

@justinkluever justinkluever added backend: filament Backend Features related to Filament Size: Very Small This is considered very fast to Review/Implement (usually <50+) labels Jul 9, 2026
@Speidy674 Speidy674 enabled auto-merge July 9, 2026 17:46
@Speidy674 Speidy674 merged commit 2b5c7f4 into master Jul 9, 2026
5 checks passed
@Speidy674 Speidy674 deleted the justink/user-vote-count-overview branch July 9, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend: filament Backend Features related to Filament Size: Very Small This is considered very fast to Review/Implement (usually <50+)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants