Commit Graph
100 Commits
Author SHA1 Message Date
DavidandGitHub 288258d2a3 Merge pull request #2490 from weaveworks/2489-prevent-topo-filter-error
Adds a default list to topology options if previous options are missing
2017-05-02 21:03:15 +02:00
David Kaltschmidt 941f51645b Adds a default list to topology options if previous options are missing
This can happen when a new option is introduced while using an old URL
state.

Fixes #2489
2017-05-02 15:31:54 +02:00
DavidandGitHub 64fadf3c20 Merge pull request #2457 from weaveworks/remove-double-click
Remove zoom on double-click
2017-04-24 12:52:37 +02:00
David Kaltschmidt 11d9903d8f Remove zoom on double-click
This was confusing in demos at KubeCon and DockerCon this year, as
clicking on nodes kept the UI zooming in.
Plus, when asked, users had no idea that double-click meant zoom in.

Fixes weaveworks/service-ui#453
2017-04-21 17:00:09 +02:00
David Kaltschmidt 4121da1c06 Added Internet button to debug toolbar 2017-01-31 16:57:49 +01:00
David Kaltschmidt f86dd128e0 Hotfix for URL issue
Pertains to #2154
2017-01-30 13:05:28 +01:00
DavidandGitHub d8f16c9a32 Merge pull request #2084 from weaveworks/revert-2058-update-eslint
Revert "Upgraded eslint & eslint-config-airbnb"
2016-12-12 16:06:58 +01:00
DavidandGitHub 99bfab89b7 Revert "Upgraded eslint & eslint-config-airbnb" 2016-12-12 16:06:13 +01:00
David Kaltschmidt 5687054126 Allow relative paths for assets in local webpack config 2016-12-08 16:30:07 +01:00
DavidandGitHub 4fe3efc364 Merge pull request #2045 from weaveworks/remove-waypoints-cap-on-edge-containers
Remove upper bound for waypoints count on edges
2016-12-05 11:57:31 +01:00
DavidandGitHub 5ae3a5aba2 Merge pull request #2034 from weaveworks/use-webpack-dev-middleware
Using `webpack-dev-middleware` instead of `webpack-dev-server` directly
2016-12-05 11:52:44 +01:00
David Kaltschmidt 1bfdfc84f6 Using eval-source-maps in webpack for now
keep original code, quite fast on rebuilds
2016-12-05 11:52:23 +01:00
David Kaltschmidt 298f27bf3f Remove polling for webpack (was CPU heavy) and HMR for vendors 2016-12-05 11:30:06 +01:00
DavidandGitHub 8d8c106471 Merge pull request #2043 from weaveworks/2037-fix-asset-path
Empty publicpath needed for relative paths of scope
2016-11-29 17:01:30 +01:00
David Kaltschmidt 03b34448e2 Empty publicpath needed for relative paths of scope
Fixes #2037
2016-11-29 16:56:03 +01:00
DavidandGitHub a1adbbbded Merge pull request #2014 from weaveworks/1941-consolidate-webpack
Combined external and prod webpack config files
2016-11-25 11:07:04 +01:00
DavidandGitHub 10602d2645 Merge pull request #1993 from weaveworks/dance-tuning
Add anti-dance heuristics (and feature flags)
2016-11-24 17:40:14 +01:00
David Kaltschmidt 90dbf12a7b Review feedback 2016-11-24 17:10:57 +01:00
David Kaltschmidt beed39f13e Add feature flags to test 2016-11-24 17:07:12 +01:00
David Kaltschmidt aa7b85b5f0 Use feature flags in nodes-layout 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
David Kaltschmidt d131e99039 Simplified layout steps for singles and same-ranks 2016-11-24 17:06:04 +01:00
David Kaltschmidt 90c7659526 Dont relayout for new unconnected nodes 2016-11-24 17:06:04 +01:00
David Kaltschmidt ee61ff7143 Test and debugbar tools to simulate single nodes appearing 2016-11-24 17:06:04 +01:00
DavidandGitHub 0594ec7f98 Merge pull request #1926 from weaveworks/1151-improve-view-node-in-topo
Improve view-node-in-topo button usability
2016-11-04 15:19:18 +01:00
DavidandGitHub 5cb3a00316 Merge pull request #1976 from weaveworks/1974-debounce-terminal-resizing
Fixes the terminal spamming POST requests on resize
2016-11-04 13:36:27 +01:00
DavidandGitHub 722d5cdd0d Merge pull request #1979 from weaveworks/1977-fix-notty-resizing
Allow resizing on attached pipes too.
2016-11-04 13:30:05 +01:00
David Kaltschmidt 60037c8c7c Prevent querystrings from starting with &
Fixes #1953
2016-10-27 16:02:25 +02:00
David Kaltschmidt a0f1b25a0b Give datetime more space in the table 2016-10-20 13:17:34 +02:00
DavidandGitHub 2ca26ba039 Added port gotchas to client/README 2016-09-28 13:04:55 -07:00
DavidandGitHub d80b2ef900 Merge pull request #1893 from weaveworks/1880-fixes-ui-hang-on-absent-topo
Fixes UI hanging if currentTopology no longer exists for some reason
2016-09-27 11:35:44 -07:00
DavidandGitHub 93e03539d8 Merge pull request #1853 from weaveworks/localstorage-viewstate
Add localstorage support for saving view state
2016-09-19 12:19:19 +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
DavidandGitHub 58d97bfdee Merge pull request #1818 from weaveworks/plugin-controls-ui
Add support for table based controls
2016-09-02 15:23:32 +02:00
DavidandGitHub 56f99fc665 Merge pull request #1836 from weaveworks/1825-fix-plugin-renderer
Fixes plugin renderer in status line
2016-09-01 14:47:34 +02:00
David Kaltschmidt 8ac4d0bb62 Fixes plugin renderer in status line
The code assumed a plugin object was JS, but it's actually an immutable.
Calling `toJS` to fix.

