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

chore: implement event grouping in the event timeline #8254

Merged
merged 3 commits into from
Sep 26, 2024

Conversation

nunogois
Copy link
Member

@nunogois nunogois commented Sep 25, 2024

https://linear.app/unleash/issue/2-2663/implement-event-grouping-when-multiple-events-happen-in-a-short-period

This PR introduces a grouping logic for timeline events, enhancing the way events are displayed when they occur close to each other.

We also updated and refactored components to support handling groups of events rather than individual events.

Also includes some minor code cleanups and optimizations as part of general refactoring efforts (scouting).

image

Copy link

vercel bot commented Sep 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 26, 2024 10:09am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Sep 26, 2024 10:09am

Copy link
Contributor

github-actions bot commented Sep 25, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

components,
...props
}: ComponentProps<typeof ReactMarkdown>) => (
<ReactMarkdown components={{ a: LinkRenderer, ...components }} {...props} />
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For anyone coming across this: This was part of an experiment where we customized em components within our markdown renderer, in this case specifically for the timeline event tooltip.

Even though we ended up choosing a different approach, we still see this as an improvement (scouting) that could be helpful for future cases where we need to override specific components in the same way.

@nunogois nunogois marked this pull request as ready for review September 26, 2024 13:47
@nunogois nunogois requested a review from daveleek September 26, 2024 13:47
Copy link
Contributor

@daveleek daveleek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! :shipit:

@nunogois nunogois merged commit d161fb4 into main Sep 26, 2024
10 of 11 checks passed
@nunogois nunogois deleted the chore-event-timeline-event-grouping branch September 26, 2024 13:48
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