Some metrics (#7294)

* Add trending metrics

* Progress guide events

* Fix naming, improve existing events
This commit is contained in:
Eric Bailey
2024-12-27 16:21:17 -06:00
committed by GitHub
parent 8b7a331815
commit c6d26a0a9c
9 changed files with 57 additions and 15 deletions
@@ -79,7 +79,12 @@ function Inner() {
) : !trending?.topics ? null : (
<>
{trending.topics.slice(0, TRENDING_LIMIT).map(topic => (
<TrendingTopicLink key={topic.link} topic={topic}>
<TrendingTopicLink
key={topic.link}
topic={topic}
onPress={() => {
logEvent('trendingTopic:click', {context: 'sidebar'})
}}>
{({hovered}) => (
<TrendingTopic
size="small"