-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
20 changed files
with
277 additions
and
257 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
4 changes: 2 additions & 2 deletions
4
app/components/Detail/components/ViewAtlasSourceDatasets/constants.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,10 +1,10 @@ | ||
import { COLUMN_IDENTIFIER } from "@databiosphere/findable-ui/lib/components/Table/common/columnIdentifier"; | ||
import { ListConfig } from "@databiosphere/findable-ui/lib/config/entities"; | ||
import { HCAAtlasTrackerSourceDataset } from "../../../../apis/catalog/hca-atlas-tracker/common/entities"; | ||
import { COLUMN_VISIBILITY } from "../../../Table/features/constants"; | ||
|
||
export const TABLE_OPTIONS: ListConfig<HCAAtlasTrackerSourceDataset>["tableOptions"] = | ||
{ | ||
initialState: { | ||
columnVisibility: COLUMN_VISIBILITY.ROW_POSITION, | ||
columnVisibility: { [COLUMN_IDENTIFIER.ROW_POSITION]: true }, | ||
}, | ||
}; |
4 changes: 2 additions & 2 deletions
4
app/components/Detail/components/ViewComponentAtlases/constants.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,10 +1,10 @@ | ||
import { COLUMN_IDENTIFIER } from "@databiosphere/findable-ui/lib/components/Table/common/columnIdentifier"; | ||
import { ListConfig } from "@databiosphere/findable-ui/lib/config/entities"; | ||
import { HCAAtlasTrackerComponentAtlas } from "../../../../apis/catalog/hca-atlas-tracker/common/entities"; | ||
import { COLUMN_VISIBILITY } from "../../../Table/features/constants"; | ||
|
||
export const TABLE_OPTIONS: ListConfig<HCAAtlasTrackerComponentAtlas>["tableOptions"] = | ||
{ | ||
initialState: { | ||
columnVisibility: COLUMN_VISIBILITY.ROW_POSITION, | ||
columnVisibility: { [COLUMN_IDENTIFIER.ROW_POSITION]: true }, | ||
}, | ||
}; |
4 changes: 2 additions & 2 deletions
4
app/components/Detail/components/ViewSourceDatasets/constants.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,10 +1,10 @@ | ||
import { COLUMN_IDENTIFIER } from "@databiosphere/findable-ui/lib/components/Table/common/columnIdentifier"; | ||
import { ListConfig } from "@databiosphere/findable-ui/lib/config/entities"; | ||
import { HCAAtlasTrackerSourceDataset } from "../../../../apis/catalog/hca-atlas-tracker/common/entities"; | ||
import { COLUMN_VISIBILITY } from "../../../Table/features/constants"; | ||
|
||
export const TABLE_OPTIONS: ListConfig<HCAAtlasTrackerSourceDataset>["tableOptions"] = | ||
{ | ||
initialState: { | ||
columnVisibility: COLUMN_VISIBILITY.ROW_POSITION, | ||
columnVisibility: { [COLUMN_IDENTIFIER.ROW_POSITION]: true }, | ||
}, | ||
}; |
4 changes: 2 additions & 2 deletions
4
app/components/Detail/components/ViewSourceStudies/constants.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,10 +1,10 @@ | ||
import { COLUMN_IDENTIFIER } from "@databiosphere/findable-ui/lib/components/Table/common/columnIdentifier"; | ||
import { ListConfig } from "@databiosphere/findable-ui/lib/config/entities"; | ||
import { HCAAtlasTrackerSourceStudy } from "../../../../apis/catalog/hca-atlas-tracker/common/entities"; | ||
import { COLUMN_VISIBILITY } from "../../../Table/features/constants"; | ||
|
||
export const TABLE_OPTIONS: ListConfig<HCAAtlasTrackerSourceStudy>["tableOptions"] = | ||
{ | ||
initialState: { | ||
columnVisibility: COLUMN_VISIBILITY.ROW_POSITION, | ||
columnVisibility: { [COLUMN_IDENTIFIER.ROW_POSITION]: true }, | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
24 changes: 24 additions & 0 deletions
24
site-config/hca-atlas-tracker/local/index/atlas/tableOptions.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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { | ||
ListConfig, | ||
SORT_DIRECTION, | ||
} from "@databiosphere/findable-ui/lib/config/entities"; | ||
import { HCAAtlasTrackerListAtlas } from "../../../../../app/apis/catalog/hca-atlas-tracker/common/entities"; | ||
import { HCA_ATLAS_TRACKER_CATEGORY_KEY } from "../../../category"; | ||
|
||
export const TABLE_OPTIONS: ListConfig<HCAAtlasTrackerListAtlas>["tableOptions"] = | ||
{ | ||
enableRowPosition: true, | ||
initialState: { | ||
columnVisibility: { | ||
[HCA_ATLAS_TRACKER_CATEGORY_KEY.VERSION]: false, | ||
[HCA_ATLAS_TRACKER_CATEGORY_KEY.WAVE]: false, | ||
[HCA_ATLAS_TRACKER_CATEGORY_KEY.INTEGRATION_LEAD]: false, | ||
}, | ||
sorting: [ | ||
{ | ||
desc: SORT_DIRECTION.ASCENDING, | ||
id: HCA_ATLAS_TRACKER_CATEGORY_KEY.NAME, | ||
}, | ||
], | ||
}, | ||
}; |
18 changes: 0 additions & 18 deletions
18
site-config/hca-atlas-tracker/local/index/common/constants.ts
This file was deleted.
Oops, something went wrong.
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
2 changes: 1 addition & 1 deletion
2
...acker/local/index/tasks/common/columns.ts → ...tlas-tracker/local/index/tasks/columns.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
Oops, something went wrong.