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
[Discover] Create field_button and add popovers to sidebar #73226
[Discover] Create field_button and add popovers to sidebar #73226
Changes from 28 commits
19747a5
19ccf91
447c72d
0350653
21d9901
2d489fc
550869f
4ff26c8
eec4031
7a6bfad
c2d8ea2
e72dfb1
b02a777
bec896f
81a70ea
388ff29
9306d83
ddd1739
ba9ba6a
583e22d
a358c04
aeefaa2
f960dc8
49dffc6
2dae400
f779e56
90504df
1c79015
332283f
fec2bd5
08c66f9
6a06de0
19f739b
f09432e
3cbd327
eafc748
4c72d5a
243bcff
68251ef
9ce49a6
af06e49
f68adc9
299ea36
c4350f9
c390b71
eda738e
eee6c07
6aa13ee
bc516d4
cb2a892
e1bbcdb
26c46af
c2de18d
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.
I'm very confused by what this link does.
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'm also not sure what that link does. @kertal do you know?
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.
it creates an exists filter, I don't know if anybody used it because it's quite invisible. however in the last testing session somebody found it and used it. so it's displaying the number of records that have this field. and if you click on it, you get those records, maybe a tooltip here would be useful ... or a more obvious solution?
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.
Can you two work together to maybe find a better solution? I don't think using this number as a link is right because to me it looks like it should be working like pagination.
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.
Came up with this proposal. @cchaos what do you think?
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.
Good catch on reducing the duplicate "Top values" text. I still don't think this clears up the question "Why is the number 74 blue, and what is going to happen when I click on it?"
I would make the behavior of this link a completely separate link from this number. What it's doing is adding filter to the global search bar with the name of the field. For example, this is what gets created when clicking that 74:
So it's similar to those +/- buttons, but instead of filtering on those particular values of the field, it just filters down the results to only those documents that the field exists in. So basically it is narrowing down to those 74 documents.
Or even something like
<Link>Exists in 74</Link> / 91 records
with a tooltip explaining that it will add a filter to only those documents that contain the field.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 we can go with this for now
There's no tooltip in it... I tried adding a tooltip but it always shows up when the popover opens and I don't think that's ideal.
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.
@andreadelrio I like this solution, for me it's much clearer this way