-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into increase-test-timeout
- Loading branch information
Showing
12 changed files
with
133 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 3 additions & 14 deletions
17
extension/src/test/fixtures/expShow/dataTypes/tableData.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,15 @@ | ||
import columns from './columns' | ||
import defaultData from '../base/tableData' | ||
import rows from './rows' | ||
import { TableData } from '../../../../experiments/webview/contract' | ||
|
||
export const data: TableData = { | ||
changes: [], | ||
columnOrder: [], | ||
...defaultData, | ||
columns, | ||
columnWidths: {}, | ||
filteredCount: 0, | ||
filters: [], | ||
hasBranchesToSelect: true, | ||
hasCheckpoints: false, | ||
hasColumns: true, | ||
hasConfig: true, | ||
hasMoreCommits: true, | ||
hasRunningWorkspaceExperiment: false, | ||
hasValidDvcYaml: true, | ||
isShowingMoreCommits: true, | ||
isBranchesView: false, | ||
rows, | ||
selectedForPlotsCount: 0, | ||
sorts: [] | ||
selectedForPlotsCount: 0 | ||
} | ||
|
||
export default data |
13 changes: 2 additions & 11 deletions
13
extension/src/test/fixtures/expShow/deeplyNested/tableData.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,12 @@ | ||
import { TableData } from '../../../../experiments/webview/contract' | ||
import rowsFixture from './rows' | ||
import columnsFixture from './columns' | ||
import defaultData from '../base/tableData' | ||
|
||
const data: TableData = { | ||
changes: [], | ||
columnOrder: [], | ||
...defaultData, | ||
columns: columnsFixture, | ||
columnWidths: {}, | ||
filteredCount: 0, | ||
filters: [], | ||
hasBranchesToSelect: true, | ||
hasCheckpoints: true, | ||
hasColumns: true, | ||
hasConfig: true, | ||
hasMoreCommits: true, | ||
hasRunningWorkspaceExperiment: true, | ||
hasValidDvcYaml: true, | ||
isBranchesView: false, | ||
isShowingMoreCommits: true, | ||
rows: rowsFixture, | ||
selectedForPlotsCount: 0, | ||
sorts: [] | ||
rows: rowsFixture | ||
} | ||
|
||
export default data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.