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
841 remove blank record flash #972
Conversation
Signed-off-by: Mason Fish <mason@looky.cloud>
Signed-off-by: Mason Fish <mason@looky.cloud>
Signed-off-by: Mason Fish <mason@looky.cloud>
src/js/flows/submitSearch.js
Outdated
return !( | ||
args.tableProgram === prev.tableProgram && | ||
args.spaceId === prev.spaceId && | ||
duration(args.span) === duration(prev.span) |
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.
Will you also add an if this space is ingesting
check. I think if the space is not ingesting and I hit "enter", I'd want to see it clear and re-populate. What do you think?
Signed-off-by: Mason Fish <mason@looky.cloud>
Signed-off-by: Mason Fish <mason@looky.cloud>
Signed-off-by: Mason Fish <mason@looky.cloud>
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.
Great! Now the table does not "flash" when we are ingesting data and not making any searches. When I do issue a search, then the table clears. When I am not ingesting anything, the table always clears even if the search is the same.
@@ -4,3 +4,4 @@ | |||
/coverage | |||
/releases | |||
/zealot | |||
/run |
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.
Same thing was happening in one of my branches. Glad you found it too.
fixes #841
Don't update the table unless a different search has been submitted