open-consul/ui-v2/app/components
Paul Banks 40695d5919
Add metrics rendering to the new topology view. (#8858)
* Remove unused StatsCard component

* Create Card and Stats contextual components with styling

* Send endpoint, item, and protocol to Stats as props

* WIP basic plumbing for metrics in Ember

* WIP metrics data source now works for different protocols and produces reasonable mock responses

* WIP sparkline component

* Mostly working metrics and graphs in topology

* Fix date in tooltip to actually be correct

* Clean up console.log

* Add loading frame and create a style sheet for Stats

* Various polish fixes:

 - Loading state for graph
 - Added fake latency cookie value to test loading
 - If metrics provider has no series/stats for the service show something that doesn't look broken
 - Graph hover works right to the edge now
 - Stats boxes now wrap so they are either shown or not as will fit not cut off
 - Graph resizes when browser window size changes
 - Some tweaks to number formats and stat metrics to make them more compact/useful

* Thread Protocol through topology model correctly

* Rebuild assetfs

* Fix failing tests and remove stats-card now it's changed and become different

* Fix merge conflict

* Update api doublt

* more merge fixes

* Add data-permission and id attr to Card

* Run JS linter

* Move things around so the tests run with everything available

* Get tests passing:

1. Remove fakeLatency setTimeout (will be replaced with CONSUL_LATENCY
in mocks)
2. Make sure any event handlers are removed

* Make sure the Consul/scripts are available before the app

* Make sure interval gets set if there is no cookie value

* Upgrade mocks so we can use CONSUL_LATENCY

* Fix handling of no series values from Prometheus

* Update assetfs and fix a comment

* Rebase and rebuild assetfs; fix tcp metric series units to be bits not bytes

* Rebuild assetfs

* Hide stats when provider is not configured

Co-authored-by: kenia <keniavalladarez@gmail.com>
Co-authored-by: John Cowen <jcowen@hashicorp.com>
2020-10-09 21:31:15 +01:00
..
app-error ui: New Intention Form/List components (#8172) 2020-07-09 10:08:47 +01:00
app-view ui: Remove authorization and disabled partials/blocks (#8829) 2020-10-06 14:34:32 +01:00
aria-menu ui: Dropdown/select improvements (#8468) 2020-08-10 16:00:05 +01:00
auth-dialog UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
auth-form ui: Colocate pageobject components with their components (#8098) 2020-06-12 16:50:09 +01:00
auth-profile UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
changeable-set ui: New Intention Form/List components (#8172) 2020-07-09 10:08:47 +01:00
child-selector ui: Remove with-listeners mixin (#8142) 2020-06-18 14:54:31 +01:00
code-editor ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
confirmation-alert ui: Redesigns for the token/policy/roles listings pages (#8144) 2020-06-23 10:12:04 +01:00
confirmation-dialog ui: KV Form and List Components (#8307) 2020-07-20 18:04:43 +01:00
consul/intention/list ui: Add simple intention check interface to per service intentions (#8899) 2020-10-09 15:47:36 +01:00
consul-exposed-path-list ui: Various CSS amends (#8708) 2020-09-22 18:20:44 +01:00
consul-external-source ui: Various CSS amends (#8708) 2020-09-22 18:20:44 +01:00
consul-instance-checks ui: Redesign - Node service instances tab (#8204) 2020-07-01 10:27:29 -04:00
consul-intention-form ui: Workaround FF and/or ember problem, trying to set a value="" (#8884) 2020-10-08 20:32:27 +01:00
consul-intention-permission-form ui: L7 intentions improvements (#8851) 2020-10-08 16:02:31 +01:00
consul-intention-permission-header-form ui: L7 intentions improvements (#8851) 2020-10-08 16:02:31 +01:00
consul-intention-permission-header-list ui: Centralized Config Intention Permission CRUD (#8762) 2020-09-30 12:33:01 +01:00
consul-intention-permission-list ui: L7 intentions improvements (#8851) 2020-10-08 16:02:31 +01:00
consul-intention-search-bar ui: Improved filtering and sorting (#8591) 2020-09-01 19:13:11 +01:00
consul-intention-view ui: Centralized Config Intention Permission CRUD (#8762) 2020-09-30 12:33:01 +01:00
consul-kind ui: Various CSS amends (#8708) 2020-09-22 18:20:44 +01:00
consul-kv-form ui: [Bugfix] KV creation from within a 'folder' (#8613) 2020-09-09 09:12:09 +01:00
consul-kv-list ui: KV Form and List Components (#8307) 2020-07-20 18:04:43 +01:00
consul-loader ui: New Intention Form/List components (#8172) 2020-07-09 10:08:47 +01:00
consul-lock-session-list ui: Redesign Node Lock Sessions Tab (#8535) 2020-08-20 10:29:16 -04:00
consul-metadata-list ui: Add some missed spaces in component README files (#8335) 2020-07-20 17:43:10 +01:00
consul-node-list ui: Move node listing copy button to the detail rather than the title (#8850) 2020-10-07 14:45:52 +01:00
consul-node-search-bar ui: Improved filtering and sorting (#8591) 2020-09-01 19:13:11 +01:00
consul-nspace-list ui: Use a custom request for nspace deletion (#8878) 2020-10-08 16:00:52 +01:00
consul-nspace-search-bar ui: Improved filtering and sorting (#8591) 2020-09-01 19:13:11 +01:00
consul-policy-list ui: Add sorting to Policies (#8373) 2020-07-29 14:36:09 -04:00
consul-policy-search-bar ui: Improved filtering and sorting (#8591) 2020-09-01 19:13:11 +01:00
consul-role-list ui: Add sorting to Roles (#8369) 2020-07-29 10:55:38 -04:00
consul-role-search-bar ui: Improved filtering and sorting (#8591) 2020-09-01 19:13:11 +01:00
consul-service-instance-list ui: Replace proxy icon with mesh icon (#8804) 2020-10-06 09:37:23 +01:00
consul-service-instance-search-bar ui: Improved filtering and sorting (#8591) 2020-09-01 19:13:11 +01:00
consul-service-list ui: Update instances count for ingress and terminating gateways (#8885) 2020-10-09 10:47:25 -04:00
consul-service-search-bar ui: Fix up Service filtering by whether a Service is in the mesh or not in the mesh (#8836) 2020-10-07 09:04:55 +01:00
consul-session-form ui: KV Form and List Components (#8307) 2020-07-20 18:04:43 +01:00
consul-token-list ui: Add sorting to ACLs tokens with tests (#8359) 2020-07-29 09:41:40 -04:00
consul-token-ruleset-list ui: Namespaces Redesign (#8336) 2020-07-20 18:12:34 +01:00
consul-token-search-bar ui: Improved filtering and sorting (#8591) 2020-09-01 19:13:11 +01:00
consul-upstream-instance-list ui: Various CSS amends (#8708) 2020-09-22 18:20:44 +01:00
consul-upstream-list ui: Add new Service.Mesh* properties for improved sorting (#8542) 2020-08-21 08:53:22 +01:00
consul-upstream-search-bar ui: Improved filtering and sorting (#8591) 2020-09-01 19:13:11 +01:00
copy-button ui: Token listing redesign (#8117) 2020-06-17 10:25:54 +01:00
data-form ui: Read-only CRD/Centralized Config Intentions (#8659) 2020-09-18 11:14:06 +01:00
data-loader ui: Move routes to use data-sources (#8321) 2020-07-17 14:42:45 +01:00
data-sink ui: Change some components to use willDestroyElement vs willDestroy (#8313) 2020-07-17 09:49:58 +01:00
data-source ui: Move routes to use data-sources (#8321) 2020-07-17 14:42:45 +01:00
data-writer ui: KV Form and List Components (#8307) 2020-07-20 18:04:43 +01:00
delete-confirmation ui: New Intention Form/List components (#8172) 2020-07-09 10:08:47 +01:00
discovery-chain ui: Tooltip Bugs (#8562) 2020-08-26 10:05:09 -04:00
empty-state ui: Outlet Loading (#8779) 2020-10-01 09:33:22 +01:00
error-state ui: Remove authorization and disabled partials/blocks (#8829) 2020-10-06 14:34:32 +01:00
event-source ui: Move routes to use data-sources (#8321) 2020-07-17 14:42:45 +01:00
form-component ui: Remove with-listeners mixin (#8142) 2020-06-18 14:54:31 +01:00
form-group ui: L7 intentions improvements (#8851) 2020-10-08 16:02:31 +01:00
freetext-filter ui: Colocate pageobject components with their components (#8098) 2020-06-12 16:50:09 +01:00
hashicorp-consul ci: fix bindata autoupdate (#8801) 2020-10-02 15:23:38 -04:00
healthcheck-list ui: Don't hide TTL check output (#8187) 2020-06-29 15:29:20 +01:00
jwt-source ui: Change some components to use willDestroyElement vs willDestroy (#8313) 2020-07-17 09:49:58 +01:00
list-collection ui: Outlet Loading (#8779) 2020-10-01 09:33:22 +01:00
menu-panel ui: Redesigns for the token/policy/roles listings pages (#8144) 2020-06-23 10:12:04 +01:00
modal-dialog ui: Replace dom-buffering components with ember-stargate Portals (#8273) 2020-07-09 14:30:17 +01:00
modal-layer ui: Replace dom-buffering components with ember-stargate Portals (#8273) 2020-07-09 14:30:17 +01:00
more-popover-menu ui: Rework popover-menu auto closing (#8340) 2020-08-10 09:26:02 +01:00
node-identity ui: Add namespaced versions of templated policies (#8173) 2020-06-23 17:58:43 +01:00
notification ui: KV Form and List Components (#8307) 2020-07-20 18:04:43 +01:00
oidc-select ui: Misc SSO w/Namespace amends (#7851) 2020-05-12 17:14:53 +00:00
outlet ui: Outlet Loading (#8779) 2020-10-01 09:33:22 +01:00
policy-form ui: Dependency upgrade (#8276) 2020-07-09 17:13:41 +01:00
policy-selector ui: Add namespaced versions of templated policies (#8173) 2020-06-23 17:58:43 +01:00
popover-menu ui: Centralized Config Intention Permission CRUD (#8762) 2020-09-30 12:33:01 +01:00
popover-select ui: Improved filtering and sorting (#8591) 2020-09-01 19:13:11 +01:00
radio-card ui: Workaround FF and/or ember problem, trying to set a value="" (#8884) 2020-10-08 20:32:27 +01:00
radio-group ui: Colocate pageobject components with their components (#8098) 2020-06-12 16:50:09 +01:00
ref ui: Move <Ref /> docs to README.mdx (#7459) 2020-05-12 17:14:17 +00:00
resolver-card ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
role-form ui: Colocate pageobject components with their components (#8098) 2020-06-12 16:50:09 +01:00
role-selector ui: Outlet Loading (#8779) 2020-10-01 09:33:22 +01:00
route-card ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
search-bar ui: Add Optgroups and selectedItems to multiple select dropdown and use (#8476) 2020-08-11 18:02:51 +01:00
secret-button ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
service-identity ui: Add namespaced versions of templated policies (#8173) 2020-06-23 17:58:43 +01:00
splitter-card ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
state ui: New Intention Form/List components (#8172) 2020-07-09 10:08:47 +01:00
state-chart ui: Change some components to use willDestroyElement vs willDestroy (#8313) 2020-07-17 09:49:58 +01:00
tab-nav ui: Ensure URLs for tabs change when selecting a different DC (#8397) 2020-07-29 16:09:40 +02:00
tab-section ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
tabular-collection ui: Outlet Loading (#8779) 2020-10-01 09:33:22 +01:00
tabular-details ui: Remove WithEventSource mixin, use a component instead (#7953) 2020-06-17 14:19:50 +01:00
tag-list ui: Refactor composite rows to use description lists and add Tooltips (#8175) 2020-06-24 09:54:16 -04:00
toggle-button ui: Misc amends for Safari and Firefox (#7907) 2020-05-18 17:21:10 +01:00
token-list ui: Colocate pageobject components with their components (#8098) 2020-06-12 16:50:09 +01:00
token-source UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
tomography-graph ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
tooltip ui: Token listing redesign (#8117) 2020-06-17 10:25:54 +01:00
topology-metrics Add metrics rendering to the new topology view. (#8858) 2020-10-09 21:31:15 +01:00