-
Notifications
You must be signed in to change notification settings - Fork 20
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
feat(recordings): Add search filters to target recording tables #486
Conversation
I had a few questions about the filter design:
|
Those two tables might get merged eventually, but I wouldn't say there are any "plans" to do so.
I didn't necessarily mean a
Don't worry about that for now. That's the kind of thing we should be tracking in a proper database for recordings, so we can have a model for the recording other than the metadata supplied to us by the target JVM. Then we can update it ourselves when we know that we explicitly stopped it.
I think what I see in the branch now is fine. The calendar and clock selectors that appear let me select from dropdowns with reasonable precision, and for extra precision I can type in a |
If you want to include seconds in the |
This PR is ready for review. If I have enough time leftover before the end of my internship, I'll add recording filter unit tests in a separate PR. |
One seeming bug found in manual testing. If I choose the StartedAfterDate filter, select a date from the calendar picker, and then click the search magnifying glass icon, it actually applies a StartedBeforeDate filter with the chosen date. Otherwise this looks and feels really good! |
Implementation looks good.
:-(
Please file a follow-up issue after this is merged so it isn't forgotten. If you have time to take it on then great, otherwise somebody else can pick it up later. |
Fixes #414
Filter recordings by name, state, labels, duration, and start time. When a filter is selected, only the recordings matching all the filter criteria will be visible in the active or target-specific archived recordings table. If multiple queries for the same filter category are specified, eg
state: RUNNING, state: STOPPED
, the results will show recordings matching either of the queries, eg any recording that is eitherRUNNING
orSTOPPED
.