-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
feat: CLI collection runner command generation UI flow #4141
feat: CLI collection runner command generation UI flow #4141
Conversation
5f282a8
to
3cf412e
Compare
126ea13
to
c9efc07
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
17b1e95
to
bffb78a
Compare
Discussed separately, the copy to clipboard action next to the generated CLI command made it appear crowded and a primary copy action already exists. |
packages/hoppscotch-common/src/components/collections/Collection.vue
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Look into,
#4141 (comment)
rest LGTM.
Add a new `properties` action under the context menu for environments.
Rename the `Run in CLI` action under the collection context menu to `Run collection`.
…operties` component The existing usages guarantee the above prop to be an object.
bffb78a
to
26260b6
Compare
26260b6
to
9e1a454
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ✅
Description
#4095 adds support for accessing collections/environments from a team workspace straightaway via the CLI by supplying the respective IDs without having to obtain an export. This PR includes UI flow updates to support the same where the CLI command to run a certain collection with the ID can be obtained (optionally including the active environment) via the context menu.
Closes HFE-520.
Changes
Fixes the case about dismissing the environment context menu (opened via pressing the
More
kebab menu) via pressingEscape
, which results in an exception.Made
editingProperties
a required prop for theCollectionsProperties
component withnull
removed from the types since the existing usages guarantee the above prop to be an object.New
Run collection
action under the context menu option for collections that displays the modal with the respective CLI command to run the collection, optionally including any active environment. It can also be accessed while hovering over a certain collection.The
Collection Properties
modal now includes a newDetails
tab that shows the collection ID.There'll be a new
properties
action under the context menu for environments that opens a newEnvironment Properties
modal which displays the respective environment ID.