Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
2 changes: 1 addition & 1 deletion apps/ccf-eui/src/environments/environment.staging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const environment = {
'https://data.sennetconsortium.org',
],
dbOptions: {
remoteApiEndpoint: 'https://apps.humanatlas.io/api',
remoteApiEndpoint: 'https://apps.humanatlas.io/api--staging',
},
customization: {
theme: 'hubmap',
Expand Down
2 changes: 1 addition & 1 deletion apps/ccf-eui/src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const environment = {
'https://data.sennetconsortium.org',
],
dbOptions: {
remoteApiEndpoint: 'https://apps.humanatlas.io/api',
remoteApiEndpoint: 'https://apps.humanatlas.io/api--staging',
},
customization: {
theme: 'default',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export interface DefaultIconDefinition {
*/
export const DEFAULT_ICONS: DefaultIconDefinition[] = [
// Reference Organs
{ name: 'adipose', namespace: 'app', url: 'assets/icons/organ-icons/organ-icon-bladder.svg' },
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting on organ icons for adipose and intervertebral disk

{ name: 'bladder', namespace: 'app', url: 'assets/icons/organ-icons/organ-icon-bladder.svg' },
{ name: 'blood', namespace: 'app', url: 'assets/icons/organ-icons/organ-icon-blood.svg' },
{ name: 'bone-marrow', namespace: 'app', url: 'assets/icons/organ-icons/organ-icon-bone-marrow.svg' },
Expand All @@ -44,6 +45,7 @@ export const DEFAULT_ICONS: DefaultIconDefinition[] = [
url: 'assets/icons/organ-icons/organ-icon-fallopian-tube-right.svg',
},
{ name: 'heart', namespace: 'app', url: 'assets/icons/organ-icons/organ-icon-heart.svg' },
{ name: 'intervertebral-disk', namespace: 'app', url: 'assets/icons/organ-icons/organ-icon-bladder.svg' },
{ name: 'kidney-left', namespace: 'app', url: 'assets/icons/organ-icons/organ-icon-kidney-left.svg' },
{ name: 'kidney-right', namespace: 'app', url: 'assets/icons/organ-icons/organ-icon-kidney-right.svg' },
{ name: 'kidneys', namespace: 'app', url: 'assets/icons/organ-icons/organ-icon-kidneys.svg' },
Expand Down
4 changes: 2 additions & 2 deletions apps/ccf-rui/src/environments/environment.staging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ export const environment = {
disableDbWorker: true,
dbOptions: {},
customization: {
collisionsEndpoint: 'https://apps.humanatlas.io/api/v1/collisions',
referenceData: 'https://apps.humanatlas.io/api/v1/rui-reference-data',
collisionsEndpoint: 'https://apps.humanatlas.io/api--staging/v1/collisions',
referenceData: 'https://apps.humanatlas.io/api--staging/v1/rui-reference-data',
},
skipUnsavedChangesConfirmation: false,
};
4 changes: 2 additions & 2 deletions apps/ccf-rui/src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export const environment = {
disableDbWorker: true,
dbOptions: {},
customization: {
collisionsEndpoint: 'https://apps.humanatlas.io/api/v1/collisions',
referenceData: 'https://apps.humanatlas.io/api/v1/rui-reference-data',
collisionsEndpoint: 'https://apps.humanatlas.io/api--staging/v1/collisions',
referenceData: 'https://apps.humanatlas.io/api--staging/v1/rui-reference-data',
},
skipUnsavedChangesConfirmation: true,
};
2 changes: 2 additions & 0 deletions apps/kg-explorer/src/app/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,13 @@ export const DO_INFO: Record<string, ObjectTypeData> = {
/** Maps UBERON id to the correct icon in the design system */
export const ORGAN_ICON_MAP: Record<string, string> = {
'http://purl.obolibrary.org/obo/UBERON_0004537': 'vasculature-thick', //blood vasculature
'http://purl.obolibrary.org/obo/UBERON_0014455': 'adipose',
'http://purl.obolibrary.org/obo/UBERON_0000955': 'brain',
'http://purl.obolibrary.org/obo/UBERON_0002182': 'extrapulmonary-bronchus',
'http://purl.obolibrary.org/obo/UBERON_0000970': 'eye',
'http://purl.obolibrary.org/obo/UBERON_0003889': 'fallopian-tube-left', //fallopian tube
'http://purl.obolibrary.org/obo/UBERON_0000948': 'heart',
'http://purl.obolibrary.org/obo/UBERON_0001066': 'intervertebral-disk',
'http://purl.obolibrary.org/obo/UBERON_0002113': 'kidneys', //kidney
'http://purl.obolibrary.org/obo/UBERON_0001465': 'knee',
'http://purl.obolibrary.org/obo/UBERON_0000059': 'large-intestine',
Expand Down
14 changes: 14 additions & 0 deletions libs/ccf-shared/src/lib/services/organ-info/organ-info.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ export const ALL_POSSIBLE_ORGANS = (
hasSex: true,
id: 'http://purl.obolibrary.org/obo/UBERON_0002097',
},
{
src: 'app:adipose',
organ: 'Adipose',
name: 'Adipose',
hasSex: true,
id: 'http://purl.obolibrary.org/obo/UBERON_0014455',
},
{
src: 'app:brain',
organ: 'Brain',
Expand Down Expand Up @@ -94,6 +101,13 @@ export const ALL_POSSIBLE_ORGANS = (
hasSex: true,
id: 'http://purl.obolibrary.org/obo/UBERON_0000948',
},
{
src: 'app:intervertebral-disk',
organ: 'Intervertebral Disk',
name: 'Intervertebral Disk',
hasSex: true,
id: 'http://purl.obolibrary.org/obo/UBERON_0001066',
},
{
disabled: true,
src: 'app:kidney-left',
Expand Down