Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Support multiple category fields #66
Support multiple category fields #66
Changes from 29 commits
ca42b95
0c2a495
296df97
83244ae
64749f1
7afabf4
46876d7
767110b
7ace456
c595caf
9b23f16
a4a2455
3a44ec9
530693a
da3f85f
c21002d
a63c1ea
40c0aff
0119573
bf37d5e
62cb824
cd5986f
7e619b0
d56aece
df081c4
f2bd2ca
8fc9c5a
0771e7a
3c5f100
f66b09a
8704639
35c6a27
c03ca08
de4d6a9
f60e5d4
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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 it cause heavy load if query too much? Maybe we can increase interval between refresh query for HC?
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 think it's a fair point. I'm ok to increase the timeout - how about 30s?
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.
Sounds good, maybe confirm with UX design to check if this is reasonable and should we add some tooltip
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.
Sure, confirming with UX.
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.
Confirmed 30s is ok - no extra notices/wording is necessary.
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.
What's the difference between
dataEntityList
andcellEntityList
?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.
dataEntityList
is the associated entity list with the current anomaly data in thefor
loop.cellEntityList
is the entity list pulled from the selected heatmap cell. Note that no logic changes were made here. Instead,entityList
used to beget(currentAnomalyData, 'entity', [] as EntityData[])[0].value
andcellEntityList
used to beprops.selectedHeatmapCell.entityValue
.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.
Does that mean user can choose multiple heatmap cells?
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.
No, only one can be selected at a time. But the cell itself can contain a list of entities if it is a multi-category detector