Fixes #1825
2016-08-30 16:53:22 +02:00
David Kaltschmidt 51bb6263bc Add support for table based controls
* if a node table has `controls` they will be rendered in a row
* controls need the to be of the same structure as node-level controls
* control errors are not shown
2016-08-18 22:28:01 +01:00
DavidandGitHub a11ddfbaa6 Merge pull request #1766 from weaveworks/1715-search-label
Fixes search icon position on chrome
2016-08-08 18:39:27 +02:00
David Kaltschmidt 4c5ac4fc33 Fixes search icon position on chrome
* simplify search icon and label markup

Fixes #1715
2016-08-05 19:29:59 +02:00
DavidandGitHub 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
DavidandGitHub 74efec83bc Merge pull request #1756 from weaveworks/tighter-node-bounding-boxes-1520
Tighter node bounding boxes
2016-08-05 13:34:47 +02:00
DavidandGitHub df6d1de0dd Merge pull request #1753 from weaveworks/1743-grid-selector-position
Move grid selector to top menu
2016-08-04 16:34:52 +02:00
David Kaltschmidt 38083b5965 Move grid selector to top menu
* move to top right, to bookend topologies
* hierarchically similar to search, so similar positioning

Fixes #1743
2016-08-04 14:49:28 +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
DavidandGitHub 546e3ba972 Merge pull request #1734 from weaveworks/no-logo-on-cloud
Dont show weavescope logo when running in a frame
2016-08-01 16:55:17 +02:00
David Kaltschmidt 50fe1f8af2 Hide logo when in frame 2016-08-01 15:19:09 +02:00
David Kaltschmidt 1df544dbda Dont show weavescope logo when running in a frame
The logo wont show when running in a service
2016-08-01 15:09:20 +02:00
DavidandGitHub 4e03a30e1e Merge pull request #1586 from weaveworks/abuehrle-patch-2
updated Weave Cloud and clarified setup
2016-06-16 18:32:39 +02:00
DavidandGitHub ce39b8ef6e Merge pull request #1593 from weaveworks/network-colors-unique
Network colors from a scale
2016-06-16 18:17:42 +02:00
David Kaltschmidt c37c175dd6 Network colors from a scale
* all colors are unique and separated enough
* only 10 colors are available
* contains red and green
2016-06-16 11:46:42 +02:00
DavidandGitHub e2050e1627 Merge pull request #1583 from weaveworks/1518-tall-search
Fix tall search box in Firefox
2016-06-14 18:01:56 +02:00
David Kaltschmidt 8a845ecbac Fix tall search box in Firefox
* FF has an issue with flexbox and set width
* setting flex only when focused
2016-06-14 15:52:23 +02:00
David Kaltschmidt 2267a79be8 Fix JS error for topologies where only some nodes have networks 2016-06-08 15:41:47 +02:00
David KaltschmidtandSimon Howe b1cd16d92d Fix node blurring for network hover
Fixes edge focus/blurring when selecting networks

Configurable arc size

net-view variant: Smaller arc (just the top)

net-view revision: Add white container around arcs.

To join them together in a sense. Trying to avoid the edge/arc position
association. Not sure if this really helps

net-view variations: shadows.

bg fill, align network rotation w/ rank.

Cute little dots

Stacked lines

Rounded rects

Slightly thicker "pills" to repr networks

Handle edge case by making line longer

