Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui: Redesign - Node service instances tab #8204

Merged
merged 7 commits into from
Jul 1, 2020

Conversation

kaxcode
Copy link
Contributor

@kaxcode kaxcode commented Jun 29, 2020

  • Implemented the ConsulServiceInstancesList component to the Node show page
  • Updated the ConsulServiceInstacesList component to work for Nodes and Services
  • Created ConsulInstaceChecks component to refactor code and make the template file less busy
  • Updates Node test to work with ConsulServiceInstancesList

Screen Shot 2020-06-29 at 12 45 50 PM

@kaxcode kaxcode added theme/ui Anything related to the UI backport/1.8 labels Jun 29, 2020
@kaxcode kaxcode requested a review from johncowen June 29, 2020 17:47
Copy link
Contributor

@johncowen johncowen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work so far on this! I had a scan of the code and left a couple of comments, nothing major though. I did notice that there is still a bit more to do here also:

Screenshot 2020-06-30 at 10 04 55

and we need to make sure we set up the query parameters in the Controller. Take a look elsewhere on how this is done (or feel free to shout me)

Ping me again when those are done and I can take another look.

ui-v2/app/components/consul-node-service-list/index.hbs Outdated Show resolved Hide resolved
ui-v2/app/components/consul-instance-checks/index.hbs Outdated Show resolved Hide resolved
ui-v2/app/router.js Show resolved Hide resolved
@kaxcode
Copy link
Contributor Author

kaxcode commented Jun 30, 2020

I decided to leave the old SearchBar. I need to discuss with designers if the Search/Filter will change again for this page. Will make separate ticket afterwards.

@kaxcode kaxcode force-pushed the ui/feature/redesign-node-service-instances-tab branch 2 times, most recently from 4eacb4f to 0b90745 Compare June 30, 2020 19:55
@kaxcode kaxcode requested a review from johncowen June 30, 2020 20:08
Copy link
Contributor

@johncowen johncowen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of tiny things, if you can sort those out and ping me and I can give it a :shipit:

ui-v2/app/components/consul-instance-checks/index.js Outdated Show resolved Hide resolved
ui-v2/app/templates/dc/nodes/show/services.hbs Outdated Show resolved Hide resolved
@kaxcode kaxcode force-pushed the ui/feature/redesign-node-service-instances-tab branch from 0b90745 to 0a35316 Compare July 1, 2020 13:07
@kaxcode kaxcode force-pushed the ui/feature/redesign-node-service-instances-tab branch from 0a35316 to 0ec7f4e Compare July 1, 2020 13:17
@kaxcode kaxcode requested a review from johncowen July 1, 2020 13:28
Copy link
Contributor

@johncowen johncowen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! :shipit:

@kaxcode kaxcode merged commit 7a1284e into master Jul 1, 2020
@kaxcode kaxcode deleted the ui/feature/redesign-node-service-instances-tab branch July 1, 2020 14:27
@hashicorp-ci
Copy link
Contributor

🍒✅ Cherry pick of commit 7a1284e onto release/1.8.x succeeded!

hashicorp-ci pushed a commit that referenced this pull request Jul 1, 2020
* Upgrade consul-api-dobule to version 3.1.3

* Create ConsulInstaceChecks component with test

* Redesign: Service Instaces tab in for a Node

* Update Node tests to work with the ConsulServiceInstancesList

* Style fix to the copy button in the composite-row details

* Delete helper and move logic to ConsulInstanceChecks component

* Delete unused component consul-node-service-list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/ui Anything related to the UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants