Skip to content

Commit

Permalink
inventory details pages tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliot Yibaebi committed Jan 14, 2025
1 parent 9a40aaf commit 1f9115d
Show file tree
Hide file tree
Showing 81 changed files with 3,378 additions and 1,159 deletions.
15 changes: 0 additions & 15 deletions app/adapters/sk-inventory-approval-status.ts

This file was deleted.

1 change: 1 addition & 0 deletions app/components/ak-svg/aox-icon.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
viewBox='0 0 33 32'
fill='none'
xmlns='http://www.w3.org/2000/svg'
...attributes
>
<circle cx='16.6699' cy='16' r='15.5' fill='#FFEDEC' stroke='#FF3A44' />
<path
Expand Down
1 change: 1 addition & 0 deletions app/components/ak-svg/no-pending-items.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
viewBox='0 0 171 106'
fill='none'
xmlns='http://www.w3.org/2000/svg'
...attributes
>
<g clip-path='url(#clip0_1313_21544)'>
<path
Expand Down
1 change: 1 addition & 0 deletions app/components/ak-svg/sox-malware-feature-absence.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
viewBox='0 0 177 109'
fill='none'
xmlns='http://www.w3.org/2000/svg'
...attributes
>
<g clip-path='url(#clip0_2936_18478)'>
<path
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
viewBox='0 0 210 118'
fill='none'
xmlns='http://www.w3.org/2000/svg'
...attributes
>
<path
d='M0 117H210'
Expand Down
51 changes: 0 additions & 51 deletions app/components/storeknox/discover/requested-apps/table/index.hbs

This file was deleted.

This file was deleted.

120 changes: 0 additions & 120 deletions app/components/storeknox/discover/requested-apps/table/index.ts

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
{{style height='50px'}}
>
<:icon>
<AkIcon @iconName='auto-graph' @color='textPrimary' />
<AkIcon
@iconName='auto-graph'
@color='textPrimary'
data-test-storeknoxInventoryDetails-actionListHeaderIcon
/>
</:icon>

<:default>
Expand All @@ -13,16 +17,28 @@
@justifyContent='space-between'
@alignItems='center'
>
<AkTypography @fontWeight='medium'>
<AkTypography
@fontWeight='medium'
data-test-storeknoxInventoryDetails-actionListHeaderText
>
{{t 'storeknox.actionNeeded'}}
({{this.actionableItemsCount}})
</AkTypography>

<AkTooltip @title='Last Monitored Date' @color='light' @arrow={{true}}>
<AkTooltip
@title='Last Monitored Date'
@color='light'
@arrow={{true}}
data-test-storeknoxInventoryDetails-lastMonitoredDateTooltip
>
<AkStack @spacing='0.5' local-class='last-monitored-date'>
<AkIcon @iconName='event' @color='textPrimary' />
<AkIcon
@iconName='event'
@color='textPrimary'
data-test-storeknoxInventoryDetails-lastMonitoredDateIcon
/>

<AkTypography>
<AkTypography data-test-storeknoxInventoryDetails-lastMonitoredDate>
{{this.lastMonitoredDate}}
</AkTypography>
</AkStack>
Expand All @@ -42,6 +58,7 @@
@needsAction={{action.needsAction}}
@featureInProgress={{action.featureInProgress}}
@label={{action.label}}
data-test-storeknoxInventoryDetails-actionBtn
/>
</AkLink>
{{/each}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ import type SkInventoryAppModel from 'irene/models/sk-inventory-app';

interface StoreknoxInventoryDetailsAppDetailsActionsListSignature {
Args: {
app?: SkInventoryAppModel;
skInventoryApp?: SkInventoryAppModel;
};
}

export default class StoreknoxInventoryDetailsAppDetailsActionsListComponent extends Component<StoreknoxInventoryDetailsAppDetailsActionsListSignature> {
@service declare intl: IntlService;

get skInventoryApp() {
return this.args.app;
return this.args.skInventoryApp;
}

get actionsList() {
Expand Down
Loading

0 comments on commit 1f9115d

Please sign in to comment.