-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
area/uiteam/tangerinetype/designui_triageCross-team/project UI issues for triageCross-team/project UI issues for triage
Description
Objective
To provide a consistent user experience around the sync/suspend/resume buttons featured across various UI views.
User Stories
These apply to all views listed directly below except where noted.
- As WGE user, I would like to receive brief information about what happens to my reconciliation after I click the "suspend" button, so that I can find out if there are any issues.
- As a WGE user, I would like to see an "edit" button instead of a pencil icon whenever I've created my resource with a template, so that I know exactly when I can use that button.
- As a user of WGE's Applications Details view, I would like to be able to sync without my source with the click of a button, so that I can sync small changes to my application without syncing the entire source.
Location of the Change/Work
These are the views that will require the update/standardization:
- Applications > Details; needs "Edit" button
- Sources > Details; needs "Edit" button
- GitOpsSets > Details; needs "Edit" button
- Secrets > Details
- TF Objects > Details
- Pipelines > Details
- Matching WeGO OSS views where relevant
Acceptance Criteria
- Related explanatory text/tooltips is 2-5 words max.
- The "suspended" notification includes succinct information about any impact that "suspending" has had on my reconciliation, within the related healthcheck (first of three healthchecks in that view).
- The "sync" button on the Applications > Details view has a functioning counterpart, "sync without source."
- The "sync without source" button at the Applications > Details view does not obscure/cover up the healthcheck underneath, should it continue to appear below the "sync" button.
- The "sync without source" button at the Applications > Details view should not hang, but rather disappear with another click on the button (should it continue to appear below the "sync" button).
- The "edit" button should not appear on the view unless the user's resource was created by a template.
- The icon is enabled when the resource was created by a template, and the user is able to edit the template.
Design
We would like to adopt the Terraform Objects view presentation in the Views listed under "Location of the Change/Work", which features a sync+pause+play button layout:

The Terraform objects view also features tooltips that a user can access by hovering over the buttons. We want to keep those.

Notes
- The sync default for Applications will sync the source with all the underlying applications.
- The "sync without source" button syncs only your Helm Release or your Kustomization; it's not the usual case scenario. Use case: when making a change on artifact repository (like a change in my manifest).
- from @joshri: "We use a module called react-toastify in OSS for sync notifications but it is not fully hooked up in EE, resulting in no notifications for sync OR suspend."
- from @joshri: need to balance tooltips with clunkiness. "Some of these explanations might get a little bulky for the UI - if out docs were perfect maybe some of these just open a new tab to the relevant docs page."
Metadata
Metadata
Assignees
Labels
area/uiteam/tangerinetype/designui_triageCross-team/project UI issues for triageCross-team/project UI issues for triage