-
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
Sync UI: Add granularity to sync destinations #25500
Sync UI: Add granularity to sync destinations #25500
Conversation
Build Results: |
CI Results: |
ui/lib/sync/addon/components/secrets/page/destinations/destination/sync.hbs
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.
I probably have the least context on the team re: secret sync, so please reach out to Jordan if you feel the extra review is needed. However, I also know ga freeze is soon, so didn't want you blocked.
<span>{{or val.label val.value val}}</span> | ||
{{or val.label val.value val}} | ||
{{#if val.helpText}} | ||
<Hds::TooltipButton @text={{val.helpText}} aria-label="More information"> |
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.
I used Hds here because InfoTooltip
styling was too low and didn't have the patience to CSS
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.
@@ -38,6 +38,11 @@ | |||
Select a KV engine mount and path to sync a secret to the | |||
{{@destination.typeDisplayName}} | |||
destination. Selecting a previously synced secret will re-sync that secret. | |||
{{#if (eq @destination.granularity "secret-key")}} |
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.
<li> | ||
<LinkTo | ||
class="has-text-black has-text-weight-semibold" | ||
<Item.menu @hasMenu={{false}}> |
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.
@hasMenu
is false so that we can use the Hds::Dropdown
istead of PopupMenu
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.
replaced destinations popup menu so the views were consistent
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.
UI updates adding
granularity
field to a sync destination.secret key
badge to list viewHds::Dropdown
so that adding copy to the popup menu was cleaner