-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
UI: HDS adoption update <AlertInline> component to use Hds::Alert #24299
UI: HDS adoption update <AlertInline> component to use Hds::Alert #24299
Conversation
@@ -22,8 +22,7 @@ | |||
/> | |||
</div> | |||
<AlertInline | |||
@sizeSmall={{true}} |
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.
the class size-small
no longer exists (functionality have been removed previously?), so remove this arg all together.
@@ -34,5 +34,5 @@ | |||
/> | |||
</Hds::SegmentedGroup> | |||
{{#if this.invalidDate}} | |||
<AlertInline @type="danger" @message={{this.invalidDate}} @paddingTop={{true}} @mimicRefresh={{true}} /> |
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.
decided to make @mimicRefresh
part of the default functionality in this component, since moving forward Hds::Alert
should just be used directly if the refresh functionality is not needed
<Icon class="is-flex-v-centered has-text-highlight" @name="alert-triangle-fill" /> | ||
<Hds::Alert class="is-flex-v-centered" @type="compact" @color="warning" /> | ||
{{/if}} | ||
</div> | ||
{{/each}} | ||
{{#if this.indicesWithComma}} |
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.
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.
Build Results: |
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.
Your data contains an upgrade. | ||
<DocLink | ||
@path="/vault/docs/concepts/client-count/faq#q-which-vault-version-reflects-the-most-accurate-client-counts" | ||
<Hds::Alert class="has-top-padding-m" @type="compact" @color="warning" as |A|> |
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.
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.
A couple of non-blocking comments. Awesome work on this. It's going to look so good with this now in place!
Use
Hds::Alert @type="compact"
in theAlertInline
component so styling is consistent throughout UI.