hashicorp / hashicorp/consul

Intention dropdown in UI only includes local dc services

Open
#7,390 2 comments 5 reactions 0 assignees View on GitHub
theme/ui type/enhancement
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
1d 18h
Merged PRs (30d)
39

Description

I have service `static-client` running in `dc1` and service `static-server` running in `dc2`. I want to create an intention between the two. I go to the UI and select `static-client` in the dropdown for "Source Service". When I click on the dropdown for "Destination Service" `static-server` doesn't exist. I need to type in the service name and as I type it says "Use a future service called 'static-server'". This is confusing because it's not a future service, the service already exists, just not in the current DC.

![image](https://user-images.githubusercontent.com/1034429/75909848-e0afce00-5e1a-11ea-9afa-12b2b62a29d3.png)

NOTE in the screenshot I've already created the intention so `static-server` now shows in the dropdown. It would usually look like:
![image](https://user-images.githubusercontent.com/1034429/75909918-fb824280-5e1a-11ea-8bf4-a7ea89979eb5.png)

It would be nice if the dropdown included services from all dcs *or* "Use a future service" was re-worded to account for other dc services.

Contributor guide

Open the contributing guide

Research direction

Reproduce the intention-creation flow with services in different data centers and inspect the UI entry point that populates the Source Service and Destination Service dropdowns. Done means an existing service in another data center is represented correctly, or the fallback wording clearly distinguishes it from a future service.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.