upbound / up

The @upbound CLI
Apache License 2.0
49 stars 42 forks source link

up ctx: Add menu item for connecting to a control plane #510

Closed cbuto closed 1 month ago

cbuto commented 1 month ago

Description of your changes

This PR adds a menu item to the space/group/control plane views that allows users to select it which saves the context and exits, just like q/f10.

Fixes https://github.com/upbound/up/issues/502

I have:

How has this code been tested

tested locally

screenshots:

Control plane:

Screenshot 2024-05-10 at 4 54 48 PM

Group:

Screenshot 2024-05-10 at 4 53 42 PM

Space:

Screenshot 2024-05-10 at 4 53 06 PM
RedbackThomson commented 1 month ago

Will follow up with fixes in the next PR