Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/Assets/IconV2/ic-arrows-clockwise.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/Assets/IconV2/ic-filter-applied.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/Assets/IconV2/ic-filter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/Assets/IconV2/ic-hibernate-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/Assets/IconV2/ic-hibernate.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/Assets/IconV2/ic-more-vertical.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/Assets/IconV2/ic-sun.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/Assets/IconV2/ic-traffic-signal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/Common/Checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class Checkbox extends Component<CheckboxProps> {
<input
{...(this.props.name ? { name: this.props.name } : {})}
type="checkbox"
className="form__checkbox"
className={`form__checkbox ${this.props.error ? 'error': ''}`}
disabled={this.props.disabled}
value={this.props.value}
onChange={this.props.onChange}
Expand Down
1 change: 1 addition & 0 deletions src/Common/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export interface CheckboxProps {
onClick?: (event) => void
id?: string
dataTestId?: string
error?: boolean
}

export interface TippyCustomizedProps extends Pick<TippyProps, 'appendTo'> {
Expand Down
14 changes: 14 additions & 0 deletions src/Shared/Components/Icon/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { ReactComponent as ICApica } from '@IconsV2/ic-apica.svg'
import { ReactComponent as ICAppGroup } from '@IconsV2/ic-app-group.svg'
import { ReactComponent as ICArrowClockwise } from '@IconsV2/ic-arrow-clockwise.svg'
import { ReactComponent as ICArrowRight } from '@IconsV2/ic-arrow-right.svg'
import { ReactComponent as ICArrowsClockwise } from '@IconsV2/ic-arrows-clockwise.svg'
import { ReactComponent as ICArrowsLeftRight } from '@IconsV2/ic-arrows-left-right.svg'
import { ReactComponent as ICAther } from '@IconsV2/ic-ather.svg'
import { ReactComponent as ICAzure } from '@IconsV2/ic-azure.svg'
Expand Down Expand Up @@ -49,6 +50,8 @@ import { ReactComponent as ICError } from '@IconsV2/ic-error.svg'
import { ReactComponent as ICFailure } from '@IconsV2/ic-failure.svg'
import { ReactComponent as ICFastForward } from '@IconsV2/ic-fast-forward.svg'
import { ReactComponent as ICFileKey } from '@IconsV2/ic-file-key.svg'
import { ReactComponent as ICFilter } from '@IconsV2/ic-filter.svg'
import { ReactComponent as ICFilterApplied } from '@IconsV2/ic-filter-applied.svg'
import { ReactComponent as ICFlask } from '@IconsV2/ic-flask.svg'
import { ReactComponent as ICFolderUser } from '@IconsV2/ic-folder-user.svg'
import { ReactComponent as ICGear } from '@IconsV2/ic-gear.svg'
Expand All @@ -67,6 +70,7 @@ import { ReactComponent as ICHelm } from '@IconsV2/ic-helm.svg'
import { ReactComponent as ICHelpFilled } from '@IconsV2/ic-help-filled.svg'
import { ReactComponent as ICHelpOutline } from '@IconsV2/ic-help-outline.svg'
import { ReactComponent as ICHibernate } from '@IconsV2/ic-hibernate.svg'
import { ReactComponent as ICHibernateCircle } from '@IconsV2/ic-hibernate-circle.svg'
import { ReactComponent as ICInProgress } from '@IconsV2/ic-in-progress.svg'
import { ReactComponent as ICInfoFilled } from '@IconsV2/ic-info-filled.svg'
import { ReactComponent as ICInfoOutline } from '@IconsV2/ic-info-outline.svg'
Expand All @@ -87,6 +91,7 @@ import { ReactComponent as ICMemory } from '@IconsV2/ic-memory.svg'
import { ReactComponent as ICMicrosoft } from '@IconsV2/ic-microsoft.svg'
import { ReactComponent as ICMissing } from '@IconsV2/ic-missing.svg'
import { ReactComponent as ICMonitoring } from '@IconsV2/ic-monitoring.svg'
import { ReactComponent as ICMoreVertical } from '@IconsV2/ic-more-vertical.svg'
import { ReactComponent as ICNew } from '@IconsV2/ic-new.svg'
import { ReactComponent as ICNodeScript } from '@IconsV2/ic-node-script.svg'
import { ReactComponent as ICOidc } from '@IconsV2/ic-oidc.svg'
Expand Down Expand Up @@ -114,13 +119,15 @@ import { ReactComponent as ICStrategyCanary } from '@IconsV2/ic-strategy-canary.
import { ReactComponent as ICStrategyRecreate } from '@IconsV2/ic-strategy-recreate.svg'
import { ReactComponent as ICStrategyRolling } from '@IconsV2/ic-strategy-rolling.svg'
import { ReactComponent as ICSuccess } from '@IconsV2/ic-success.svg'
import { ReactComponent as ICSun } from '@IconsV2/ic-sun.svg'
import { ReactComponent as ICSuspended } from '@IconsV2/ic-suspended.svg'
import { ReactComponent as ICTata1mg } from '@IconsV2/ic-tata1mg.svg'
import { ReactComponent as ICTerminalFill } from '@IconsV2/ic-terminal-fill.svg'
import { ReactComponent as ICThumbDown } from '@IconsV2/ic-thumb-down.svg'
import { ReactComponent as ICThumbUp } from '@IconsV2/ic-thumb-up.svg'
import { ReactComponent as ICTimeoutDash } from '@IconsV2/ic-timeout-dash.svg'
import { ReactComponent as ICTimer } from '@IconsV2/ic-timer.svg'
import { ReactComponent as ICTrafficSignal } from '@IconsV2/ic-traffic-signal.svg'
import { ReactComponent as ICTravclan } from '@IconsV2/ic-travclan.svg'
import { ReactComponent as ICUnknown } from '@IconsV2/ic-unknown.svg'
import { ReactComponent as ICUserKey } from '@IconsV2/ic-user-key.svg'
Expand All @@ -139,6 +146,7 @@ export const iconMap = {
'ic-app-group': ICAppGroup,
'ic-arrow-clockwise': ICArrowClockwise,
'ic-arrow-right': ICArrowRight,
'ic-arrows-clockwise': ICArrowsClockwise,
'ic-arrows-left-right': ICArrowsLeftRight,
'ic-ather': ICAther,
'ic-azure': ICAzure,
Expand Down Expand Up @@ -181,6 +189,8 @@ export const iconMap = {
'ic-failure': ICFailure,
'ic-fast-forward': ICFastForward,
'ic-file-key': ICFileKey,
'ic-filter-applied': ICFilterApplied,
'ic-filter': ICFilter,
'ic-flask': ICFlask,
'ic-folder-user': ICFolderUser,
'ic-gear': ICGear,
Expand All @@ -198,6 +208,7 @@ export const iconMap = {
'ic-helm': ICHelm,
'ic-help-filled': ICHelpFilled,
'ic-help-outline': ICHelpOutline,
'ic-hibernate-circle': ICHibernateCircle,
'ic-hibernate': ICHibernate,
'ic-in-progress': ICInProgress,
'ic-info-filled': ICInfoFilled,
Expand All @@ -219,6 +230,7 @@ export const iconMap = {
'ic-microsoft': ICMicrosoft,
'ic-missing': ICMissing,
'ic-monitoring': ICMonitoring,
'ic-more-vertical': ICMoreVertical,
'ic-new': ICNew,
'ic-node-script': ICNodeScript,
'ic-oidc': ICOidc,
Expand Down Expand Up @@ -246,13 +258,15 @@ export const iconMap = {
'ic-strategy-recreate': ICStrategyRecreate,
'ic-strategy-rolling': ICStrategyRolling,
'ic-success': ICSuccess,
'ic-sun': ICSun,
'ic-suspended': ICSuspended,
'ic-tata1mg': ICTata1mg,
'ic-terminal-fill': ICTerminalFill,
'ic-thumb-down': ICThumbDown,
'ic-thumb-up': ICThumbUp,
'ic-timeout-dash': ICTimeoutDash,
'ic-timer': ICTimer,
'ic-traffic-signal': ICTrafficSignal,
'ic-travclan': ICTravclan,
'ic-unknown': ICUnknown,
'ic-user-key': ICUserKey,
Expand Down
2 changes: 1 addition & 1 deletion src/Shared/Components/StatusComponent/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const getIconName = (status: string, showAnimatedIcon: boolean): IconName
return 'ic-in-progress'
case 'hibernating':
case 'hibernated':
return 'ic-hibernate'
return 'ic-hibernate-circle'
case 'timedout':
case 'timed_out':
return 'ic-timeout-dash'
Expand Down