-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Sessions filtering system #2912
Conversation
af1055c
to
5272516
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA'd and it seems to work as expected. As mentioned in the general PR description, will skip any comments on UX for a separate improvement.
A few additional comments:
-
Unsure if this should be considered part of this PR or not, but the filters no longer have the same styling (the same height issue is something I believe @EDsCODE was working on)
-
Again not sure if you want to leave for later, but after you save a filter, the filter dropdown still says "Custom filter" instead of the name of the newly saved filter.
Btw great job on the renaming of the columns on the sessions table, definitely clearer!
onChange(currentOperator || 'exact', value) | ||
}} | ||
/> | ||
{(operator === 'gt' || operator === 'lt') && isNaN(value) && ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to avoid refactoring this this PR - this bug was there previously, I just moved some code around.
export function PropertySelect({ optionGroups, value, onChange, placeholder, autoOpenIfEmpty }: Props): JSX.Element { | ||
return ( | ||
<SelectGradientOverflow | ||
className={rrwebBlockClass} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe worth adding this to the specific labels of non-default items so that the recordings make more sense? Feel free to disregard if outside the scope of the PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep it outside the scope
frontend/src/scenes/sessions/filters/SessionsEditFiltersPanel.tsx
Outdated
Show resolved
Hide resolved
Good point, something that likely sneaked in via rebases. |
This makes much more sense since you can select e.g. actions
Note that it's all relying on old 'paths' - will refactor these later.
This will require some discussion with Paolo - probably want to show this on the side?
5272516
to
b7e4e49
Compare
Most of the issues have been solved. Re select height, this was fixed by rebasing again. |
Changes
This PR:
What this does not (yet) do:
These will be resolved in follow-up PRs. Paolo was promising to help with the design-side things.
Peek.2021-01-08.16-13.mp4
Checklist