Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HP-255 HEAL UI updates with adaptations to ecosystems UI #876

Merged
merged 31 commits into from
Jul 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
57ab9e5
feat(discovery): updates to discovery from HEAL
Jul 7, 2021
5248724
fix(css): try to collapse css merge issues
Jul 8, 2021
97353d5
fix(clean): remove duplicate code
Jul 8, 2021
1c571d8
fix(lint): lint issues
Jul 8, 2021
8ba0e8d
Add 'common_url' to manifest if that field is present in the study
Jul 9, 2021
c86eb02
HP-231 HP-244 Fix/heal mvp UI (#883)
mfshao Jul 12, 2021
5aba683
HP-269 Feat/button redirect (#884)
mfshao Jul 12, 2021
96b05e7
do not overwrite manigest common_url if it exists
Jul 12, 2021
ffb2bf1
feat: make download btn name configurable (#888)
mfshao Jul 13, 2021
0a1084a
Merge branch 'master' into feat/heal
mfshao Jul 13, 2021
95cf87d
HP-225 Feat/new disco icon (#889)
mfshao Jul 13, 2021
5516cee
fix: add space for icon
mfshao Jul 13, 2021
3245ab4
add do not add commons_url if == hostname
Jul 13, 2021
8dbded0
update commons catgory name
mfshao Jul 13, 2021
7d22256
case
mfshao Jul 13, 2021
578515a
Merge branch 'feat/heal' of https://github.com/uc-cdis/data-portal in…
mfshao Jul 13, 2021
07daead
add do not add common_url if present in hostname
Jul 13, 2021
246e73e
Merge remote-tracking branch 'refs/remotes/origin/feat/heal' into fea…
Jul 13, 2021
d500023
Merge branch 'master' into feat/heal
mfshao Jul 13, 2021
91f3993
HP-312 Fix/adv filter height (#890)
mfshao Jul 15, 2021
2774632
fix: drawer content css
mfshao Jul 16, 2021
3ac5e6b
Merge branch 'master' into feat/heal
mfshao Jul 16, 2021
884268c
feat: add datadog to heal bundle
mfshao Jul 16, 2021
52a5780
fix: remove duplicated route
mfshao Jul 16, 2021
2155986
feat: make tag column display name configurable
mfshao Jul 16, 2021
2b6c423
Fix/tag responsive (#892)
mfshao Jul 21, 2021
649c326
Fix/disco download (#891)
mfshao Jul 21, 2021
2b827bb
fix: no hard coded font
mfshao Jul 21, 2021
cd050ba
Merge branch 'master' into feat/heal
mfshao Jul 21, 2021
e57e6a8
Merge branch 'master' into feat/heal
mfshao Jul 22, 2021
ce80b43
fix: use fence download path
mfshao Jul 22, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 24 additions & 13 deletions docs/portal_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,13 +398,19 @@ Below is an example, with inline comments describing what each JSON block config
"dropdowns": {} // optional; dropdown groupings for buttons
},
"discoveryConfig": { // config for Discovery page. Required if 'featureFlags.discovery' is true. See src/Discovery/DiscoveryConfig.d.ts for Typescript schema.
"requireLogin": false, // optional, defaults to false. If true, requires user to sign in before seeing the Discovery page
"public": true, // optional, defaults to true. If false, requires user to sign in before seeing the Discovery page
"features": {
"exportToWorkspaceBETA": { // configures the export to workspace feature. If enabled, the Discovery page data must contain a field which is a list of GUIDs for each study. See `manifestFieldName`
"exportToWorkspace": { // configures the export to workspace feature. If enabled, the Discovery page data must contain a field which is a list of GUIDs for each study. See `manifestFieldName`
"enable": boolean
"enableDownloadManifest": boolean // enables a button which allows user to download a manifest file for gen3 client
"downloadManifestButtonText": string // text to be displayed on the download manifest button
"manifestFieldName": string // the field in the Discovery page data that contains the list of GUIDs that link to each study's data files.
}
"documentationLinks": {
"gen3Client": string // link to documentation about the gen3 client. Used for button tooltips
"gen3Workspaces": string // link to documentation about gen3 workspaces. Used for button tooltips.
}
},
"pageTitle": {
"enabled": true,
"text": "My Special Test Discovery Page"
Expand All @@ -414,21 +420,24 @@ Below is an example, with inline comments describing what each JSON block config
"enabled": true
}
},
"advSearchFilters": {
"enabled": true
},
"authorization": {
"enabled": true // toggles whether Discovery page displays users' access to studies. If true, 'useArboristUI' must also be set to true.
}
},
"aggregations": [ // configures the statistics at the top of the discovery page (e.g. 'XX Studies', 'XX,XXX Subjects')
{
"name": "Studies",
"field": "study_id",
"type": "count" // count of rows in data where `field` is non-empty
},
{
"name": "Total Subjects",
"field": "_subjects_count",
"type": "sum" // sums together all numeric values in `row[field]`. `field` must be a numeric field.
}
{
"name": "Studies",
"field": "study_id",
"type": "count" // count of rows in data where `field` is non-empty
},
{
"name": "Total Subjects",
"field": "_subjects_count",
"type": "sum" // sums together all numeric values in `row[field]`. `field` must be a numeric field.
}
],
"tagSelector": {
"title": "Associated tags organized by category"
Expand Down Expand Up @@ -536,13 +545,15 @@ Below is an example, with inline comments describing what each JSON block config
"minimalFieldMapping": { // maps
"tagsListFieldName": "tags", // required; the field which contains the list of tags (format: [{name: string, category: string}] )
"authzField": "authz", // optional if features.authorization.enabled is false, otherwise required
"dataAvailabilityField": "data_availability", // optional, for checking if a study has data pending to be available
"uid": "study_id" // required; a unique identifier for each study. Can be any unique value and does not have to have any special meaning (eg does not need to be a GUID)
},
"tagCategories": [ // configures the categories displayed in the tag selector. If a tag category appears in the `tagsListFieldName` field but is not configured here, it will not be displayed in the tag selector.
{
"name": "Program", // this configures the tag category name that will be shown on the tag selector
"color": "rgba(129, 211, 248, 1)", // color can be any vaid CSS color string, including hex, rgb, rgba, hsl
"display": true
"display": true,
"displayName": "All Programs" // optional string to customize tag category display name
},
{
"name": "Study Registration",
Expand Down
Loading