Skip to content

Commit 8659b6d

Browse files
committed
remove rocket svg and its usages
1 parent 1b3030a commit 8659b6d

File tree

7 files changed

+5
-63
lines changed

7 files changed

+5
-63
lines changed

redisinsight/ui/src/assets/img/icons/rocket.svg

Lines changed: 0 additions & 37 deletions
This file was deleted.

redisinsight/ui/src/assets/img/oauth/rocket.svg

Lines changed: 0 additions & 10 deletions
This file was deleted.

redisinsight/ui/src/assets/img/rdi/rocket.svg

Lines changed: 0 additions & 6 deletions
This file was deleted.

redisinsight/ui/src/components/base/icons/iconRegistry.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ import RedisDbBlueSvg from 'uiSrc/assets/img/icons/redis_db_blue.svg?react'
3333
import RedisLogoFullSvg from 'uiSrc/assets/img/logo.svg?react'
3434
import RedisLogoSvg from 'uiSrc/assets/img/logo_small.svg?react'
3535
import ResetSvg from 'uiSrc/assets/img/rdi/reset.svg?react'
36-
import RocketSvg from 'uiSrc/assets/img/rdi/rocket.svg?react'
3736
import ShrinkSvg from 'uiSrc/assets/img/icons/shrink.svg?react'
3837
import SilentModeSvg from 'uiSrc/assets/img/icons/silent_mode.svg?react'
3938
import SnoozeSvg from 'uiSrc/assets/img/icons/snooze.svg?react'
@@ -198,7 +197,6 @@ export const RedisDbBlueIcon = createIconComponent(RedisDbBlueSvg)
198197
export const RedisLogo = createIconComponent(RedisLogoSvg)
199198
export const RedisLogoFullIcon = createIconComponent(RedisLogoFullSvg)
200199
export const RiResetIcon = createIconComponent(ResetSvg)
201-
export const RiRocketIcon = createIconComponent(RocketSvg)
202200
export const RiStarsIcon = createIconComponent(StarsSvg)
203201
export const RiStopIcon = createIconComponent(StopIconSvg)
204202
export const RiUserIcon = createIconComponent(UserSvg)

redisinsight/ui/src/components/side-panels/panels/enablement-area/EnablementArea/components/InternalPage/InternalPage.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { debounce } from 'lodash'
55
import { useLocation, useParams } from 'react-router-dom'
66
import { useSelector } from 'react-redux'
77

8-
import { ChevronLeftIcon } from 'uiSrc/components/base/icons'
8+
import { ChevronLeftIcon, RocketIcon } from 'uiSrc/components/base/icons'
99
import { ExternalLink, HorizontalRule, LoadingContent } from 'uiSrc/components'
1010
import { RiPopover } from 'uiSrc/components/base'
1111
import { IEnablementAreaItem } from 'uiSrc/slices/interfaces'
@@ -16,7 +16,6 @@ import {
1616
} from 'uiSrc/telemetry'
1717
import { getTutorialCapability, Nullable } from 'uiSrc/utils'
1818

19-
import RocketIcon from 'uiSrc/assets/img/icons/rocket.svg?react'
2019
import { appContextCapability } from 'uiSrc/slices/app/context'
2120
import {
2221
isShowCapabilityTutorialPopover,

redisinsight/ui/src/pages/home/components/add-database-screen/components/connectivity-options/ConnectivityOptions.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
import React from 'react'
22
import cx from 'classnames'
3-
43
import styled from 'styled-components'
4+
55
import { AddDbType } from 'uiSrc/pages/home/constants'
66
import { FeatureFlagComponent, OAuthSsoHandlerDialog } from 'uiSrc/components'
77
import { getUtmExternalLink } from 'uiSrc/utils/links'
88
import { EXTERNAL_LINKS, UTM_CAMPAINGS } from 'uiSrc/constants/links'
99
import { FeatureFlags } from 'uiSrc/constants'
1010
import { OAuthSocialAction, OAuthSocialSource } from 'uiSrc/slices/interfaces'
11-
12-
import CloudIcon from 'uiSrc/assets/img/oauth/cloud_centered.svg?react'
13-
import RocketIcon from 'uiSrc/assets/img/oauth/rocket.svg?react'
11+
import { CloudIcon, RocketIcon } from 'uiSrc/components/base/icons'
1412

1513
import { Col, FlexItem, Grid } from 'uiSrc/components/base/layout/flex'
1614
import { Spacer } from 'uiSrc/components/base/layout/spacer'

redisinsight/ui/src/pages/rdi/instance/components/header/components/buttons/deploy-pipeline-button/DeployPipelineButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { FlexItem, Row } from 'uiSrc/components/base/layout/flex'
1919
import { Spacer } from 'uiSrc/components/base/layout/spacer'
2020
import { OutsideClickDetector } from 'uiSrc/components/base/utils'
2121
import { PrimaryButton } from 'uiSrc/components/base/forms/buttons'
22-
import { RiRocketIcon } from 'uiSrc/components/base/icons'
22+
import { RocketIcon } from 'uiSrc/components/base/icons'
2323
import { Title } from 'uiSrc/components/base/text/Title'
2424
import { Checkbox } from 'uiSrc/components/base/forms/checkbox/Checkbox'
2525
import { RiPopover, RiTooltip } from 'uiSrc/components/base'
@@ -119,7 +119,7 @@ const DeployPipelineButton = ({ loading, disabled, onReset }: Props) => {
119119
<PrimaryButton
120120
size="s"
121121
onClick={handleClickDeploy}
122-
icon={RiRocketIcon}
122+
icon={RocketIcon}
123123
disabled={disabled}
124124
loading={loading}
125125
data-testid="deploy-rdi-pipeline"

0 commit comments

Comments
 (0)