Skip to content

Conversation

@jakehwll
Copy link
Contributor

@jakehwll jakehwll commented Nov 13, 2025

This pull-request simply implements a new field within our Request Logs details view where-in we describe back to the user how long their request took based on the end_date - start_date in a human-like way. Users can hover the value to see the title= for the true value.

CleanShot 2025-11-13 at 11 51 56@2x

@jakehwll jakehwll changed the title Feature - duration to the Request Logs details feature: duration to the Request Logs details Nov 13, 2025
@jakehwll jakehwll changed the title feature: duration to the Request Logs details feat: duration to the Request Logs details Nov 13, 2025
@jakehwll jakehwll changed the title feat: duration to the Request Logs details feat: add duration to the Request Logs details Nov 13, 2025
Comment on lines 38 to 41
const duration =
interception.ended_at &&
new Date(interception.ended_at).getTime() -
new Date(interception.started_at).getTime();
Copy link
Member

Choose a reason for hiding this comment

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

Could you clamp this to zero if it's somehow negative?

@jakehwll jakehwll merged commit f559e51 into main Nov 13, 2025
31 checks passed
@jakehwll jakehwll deleted the jakehwll/request-logs-duration branch November 13, 2025 01:29
@github-actions github-actions bot locked and limited conversation to collaborators Nov 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants