Repository navigation
Stop forcing Discovery for hosts containing 'cfg' - #595
Conversation
Signed-off-by: Fatehullah [C] Nassery <ufatehul@amazon.com>
|
No actionable comments were generated in the recent review. Walkthrough
Change: Bug fix · Severity of issue fixed: Medium Merge Risk:
|
| </div> | ||
| {connectionDetails.endpointType === "node" && connectionDetails.host.includes("cfg") && ( | ||
| <Typography className="col-span-2 -mt-2" variant="bodyXs"> | ||
| Hint: If this is a cluster configuration endpoint, switch Endpoint Type to Discovery. |
There was a problem hiding this comment.
Nit: Let's remove the Hint: , no other tool tip has that.
Signed-off-by: Fatehullah [C] Nassery <ufatehul@amazon.com>
Summary
Typing a host that contains
cfgin the connection modal switched Endpoint Type to Discovery on its own, which also reset the database. The modal now keeps the endpoint type you selected. When Node is selected and the host containscfg, it shows a hint suggesting Discovery instead. The hint spans the full Host/Port row so it doesn't wrap early.Builds on #568 by RajGahoi.
Fixes #442