consul/ui-v2
John Cowen 5ea748005c
UI: External Source markers (#4640)
1. Addition of external source icons for services marked as such.
2. New %with-tooltip css component (wip)
3. New 'no healthcheck' icon as external sources might not have
healthchecks, also minus icon on node cards in the service detail view
4. If a service doesn't have healthchecks, we use the [Services] tabs as the
default instead of the [Health Checks] tab in the Service detail page. 
5. `css-var` helper. The idea here is that it will eventually be
replaced with pure css custom properties instead of having to use JS. It
would be nice to be able to build the css variables into the JS at build
time (you'd probably still want to specify in config which variables you
wanted available in JS), but that's possible future work.

Lastly there is probably a tiny bit more testing edits here than usual,
I noticed that there was an area where the dynamic mocking wasn't
happening, it was just using the mocks from consul-api-double, the mocks
I was 'dynamically' setting happened to be the same as the ones in
consul-api-double. I've fixed this here also but it wasn't effecting
anything until actually made certain values dynamic.
2018-09-12 20:23:39 +01:00
..
app UI: External Source markers (#4640) 2018-09-12 20:23:39 +01:00
config UI: Add conditional enterprise logo (#4432) 2018-07-30 17:59:43 +01:00
lib UI: Add conditional enterprise logo (#4432) 2018-07-30 17:59:43 +01:00
public UI V2 (#4086) 2018-05-10 19:52:53 +01:00
tests UI: External Source markers (#4640) 2018-09-12 20:23:39 +01:00
.dev.eslintrc.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
.editorconfig UI V2 (#4086) 2018-05-10 19:52:53 +01:00
.ember-cli Move testing doubles to use data embedded in the HTML vs HTTP/fetch 2018-07-02 19:02:16 +01:00
.eslintrc.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
.gitignore WIP: Feature/acceptance tests 2018-06-12 11:24:35 +01:00
.nvmrc UI V2 (#4086) 2018-05-10 19:52:53 +01:00
.prettierrc UI V2 (#4086) 2018-05-10 19:52:53 +01:00
.watchmanconfig UI V2 (#4086) 2018-05-10 19:52:53 +01:00
GNUmakefile Move testing doubles to use data embedded in the HTML vs HTTP/fetch 2018-07-02 19:02:16 +01:00
README.md Add some more detail to the README pre-adding a CONTRIBUTING 2018-07-05 09:20:58 +01:00
ember-cli-build.js UI: Simplify/refactor the actions/notification layer (#4572) + (#4573) 2018-08-29 19:14:31 +01:00
package.json UI: Bugfix. Move to a different TextEncoder/Decoder (#4613) 2018-09-12 20:15:58 +01:00
testem.js UI V2 (#4086) 2018-05-10 19:52:53 +01:00
yarn.lock UI: External Source markers (#4640) 2018-09-12 20:23:39 +01:00

README.md

consul-ui

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone https://github.com/hashicorp/consul.git this repository
  • cd ui-v2
  • yarn install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

You do not need to run make start-api/yarn run start:api to run the tests

  • make test or yarn run test
  • make test-view or yarn run test:view to view the tests running in Chrome