@@ -32,19 +32,20 @@ import { useConnectionFormService } from "hooks/services/ConnectionForm/Connecti
32
32
import { useExperiment } from "hooks/services/Experiment" ;
33
33
34
34
import { CursorCell } from "./components/CursorCell" ;
35
+ import { ExpandCollapseAllControl } from "./components/ExpandCollapseAllControl" ;
35
36
import { FieldCursorCell } from "./components/FieldCursorCell" ;
36
37
import { FieldHashMapping } from "./components/FieldHashMapping" ;
37
38
import { FieldPKCell } from "./components/FieldPKCell" ;
38
39
import { FormControls } from "./components/FormControls" ;
39
40
import { HeaderNamespaceCell } from "./components/HeaderNamespaceCell" ;
40
41
import { NamespaceNameCell } from "./components/NamespaceNameCell" ;
41
42
import { PKCell } from "./components/PKCell" ;
43
+ import { RefreshSchemaControl } from "./components/RefreshSchemaControl" ;
42
44
import { SelectedFieldsCell } from "./components/SelectedFieldsCell" ;
43
45
import { StreamFieldNameCell } from "./components/StreamFieldCell" ;
44
46
import { StreamNameCell } from "./components/StreamNameCell" ;
45
47
import { FilterTabId , StreamsFilterTabs } from "./components/StreamsFilterTabs" ;
46
48
import { SyncModeCell } from "./components/SyncModeCell" ;
47
- import { TableControls } from "./components/TableControls" ;
48
49
import { useInitialRowIndex } from "./hooks/useInitialRowIndex" ;
49
50
import styles from "./SyncCatalogTable.module.scss" ;
50
51
import { getRowChangeStatus , getSyncCatalogRows , isNamespaceRow , isStreamRow } from "./utils" ;
@@ -451,7 +452,7 @@ export const SyncCatalogTable: FC<SyncCatalogTableProps> = ({ scrollParentContai
451
452
452
453
return (
453
454
< >
454
- < Box p = "md" pl = "xl" className = { styles . stickyControlsContainer } >
455
+ < Box p = "md" pl = "xl" pr = "xl" className = { styles . stickyControlsContainer } >
455
456
{ debugTable && (
456
457
< Box p = "md" >
457
458
{ JSON . stringify (
@@ -481,17 +482,23 @@ export const SyncCatalogTable: FC<SyncCatalogTableProps> = ({ scrollParentContai
481
482
< FlexContainer >
482
483
< FlexContainer justifyContent = "flex-end" alignItems = "center" direction = "row" gap = "lg" >
483
484
{ mode === "create" ? (
484
- < TableControls
485
- isAllRowsExpanded = { isAllStreamRowsExpanded }
486
- toggleAllRowsExpanded = { toggleAllStreamRowsExpanded }
487
- />
485
+ < >
486
+ < RefreshSchemaControl />
487
+ < ExpandCollapseAllControl
488
+ isAllRowsExpanded = { isAllStreamRowsExpanded }
489
+ toggleAllRowsExpanded = { toggleAllStreamRowsExpanded }
490
+ />
491
+ </ >
488
492
) : (
489
- < FormControls >
490
- < TableControls
493
+ < >
494
+ < FormControls >
495
+ < RefreshSchemaControl />
496
+ </ FormControls >
497
+ < ExpandCollapseAllControl
491
498
isAllRowsExpanded = { isAllStreamRowsExpanded }
492
499
toggleAllRowsExpanded = { toggleAllStreamRowsExpanded }
493
500
/>
494
- </ FormControls >
501
+ </ >
495
502
) }
496
503
</ FlexContainer >
497
504
</ FlexContainer >
0 commit comments