Buck Doyle
5237c11817
Add logged Faker seed when none is set in tests ( #9140 )
...
This will hopefully make it easier to reproduce test failures
that happen intermittently, especially in CI.
2020-10-22 13:45:51 -05:00
Buck Doyle
7c7b1131f0
Remove logo spin for prefers-reduced-motion ( #9128 )
...
Spinning is one of the triggers mentioned on this page:
https://webkit.org/blog/7551/responsive-design-for-motion/
Thanks to @fivetanley for mentioning that this exists.
2020-10-20 11:52:15 -05:00
Buck Doyle
69605fc3d4
Update loading spinner to be logo-based ( #9106 )
...
Thanks to @mikehobi, whose work here this is adapted from:
https://icons8.com/cssload/en/3d-loaders
2020-10-15 16:05:58 -05:00
Michael Lange
8f94a989d9
Typo
2020-10-15 11:45:59 -07:00
Michael Lange
214ce4a3d2
Work around Safari's lack of text transform support
2020-10-15 11:45:59 -07:00
Michael Lange
0d920ae761
Factor out the common sum aggregator used in the topology controller
2020-10-15 11:45:59 -07:00
Michael Lange
2cf4b5de46
Remove the scenarios I didn't need/didn't get to
2020-10-15 11:45:59 -07:00
Michael Lange
223011e1b4
Describe the glimmer-factory better including the motive
2020-10-15 11:45:59 -07:00
Michael Lange
e540312c67
Reset the standard environment values
2020-10-15 11:45:59 -07:00
Michael Lange
229fa293d0
Treat legend term pairs as single wrapping elements
2020-10-15 10:30:34 -07:00
Michael Lange
b5809d46fe
Some light topology acceptance tests
2020-10-15 03:06:51 -07:00
Michael Lange
13415df25c
Unit and integration tests for TopoViz component
2020-10-15 02:54:16 -07:00
Michael Lange
3a48dbfb40
Test coverage for TopoViz::Datacenter
2020-10-15 02:54:16 -07:00
Michael Lange
9390d24890
Remove temp reloading of nodes in the TopoViz component
2020-10-15 02:54:16 -07:00
Michael Lange
a5ea84d957
Update scenarios to use new resources code
2020-10-15 02:54:16 -07:00
Michael Lange
f9dccf9c7b
Adjust topo viz controller to new resource code
2020-10-15 02:54:16 -07:00
Michael Lange
334f72c633
Unit test for for GiB in format-bytes
2020-10-15 02:54:16 -07:00
Michael Lange
b185d09f31
Update topo viz code to use new alloc/node resources pattern
2020-10-15 02:54:16 -07:00
Michael Lange
faaf697c9e
Migrate to the new resources properties for allocs and nodes
2020-10-15 02:54:16 -07:00
Michael Lange
84f88ecf7e
Test coverage for TopoViz::Node
2020-10-15 02:54:16 -07:00
Michael Lange
611b0b3e00
FlexMasonry integration tests
2020-10-15 02:54:15 -07:00
Michael Lange
639b3ffa70
More information about clients in the info panel
2020-10-15 02:54:15 -07:00
Michael Lange
90dbab198a
Filter total alloc count by only scheduled allocs
2020-10-15 02:54:15 -07:00
Michael Lange
927343f36a
Add icons to denote draining or ineligibility of clients
2020-10-15 02:54:15 -07:00
Michael Lange
de9124eea4
Label empty clients in the topo viz chart
2020-10-15 02:54:15 -07:00
Michael Lange
bb68a14cbc
Improved curves for allocation associations
2020-10-15 02:54:15 -07:00
Michael Lange
a4c8ce4ee0
Fix a re-render bug with flexmasonry
2020-10-15 02:54:15 -07:00
Michael Lange
f5f964b7bf
Make the topo viz denser when there are >50 nodes
...
By hiding node details and making nodes interactive instead, we can pack
more allocations on a screen.
2020-10-15 02:54:15 -07:00
Michael Lange
4e81ab8d3f
Conditionally use the FlexMasonry layout for datacenters within TopoViz
2020-10-15 02:54:15 -07:00
Michael Lange
c5e84749ad
Apply FlexMasonry to the TopoViz component
2020-10-15 02:54:15 -07:00
Michael Lange
c152ccb945
New FlexMasonry component implements a masonry layout using flexbox
2020-10-15 02:54:15 -07:00
Michael Lange
a9e29178bb
Second attempt at a masonry layout
2020-10-15 02:54:15 -07:00
Michael Lange
be2d0fc201
A better loading screen for the topo viz while nodes load
2020-10-15 02:54:14 -07:00
Michael Lange
37cc9b7275
Connect the memory and cpu rectangles
2020-10-15 02:54:14 -07:00
Michael Lange
d13c065bbd
Refactor topo viz to do as much computation upfront & use faster data structures
...
Now all data loading happens in the TopoViz component as well as
computation of resource proportions.
Allocation selection state is also managed centrally uses a dedicated
structure indexed by group key (job id and task group name). This way
allocations don't need to be scanned at the node level, which is O(n) at
the best (assuming no ember overhead on recomputes).
2020-10-15 02:54:14 -07:00
Michael Lange
9991dc63bb
Make the alloc select render path more efficient by not needlessly recomputing data
2020-10-15 02:54:14 -07:00
Michael Lange
e9626ceb82
Add more variety to the node heights
2020-10-15 02:54:14 -07:00
Michael Lange
2704c3e4b8
CSS Grid based masonry layout
...
TBH, it's buggy and I don't like it.
2020-10-15 02:54:14 -07:00
Michael Lange
98dd2586b7
Medium scale topo scenario
2020-10-15 02:54:14 -07:00
Michael Lange
3cd464d03c
Updated alloc and cluster details on topo page
2020-10-15 02:54:14 -07:00
Michael Lange
290f7d8fb4
Guard against undefined denominators
2020-10-15 02:54:14 -07:00
Michael Lange
f56f631676
Associate sibling allocations by drawing lines
2020-10-15 02:54:14 -07:00
Michael Lange
f5c3d0e0a7
Super rough allocation details, needs some style love
2020-10-15 02:54:14 -07:00
Michael Lange
c2b7f7c073
Add cluster details to the topology page
2020-10-15 02:54:13 -07:00
Michael Lange
0b3a78b9ef
Touch up topo viz interactions
2020-10-15 02:54:13 -07:00
Michael Lange
36df145da5
Fleshing out the first prototype of the topology visualization
2020-10-15 02:54:13 -07:00
Michael Lange
606910f365
Tweak topo scenario
2020-10-15 02:54:13 -07:00
Michael Lange
b3ddd1f897
Start click interaction for topo viz allocs
2020-10-15 02:54:13 -07:00
Michael Lange
7cf3b74236
Fix factory bug that made it so pending allocs had no resources
2020-10-15 02:54:13 -07:00
Michael Lange
773404a47f
Prototype of the topo viz
...
- Plot all datacenters
- For each datacenter, plot all nodes
- For each node, plot all allocations by memory and cpu
- For empty nodes, highlight the emptiness
- When hovering over allocations, give them visual focus
2020-10-15 02:54:13 -07:00