feat(site): add connection log page by ethanndickson · Pull Request #18708 · coder/coder · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

feat(site): add connection log page #18708

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

Open
wants to merge 2 commits into
base: ethan/populate-connection-log-count
Choose a base branch
from

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Jul 2, 2025

This is the fourth PR for moving connection events out of the audit log.

This PR adds /connectionlog to the frontend. This page is identical in structure to the audit log, but with different filters and contents.

The connection log lists sessions, and the time they start. If we support tracking the end time of a session, and we've received a disconnect event for that session, the end timestamp is also included.

Demo:

connectionlogdemo2.mov
image image

Since the styling is identical to that of the audit log, I've continued to use MUI table components. When the audit log is migrated off MUI/restyled, this table can be too, relatively easily.

Future PRs:

  • Write a query to delete old events from the audit log, call it from dbpurge.
  • Write documentation for the endpoint / feature

Copy link
Member Author

ethanndickson commented Jul 2, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.


return (
<Filter
// TODO(ethanndickson): Add docs
Copy link
Member Author

@ethanndickson ethanndickson Jul 2, 2025

Choose a reason for hiding this comment

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

Will be done in this PR stack.

@ethanndickson ethanndickson force-pushed the ethan/fe-connection-log branch from f9333f1 to 5de8705 Compare July 2, 2025 05:56
@ethanndickson ethanndickson requested a review from Copilot July 2, 2025 06:06
Copilot

This comment was marked as outdated.

@ethanndickson ethanndickson force-pushed the ethan/fe-connection-log branch 3 times, most recently from 3accbf8 to 7de824c Compare July 2, 2025 06:46
@ethanndickson ethanndickson marked this pull request as ready for review July 2, 2025 07:07
@ethanndickson ethanndickson marked this pull request as draft July 2, 2025 07:07
@ethanndickson
Copy link
Member Author

This is ready for review, but marked as a draft so it's not merged early.

@ethanndickson ethanndickson force-pushed the ethan/fe-connection-log branch from 7de824c to 20092f6 Compare July 2, 2025 08:24
@ethanndickson ethanndickson force-pushed the ethan/populate-connection-log-count branch from 33d8acb to 1e3334b Compare July 2, 2025 09:31
@ethanndickson ethanndickson force-pushed the ethan/fe-connection-log branch from 20092f6 to 57acd96 Compare July 2, 2025 09:31
@ethanndickson ethanndickson force-pushed the ethan/populate-connection-log-count branch from 1e3334b to 332f8da Compare July 2, 2025 09:46
@ethanndickson ethanndickson force-pushed the ethan/fe-connection-log branch from 57acd96 to 24dee7a Compare July 2, 2025 09:46
@ethanndickson ethanndickson force-pushed the ethan/populate-connection-log-count branch from 332f8da to 6cd9d68 Compare July 3, 2025 07:36
@ethanndickson ethanndickson force-pushed the ethan/fe-connection-log branch from 5db1b73 to 4be35f4 Compare July 3, 2025 07:36
@ethanndickson ethanndickson marked this pull request as ready for review July 3, 2025 08:24
@ethanndickson ethanndickson force-pushed the ethan/fe-connection-log branch from 4be35f4 to 9239251 Compare July 3, 2025 08:29
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

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.