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

Add breadcrumb ordering #8034

Merged
merged 1 commit into from
May 27, 2024
Merged

Conversation

drew2a
Copy link
Collaborator

@drew2a drew2a commented May 22, 2024

We have noticed that breadcrumbs are not always sorted by timestamp:

image

This PR fixes it by Introducing a new feature to order breadcrumbs by timestamp in ascending order. This is achieved by adding a new function, order_by_utc_time, which sorts the breadcrumbs based on their timestamps.

Ref:

@drew2a drew2a self-assigned this May 22, 2024
@drew2a drew2a added this to the 7.15.0 milestone May 22, 2024
@drew2a drew2a marked this pull request as ready for review May 23, 2024 09:12
@drew2a drew2a requested a review from a team as a code owner May 23, 2024 09:12
@drew2a drew2a requested review from kozlovsky and removed request for a team May 23, 2024 09:12
Copy link
Collaborator

@kozlovsky kozlovsky left a comment

Choose a reason for hiding this comment

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

Unfortunately, it does not work: https://sentry.tribler.org/organizations/tribler/issues/2658/events/e962cfb599ab49ddbf9f874d1720642d/

You can see that breadcrumbs still come in two independently sorted groups.

(As a side note, I noticed that the user comment is currently omitted from the Sentry report, even when included. It is not related to the current PR, I will investigate it)

@drew2a
Copy link
Collaborator Author

drew2a commented May 24, 2024

You are right. It is strange. I'll investigate further.

@drew2a
Copy link
Collaborator Author

drew2a commented May 24, 2024

@kozlovsky
Copy link
Collaborator

Copy link
Collaborator

@kozlovsky kozlovsky left a comment

Choose a reason for hiding this comment

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

It seems it is fixed now!

@drew2a drew2a merged commit 88e7778 into Tribler:main May 27, 2024
20 checks passed
@drew2a drew2a deleted the feature/breadcrumbs_sort branch May 27, 2024 11:40
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.

None yet

2 participants