Fix network bar offset
2016-06-06 16:24:09 +02:00
David KaltschmidtandSimon Howe 478a4a6d66 Remove common prefix from networks to increase color separation 2016-06-06 16:24:03 +02:00
David KaltschmidtandSimon Howe e95f46bfd8 Extract networks from metadata (should be toplevel field) 2016-06-06 16:24:03 +02:00
David 2fac25d71a Merge pull request #1499 from weaveworks/blur-search-on-terminal
Blur search when opening a terminal
2016-05-13 11:41:03 +02:00
David Kaltschmidt 5abbab3fa3 Close terminal on ESC has higher prio than search blur 2016-05-13 11:40:02 +02:00
David Kaltschmidt 01c9cac0ba Act on blur on search field 2016-05-13 09:48:14 +02:00
David Kaltschmidt 3473beec98 Blur search when opening a terminal 2016-05-12 19:35:21 +02:00
David Kaltschmidt 809a97d194 Remove makeNode in reducer
* was a relic from pre-immutable days
* properties that were not there, were forgotten when adding nodes
2016-05-12 17:40:11 +02:00
David Kaltschmidt de6c3e711d Subtract pinned search-filtered nodes from status node count
The status node count in the bottom was not reflecting the filtering
done by the pinned searches.
2016-05-12 16:39:18 +02:00
David b5a8b1971e Merge pull request #1429 from weaveworks/search
Search on canvas
2016-05-12 09:12:54 +02:00
David Kaltschmidt b51e7a95c5 Fix edge hiding
Fixes #1471
2016-05-11 18:08:59 +02:00
David Kaltschmidt 14e06e03ba Fix typo 2016-05-11 18:08:59 +02:00
David Kaltschmidt 50935dd456 Fetch topologies sequentially on search 2016-05-11 18:08:59 +02:00
David Kaltschmidt 9984777a5b Show connected nodes on hover, even when not matched 2016-05-11 18:08:59 +02:00
David Kaltschmidt 0573a20f07 Store table matches in table object 2016-05-11 18:08:59 +02:00
David Kaltschmidt 5ee0e082a5 Fix auto-truncation for node labels 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 cfb5161cd7 Store search state in URL 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 6ca729a6c2 Fix tests by not mocking dependent utils 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 8669266f25 Toggle debug toolbar via ctrl-D 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
David 715003ee80 Merge pull request #1465 from weaveworks/truncate-container-envs
Limit tables to 20 rows
2016-05-11 17:14:01 +02:00
David Kaltschmidt c265a57672 Show truncation warning on click, reworded 2016-05-11 16:55:57 +02:00
David Kaltschmidt 645f2ca9f4 Add hint that a section may be truncated 2016-05-11 13:05:19 +02:00
David b1052c543d Merge pull request #1388 from weaveworks/redux
Migrate from Flux to Redux
2016-05-02 15:30:14 +02:00
David Kaltschmidt 2cfd3ffd46 Fix toggleHelp action, ignore moment locale (saves 100KB) 2016-05-02 15:26:31 +02:00
David Kaltschmidt eed779abfa Replaced pure-render-mixin with redux connect
* does the same shallowEqual optimization
2016-04-28 20:20:58 +02:00
David Kaltschmidt 85939d1248 Add /dev.html page w/ full redux dev tools
* normal page wont have store instrumented to stay lean
* reshuffled vendor deps to balance bundle sizes
2016-04-28 20:00:42 +02:00
David Kaltschmidt df593b223a Upgrade to react 15.0.1 2016-04-28 11:55:07 +02:00
David Kaltschmidt 96aae9bc99 Migrate from Flux to Redux
* better state visibility
* pure state changes
* state debug panel (show: crtl-h, move: ctrl-w)
2016-04-27 17:21:46 +02:00
David Kaltschmidt eda2a208c6 Sort controls by rank in the UI 2016-04-21 19:36:13 +02:00
David 3abd96f752 Merge pull request #1365 from weaveworks/add-download-report-button
Add a button to download the report as JSON
2016-04-21 19:17:22 +02:00
David Kaltschmidt 62ed88cf16 Close details panel when node was removed via control 2016-04-21 18:34:51 +02:00
David 7e9edb03a7 Merge pull request #1354 from weaveworks/asset-fingerprinting
Asset fingerprinting
2016-04-21 15:59:52 +02:00
David e6c3bb1665 Merge pull request #1361 from weaveworks/1304-fix-node-positions
Extract only coordinates from layout runs
2016-04-21 15:59:30 +02:00
David Kaltschmidt b1f8e89227 Add entry name to stylesheet
* fixes contrast mode
2016-04-21 09:35:14 +02:00
David Kaltschmidt 9cf3d671bb Extract only coordinates from layout runs
* keeps node metadata intact
* fix for issue introduced in 5cedfad

Fixes #1304
2016-04-21 09:18:46 +02:00
David Kaltschmidt 8c5638edb2 Asset fingerprinting
* adds `?hash` to JS and CSS bundle URLs against caching in production
* uses `html-webpack-plugin` to generate html dynamically
* html based on template in `app/html/index.html`
* per-app html files no longer needed
* `build/` dir is now completely deleteable, and fully gitignored
* top-level `make` now requires `client/app` to pick up on html and
  style changes
* cleaned up `server.js` code for production bundle testing
* added readme entry about testing production bundles
2016-04-20 12:33:22 +02:00
David da6093ad81 Merge pull request #1339 from weaveworks/fix-plugin-doc
Fix plugins docs
2016-04-19 12:38:02 +02:00
David 64ec82c33c Merge pull request #1341 from weaveworks/screenshots-0.14
Screenshots for release 0.14
2016-04-19 12:19:13 +02:00
David Kaltschmidt 432929c57b Screenshots for release 0.14 2016-04-19 12:15:50 +02:00
David Kaltschmidt 387a3c047e Fix plugins docs
* fix json highlighting on github
* added screenshot
* note about kernel version for bcc plugin
* sentence about seeing plugin in the UI
2016-04-19 11:22:42 +02:00