Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update metrics: track forum post tags, message channel category #307

Merged
merged 2 commits into from
Aug 19, 2023

Conversation

vcarl
Copy link
Member

@vcarl vcarl commented Aug 19, 2023

The Star Helper admin work has shown me that we could more effectively use our metrics to drive activity-based segments of the community if we can segment activity by channel group, i.e. by asking for a chart of the top 25 posters by message volume in the "Need Help" channel category, vs pulling out individual channel IDs to build the same chart.

Similarly, we could use channel tags to monitor usage of different tags. Right now we don't make much use of forums, but we're exploring a change to help channels that would more strongly emphasize them.

This should enable us to get MUCH more powerful tracking about participation, and set us up to do better reports by way of making channel categories more meaningful
@what-the-diff
Copy link

what-the-diff bot commented Aug 19, 2023

PR Summary

  • Addition of new function and event handlers in the stats feature
    The changes in the 'stats' feature now allow for applied tags on threads to be mapped to their corresponding tag names. This has been implemented through the addition of a new function named mapAppliedTagsToTagNames. The feature also includes a new constant titled postTagged and two new event handlers threadUpdate and threadCreate. These event handlers will activate the postTagged event whenever an update or creation action is performed on threads with applied tags.

  • Implementation of new function in the discord helper
    The 'discord' helper now has an efficient way to map applied tags on threads to their respective tag names. This is facilitated by the addition of a new function mapAppliedTagsToTagNames.

  • Addition of explanatory comment in the sets helper code set
    An instructive comment has been included in the 'sets' helper. This comment will aid in understanding that the difference function is meant to produce a list containing items present in Set A but missing in Set B.

@ghost
Copy link

ghost commented Aug 19, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@vcarl vcarl merged commit 71fce32 into main Aug 19, 2023
3 checks passed
@vcarl vcarl deleted the vc-category-stats branch August 19, 2023 21:00
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.

1 participant