Skip to content

Commit

Permalink
feat: group dataset and identifier at top of filter list (#3644) (#3645)
Browse files Browse the repository at this point in the history
  • Loading branch information
frano-m authored Sep 1, 2023
1 parent 06354c5 commit 6481537
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions explorer/site-config/anvil-cmg/dev/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@ export function makeConfig(
authentication: authenticationConfig,
browserURL: browserUrl,
categoryGroupConfigs: [
{
categoryConfigs: [
{
key: ANVIL_CMG_CATEGORY_KEY.DATASET_TITLE,
label: ANVIL_CMG_CATEGORY_LABEL.DATASET_TITLE,
},
{
key: ANVIL_CMG_CATEGORY_KEY.DATASET_REGISTERED_ID,
label: ANVIL_CMG_CATEGORY_LABEL.DATASET_REGISTERED_ID,
},
],
},
{
categoryConfigs: [
{
Expand All @@ -53,10 +65,6 @@ export function makeConfig(
key: ANVIL_CMG_CATEGORY_KEY.ACTIVITY_DATA_MODALITY,
label: ANVIL_CMG_CATEGORY_LABEL.ACTIVITY_DATA_MODALITY,
},
{
key: ANVIL_CMG_CATEGORY_KEY.DATASET_TITLE,
label: ANVIL_CMG_CATEGORY_LABEL.DATASET_TITLE,
},
{
key: ANVIL_CMG_CATEGORY_KEY.DIAGNOSE_PHENOTYPE,
label: ANVIL_CMG_CATEGORY_LABEL.DIAGNOSE_PHENOTYPE,
Expand All @@ -69,10 +77,6 @@ export function makeConfig(
key: ANVIL_CMG_CATEGORY_KEY.FILE_FILE_TYPE,
label: ANVIL_CMG_CATEGORY_LABEL.FILE_FILE_TYPE,
},
{
key: ANVIL_CMG_CATEGORY_KEY.DATASET_REGISTERED_ID,
label: ANVIL_CMG_CATEGORY_LABEL.DATASET_REGISTERED_ID,
},
{
key: ANVIL_CMG_CATEGORY_KEY.DONOR_ORGANISM_TYPE,
label: ANVIL_CMG_CATEGORY_LABEL.DONOR_ORGANISM_TYPE,
Expand Down

0 comments on commit 6481537

Please sign in to comment.