-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Click to filter values in Discover doc table and Visualize data table #9989
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
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
ea0d544
Click to filter values in Discover doc table
jimmyjones2 da47b23
Changes suggested by @cjcenizal
jimmyjones2 ef6b05c
Un-nest selector to avoid unnecessary specifity and fix bug caused by…
jimmyjones2 55ba60f
Move flattenedRow to the scope as suggested by @Bargs
jimmyjones2 92476c4
Fix lint error
Bargs 2d73dff
Add filter icons to data table cells
Bargs 974fd22
Only highlight row on hover
Bargs 56bb699
Fix dark theme filter icon background color
Bargs 465aa62
More dark theme fixes
Bargs 2d13dfe
extract filter html into a template
Bargs f03ffcf
Use object key shorthand per styleguide
Bargs f06b666
Remove outdated advice
Bargs 86c1862
object shorthand
Bargs 88a9c0d
Fix selenium tests by avoiding newline created by block element
Bargs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| <td> | ||
| <span class="table-cell-filter"> | ||
| <span | ||
| ng-click="clickHandler($event, false)" | ||
| class="fa fa-search-plus" | ||
| tooltip="Filter for value" | ||
| tooltip-append-to-body="1" | ||
| ></span> | ||
|
|
||
| <span | ||
| ng-click="clickHandler($event, true)" | ||
| class="fa fa-search-minus" | ||
| tooltip="Filter out value" | ||
| tooltip-append-to-body="1" | ||
| ></span> | ||
| </span> | ||
| </td> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
@Bargs : Sorry for the late and random comment, but doesn't this
$compile($target)($toggleScope);on all "newHtmls" elements for each row introduce some performance degradation when showing many rows ?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.
@marenas I haven't personally seen any slowdown with this change. The template for each cell is pretty minimal.
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.
makes sense, thanks !