Commit Graph

153 Commits

Author SHA1 Message Date
Filip Barl
776b4d72eb Applied no-mixed-operators linting rule 2016-12-12 11:03:16 +01:00
Filip Barl
3fdcd9b5e7 Applied arrow-parens linting rule 2016-12-12 11:02:18 +01:00
Filip Barl
f5ae864fa2 Made all lines less than 100 characters 2016-12-12 10:58:29 +01:00
fbarl
e47c3e0973 Applied a couple of simpler rules 2016-12-12 10:56:56 +01:00
fbarl
0cb48f6d71 Upgraded eslint, airbnb linting rules, and made trivial fixes 2016-12-12 10:55:45 +01:00
jpellizzari
70960cc67a Fixed client linting errors 2016-12-09 10:11:58 -08:00
Jordan Pellizzari
b5a720e17c Merge pull request #2076 from weaveworks/2075-client-linting
Add client linting to CI config
2016-12-09 08:04:01 -08:00
fbarl
524e2e2e9a Importing lodash util functions explicitly. 2016-12-09 14:03:31 +01:00
jpellizzari
7fba78c7b3 Liniting fixes 2016-12-08 11:08:48 -08:00
fbarl
e8eba61c37 Remove the dagre waypoints limitation for edges and replace it with WAYPOINTS_CAP constant for fine tunning (fix #1187) 2016-12-02 17:00:46 +01:00
fbarl
34033ee46e Implemented round function as a replacement for d3.round
Removed d3 from vendors
2016-11-28 17:32:10 +01:00
fbarl
7442ff3f41 Switched to D3 version 4.4.0 2016-11-28 13:16:10 +01:00
David Kaltschmidt
beed39f13e Add feature flags to test 2016-11-24 17:07:12 +01:00
David Kaltschmidt
faa8ee098c Adapted feature check to allow only some features 2016-11-24 17:07:12 +01:00
David Kaltschmidt
afe177cdba Support for feature flags 2016-11-24 17:07:12 +01:00
Filip Barl
d15e884cb1 Table-mode: sort ips numerically (#2007)
Fix #1746 - sort IPs numerically in the table mode
2016-11-22 11:05:59 +01:00
jpellizzari
ee0bb8ef40 Added graph complexity check on page load 2016-11-10 09:42:06 -08:00
Simon Howe
4004b21fa2 Allow resizing on attached pipes too. 2016-11-04 10:03:51 +01:00
Simon Howe
d3878cc8df Don't resize terminal if we don't receive a resize control (e.g. onAttach)
- Fix text selection in terminal (was our force focus stuff, introduced
  if you clicked on the black border that was not actually the terminal
2016-11-03 10:24:38 +01:00
Simon Howe
487635cb62 Adds terminal resizing on hosts.
Adds terminal resizing on popped out windows
2016-10-31 18:11:10 +01:00
Simon Howe
305bf7680a Resizing working w/ containers! 2016-10-31 15:29:53 +01:00
jpellizzari
2baf7d49b1 Changed client deps to work with Node v6.9 2016-10-27 17:10:08 -07:00
David Kaltschmidt
60037c8c7c Prevent querystrings from starting with &
Fixes #1953
2016-10-27 16:02:25 +02:00
Jordan Pellizzari
26a1d20f0d Added formatted date strings to table and detail metadata values 2016-10-24 09:22:59 -07: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
f6e81cf4d6 Merge pull request #1912 from weaveworks/1844-visually-duplicate-rows
Add label_minor to tooltips in connections table
2016-10-19 15:03:38 +02:00
Simon Howe
c99f4dbfa2 Fixes search tests, forgot to include 0-9 when switching from \W 2016-10-19 11:59:56 +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
Alfonso Acosta
ffdcc2367e Only send filters to nodes from the current topology
This reverts commit 699fe45e65.
2016-10-05 16:54:36 +00:00
Simon Howe
699fe45e65 Details panel: send topology options of node type being loaded 2016-10-05 12:23:31 +02:00
Alfonso Acosta
7a3dad2ceb Add filters to details panel request 2016-10-04 17:35:28 +00: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
a3c5e1f153 Merge pull request #1831 from weaveworks/1829-fixes-moc-updating
Fixes metrics-on-canvas updating.
2016-09-28 11:47:40 +02:00
Simon Howe
7b51f97818 Fixes after rebase 2016-09-15 11:55:48 +02:00
Simon Howe
a1b8e963dc nodes-chart only re-rendered on prop updates!!! 2016-09-15 11:55:25 +02:00
Simon Howe
b3f05ae97b Tidy up unused imports 2016-09-15 11:55:24 +02:00
Simon Howe
cf6d703c18 Fixes metrics-on-canvas updating.
- We were being a bit overzealous w/ our layout caching.
2016-09-15 11:54:01 +02:00
David Kaltschmidt
d9fe7eb32c Add localstorage support for saving view state
This PR adds support to remember the view state even after the browser
tab has been closed. This helps someone who is always looking at the
table view of a certain topology to which currently they have to perform
a minimum of 2 clicks.

* app view state is backed up in localStorage
* when visiting Scope with no URL view state, the localStorage state is
 used (i.e. the URL state has priority)
2016-09-06 15:32:06 +02:00
Simon Howe
343a986951 Check for all k8s topos before defaulting to container topo
- Show something from k8s by default if its around.
2016-09-01 14:15:52 +02:00
Simon Howe
eeeb1385c5 Makes services the initial topology if available
- Otherwise reverts to containers
2016-09-01 14:15:52 +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
cbb13503d5 Merge pull request #1742 from weaveworks/profile-websocket-render
Add browser console logging for websocket to render times
2016-08-05 13:35:12 +02:00
Simon Howe
3e4ec1dc61 Review feedback + fiddling w/ the columns widths a little more. 2016-08-03 08:53:07 +02:00
Simon Howe
d0b99969ea Grid-mode tuning!
- Change scrolling behaviour to lock headers in place
- Enable filtering (hitting enter in the search bar) in grid-mode
- Little more top-margin for k8s (can have 3 topos) + taller rows.
- Trying out rank-color + node.relatives in the grid-mode
- First pass at selecting rows.
  - Needs a bit more a fiddle, colors + click areas
- Store grid sort direction (asc/desc) in url state
- Simplify node selection to one method. (over-ride existing card)
  - Remove clicking on name directly (links) to overlay new cards for now.
- Playing w/ grid-mode-toggle icons and labels
- Improves rendering in ff, change of shortcut keys for grid-mode-toggle
- Playing w/ clearer selection colors for grid-mode
- Slight change to selection-ui
- Fixes showNodeInTopology button visibility on the details-panel
  - Was using an old heuristic. Table-mode allows you to open child cards
    before the parent.
- Make it clear what the default sort is in tables
  - E.g. always show a sorting caret
- Sort grid-mode columns, first meta then metrics
- dancing-nodes rememdy #1: pause updates onRowHover
- Splits relatives out into their own columns
- Take into account scrollbar width for grid-mode col header position
- Tooltips on table column headers
- grid-mode: fixes first column headers (proc/container/c-by-image)
- Disable pause-on-hover, too aggresive
- reduce label column width a bit (33pc -> 25pc) for big tables
- Filter grid-mode onSearchChange
  - Rather than previous behaviour of waiting for an <enter>
- Show label_minor on pseudo nodes, that might not have much other info
- grid-mode: further reduce width of id column.
- Fixes go tests, properly moves parents into node-summary
- Fixes sorting of string columns w/ missing fields.
  - E.g. uptime. Where -1e-10 > '3days' doesn't work.
2016-08-03 08:50:37 +02:00
Simon Howe
fa502ae6ad Removes the combined table-topo-view 2016-08-03 08:46:17 +02:00
Simon Howe
19f08ee81f Review feedback on loading-indicator 2016-08-02 22:09:08 +02:00
David Kaltschmidt
c4154bc770 Add browser console logging for websocket to render times
Print a log message when the time from websocket creation to first
render takes too long (100ms).
2016-08-02 17:14:31 +02:00