Filip Barl
6d0066cd38
Polished the selectors code and fixed failing tests.
2017-02-20 10:58:26 +01:00
Filip Barl
5bd8e8f690
Renamed 'subLabel' to 'labelMinor' and removed 'node_count' property.
2017-02-20 10:58:26 +01:00
Filip Barl
2a54085c62
Node transformations done from NodeContainer. Put node searching logic in selectors.
2017-02-20 10:58:26 +01:00
jpellizzari
7b7d59ab24
Fix for undefined tableRowLabel
2017-02-13 09:53:27 -08:00
Filip Barl
d3466b5454
Refactored the table component/model and wrote the tests
...
Backward-compatibility fix
2017-01-16 17:05:36 +01:00
Filip Barl
6888108b83
Made the searching of generic tables work on the UI
...
Extracted table headers common code on the frontend
Fixed the search matching and extracted further common code in the UI
2017-01-16 12:22:10 +01:00
Filip Barl
31be525bd2
Created generic table model on backend
...
Replaced MetadataRow with generic Row in Table model
Sending through multicolumn tables from the backend
2017-01-16 12:22:10 +01:00
Filip Barl
26b3e9efc9
Reapplied all the eslint upgrade changes
2016-12-15 15:04:53 +01:00
David
99bfab89b7
Revert "Upgraded eslint & eslint-config-airbnb"
2016-12-12 16:06:13 +01:00
Filip Barl
3fdcd9b5e7
Applied arrow-parens linting rule
2016-12-12 11:02:18 +01:00
fbarl
524e2e2e9a
Importing lodash util functions explicitly.
2016-12-09 14:03:31 +01:00
Simon
816224a761
Merge pull request #1919 from weaveworks/1762-improve-search-docs
...
Add a new search section to the help popover
2016-10-20 10:30:33 +02:00
Simon Howe
2ca23507de
label_minor -> labelMinor, closer to all camelCase api
2016-10-19 10:50:11 +02:00
Simon Howe
db5baabeee
Add a new search section to the help popover
2016-10-12 17:35:26 +02:00
Simon Howe
1d3ae9576d
Revert "Add a search section to the help-popup"
...
This reverts commit cc4c71faf0 .
A careless push
2016-10-12 17:26:00 +02:00
Simon Howe
cc4c71faf0
Add a search section to the help-popup
2016-10-12 17:25:08 +02:00
Simon Howe
3c393c7808
Move truncation of docker ids to FE to allow full value in tooltips
...
- Reveals full id if you search for it.
- Difficult to copy and paste the full id if you want it for some reason
2016-09-28 12:18:12 +02:00
Simon Howe
fc2fcfb298
Adds support for filtering node/table by relatives
...
Now that they are available in the summary data.
2016-08-09 18:20:43 +02:00
David Kaltschmidt
0573a20f07
Store table matches in table object
2016-05-11 18:08:59 +02:00
David Kaltschmidt
749571ebe9
Review feedback
...
* Fix node-details-test for search
* Label spacing and matched text truncation
* Delete pinned search on backspace, add hint for metrics, escape % in URL
* Fix text-bg on node highlight
* Added tests for search-utils
* Fix matching of other topologies, added comment re quick clear
* s/cx/classnames/
* Ignore MoC keys when search in focus, blur on Esc
* Fixes search term highlighting on-hover
* Fix SVG exports
* Fine-tuned search item rendering
* Fixed search highlighting in the details panel
* Dont throb node on hover
* Hotkey for search: '/'
* Keep focus on search when tabbing away from the browser
* bring hovered node to top
* background for search results on hover
* fixed height for foreign object to prevent layout glitches
* Dont blur focused nodes on search
* More robust metric matchers
* More meaningful search hints
2016-05-11 18:08:59 +02:00
David Kaltschmidt
d5eea2549d
Sanitize inputs
...
Try regexp, escape if invalid
2016-05-11 18:08:59 +02:00
David Kaltschmidt
3e26ed7083
Metric matching support for search
...
Examples:
* cpu > 2 // means percent
* memory > 4.5MB
2016-05-11 18:08:59 +02:00
David Kaltschmidt
d1609658bf
Apply search as filter
2016-05-11 18:08:59 +02:00
David Kaltschmidt
3ee802a516
Search all fields by default, gray out nodes if no match
2016-05-11 18:08:59 +02:00
David Kaltschmidt
5a325e46fa
Search on canvas
...
* adds a search field next to the topologies
* highlight results on canvas as you type
* non-matching nodes are grayed out
* "prefix:" limits search to field label
2016-05-11 18:08:59 +02:00