Skip to content
This repository was archived by the owner on Mar 9, 2025. It is now read-only.

Commit 9e19ae2

Browse files
committed
Refactor
1 parent 1443067 commit 9e19ae2

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

web/dashboard/src/components/serviceDetail/serviceDetail.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { usePostHog } from 'posthog-js/react'
1313
import Timeline from './timeline';
1414
import { AlertPanel } from '../../views/pulse/pulse';
1515
import { Logs } from '../../views/footer/logs';
16-
import { Describe } from '../../views/footer/Describe';
16+
import { Describe } from '../../views/footer/capacitor/Describe';
1717

1818
function ServiceDetail(props) {
1919
const { stack, rolloutHistory, rollback, envName, owner, repoName, navigateToConfigEdit, linkToDeployment, configExists, config, fileName, releaseHistorySinceDays, gimletClient, store, deploymentFromParams, scmUrl, builtInEnv, serviceAlerts } = props;

web/dashboard/src/views/footer/capacitor/CompactService.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ limitations under the License.
1616

1717
import React from 'react';
1818
import { Logs } from '../logs'
19-
import { Describe } from '../Describe'
19+
import { Describe } from './Describe'
2020
import { Pod, podContainers } from './Service'
2121

2222
export function CompactService(props) {

web/dashboard/src/views/footer/describe.jsx renamed to web/dashboard/src/views/footer/capacitor/Describe.jsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ Original version: https://github.com/gimlet-io/capacitor/blob/main/web/src/Descr
1717
*/
1818

1919
import React, { useState } from 'react';
20-
import { SkeletonLoader } from './capacitor/SkeletonLoader'
21-
import { Modal } from './capacitor/Modal'
22-
import { ACTION_TYPE_CLEAR_DETAILS } from '../../redux/redux';
20+
import { SkeletonLoader } from './SkeletonLoader'
21+
import { Modal } from './Modal'
22+
import { ACTION_TYPE_CLEAR_DETAILS } from '../../../redux/redux';
2323

2424
export function Describe(props) {
2525
const { capacitorClient, store, namespace, deployment, pods } = props;

web/dashboard/src/views/footer/ExpandedFooter.jsx renamed to web/dashboard/src/views/footer/capacitor/ExpandedFooter.jsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ limitations under the License.
1616
Original version: https://github.com/gimlet-io/capacitor/blob/main/web/src/ExpandedFooter.jsx
1717
*/
1818

19-
import { Kustomizations } from './capacitor/Kustomizations';
20-
import { HelmReleases } from './capacitor/HelmReleases';
21-
import FluxEvents from './capacitor/FluxEvents';
22-
import { Sources } from './capacitor/Sources';
23-
import { CompactServices } from './capacitor/CompactServices';
19+
import { Kustomizations } from './Kustomizations';
20+
import { HelmReleases } from './HelmReleases';
21+
import FluxEvents from './FluxEvents';
22+
import { Sources } from './Sources';
23+
import { CompactServices } from './CompactServices';
2424

2525
export function ExpandedFooter(props) {
2626
const { client, fluxState, fluxEvents, sources, handleNavigationSelect, targetReference, selected, store } = props;

web/dashboard/src/views/footer/footer.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ArrowDownIcon, ArrowUpIcon } from '@heroicons/react/solid';
22
import React, { memo, Component } from 'react';
33
import { Summary } from "./capacitor/Summary"
4-
import { ExpandedFooter } from './ExpandedFooter';
4+
import { ExpandedFooter } from './capacitor/ExpandedFooter';
55
import {
66
ACTION_TYPE_OPEN_DEPLOY_PANEL,
77
ACTION_TYPE_CLOSE_DEPLOY_PANEL

0 commit comments

Comments
 (0)