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

"Add Deployment" page - populate fields from query parameters #451

Closed
dan-kirberger opened this issue Dec 3, 2021 · 2 comments
Closed
Labels
area/ui Indicates a change to the UI enhancement Indicates an improvement to a feature good first issue Good for newcomers

Comments

@dan-kirberger
Copy link

Description

We have some tooling that compares our apps in various environments, say tag 400 is in dev and 385 is in stage. We'd like to try using deployments to promote to stage.

Our options with that are:

  1. Go to the "Add deployment" page to submit a request.
    ➕ : No dependencies
    ➖ : Must enter data manually, error prone.

  2. Run a vela deploy command on the terminal.
    ➕ : We can programmatically generate the command that should be run in our tooling (like making sure the right parameters are provided)
    ➖ : Need vela cli installed, not something you typically normally need day to day, since the UI is so fancy. Takes you out of our slick web "dashboard" experience

What if the "Add deployment" page pre-populated fields based on query parameters?

image

Value

Minor engineer convenience for creating deployments.

Definition of Done

Form fields pre-populate (including parameters) based on the query parameters on the page.

Effort (Optional)

~1 Day? Operating on query parameters on the page to pre-populate form, no API interaction

@dan-kirberger dan-kirberger added the enhancement Indicates an improvement to a feature label Dec 3, 2021
@dan-kirberger
Copy link
Author

Github has similar functionality when creating a tag:
https://git.target.com/ORG/REPO/releases/new?tag=rc0.0.797

Will pre-populate the tag field with the provided value.

@plyr4
Copy link
Contributor

plyr4 commented Sep 19, 2024

not obvious, but this was completed in go-vela/ui#761 and becomes more clear with go-vela/ui#818 !

@plyr4 plyr4 closed this as completed Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui Indicates a change to the UI enhancement Indicates an improvement to a feature good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants