Skip to content

Commit b2d13d1

Browse files
committed
Replace the Sync/Suspend/Resume controls, used in the SyncActions and CheckboxActions components, with the new Sync/Suspend/Resume controls (the SyncControl component) (#4080)
* Create the new `SyncControls` component for Sync/Suspend/Resume controls. * Move all components, related to syncing and suspending objects (existing `SyncActions` and `CheckboxActions` and new `SyncControls` and `ResumeIcon`), to the `Sync` folder. * Update the related UI snapshot. * Add `SyncControls` to exports. * Move custom actions to the start (left) of `SyncControls` buttons. * Re-arrange icons in `IconType` alphabetically.
1 parent b854e27 commit b2d13d1

20 files changed

+4741
-1269
lines changed

ui/components/AutomationDetail.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import ReconciledObjectsTable from "./ReconciledObjectsTable";
2121
import ReconciliationGraph from "./ReconciliationGraph";
2222
import RequestStateHandler from "./RequestStateHandler";
2323
import SubRouterTabs, { RouterTab } from "./SubRouterTabs";
24-
import SyncActions from "./SyncActions";
24+
import SyncActions from "./Sync/SyncActions";
2525
import Text from "./Text";
2626
import Timestamp from "./Timestamp";
2727
import YamlView from "./YamlView";

ui/components/CheckboxActions.tsx

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

ui/components/DataTable/DataTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import styled from "styled-components";
66
import { ThemeTypes } from "../../contexts/AppContext";
77
import { SearchedNamespaces } from "../../lib/types";
88
import { IconButton } from "../Button";
9-
import CheckboxActions from "../CheckboxActions";
109
import ChipGroup from "../ChipGroup";
1110
import FilterDialog, {
1211
FilterConfig,
@@ -16,6 +15,7 @@ import FilterDialog, {
1615
import Flex from "../Flex";
1716
import Icon, { IconType } from "../Icon";
1817
import SearchField from "../SearchField";
18+
import CheckboxActions from "../Sync/CheckboxActions";
1919
import {
2020
filterRows,
2121
filterSelectionsToQueryString,

0 commit comments

Comments
 (0)