Skip to content

Commit

Permalink
manually fix unsortable imports placed after CSS side-effect imports
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Gilgur <[email protected]>
  • Loading branch information
Anton Gilgur committed Oct 24, 2024
1 parent 9e72923 commit ccf9faa
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@ import {Footnote} from '../shared/footnote';
import {services} from '../shared/services';
import {useCollectEvent} from '../shared/use-collect-event';
import {useQueryParams} from '../shared/use-query-params';
import useTimestamp, {TIMESTAMP_KEYS} from '../shared/use-timestamp';
import {ClusterWorkflowTemplateCreator} from './cluster-workflow-template-creator';

import './cluster-workflow-template-list.scss';

import useTimestamp, {TIMESTAMP_KEYS} from '../shared/use-timestamp';

export function ClusterWorkflowTemplateList({history, location}: RouteComponentProps<any>) {
const {navigation} = useContext(Context);
const queryParams = new URLSearchParams(location.search);
Expand Down
3 changes: 1 addition & 2 deletions ui/src/app/cron-workflows/cron-workflow-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,13 @@ import * as nsUtils from '../shared/namespaces';
import {services} from '../shared/services';
import {useCollectEvent} from '../shared/use-collect-event';
import {useQueryParams} from '../shared/use-query-params';
import useTimestamp, {TIMESTAMP_KEYS} from '../shared/use-timestamp';
import {CronWorkflowCreator} from './cron-workflow-creator';
import {CronWorkflowFilters} from './cron-workflow-filters';
import {PrettySchedule} from './pretty-schedule';

import './cron-workflow-list.scss';

import useTimestamp, {TIMESTAMP_KEYS} from '../shared/use-timestamp';

const learnMore = <a href='https://argo-workflows.readthedocs.io/en/latest/cron-workflows/'>Learn more</a>;

export function CronWorkflowList({match, location, history}: RouteComponentProps<any>) {
Expand Down
3 changes: 1 addition & 2 deletions ui/src/app/workflow-templates/workflow-template-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,12 @@ import {ScopedLocalStorage} from '../shared/scoped-local-storage';
import {services} from '../shared/services';
import {useCollectEvent} from '../shared/use-collect-event';
import {useQueryParams} from '../shared/use-query-params';
import useTimestamp, {TIMESTAMP_KEYS} from '../shared/use-timestamp';
import {WorkflowTemplateCreator} from './workflow-template-creator';
import {WorkflowTemplateFilters} from './workflow-template-filters';

import './workflow-template-list.scss';

import useTimestamp, {TIMESTAMP_KEYS} from '../shared/use-timestamp';

const learnMore = <a href='https://argo-workflows.readthedocs.io/en/latest/workflow-templates/'>Learn more</a>;

export function WorkflowTemplateList({match, location, history}: RouteComponentProps<any>) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import * as React from 'react';

import * as models from '../../../../models';
import {TimestampSwitch} from '../../../shared/components/timestamp';
import useTimestamp, {TIMESTAMP_KEYS} from '../../../shared/use-timestamp';
import {WorkflowsRow} from '../../../workflows/components/workflows-row/workflows-row';

import './workflow-details-list.scss';

import {TimestampSwitch} from '../../../shared/components/timestamp';
import useTimestamp, {TIMESTAMP_KEYS} from '../../../shared/use-timestamp';

interface WorkflowDetailsList {
workflows: models.Workflow[];
columns: models.Column[];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import {WorkflowOperations} from '../../../shared/workflow-operations-map';
import {WidgetGallery} from '../../../widgets/widget-gallery';
import {EventsPanel} from '../events-panel';
import {ResubmitWorkflowPanel} from '../resubmit-workflow-panel';
import {RetryWorkflowNode} from '../retry-workflow-node-panel';
import {RetryWorkflowPanel} from '../retry-workflow-panel';
import {WorkflowArtifacts} from '../workflow-artifacts';
import {WorkflowLogsViewer} from '../workflow-logs-viewer/workflow-logs-viewer';
Expand All @@ -44,8 +45,6 @@ import {WorkflowResourcePanel} from './workflow-resource-panel';

import './workflow-details.scss';

import {RetryWorkflowNode} from '../retry-workflow-node-panel';

function parseSidePanelParam(param: string) {
const [type, nodeId, container] = (param || '').split(':');
return {type, nodeId, container: container || 'main'};
Expand Down

0 comments on commit ccf9faa

Please sign in to comment.