Skip to content

Commit

Permalink
Replace the Sync/Suspend/Resume controls, used in the SyncActions a…
Browse files Browse the repository at this point in the history
…nd `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.
  • Loading branch information
opudrovs committed Oct 31, 2023
1 parent 15909de commit 496ddb2
Show file tree
Hide file tree
Showing 20 changed files with 4,741 additions and 1,269 deletions.
2 changes: 1 addition & 1 deletion ui/components/AutomationDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import ReconciledObjectsTable from "./ReconciledObjectsTable";
import ReconciliationGraph from "./ReconciliationGraph";
import RequestStateHandler from "./RequestStateHandler";
import SubRouterTabs, { RouterTab } from "./SubRouterTabs";
import SyncActions from "./SyncActions";
import SyncActions from "./Sync/SyncActions";
import Text from "./Text";
import Timestamp from "./Timestamp";
import YamlView from "./YamlView";
Expand Down
119 changes: 0 additions & 119 deletions ui/components/CheckboxActions.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion ui/components/DataTable/DataTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import styled from "styled-components";
import { ThemeTypes } from "../../contexts/AppContext";
import { SearchedNamespaces } from "../../lib/types";
import { IconButton } from "../Button";
import CheckboxActions from "../CheckboxActions";
import ChipGroup from "../ChipGroup";
import FilterDialog, {
FilterConfig,
Expand All @@ -16,6 +15,7 @@ import FilterDialog, {
import Flex from "../Flex";
import Icon, { IconType } from "../Icon";
import SearchField from "../SearchField";
import CheckboxActions from "../Sync/CheckboxActions";
import {
filterRows,
filterSelectionsToQueryString,
Expand Down
Loading

0 comments on commit 496ddb2

Please sign in to comment.