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

Bring PR Preview to the GitOps section #3411

Merged
merged 10 commits into from
Oct 2, 2023
Merged

Conversation

AlinaGoaga
Copy link
Contributor

@AlinaGoaga AlinaGoaga commented Sep 27, 2023

Closes #3377

What changed?

  • Changed the GitOps section title to GitOps: Review and create
  • Moved PR Preview button into the GitOps section
  • Loading state was moved to the Create PR and Preview PR buttons to match other action buttons like Sync and Suspend; also, it gives us the possibility to move things around without impacting the GitOps component.

Actual state:
https://github.com/weaveworks/weave-gitops-enterprise/assets/35202557/5bc2b051-6f8d-465c-a37c-5e4fee93c0a4

Why was this change made?
This will indicate to the user that the section affects the resulting PR (which repo to create a PR for, what to put in the PR title and so on).

Other follow ups
The PR Preview sections are slightly different across the forms so there is a bit of repetition in the code. Make follow up ticket to address and perhaps move this section into the GitOps component.

@AlinaGoaga AlinaGoaga added exclude from release notes Use this label to exclude a PR from the release notes and removed area/ui labels Sep 27, 2023
@AlinaGoaga AlinaGoaga marked this pull request as ready for review September 28, 2023 12:59
@AlinaGoaga AlinaGoaga merged commit 243d779 into main Oct 2, 2023
@AlinaGoaga AlinaGoaga deleted the update-gitops-form-section branch October 2, 2023 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exclude from release notes Use this label to exclude a PR from the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Standardize the "GitOps" section title and PR button placement across the UI
2 participants