hashicorp / boundary-ui

Monorepo for Boundary UIs and addons.
http://boundary-ui.vercel.app
Other
89 stars 29 forks source link

Icu 15181 add pagination to session recordings #2502

Closed cameronperera closed 1 month ago

cameronperera commented 1 month ago

Description

This adds pagination support for Session Recordings along with search for session-recording.id and filters for user and target.

Another change that is made in this PR is how we handle redirects for the scopes.scope.session-recordings.session-recording.channels-by-connection.channel route. If the user has entered a URL where the session recording ID is wrong, we redirect the user back to the list view and display a toast message.

:tickets: Jira ticket

Screenshots (if appropriate)

Search and filter:

https://github.com/user-attachments/assets/8c748e27-898f-4443-a978-e01f571824c7

Redirect change:

https://github.com/user-attachments/assets/41eb6cde-7e64-4c94-96dc-619da173683a

How to Test

Create sessions with targets that have recording enabled. After creating a few, you should see the table of session recordings with new filters above.

Checklist

vercel[bot] commented 1 month ago

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

Name Status Preview Comments Updated (UTC)
boundary-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 1, 2024 6:02pm
boundary-ui-desktop ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 1, 2024 6:02pm
ZedLi commented 1 month ago

Can you try with 200k session recordings? The page won't load for me and I'm curious if you see the same behavior

cameronperera commented 1 month ago

Can you try with 200k session recordings? The page won't load for me and I'm curious if you see the same behavior

Fixed this issue and got it working. This was not a scale issue but filtering related. For reference, here is a quick video of filtering with 200k session recordings.

https://github.com/user-attachments/assets/6bb7c1c7-339a-4ec4-8164-baf2a388dcb3