Skip to content

Conversation

@vcarl
Copy link
Member

@vcarl vcarl commented Oct 17, 2025

I had begun replacing this with something generalized, but didn't finish it! For this grading session in Reactiflux, let's use hardcoded stuff again

@what-the-diff
Copy link

what-the-diff bot commented Oct 17, 2025

PR Summary

  • Modification on Comment Labels for Channel Categories
    The update removed the comment block and introduced an ALLOWED_CATEGORIES array that triggers actions allowed in particular channel categories.

  • Establishment of ALLOWED_CHANNELS Definition
    The implementation included replacing the prior comment with an actual array definition which is ALLOWED_CHANNELS.

  • Activation of Filtering Logic Inside getUserMessageAnalytics
    The function getUserMessageAnalytics now enables filtering by taking into account the ALLOWED_CHANNELS and ALLOWED_CATEGORIES. This has been applied to multiple query sections within the function.

  • Inclusion of Logging System
    The new update incorporates a logging setup. Now, a console log displays the complete SQL query.

  • Improvement in Channel Filtering In getTopParticipants Function
    Significant changes are made to the getTopParticipants function. Now the base query applies the new filtering rule and the old commented logic has been discarded.

@vcarl vcarl merged commit ceaa940 into main Oct 17, 2025
5 checks passed
@vcarl vcarl deleted the vc-sh branch October 17, 2025 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants