diff --git a/service/src/data/hierarchies/I62318514/hierarchy.json b/service/src/data/hierarchies/I62318514/hierarchy.json index 9c50fd88..7882e916 100644 --- a/service/src/data/hierarchies/I62318514/hierarchy.json +++ b/service/src/data/hierarchies/I62318514/hierarchy.json @@ -5776,914 +5776,925 @@ "color": "green", "children": [ { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Department of Medical Intensive Care I", - "name_de": "Abteilung für Medizinische Intensivtherapie I", - "link_en": "https://www.uk-essen.de/klinik/medizinische-intensivtherapie/", - "link_de": "https://www.uk-essen.de/klinik/medizinische-intensivtherapie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "General, Visceral, Vascular and Transplant Surgery", - "name_de": "Allgemein-, Viszeral-, Gefäß- und Transplantationschirurgie", - "link_en": "https://www.uk-essen.de/klinik/allgemeinchirurgie/", - "link_de": "https://www.uk-essen.de/klinik/allgemeinchirurgie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Anaesthesiology and Intensive Care Medicine", - "name_de": "Anästhesiologie und Intensivmedizin", - "link_en": "https://www.uk-essen.de/klinik/anaesthesiologie-intensivmedizin/", - "link_de": "https://www.uk-essen.de/klinik/anaesthesiologie-intensivmedizin/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Ophthalmology", - "name_de": "Augenheilkunde", - "link_en": "https://www.uk-essen.de/klinik/augenheilkunde/", - "link_de": "https://www.uk-essen.de/klinik/augenheilkunde/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Dermatology", - "name_de": "Dermatologie", - "link_en": "https://www.uk-essen.de/klinik/dermatologie/", - "link_de": "https://www.uk-essen.de/klinik/dermatologie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Endocrinology, Diabetology and Metabolism", - "name_de": "Endokrinologie, Diabetologie und Stoffwechsel", - "link_en": "https://www.uk-essen.de/klinik/endokrinologie-diabetologie-stoffwechsel/", - "link_de": "https://www.uk-essen.de/klinik/endokrinologie-diabetologie-stoffwechsel/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Gynecology and Obstetrics", - "name_de": "Frauenheilkunde und Geburtshilfe", - "link_en": "https://www.uk-essen.de/klinik/frauenheilkunde-geburtshilfe/", - "link_de": "https://www.uk-essen.de/klinik/frauenheilkunde-geburtshilfe/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Gastroenterology, Hepatology and Transplantation Medicine", - "name_de": "Gastroenterologie, Hepatologie und Transplantationsmedizin", - "link_en": "https://www.uk-essen.de/klinik/gastroenterologie-hepatologie-transplatationsmedizin/", - "link_de": "https://www.uk-essen.de/klinik/gastroenterologie-hepatologie-transplatationsmedizin/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Otorhinolaryngology", - "name_de": "Hals- Nasen- und Ohrenheilkunde", - "link_en": "https://www.uk-essen.de/klinik/hals-nasen-ohrenheilkunde/", - "link_de": "https://www.uk-essen.de/klinik/hals-nasen-ohrenheilkunde/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Hematology and Stem Cell Transplantation", - "name_de": "Hämatologie und Stammzelltransplantation", - "link_en": "https://www.uk-essen.de/klinik/haematologie-stammzelltransplantation/", - "link_de": "https://www.uk-essen.de/klinik/haematologie-stammzelltransplantation/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Infectious Diseases and Nephrology", - "name_de": "Infektiologie und Nephrologie", - "link_en": "https://www.uk-essen.de/klinik/infektiologie/", - "link_de": "https://www.uk-essen.de/klinik/infektiologie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Cardiology and Angiology", - "name_de": "Kardiologie und Angiologie", - "link_en": "https://www.uk-essen.de/klinik/kardiologie-angiologie/", - "link_de": "https://www.uk-essen.de/klinik/kardiologie-angiologie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Pediatrics and Adolescent Medicine", - "name_de": "Kinder- und Jugendmedizin", - "link_en": "https://www.uk-essen.de/klinik/kinder-jugendmedizin/", - "link_de": "https://www.uk-essen.de/klinik/kinder-jugendmedizin/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Pediatric Surgery", - "name_de": "Kinderchirurgie", - "link_en": "https://www.uk-essen.de/klinik/kinderchirurgie/", - "link_de": "https://www.uk-essen.de/klinik/kinderchirurgie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Medical Oncology", - "name_de": "Medizinische Onkologie", - "link_en": "https://www.uk-essen.de/klinik/medizinische-onkologie/", - "link_de": "https://www.uk-essen.de/klinik/medizinische-onkologie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Oral, Maxillofacial and Plastic Facial Surgery", - "name_de": "Mund-, Kiefer- und Plastische Gesichtschirurgie", - "link_en": "https://www.uk-essen.de/klinik/klinik-fuer-mund-kiefer-und-plastische-gesichtschirurgie/", - "link_de": "https://www.uk-essen.de/klinik/klinik-fuer-mund-kiefer-und-plastische-gesichtschirurgie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Nephrology", - "name_de": "Nephrologie", - "link_en": "https://www.uk-essen.de/klinik/nephrologie/", - "link_de": "https://www.uk-essen.de/klinik/nephrologie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Neurosurgery and Spinal Surgery", - "name_de": "Neurochirurgie und Wirbelsäulenchirurgie", - "link_en": "https://www.uk-essen.de/klinik/neurochirurgie-wirbelsaeulenchirurgie/", - "link_de": "https://www.uk-essen.de/klinik/neurochirurgie-wirbelsaeulenchirurgie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Neurology", - "name_de": "Neurologie", - "link_en": "https://www.uk-essen.de/klinik/neurologie/", - "link_de": "https://www.uk-essen.de/klinik/neurologie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Nuclear Medicine", - "name_de": "Nuklearmedizin", - "link_en": "https://www.uk-essen.de/klinik/nuklearmedizin/", - "link_de": "https://www.uk-essen.de/klinik/nuklearmedizin/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Particle Therapy (WPE)", - "name_de": "Partikeltherapie (WPE)", - "link_en": "https://www.uk-essen.de/klinik/partikeltherapie-wpe/", - "link_de": "https://www.uk-essen.de/klinik/partikeltherapie-wpe/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Thoracic and Cardiovascular Surgery", - "name_de": "Thorax- und Kardiovaskuläre Chirurgie", - "link_en": "https://www.uk-essen.de/klinik/thorax-kardiovaskulaere-chirurgie/", - "link_de": "https://www.uk-essen.de/klinik/thorax-kardiovaskulaere-chirurgie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Tumor Orthopedics and Sarcoma Surgery", - "name_de": "Tumororthopädie und Sarkomchirurgie", - "link_en": "https://www.uk-essen.de/klinik/tumororthopaedie-sarkomchirurgie/", - "link_de": "https://www.uk-essen.de/klinik/tumororthopaedie-sarkomchirurgie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Trauma, Hand and Reconstructive Surgery", - "name_de": "Unfall-, Hand- und Wiederherstellungschirurgie", - "link_en": "https://www.uk-essen.de/klinik/unfall-hand-wiederherstellungschirurgie/", - "link_de": "https://www.uk-essen.de/klinik/unfall-hand-wiederherstellungschirurgie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Urology", - "name_de": "Urologie", - "link_en": "https://www.uk-essen.de/klinik/urologie/", - "link_de": "https://www.uk-essen.de/klinik/urologie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Radiation Therapy", - "name_de": "Poliklinik für Strahlentherapie", - "link_en": "https://www.uk-essen.de/klinik/strahlentherapie/", - "link_de": "https://www.uk-essen.de/klinik/strahlentherapie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Bridge Institute for Experimental Tumor Therapy (BIT)", - "name_de": "Brückeninstitut für Experimentelle Tumortherapie (BIT)", - "link_en": "https://www.uk-essen.de/institut/tumortherapie/", - "link_de": "https://www.uk-essen.de/institut/tumortherapie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of General Practice", - "name_de": "Institut für Allgemeinmedizin", - "link_en": "https://www.uk-essen.de/institut/allgemeinmedizin/", - "link_de": "https://www.uk-essen.de/institut/allgemeinmedizin/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Anatomy", - "name_de": "Institut für Anatomie", - "link_en": "https://www.uk-essen.de/institut/anatomie/", - "link_de": "https://www.uk-essen.de/institut/anatomie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Diagnostic and Interventional Radiology and Neuroradiology", - "name_de": "Institut für Diagnostische und Interventionelle Radiologie und Neuroradiologie", - "link_en": "https://www.uk-essen.de/institut/radiologie/", - "link_de": "https://www.uk-essen.de/institut/radiologie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Medical Education", - "name_de": "Institut für Didaktik in der Medizin", - "link_en": "https://www.uk-essen.de/institut/institut-fuer-didaktik-in-der-medizin/", - "link_de": "https://www.uk-essen.de/institut/institut-fuer-didaktik-in-der-medizin/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute for Research on HIV and AIDS-Associated Diseases", - "name_de": "Institut für die Erforschung von HIV und AIDS–assoziierten Erkrankungen", - "link_en": "https://www.uk-essen.de/institut/hiv-forschung/", - "link_de": "https://www.uk-essen.de/institut/hiv-forschung/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Experimental Immunology and Imaging", - "name_de": "Institut für Experimentelle Immunologie und Bildgebung", - "link_en": "https://www.uk-essen.de/institut/experimentelle-immunologie-bildgebung/", - "link_de": "https://www.uk-essen.de/institut/experimentelle-immunologie-bildgebung/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Gender-Sensitive Medicine", - "name_de": "Institut für Geschlechtersensible Medizin", - "link_en": "https://www.uk-essen.de/institut/institut-fuer-geschlechtersensible-medizin/", - "link_de": "https://www.uk-essen.de/institut/institut-fuer-geschlechtersensible-medizin/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Human Genetics", - "name_de": "Institut für Humangenetik", - "link_en": "https://www.uk-essen.de/institut/humangenetik/", - "link_de": "https://www.uk-essen.de/institut/humangenetik/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Immunology", - "name_de": "Institut für Immunologie", - "link_en": "https://www.uk-essen.de/institut/immunologie/", - "link_de": "https://www.uk-essen.de/institut/immunologie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute for Artificial Intelligence in Medicine (IKIM)", - "name_de": "Institut für KI in der Medizin (IKIM)", - "link_en": "https://www.uk-essen.de/institut/ikim/", - "link_de": "https://www.uk-essen.de/institut/ikim/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Medical Informatics, Biometry and Epidemiology", - "name_de": "Institut für Medizinische Informatik, Biometrie und Epidemiologie", - "link_en": "https://www.uk-essen.de/institut/informatik-biometrie-epidemiologie/", - "link_de": "https://www.uk-essen.de/institut/informatik-biometrie-epidemiologie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Medical Microbiology", - "name_de": "Institut für Medizinische Mikrobiologie", - "link_en": "https://www.uk-essen.de/institut/mikrobiologie/", - "link_de": "https://www.uk-essen.de/institut/mikrobiologie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Medical Psychology and Behavioral Immunobiology", - "name_de": "Institut für Medizinische Psychologie und Verhaltensimmunbiologie", - "link_en": "https://www.uk-essen.de/institut/psychologie/", - "link_de": "https://www.uk-essen.de/institut/psychologie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Molecular Biology (Cancer Research)", - "name_de": "Institut für Molekularbiologie (Tumorforschung)", - "link_en": "https://www.uk-essen.de/institut/molekularbiologie/", - "link_de": "https://www.uk-essen.de/institut/molekularbiologie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Neuropathology", - "name_de": "Institut für Neuropathologie", - "link_en": "https://www.uk-essen.de/institut/neuropathologie/", - "link_de": "https://www.uk-essen.de/institut/neuropathologie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Pathology", - "name_de": "Institut für Pathologie", - "link_en": "https://www.uk-essen.de/institut/pathologie/", - "link_de": "https://www.uk-essen.de/institut/pathologie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Pathophysiology", - "name_de": "Institut für Pathophysiologie", - "link_en": "https://www.uk-essen.de/institut/pathophysiologie/", - "link_de": "https://www.uk-essen.de/institut/pathophysiologie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Patient Experience", - "name_de": "Institut für PatientenErleben", - "link_en": "https://www.uk-essen.de/institut/patientenerleben/", - "link_de": "https://www.uk-essen.de/institut/patientenerleben/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Pharmacology", - "name_de": "Institut für Pharmakologie", - "link_en": "https://www.uk-essen.de/institut/pharmakologie/", - "link_de": "https://www.uk-essen.de/institut/pharmakologie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Physiology", - "name_de": "Institut für Physiologie", - "link_en": "https://www.uk-essen.de/institut/physiologie/", - "link_de": "https://www.uk-essen.de/institut/physiologie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Physiological Chemistry", - "name_de": "Institut für Physiologische Chemie", - "link_en": "https://www.uk-essen.de/institut/physiologische-chemie/", - "link_de": "https://www.uk-essen.de/institut/physiologische-chemie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Forensic Medicine", - "name_de": "Institut für Rechtsmedizin", - "link_en": "https://www.uk-essen.de/institut/rechtsmedizin/", - "link_de": "https://www.uk-essen.de/institut/rechtsmedizin/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Exercise and Movement Therapy at the West German Cancer Center Essen", - "name_de": "Institut für Sport- und Bewegungstherapie am Westdeutschen Tumorzentrum Essen", - "link_en": "https://www.uk-essen.de/institut/sport-und-bewegungstherapie-WTZ/", - "link_de": "https://www.uk-essen.de/institut/sport-und-bewegungstherapie-WTZ/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Transfusion Medicine", - "name_de": "Institut für Transfusionsmedizin", - "link_en": "https://www.uk-essen.de/institut/transfusionsmedizin/", - "link_de": "https://www.uk-essen.de/institut/transfusionsmedizin/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Urban Public Health", - "name_de": "Institut für Urban Public Health", - "link_en": "https://www.uk-essen.de/institut/urban-public-health/", - "link_de": "https://www.uk-essen.de/institut/urban-public-health/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Virology", - "name_de": "Institut für Virologie", - "link_en": "https://www.uk-essen.de/institut/virologie/", - "link_de": "https://www.uk-essen.de/institut/virologie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute of Cell Biology (Cancer Research)", - "name_de": "Institut für Zellbiologie (Tumorforschung)", - "link_en": "https://www.uk-essen.de/institut/zellbiologie/", - "link_de": "https://www.uk-essen.de/institut/zellbiologie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Institute for Cell Therapeutic Research", - "name_de": "Institut für Zelltherapeutische Forschung", - "link_en": "https://www.uk-essen.de/institut/zelltherapeutische-forschung/", - "link_de": "https://www.uk-essen.de/institut/zelltherapeutische-forschung/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Breast Center I at the WTZ", - "name_de": "Brustzentrum I am WTZ", - "link_en": "https://www.uk-essen.de/zentrum/brustzentrum-i/", - "link_de": "https://www.uk-essen.de/zentrum/brustzentrum-i/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Essen Center for Rare Diseases (EZSE)", - "name_de": "Essener Zentrum für seltene Erkrankungen (EZSE)", - "link_en": "https://www.uk-essen.de/zentrum/seltene-erkrankungen/", - "link_de": "https://www.uk-essen.de/zentrum/seltene-erkrankungen/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Essen Vascular Center", - "name_de": "Gefäßzentrum Essen", - "link_en": "https://www.uk-essen.de/zentrum/gefaesszentrum-essen/", - "link_de": "https://www.uk-essen.de/zentrum/gefaesszentrum-essen/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Interdisciplinary Pain Center", - "name_de": "Interdisziplinäres Schmerzzentrum", - "link_en": "https://www.uk-essen.de/zentrum/schmerzzentrum/", - "link_de": "https://www.uk-essen.de/zentrum/schmerzzentrum/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Lung Cancer Center at the WTZ", - "name_de": "Lungenkrebszentrum am WTZ", - "link_en": "https://www.uk-essen.de/zentrum/lungenkrebszentrum/", - "link_de": "https://www.uk-essen.de/zentrum/lungenkrebszentrum/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Palliative Care", - "name_de": "Palliativmedizin", - "link_en": "https://www.uk-essen.de/zentrum/palliativmedizin/", - "link_de": "https://www.uk-essen.de/zentrum/palliativmedizin/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "West German Heart and Vascular Center (WHGZ)", - "name_de": "Westdeutsches Herz- und Gefäßzentrum (WHGZ)", - "link_en": "https://www.uk-essen.de/zentrum/whgz/", - "link_de": "https://www.uk-essen.de/zentrum/whgz/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "West German Headache Center", - "name_de": "Westdeutsches Kopfschmerzzentrum", - "link_en": "https://www.uk-essen.de/zentrum/kopfschmerzzentrum/", - "link_de": "https://www.uk-essen.de/zentrum/kopfschmerzzentrum/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "West German Gastrointestinal Center", - "name_de": "Westdeutsches Magen- und Darmzentrum", - "link_en": "https://www.uk-essen.de/zentrum/magen-darmzentrum/", - "link_de": "https://www.uk-essen.de/zentrum/magen-darmzentrum/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "West German Proton Therapy Center (WPE)", - "name_de": "Westdeutsches Protonentherapiezentrum (WPE)", - "link_en": "https://www.uk-essen.de/zentrum/protonentherapiezentrum/", - "link_de": "https://www.uk-essen.de/zentrum/protonentherapiezentrum/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "West German Cancer Center Essen (WTZ)", - "name_de": "Westdeutsches Tumorzentrum Essen (WTZ)", - "link_en": "https://www.uk-essen.de/zentrum/westdeutsches-tumorzentrum-essen/", - "link_de": "https://www.uk-essen.de/zentrum/westdeutsches-tumorzentrum-essen/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "West German Center for Infectious Diseases (WZI)", - "name_de": "Westdeutsches Zentrum für Infektiologie (WZI)", - "link_en": "https://www.uk-essen.de/zentrum/westdeutsches-zentrum-fuer-infektiologie/", - "link_de": "https://www.uk-essen.de/zentrum/westdeutsches-zentrum-fuer-infektiologie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "West German Center for Organ Transplantation (WZO)", - "name_de": "Westdeutsches Zentrum für Organtransplantation (WZO)", - "link_en": "https://www.uk-essen.de/zentrum/organtransplantationen/", - "link_de": "https://www.uk-essen.de/zentrum/organtransplantationen/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Metropole Ruhr Center for Intensive Care Medicine (ZIMR)", - "name_de": "Zentrum für Intensivmedizin Metropole Ruhr (ZIMR)", - "link_en": "https://www.uk-essen.de/zentrum/zimr/", - "link_de": "https://www.uk-essen.de/zentrum/zimr/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Center for Interdisciplinary Telemedicine and Telecare (ZinTT)", - "name_de": "Zentrum für interdisziplinäre Telemedizin und Telecare (ZinTT)", - "link_en": "https://www.uk-essen.de/zentrum/telemedizin/", - "link_de": "https://www.uk-essen.de/zentrum/telemedizin/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Center for Child and Adolescent Medicine", - "name_de": "Zentrum für Kinder- und Jugendmedizin", - "link_en": "https://www.uk-essen.de/zentrum/kinder-jugendmedizin/", - "link_de": "https://www.uk-essen.de/zentrum/kinder-jugendmedizin/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Center for Naturopathy and Planetary Health", - "name_de": "Zentrum für Naturheilkunde und Planetare Gesundheit", - "link_en": "https://www.uk-essen.de/zentrum/Naturheilkunde/", - "link_de": "https://www.uk-essen.de/zentrum/Naturheilkunde/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Center for Emergency Medicine", - "name_de": "Zentrum für Notfallmedizin", - "link_en": "https://www.uk-essen.de/zentrum/notfallmedizin/", - "link_de": "https://www.uk-essen.de/zentrum/notfallmedizin/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Center for Virtual and Augmented Reality in Medicine (ZvRM)", - "name_de": "Zentrum für virtuelle und erweiterte Realität in der Medizin (ZvRM)", - "link_en": "https://www.uk-essen.de/zentrum/zentrum-fuer-virtuelle-und-erweiterte-realitaet-in-der-medizin-zvrm/", - "link_de": "https://www.uk-essen.de/zentrum/zentrum-fuer-virtuelle-und-erweiterte-realitaet-in-der-medizin-zvrm/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Department of EIMK – Empathic Intercultural Medical Communication", - "name_de": "Abteilung EIMK – Empathische Interkulturelle Medizinische Kommunikation", - "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/abteilung-eimk-empathische-interkulturelle-medizinische-kommunikation/", - "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/abteilung-eimk-empathische-interkulturelle-medizinische-kommunikation/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Pharmacy", - "name_de": "Apotheke", - "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/apotheke/", - "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/apotheke/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Central Division AI and Data Governance", - "name_de": "Central Division AI and Data Governance", - "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/ai-data-governance/", - "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/ai-data-governance/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Data Integration Center (DIZ)", - "name_de": "Datenintegrationszentrum (DIZ)", - "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/datenintegrationszentrum-diz/", - "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/datenintegrationszentrum-diz/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Information Security", - "name_de": "Informationssicherheit", - "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/informationssicherheit/", - "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/informationssicherheit/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Clinical Ethics Committee (KEK)", - "name_de": "Klinisches Ethik-Komitee (KEK)", - "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/klinisches-ethik-komitee-kek/", - "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/klinisches-ethik-komitee-kek/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Hospital Hygiene", - "name_de": "Krankenhaushygiene", - "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/krankenhaushygiene/", - "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/krankenhaushygiene/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Human Resources and Occupational Health Service", - "name_de": "Personal- und betriebsärztlicher Dienst", - "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/personal-betriebsaerztlicher-dienst/", - "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/personal-betriebsaerztlicher-dienst/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Nursing Service", - "name_de": "Pflegedienst", - "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/pflegedienst/", - "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/pflegedienst/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Physiotherapy", - "name_de": "Physiotherapie", - "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/physiotherapie/", - "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/physiotherapie/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Service and Information Center (SIC)", - "name_de": "Service- und Informationscenter (SIC)", - "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/service-und-informationscenter-sic/", - "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/service-und-informationscenter-sic/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Digital Transformation Staff Unit", - "name_de": "Stabsstelle Digitale Transformation", - "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/stabsstelle-digitale-transformation/", - "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/stabsstelle-digitale-transformation/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Quality Management and Clinical Risk Management Staff Unit", - "name_de": "Stabsstelle Qualitätsmanagement und klinisches Risikomanagement", - "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/stabsstelle-qualitaetsmanagement-und-klinisches-risikomanagement/", - "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/stabsstelle-qualitaetsmanagement-und-klinisches-risikomanagement/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "UME Clinical Study Unit", - "name_de": "UME-Studieneinheit", - "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/ume-studieneinheit/", - "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/ume-studieneinheit/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Central Information Technology (ZIT)", - "name_de": "Zentrale Informationstechnik (ZIT)", - "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/zentrale-informationstechnik-zit/", - "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/zentrale-informationstechnik-zit/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Central Animal Laboratory", - "name_de": "Zentrales Tierlaboratorium", - "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/zentrales-tierlaboratorium/", - "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/zentrales-tierlaboratorium/", - "type": "leaf", - "color": "green" - }, - { - "faculty_de": "Medizin", - "faculty_en": "Medicine", - "name_en": "Central Laboratory", - "name_de": "Zentrallabor", - "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/zentrallabor/", - "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/zentrallabor/", - "type": "leaf", - "color": "green" + "name_de": "Instituten", + "name_en": "Institutes", + "color": "#3388FF", + "type": "institutes", + "children": [ + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Department of Medical Intensive Care I", + "name_de": "Abteilung für Medizinische Intensivtherapie I", + "link_en": "https://www.uk-essen.de/klinik/medizinische-intensivtherapie/", + "link_de": "https://www.uk-essen.de/klinik/medizinische-intensivtherapie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "General, Visceral, Vascular and Transplant Surgery", + "name_de": "Allgemein-, Viszeral-, Gefäß- und Transplantationschirurgie", + "link_en": "https://www.uk-essen.de/klinik/allgemeinchirurgie/", + "link_de": "https://www.uk-essen.de/klinik/allgemeinchirurgie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Anaesthesiology and Intensive Care Medicine", + "name_de": "Anästhesiologie und Intensivmedizin", + "link_en": "https://www.uk-essen.de/klinik/anaesthesiologie-intensivmedizin/", + "link_de": "https://www.uk-essen.de/klinik/anaesthesiologie-intensivmedizin/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Ophthalmology", + "name_de": "Augenheilkunde", + "link_en": "https://www.uk-essen.de/klinik/augenheilkunde/", + "link_de": "https://www.uk-essen.de/klinik/augenheilkunde/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Dermatology", + "name_de": "Dermatologie", + "link_en": "https://www.uk-essen.de/klinik/dermatologie/", + "link_de": "https://www.uk-essen.de/klinik/dermatologie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Endocrinology, Diabetology and Metabolism", + "name_de": "Endokrinologie, Diabetologie und Stoffwechsel", + "link_en": "https://www.uk-essen.de/klinik/endokrinologie-diabetologie-stoffwechsel/", + "link_de": "https://www.uk-essen.de/klinik/endokrinologie-diabetologie-stoffwechsel/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Gynecology and Obstetrics", + "name_de": "Frauenheilkunde und Geburtshilfe", + "link_en": "https://www.uk-essen.de/klinik/frauenheilkunde-geburtshilfe/", + "link_de": "https://www.uk-essen.de/klinik/frauenheilkunde-geburtshilfe/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Gastroenterology, Hepatology and Transplantation Medicine", + "name_de": "Gastroenterologie, Hepatologie und Transplantationsmedizin", + "link_en": "https://www.uk-essen.de/klinik/gastroenterologie-hepatologie-transplatationsmedizin/", + "link_de": "https://www.uk-essen.de/klinik/gastroenterologie-hepatologie-transplatationsmedizin/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Otorhinolaryngology", + "name_de": "Hals- Nasen- und Ohrenheilkunde", + "link_en": "https://www.uk-essen.de/klinik/hals-nasen-ohrenheilkunde/", + "link_de": "https://www.uk-essen.de/klinik/hals-nasen-ohrenheilkunde/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Hematology and Stem Cell Transplantation", + "name_de": "Hämatologie und Stammzelltransplantation", + "link_en": "https://www.uk-essen.de/klinik/haematologie-stammzelltransplantation/", + "link_de": "https://www.uk-essen.de/klinik/haematologie-stammzelltransplantation/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Infectious Diseases and Nephrology", + "name_de": "Infektiologie und Nephrologie", + "link_en": "https://www.uk-essen.de/klinik/infektiologie/", + "link_de": "https://www.uk-essen.de/klinik/infektiologie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Cardiology and Angiology", + "name_de": "Kardiologie und Angiologie", + "link_en": "https://www.uk-essen.de/klinik/kardiologie-angiologie/", + "link_de": "https://www.uk-essen.de/klinik/kardiologie-angiologie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Pediatrics and Adolescent Medicine", + "name_de": "Kinder- und Jugendmedizin", + "link_en": "https://www.uk-essen.de/klinik/kinder-jugendmedizin/", + "link_de": "https://www.uk-essen.de/klinik/kinder-jugendmedizin/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Pediatric Surgery", + "name_de": "Kinderchirurgie", + "link_en": "https://www.uk-essen.de/klinik/kinderchirurgie/", + "link_de": "https://www.uk-essen.de/klinik/kinderchirurgie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Medical Oncology", + "name_de": "Medizinische Onkologie", + "link_en": "https://www.uk-essen.de/klinik/medizinische-onkologie/", + "link_de": "https://www.uk-essen.de/klinik/medizinische-onkologie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Oral, Maxillofacial and Plastic Facial Surgery", + "name_de": "Mund-, Kiefer- und Plastische Gesichtschirurgie", + "link_en": "https://www.uk-essen.de/klinik/klinik-fuer-mund-kiefer-und-plastische-gesichtschirurgie/", + "link_de": "https://www.uk-essen.de/klinik/klinik-fuer-mund-kiefer-und-plastische-gesichtschirurgie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Nephrology", + "name_de": "Nephrologie", + "link_en": "https://www.uk-essen.de/klinik/nephrologie/", + "link_de": "https://www.uk-essen.de/klinik/nephrologie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Neurosurgery and Spinal Surgery", + "name_de": "Neurochirurgie und Wirbelsäulenchirurgie", + "link_en": "https://www.uk-essen.de/klinik/neurochirurgie-wirbelsaeulenchirurgie/", + "link_de": "https://www.uk-essen.de/klinik/neurochirurgie-wirbelsaeulenchirurgie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Neurology", + "name_de": "Neurologie", + "link_en": "https://www.uk-essen.de/klinik/neurologie/", + "link_de": "https://www.uk-essen.de/klinik/neurologie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Nuclear Medicine", + "name_de": "Nuklearmedizin", + "link_en": "https://www.uk-essen.de/klinik/nuklearmedizin/", + "link_de": "https://www.uk-essen.de/klinik/nuklearmedizin/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Particle Therapy (WPE)", + "name_de": "Partikeltherapie (WPE)", + "link_en": "https://www.uk-essen.de/klinik/partikeltherapie-wpe/", + "link_de": "https://www.uk-essen.de/klinik/partikeltherapie-wpe/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Thoracic and Cardiovascular Surgery", + "name_de": "Thorax- und Kardiovaskuläre Chirurgie", + "link_en": "https://www.uk-essen.de/klinik/thorax-kardiovaskulaere-chirurgie/", + "link_de": "https://www.uk-essen.de/klinik/thorax-kardiovaskulaere-chirurgie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Tumor Orthopedics and Sarcoma Surgery", + "name_de": "Tumororthopädie und Sarkomchirurgie", + "link_en": "https://www.uk-essen.de/klinik/tumororthopaedie-sarkomchirurgie/", + "link_de": "https://www.uk-essen.de/klinik/tumororthopaedie-sarkomchirurgie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Trauma, Hand and Reconstructive Surgery", + "name_de": "Unfall-, Hand- und Wiederherstellungschirurgie", + "link_en": "https://www.uk-essen.de/klinik/unfall-hand-wiederherstellungschirurgie/", + "link_de": "https://www.uk-essen.de/klinik/unfall-hand-wiederherstellungschirurgie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Urology", + "name_de": "Urologie", + "link_en": "https://www.uk-essen.de/klinik/urologie/", + "link_de": "https://www.uk-essen.de/klinik/urologie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Radiation Therapy", + "name_de": "Poliklinik für Strahlentherapie", + "link_en": "https://www.uk-essen.de/klinik/strahlentherapie/", + "link_de": "https://www.uk-essen.de/klinik/strahlentherapie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Bridge Institute for Experimental Tumor Therapy (BIT)", + "name_de": "Brückeninstitut für Experimentelle Tumortherapie (BIT)", + "link_en": "https://www.uk-essen.de/institut/tumortherapie/", + "link_de": "https://www.uk-essen.de/institut/tumortherapie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of General Practice", + "name_de": "Institut für Allgemeinmedizin", + "link_en": "https://www.uk-essen.de/institut/allgemeinmedizin/", + "link_de": "https://www.uk-essen.de/institut/allgemeinmedizin/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Anatomy", + "name_de": "Institut für Anatomie", + "link_en": "https://www.uk-essen.de/institut/anatomie/", + "link_de": "https://www.uk-essen.de/institut/anatomie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Diagnostic and Interventional Radiology and Neuroradiology", + "name_de": "Institut für Diagnostische und Interventionelle Radiologie und Neuroradiologie", + "link_en": "https://www.uk-essen.de/institut/radiologie/", + "link_de": "https://www.uk-essen.de/institut/radiologie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Medical Education", + "name_de": "Institut für Didaktik in der Medizin", + "link_en": "https://www.uk-essen.de/institut/institut-fuer-didaktik-in-der-medizin/", + "link_de": "https://www.uk-essen.de/institut/institut-fuer-didaktik-in-der-medizin/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute for Research on HIV and AIDS-Associated Diseases", + "name_de": "Institut für die Erforschung von HIV und AIDS–assoziierten Erkrankungen", + "link_en": "https://www.uk-essen.de/institut/hiv-forschung/", + "link_de": "https://www.uk-essen.de/institut/hiv-forschung/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Experimental Immunology and Imaging", + "name_de": "Institut für Experimentelle Immunologie und Bildgebung", + "link_en": "https://www.uk-essen.de/institut/experimentelle-immunologie-bildgebung/", + "link_de": "https://www.uk-essen.de/institut/experimentelle-immunologie-bildgebung/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Gender-Sensitive Medicine", + "name_de": "Institut für Geschlechtersensible Medizin", + "link_en": "https://www.uk-essen.de/institut/institut-fuer-geschlechtersensible-medizin/", + "link_de": "https://www.uk-essen.de/institut/institut-fuer-geschlechtersensible-medizin/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Human Genetics", + "name_de": "Institut für Humangenetik", + "link_en": "https://www.uk-essen.de/institut/humangenetik/", + "link_de": "https://www.uk-essen.de/institut/humangenetik/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Immunology", + "name_de": "Institut für Immunologie", + "link_en": "https://www.uk-essen.de/institut/immunologie/", + "link_de": "https://www.uk-essen.de/institut/immunologie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute for Artificial Intelligence in Medicine (IKIM)", + "name_de": "Institut für KI in der Medizin (IKIM)", + "link_en": "https://www.uk-essen.de/institut/ikim/", + "link_de": "https://www.uk-essen.de/institut/ikim/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Medical Informatics, Biometry and Epidemiology", + "name_de": "Institut für Medizinische Informatik, Biometrie und Epidemiologie", + "link_en": "https://www.uk-essen.de/institut/informatik-biometrie-epidemiologie/", + "link_de": "https://www.uk-essen.de/institut/informatik-biometrie-epidemiologie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Medical Microbiology", + "name_de": "Institut für Medizinische Mikrobiologie", + "link_en": "https://www.uk-essen.de/institut/mikrobiologie/", + "link_de": "https://www.uk-essen.de/institut/mikrobiologie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Medical Psychology and Behavioral Immunobiology", + "name_de": "Institut für Medizinische Psychologie und Verhaltensimmunbiologie", + "link_en": "https://www.uk-essen.de/institut/psychologie/", + "link_de": "https://www.uk-essen.de/institut/psychologie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Molecular Biology (Cancer Research)", + "name_de": "Institut für Molekularbiologie (Tumorforschung)", + "link_en": "https://www.uk-essen.de/institut/molekularbiologie/", + "link_de": "https://www.uk-essen.de/institut/molekularbiologie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Neuropathology", + "name_de": "Institut für Neuropathologie", + "link_en": "https://www.uk-essen.de/institut/neuropathologie/", + "link_de": "https://www.uk-essen.de/institut/neuropathologie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Pathology", + "name_de": "Institut für Pathologie", + "link_en": "https://www.uk-essen.de/institut/pathologie/", + "link_de": "https://www.uk-essen.de/institut/pathologie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Pathophysiology", + "name_de": "Institut für Pathophysiologie", + "link_en": "https://www.uk-essen.de/institut/pathophysiologie/", + "link_de": "https://www.uk-essen.de/institut/pathophysiologie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Patient Experience", + "name_de": "Institut für PatientenErleben", + "link_en": "https://www.uk-essen.de/institut/patientenerleben/", + "link_de": "https://www.uk-essen.de/institut/patientenerleben/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Pharmacology", + "name_de": "Institut für Pharmakologie", + "link_en": "https://www.uk-essen.de/institut/pharmakologie/", + "link_de": "https://www.uk-essen.de/institut/pharmakologie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Physiology", + "name_de": "Institut für Physiologie", + "link_en": "https://www.uk-essen.de/institut/physiologie/", + "link_de": "https://www.uk-essen.de/institut/physiologie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Physiological Chemistry", + "name_de": "Institut für Physiologische Chemie", + "link_en": "https://www.uk-essen.de/institut/physiologische-chemie/", + "link_de": "https://www.uk-essen.de/institut/physiologische-chemie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Forensic Medicine", + "name_de": "Institut für Rechtsmedizin", + "link_en": "https://www.uk-essen.de/institut/rechtsmedizin/", + "link_de": "https://www.uk-essen.de/institut/rechtsmedizin/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Exercise and Movement Therapy at the West German Cancer Center Essen", + "name_de": "Institut für Sport- und Bewegungstherapie am Westdeutschen Tumorzentrum Essen", + "link_en": "https://www.uk-essen.de/institut/sport-und-bewegungstherapie-WTZ/", + "link_de": "https://www.uk-essen.de/institut/sport-und-bewegungstherapie-WTZ/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Transfusion Medicine", + "name_de": "Institut für Transfusionsmedizin", + "link_en": "https://www.uk-essen.de/institut/transfusionsmedizin/", + "link_de": "https://www.uk-essen.de/institut/transfusionsmedizin/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Urban Public Health", + "name_de": "Institut für Urban Public Health", + "link_en": "https://www.uk-essen.de/institut/urban-public-health/", + "link_de": "https://www.uk-essen.de/institut/urban-public-health/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Virology", + "name_de": "Institut für Virologie", + "link_en": "https://www.uk-essen.de/institut/virologie/", + "link_de": "https://www.uk-essen.de/institut/virologie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute of Cell Biology (Cancer Research)", + "name_de": "Institut für Zellbiologie (Tumorforschung)", + "link_en": "https://www.uk-essen.de/institut/zellbiologie/", + "link_de": "https://www.uk-essen.de/institut/zellbiologie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Institute for Cell Therapeutic Research", + "name_de": "Institut für Zelltherapeutische Forschung", + "link_en": "https://www.uk-essen.de/institut/zelltherapeutische-forschung/", + "link_de": "https://www.uk-essen.de/institut/zelltherapeutische-forschung/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Breast Center I at the WTZ", + "name_de": "Brustzentrum I am WTZ", + "link_en": "https://www.uk-essen.de/zentrum/brustzentrum-i/", + "link_de": "https://www.uk-essen.de/zentrum/brustzentrum-i/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Essen Center for Rare Diseases (EZSE)", + "name_de": "Essener Zentrum für seltene Erkrankungen (EZSE)", + "link_en": "https://www.uk-essen.de/zentrum/seltene-erkrankungen/", + "link_de": "https://www.uk-essen.de/zentrum/seltene-erkrankungen/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Essen Vascular Center", + "name_de": "Gefäßzentrum Essen", + "link_en": "https://www.uk-essen.de/zentrum/gefaesszentrum-essen/", + "link_de": "https://www.uk-essen.de/zentrum/gefaesszentrum-essen/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Interdisciplinary Pain Center", + "name_de": "Interdisziplinäres Schmerzzentrum", + "link_en": "https://www.uk-essen.de/zentrum/schmerzzentrum/", + "link_de": "https://www.uk-essen.de/zentrum/schmerzzentrum/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Lung Cancer Center at the WTZ", + "name_de": "Lungenkrebszentrum am WTZ", + "link_en": "https://www.uk-essen.de/zentrum/lungenkrebszentrum/", + "link_de": "https://www.uk-essen.de/zentrum/lungenkrebszentrum/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Palliative Care", + "name_de": "Palliativmedizin", + "link_en": "https://www.uk-essen.de/zentrum/palliativmedizin/", + "link_de": "https://www.uk-essen.de/zentrum/palliativmedizin/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "West German Heart and Vascular Center (WHGZ)", + "name_de": "Westdeutsches Herz- und Gefäßzentrum (WHGZ)", + "link_en": "https://www.uk-essen.de/zentrum/whgz/", + "link_de": "https://www.uk-essen.de/zentrum/whgz/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "West German Headache Center", + "name_de": "Westdeutsches Kopfschmerzzentrum", + "link_en": "https://www.uk-essen.de/zentrum/kopfschmerzzentrum/", + "link_de": "https://www.uk-essen.de/zentrum/kopfschmerzzentrum/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "West German Gastrointestinal Center", + "name_de": "Westdeutsches Magen- und Darmzentrum", + "link_en": "https://www.uk-essen.de/zentrum/magen-darmzentrum/", + "link_de": "https://www.uk-essen.de/zentrum/magen-darmzentrum/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "West German Proton Therapy Center (WPE)", + "name_de": "Westdeutsches Protonentherapiezentrum (WPE)", + "link_en": "https://www.uk-essen.de/zentrum/protonentherapiezentrum/", + "link_de": "https://www.uk-essen.de/zentrum/protonentherapiezentrum/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "West German Cancer Center Essen (WTZ)", + "name_de": "Westdeutsches Tumorzentrum Essen (WTZ)", + "link_en": "https://www.uk-essen.de/zentrum/westdeutsches-tumorzentrum-essen/", + "link_de": "https://www.uk-essen.de/zentrum/westdeutsches-tumorzentrum-essen/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "West German Center for Infectious Diseases (WZI)", + "name_de": "Westdeutsches Zentrum für Infektiologie (WZI)", + "link_en": "https://www.uk-essen.de/zentrum/westdeutsches-zentrum-fuer-infektiologie/", + "link_de": "https://www.uk-essen.de/zentrum/westdeutsches-zentrum-fuer-infektiologie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "West German Center for Organ Transplantation (WZO)", + "name_de": "Westdeutsches Zentrum für Organtransplantation (WZO)", + "link_en": "https://www.uk-essen.de/zentrum/organtransplantationen/", + "link_de": "https://www.uk-essen.de/zentrum/organtransplantationen/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Metropole Ruhr Center for Intensive Care Medicine (ZIMR)", + "name_de": "Zentrum für Intensivmedizin Metropole Ruhr (ZIMR)", + "link_en": "https://www.uk-essen.de/zentrum/zimr/", + "link_de": "https://www.uk-essen.de/zentrum/zimr/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Center for Interdisciplinary Telemedicine and Telecare (ZinTT)", + "name_de": "Zentrum für interdisziplinäre Telemedizin und Telecare (ZinTT)", + "link_en": "https://www.uk-essen.de/zentrum/telemedizin/", + "link_de": "https://www.uk-essen.de/zentrum/telemedizin/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Center for Child and Adolescent Medicine", + "name_de": "Zentrum für Kinder- und Jugendmedizin", + "link_en": "https://www.uk-essen.de/zentrum/kinder-jugendmedizin/", + "link_de": "https://www.uk-essen.de/zentrum/kinder-jugendmedizin/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Center for Naturopathy and Planetary Health", + "name_de": "Zentrum für Naturheilkunde und Planetare Gesundheit", + "link_en": "https://www.uk-essen.de/zentrum/Naturheilkunde/", + "link_de": "https://www.uk-essen.de/zentrum/Naturheilkunde/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Center for Emergency Medicine", + "name_de": "Zentrum für Notfallmedizin", + "link_en": "https://www.uk-essen.de/zentrum/notfallmedizin/", + "link_de": "https://www.uk-essen.de/zentrum/notfallmedizin/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Center for Virtual and Augmented Reality in Medicine (ZvRM)", + "name_de": "Zentrum für virtuelle und erweiterte Realität in der Medizin (ZvRM)", + "link_en": "https://www.uk-essen.de/zentrum/zentrum-fuer-virtuelle-und-erweiterte-realitaet-in-der-medizin-zvrm/", + "link_de": "https://www.uk-essen.de/zentrum/zentrum-fuer-virtuelle-und-erweiterte-realitaet-in-der-medizin-zvrm/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Department of EIMK – Empathic Intercultural Medical Communication", + "name_de": "Abteilung EIMK – Empathische Interkulturelle Medizinische Kommunikation", + "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/abteilung-eimk-empathische-interkulturelle-medizinische-kommunikation/", + "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/abteilung-eimk-empathische-interkulturelle-medizinische-kommunikation/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Pharmacy", + "name_de": "Apotheke", + "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/apotheke/", + "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/apotheke/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Central Division AI and Data Governance", + "name_de": "Central Division AI and Data Governance", + "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/ai-data-governance/", + "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/ai-data-governance/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Data Integration Center (DIZ)", + "name_de": "Datenintegrationszentrum (DIZ)", + "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/datenintegrationszentrum-diz/", + "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/datenintegrationszentrum-diz/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Information Security", + "name_de": "Informationssicherheit", + "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/informationssicherheit/", + "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/informationssicherheit/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Clinical Ethics Committee (KEK)", + "name_de": "Klinisches Ethik-Komitee (KEK)", + "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/klinisches-ethik-komitee-kek/", + "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/klinisches-ethik-komitee-kek/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Hospital Hygiene", + "name_de": "Krankenhaushygiene", + "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/krankenhaushygiene/", + "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/krankenhaushygiene/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Human Resources and Occupational Health Service", + "name_de": "Personal- und betriebsärztlicher Dienst", + "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/personal-betriebsaerztlicher-dienst/", + "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/personal-betriebsaerztlicher-dienst/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Nursing Service", + "name_de": "Pflegedienst", + "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/pflegedienst/", + "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/pflegedienst/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Physiotherapy", + "name_de": "Physiotherapie", + "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/physiotherapie/", + "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/physiotherapie/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Service and Information Center (SIC)", + "name_de": "Service- und Informationscenter (SIC)", + "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/service-und-informationscenter-sic/", + "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/service-und-informationscenter-sic/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Digital Transformation Staff Unit", + "name_de": "Stabsstelle Digitale Transformation", + "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/stabsstelle-digitale-transformation/", + "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/stabsstelle-digitale-transformation/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Quality Management and Clinical Risk Management Staff Unit", + "name_de": "Stabsstelle Qualitätsmanagement und klinisches Risikomanagement", + "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/stabsstelle-qualitaetsmanagement-und-klinisches-risikomanagement/", + "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/stabsstelle-qualitaetsmanagement-und-klinisches-risikomanagement/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "UME Clinical Study Unit", + "name_de": "UME-Studieneinheit", + "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/ume-studieneinheit/", + "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/ume-studieneinheit/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Central Information Technology (ZIT)", + "name_de": "Zentrale Informationstechnik (ZIT)", + "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/zentrale-informationstechnik-zit/", + "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/zentrale-informationstechnik-zit/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Central Animal Laboratory", + "name_de": "Zentrales Tierlaboratorium", + "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/zentrales-tierlaboratorium/", + "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/zentrales-tierlaboratorium/", + "type": "leaf", + "color": "green" + }, + { + "faculty_de": "Medizin", + "faculty_en": "Medicine", + "name_en": "Central Laboratory", + "name_de": "Zentrallabor", + "link_en": "https://www.uk-essen.de/gemeinsame-einrichtung/zentrallabor/", + "link_de": "https://www.uk-essen.de/gemeinsame-einrichtung/zentrallabor/", + "type": "leaf", + "color": "green" + } + ], + "value": 91, + "faculty_en": "Medicine", + "faculty_de": "Medizin" } ] } diff --git a/webapp/src/app/modules/bookmarks/bookmarks.component.html b/webapp/src/app/modules/bookmarks/bookmarks.component.html index 49d70461..808741f2 100644 --- a/webapp/src/app/modules/bookmarks/bookmarks.component.html +++ b/webapp/src/app/modules/bookmarks/bookmarks.component.html @@ -1,38 +1,37 @@
{{ BOOKMARKS_ICON }} {{ persons().length }} Personen
-
- - @if (loading()) { - - } @else if (persons().length) { -
- @for (person of persons(); track person.id) { - - - } -
- } @else { -
- {{ BOOKMARK_BORDER_ICON }} -

Noch keine Bookmarks

-

- Speichere Personen über das Bookmark-Symbol auf einer Personenkarte. -

-
- } -
+
+ @if (loading()) { + + } @else if (persons().length) { +
+ @for (person of persons(); track person.id) { + + + } +
+ } @else { +
+ {{ BOOKMARK_BORDER_ICON }} +

Noch keine Bookmarks

+

+ Speichere Personen über das Bookmark-Symbol auf einer Personenkarte. +

+
+ } +
diff --git a/webapp/src/app/modules/dashboard/components/dashboard-statistic-card/dashboard-statistic-card.component.html b/webapp/src/app/modules/dashboard/components/dashboard-statistic-card/dashboard-statistic-card.component.html index e7407bf5..1d810499 100644 --- a/webapp/src/app/modules/dashboard/components/dashboard-statistic-card/dashboard-statistic-card.component.html +++ b/webapp/src/app/modules/dashboard/components/dashboard-statistic-card/dashboard-statistic-card.component.html @@ -1,18 +1,38 @@ - +
{{ icon() }}
{{ label() }} {{ loading() ? '…' : ((value() | number) ?? '–') }} + @if (detail()) { + {{ detail() }} + }
-
+ + +@if (link()) { + + + +} @else { +
+ +
+} diff --git a/webapp/src/app/modules/dashboard/components/dashboard-statistic-card/dashboard-statistic-card.component.scss b/webapp/src/app/modules/dashboard/components/dashboard-statistic-card/dashboard-statistic-card.component.scss index 37852979..18f15574 100644 --- a/webapp/src/app/modules/dashboard/components/dashboard-statistic-card/dashboard-statistic-card.component.scss +++ b/webapp/src/app/modules/dashboard/components/dashboard-statistic-card/dashboard-statistic-card.component.scss @@ -34,6 +34,16 @@ pointer-events: none; } + &--static { + cursor: default; + + &:hover { + border-color: var(--sg-border); + box-shadow: var(--sg-shadow-sm); + transform: none; + } + } + span { display: block; color: var(--sg-text-muted); @@ -46,6 +56,13 @@ font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; } + + .statistics-detail { + display: block; + color: var(--sg-text-soft); + font-size: 11.5px; + line-height: 1.35; + } } .statistics-icon { @@ -69,8 +86,19 @@ } &--bund-projects, - &--dfg-projects { + &--dfg-projects, + &--shortlist { background: var(--sg-warning-soft); color: var(--sg-warning); } + + &--founders { + background: var(--sg-primary-soft); + color: var(--sg-blue-highlight); + } + + &--quality { + background: var(--sg-success-soft); + color: var(--sg-success); + } } diff --git a/webapp/src/app/modules/dashboard/components/dashboard-statistic-card/dashboard-statistic-card.component.ts b/webapp/src/app/modules/dashboard/components/dashboard-statistic-card/dashboard-statistic-card.component.ts index 16f8758f..b232ef73 100644 --- a/webapp/src/app/modules/dashboard/components/dashboard-statistic-card/dashboard-statistic-card.component.ts +++ b/webapp/src/app/modules/dashboard/components/dashboard-statistic-card/dashboard-statistic-card.component.ts @@ -1,4 +1,4 @@ -import { DecimalPipe } from '@angular/common'; +import { DecimalPipe, NgTemplateOutlet } from '@angular/common'; import { Component, input } from '@angular/core'; import { MatIconModule } from '@angular/material/icon'; import { MatTooltipModule } from '@angular/material/tooltip'; @@ -10,17 +10,28 @@ export type DashboardStatisticCardVariant = | 'patents' | 'eu-projects' | 'bund-projects' - | 'dfg-projects'; + | 'dfg-projects' + | 'founders' + | 'quality' + | 'shortlist'; @Component({ selector: 'app-dashboard-statistic-card', - imports: [DecimalPipe, MatIconModule, MatTooltipModule, RouterLink], + imports: [ + DecimalPipe, + NgTemplateOutlet, + MatIconModule, + MatTooltipModule, + RouterLink, + ], templateUrl: './dashboard-statistic-card.component.html', styleUrl: './dashboard-statistic-card.component.scss', }) export class DashboardStatisticCardComponent { readonly label = input.required(); readonly value = input(); + /** Optional secondary line below the value, e.g. a share or denominator. */ + readonly detail = input(null); readonly loading = input(false); readonly icon = input.required(); readonly variant = input.required(); diff --git a/webapp/src/app/modules/founder-potential/founder-dashboard/founder-dashboard.component.html b/webapp/src/app/modules/founder-potential/founder-dashboard/founder-dashboard.component.html index a52d7d9b..4e938e1e 100644 --- a/webapp/src/app/modules/founder-potential/founder-dashboard/founder-dashboard.component.html +++ b/webapp/src/app/modules/founder-potential/founder-dashboard/founder-dashboard.component.html @@ -1,185 +1,71 @@ + [eyebrow]="'Gründungspotenzial · ' + universityName()" + title="Wer hat Gründungspotenzial?" + subtitle="Kandidat:innen für Gründungsgespräche und -angebote." + [titleTooltip]="pageTooltip">
- -

- Datenbasis: Publikationen, Patente, Förderungen und - Industriekooperationen werden für Forschende der Universität bis zum - jeweiligen Datenstichtag zusammengeführt. Ein vortrainiertes, - symmetrisch aufgebautes Modell schätzt die Ähnlichkeit zu Profilen von - Personen, die gegründet haben. -

-
    -
  • - Der Hauptwert ist ein - Perzentil gegenüber einer festen Referenzkohorte von rund 9.000 - Forschenden aus acht anderen Universitäten - – keine individuelle Gründungswahrscheinlichkeit. -
  • -
  • - „Innerhalb 1 / 3 / 5 Jahre“ kommt aus drei eigenen Horizont-Modellen. - Bewertbar sind Profile ab mindestens vier Publikationen. Die - Kandidatenliste blendet standardmäßig Profile mit weniger als sieben - Publikationen, unplausibel langen Karrieren (über 40 Jahre) und - wahrscheinlichen Profilzusammenführungen aus. -
  • -
-
- @if (hasData()) { -
- - -
Forschende im Index
-
{{ fmtInt(kpis().total) }}
-
gesamte Kohorte
-
-
- - -
Bestehen Datenqualität
-
{{ fmtInt(kpis().passed) }}
-
{{ kpis().share }} % der Kohorte
-
-
- - -
Auf der Shortlist
-
{{ fmtInt(kpis().shortlisted) }}
-
- Score ≥ {{ fmt1(threshold()) - }}{{ screened() ? ', gescreent' : ', ungescreent' }} -
-
-
-
+ @if (hasData() && hasScores()) { +
+ - -
-

1 · Woher die Kandidat:innen kommen

-

- Beide Panels nutzen die Shortlist am aktuellen Schwellenwert. -

-
- - -
Karrierestufe
-
- @for (s of stageRows(); track s.career_bucket) { -
- {{ s.career_bucket }} - - - - {{ s.shortlist_plain ?? 0 }} - / {{ fmtInt(s.screened) }} -
- } -
-
- Balken sind Kandidatenzahlen; die graue Zahl ist der gescreente - Pool der Stufe. -
-
-
+ - - -
- Forschungsfeld, vs. Anteil an der Kohorte -
-
- @for (a of areaRows(); track a.code) { -
- {{ a.label ?? a.code }} - - - - {{ a.shortlist_count ?? 0 }} - · {{ fmt1((a.cohort_share ?? 0) * 100) }} % der - Kohorte -
- } -
-
- Balken sind Kandidatenzahlen. Die graue Zahl ist der Anteil des - Feldes an der gescreenten Kohorte – ein Feld deutlich über - seinem Anteil überproduziert. -
-
-
-
+ + +
-
-

2 · Die Shortlist

-

- Verschiebe den Schwellenwert, um Listenlänge gegen Sicherheit - abzuwägen. Aktiviere das Screening für eine handlungsfähige Liste; - deaktiviere es, um zu sehen, was der rohe Modell-Score hervorgebracht - hätte – orange Zeilen sind Datensätze, die eine Datenqualitätsregel - verletzt haben. Klicke auf eine Person, um ihre Karte zu öffnen. -

+ +
+
+

Shortlist: Top-Kandidat:innen

+ + {{ INFO_OUTLINE_ICON }} + +
- Minimaler Score + + Mindestwert + + {{ INFO_OUTLINE_ICON }} + + + aria-label="Mindestwert für die Shortlist" /> {{ thresholdDraft() }} - Fehlerhafte Datensätze aussortieren + (change)="onScreenedChange($event.checked)" + [matTooltip]="screeningTooltip" + matTooltipClass="sg-tooltip-wide" + matTooltipPosition="above"> + Auffällige Profile ausblenden {{ fmtInt(total()) }} {{ total() === 1 ? 'Person' : 'Personen' }} @@ -213,105 +102,173 @@ [columns]="columns()" [data]="rows()" [selectedRow]="selectedRow()" + queryParamSortKey="sortBy" + queryParamSortDirectionKey="sortOrder" (rowClick)="selectCandidate($event.candidate.author_id)" /> } @else {
- Niemand erreicht diesen Schwellenwert, sobald fehlerhafte - Datensätze aussortiert sind. Senke den Schwellenwert für eine - handlungsfähige Liste. +

{{ emptyListMessage() }}

+ @if (threshold() > 50) { + + }
} - - @if (selectedRow(); as row) {
+ Ausgewählt

{{ row.name }}

- {{ row.candidate.career_bucket ?? '–' }} + + {{ row.candidate.career_bucket ?? '–' }} + @if (row.areaLabel) { · {{ row.areaLabel }} } - · {{ fmtInt(row.candidate.active_years) }} aktive Jahre + · {{ fmtInt(row.candidate.active_years) }} Jahre mit + Publikationen @if (!row.candidate.screen.passed && row.flagLabel) { · - auffällig: {{ row.flagLabel }} + + auffällig: {{ row.flagLabel }} + }
-
-
-
Gründungspotenzial
-

- Perzentil gegenüber der Modell-Referenzkohorte; keine - individuelle Wahrscheinlichkeit. -

- - - - +

+ Alle Werte sind Ränge von 0 bis 100 – keine Wahrscheinlichkeiten. + 90 heißt: stärker als 90 % der Vergleichsgruppe. +

+ +
+
+ Potenzial + {{ fmt1(row.score) }} +
+
+ Signal 1 Jahr + {{ fmt1(row.within[0]) }} +
+
+ Signal 3 Jahre + {{ fmt1(row.within[1]) }} +
+
+ Signal 5 Jahre + {{ fmt1(row.within[2]) }}
- Publikationen + + Publikationen {{ fmtInt(row.candidate.founder_features?.publications) - }} - Patente + }} + + + Patente {{ fmtInt(row.candidate.founder_features?.patents) - }} - Industrie-Publikationen + }} + + + Arbeiten mit Industrie {{ fmtInt( row.candidate.founder_features?.industry_collab_papers ) - }} - Förderungen + }} + + + Förderprojekte {{ fmtInt(row.candidate.founder_features?.grants) - }} - aktive Jahre - {{ fmtInt(row.candidate.active_years) }} + }} + + + Aktive Jahre + {{ fmtInt(row.candidate.active_years) }} +
} + +
+ } @else if (hasData()) { + + + {{ FOUNDER_ICON }} +

Noch keine Gründungspotenzial-Scores

+

+ Für die {{ universityName() }} liegen Forschungsdaten + vor, aber die Gründungspotenzial-Auswertung wurde noch nicht + berechnet. Sobald sie vorliegt, erscheinen hier die Kandidat:innen und + ihre Werte. +

+
+
} @else { @@ -321,7 +278,7 @@ Für die {{ universityName() }} wurde das Gründungspotenzial noch nicht berechnet. Sobald die Auswertung vorliegt, erscheinen hier die Kandidat:innen und ihre - Gründungspotenzial-Scores. + Gründungspotenzial-Werte.

@@ -333,7 +290,13 @@ {{ row.name }} - {{ row.candidate.career_bucket ?? '–' }} + + {{ row.candidate.career_bucket ?? '–' }} + @if (row.areaLabel) { · {{ row.areaLabel }} } @@ -342,40 +305,64 @@ - @if (row.score !== null) { - - - - - {{ fmt1(row.score) }} - - } @else { - – - } + {{ fmt1(row.score) }} - - - @for (v of row.within; track $index) { - - } - - - {{ row.within.map((v) => (v === null ? '–' : round(v))).join(' · ') }} - + + {{ row.within.map((v) => (v === null ? '–' : fmt1(v))).join(' · ') }} - {{ fmtInt(row.candidate.founder_features?.publications) }} Publ. + {{ fmtInt(row.candidate.founder_features?.publications) }} Publikationen @if (row.candidate.founder_features?.patents) { - · {{ fmtInt(row.candidate.founder_features?.patents) }} Pat. + · {{ fmtInt(row.candidate.founder_features?.patents) }} Patente } @if (row.candidate.founder_features?.industry_collab_papers) { · - {{ fmtInt(row.candidate.founder_features?.industry_collab_papers) }} Ind. + {{ fmtInt(row.candidate.founder_features?.industry_collab_papers) }} mit + Industrie } + + + + Potenzial (0–100) + + {{ HELP_OUTLINE_ICON }} + + + + + + + Signal 1 / 3 / 5 Jahre + + {{ HELP_OUTLINE_ICON }} + + + + + + + Signale + + {{ HELP_OUTLINE_ICON }} + + + diff --git a/webapp/src/app/modules/founder-potential/founder-dashboard/founder-dashboard.component.scss b/webapp/src/app/modules/founder-potential/founder-dashboard/founder-dashboard.component.scss index 32162166..d2590d8c 100644 --- a/webapp/src/app/modules/founder-potential/founder-dashboard/founder-dashboard.component.scss +++ b/webapp/src/app/modules/founder-potential/founder-dashboard/founder-dashboard.component.scss @@ -3,8 +3,14 @@ min-width: 0; } -section { - margin-top: 40px; +.info-icon { + flex: none; + width: 19px; + height: 19px; + color: var(--sg-text-soft); + font-size: 19px; + cursor: help; + vertical-align: middle; } .empty-state { @@ -17,24 +23,24 @@ section { } &__icon { - font-size: 34px; + margin-bottom: 10px; width: 34px; height: 34px; color: var(--sg-text-soft); - margin-bottom: 10px; + font-size: 34px; } h2 { - font-size: 22px; margin: 0 0 10px; color: var(--sg-text); + font-size: 22px; } p { + margin: 0; + color: var(--sg-text-muted); font-size: 15px; line-height: 1.55; - color: var(--sg-text-muted); - margin: 0; } strong { @@ -43,148 +49,64 @@ section { } } -h2 { - font-size: var(--sg-section-title-size, clamp(17px, 1.3vw, 19px)); - margin: 0 0 4px; - font-weight: var(--sg-section-title-weight, 700); - line-height: var(--sg-section-title-line-height, 1.3); - color: var(--sg-text); -} - -.note { - font-size: 13px; - color: var(--sg-text-muted); - margin: 2px 0 18px; - max-width: 74ch; - line-height: 1.5; -} - // -- KPIs --------------------------------------------------------------- -.kpis { +.statistics-grid { display: grid; - grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); - gap: 12px; - margin-top: 26px; + grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); + gap: 1rem; } -.kpi { - background: var(--sg-surface-muted); +// -- Shortlist ---------------------------------------------------------- - .mat-mdc-card-content { - padding: 14px 16px; - } - - .kpi__key { - font-size: 11px; - letter-spacing: 0.08em; - text-transform: uppercase; - color: var(--sg-text-soft); - margin-bottom: 6px; - } - - .kpi__value { - font-size: 30px; - font-weight: 700; - line-height: 1; - letter-spacing: -0.02em; - color: var(--sg-text); - font-variant-numeric: tabular-nums; - } - - .kpi__sub { - font-size: 12px; - color: var(--sg-text-muted); - margin-top: 5px; - } - - &.kpi--hero .kpi__value { - color: var(--sg-blue-highlight); - } +.shortlist-section { + margin-top: 32px; } -// -- Funnel ------------------------------------------------------------- - -.funnel { +.section-heading { display: flex; - flex-direction: column; - gap: 9px; -} - -.funnel__row { - display: grid; - grid-template-columns: minmax(140px, 240px) 1fr 64px 56px; - gap: 12px; align-items: center; -} + gap: 8px; + margin-bottom: 12px; -.funnel__label { - font-size: 13px; - color: var(--sg-text-muted); -} - -.funnel__track { - --mat-progress-bar-track-height: 20px; - --mat-progress-bar-active-indicator-height: 20px; - --mat-progress-bar-track-color: transparent; - --mat-progress-bar-active-indicator-color: var(--sg-blue-highlight); - background: var(--sg-surface-muted); - border-radius: 4px; - height: 22px; - overflow: hidden; - border: 1px solid var(--sg-border); - - .mat-mdc-progress-bar { - height: 100%; + h2 { + margin: 0; + color: var(--sg-text); + font-size: 20px; + font-weight: 700; } } -.funnel__count { - font-size: 13px; - font-variant-numeric: tabular-nums; - color: var(--sg-text); - text-align: right; - font-weight: 600; -} - -.funnel__lost { - font-size: 11.5px; - color: var(--sg-error); - text-align: right; -} - -// -- Controls ----------------------------------------------------------- - .controls { display: flex; flex-wrap: wrap; - gap: 10px 22px; align-items: center; + gap: 10px 22px; + margin-bottom: 16px; padding: 12px 14px; - background: var(--sg-surface-muted); border: 1px solid var(--sg-border); border-radius: 10px; - margin-bottom: 16px; + background: var(--sg-surface-muted); font-size: 13px; &__range { display: inline-flex; align-items: center; - gap: 10px; + gap: 6px; color: var(--sg-text-muted); } &__value { + display: inline-block; + min-width: 24px; + color: var(--sg-text); font-weight: 700; font-variant-numeric: tabular-nums; - color: var(--sg-text); - min-width: 24px; - display: inline-block; } &__count { - color: var(--sg-text-soft); margin-left: auto; + color: var(--sg-text-soft); } &__slider { @@ -193,8 +115,6 @@ h2 { } } -// -- List --------------------------------------------------------------- - .list-card { overflow: hidden; @@ -211,10 +131,10 @@ h2 { .mat-mdc-header-cell { padding: 8px 14px; background: var(--sg-surface-muted); + color: var(--sg-text-soft); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; - color: var(--sg-text-soft); } .mat-mdc-cell { @@ -226,8 +146,9 @@ h2 { width: 32%; } - .mat-column-score { + .mat-column-external_percentile { width: 15%; + text-align: right; } .mat-column-within { @@ -238,11 +159,6 @@ h2 { width: 21%; } - .mat-column-actions { - width: 10%; - text-align: right; - } - tr.element-row { cursor: pointer; @@ -263,96 +179,57 @@ h2 { } } +.th-help { + display: inline-flex; + align-items: center; + gap: 4px; + + &__icon { + width: 14px; + height: 14px; + color: var(--sg-text-soft); + font-size: 14px; + cursor: help; + } +} + .list__nm { - font-weight: 600; color: var(--sg-text); + font-weight: 600; } .list__sub { display: block; - font-size: 11.5px; color: var(--sg-text-soft); + font-size: 11.5px; } -.list__score { - display: flex; - align-items: center; - gap: 7px; -} - -.list__meter { - --mat-progress-bar-track-height: 8px; - --mat-progress-bar-active-indicator-height: 8px; - --mat-progress-bar-track-color: transparent; - --mat-progress-bar-active-indicator-color: var(--sg-blue-highlight); - display: block; - background: var(--sg-surface-soft); - border-radius: 3px; - height: 9px; - flex: 1; - min-width: 44px; - overflow: hidden; - - .mat-mdc-progress-bar { - height: 100%; - } +.list__career, +.card__career { + cursor: help; + text-decoration: underline dotted; + text-underline-offset: 2px; } .list__score-value { - font-variant-numeric: tabular-nums; - font-size: 12.5px; min-width: 34px; - text-align: right; + color: var(--sg-text); + font-size: 12.5px; font-weight: 600; -} - -.list__within { - display: flex; - align-items: center; - gap: 7px; -} - -.list__hist { - display: flex; - gap: 2px; - align-items: flex-end; - height: 22px; - - i { - display: block; - width: 9px; - background: var(--sg-blue-highlight); - border-radius: 2px 2px 0 0; - opacity: 0.85; - } + font-variant-numeric: tabular-nums; + text-align: right; } .list__within-nums { - font-size: 12px; color: var(--sg-text-muted); + font-size: 12px; font-variant-numeric: tabular-nums; } .list__evidence { - font-variant-numeric: tabular-nums; color: var(--sg-text-muted); font-size: 12.5px; -} - -.list__actions { - display: flex; - align-items: center; - gap: 8px; - justify-content: flex-end; -} - -.warn-pill { - font-size: 10.5px; - color: var(--sg-error); - border: 1px solid currentColor; - border-radius: 999px; - padding: 1px 7px; - white-space: nowrap; + font-variant-numeric: tabular-nums; } .list__empty { @@ -364,8 +241,8 @@ h2 { // -- Detail card -------------------------------------------------------- .card { - background: var(--sg-surface-muted); margin-top: 16px; + background: var(--sg-surface-muted); .mat-mdc-card-content { padding: 20px; @@ -373,58 +250,80 @@ h2 { h3 { margin: 0 0 2px; - font-size: 20px; color: var(--sg-text); + font-size: 20px; } } .card__head { display: flex; flex-wrap: wrap; - gap: 12px; align-items: flex-start; justify-content: space-between; + gap: 12px; +} + +.card__eyebrow { + display: block; + margin-bottom: 2px; + color: var(--sg-text-soft); + font-size: 11px; + font-weight: 600; + letter-spacing: 0.08em; + text-transform: uppercase; } .card__meta { - font-size: 12.5px; - color: var(--sg-text-soft); margin-bottom: 16px; + color: var(--sg-text-soft); + font-size: 12.5px; } .card__flag { color: var(--sg-error); + cursor: help; } -.card__grid { +.score-caption { + margin: 0 0 12px; + color: var(--sg-text-soft); + font-size: 12px; + line-height: 1.45; +} + +.score-tiles { display: grid; - grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); - gap: 18px; - - &--founder-only { - grid-template-columns: minmax(0, 1fr); - } + grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); + gap: 10px; } -.panel { - background: var(--sg-surface); +.score-tile { + display: flex; + flex-direction: column; + gap: 4px; + padding: 12px 14px; border: 1px solid var(--sg-border); - border-radius: 10px; - padding: 14px 15px; + border-radius: 12px; + background: var(--sg-card-bg); + cursor: help; - .panel__ttl { - font-size: 11px; - letter-spacing: 0.08em; - text-transform: uppercase; + &__label { color: var(--sg-text-soft); - margin-bottom: 3px; + font-size: 11px; + letter-spacing: 0.07em; + text-transform: uppercase; } - .panel__cap { - font-size: 12px; - color: var(--sg-text-soft); - margin: 0 0 12px; - line-height: 1.45; + strong { + color: var(--sg-text); + font-size: 24px; + font-weight: 700; + font-variant-numeric: tabular-nums; + line-height: 1.1; + } + + &--primary strong { + color: var(--sg-blue-highlight); } } @@ -440,91 +339,12 @@ h2 { } } -.fact { - font-size: 12px; - background: var(--sg-surface-soft); - border-radius: 6px; - padding: 4px 9px; - color: var(--sg-text-muted); +@media (max-width: 640px) { + .section-heading h2 { + font-size: 18px; + } - b { - color: var(--sg-text); - font-variant-numeric: tabular-nums; + .controls__count { + margin-left: 0; } } - -// -- Charts ------------------------------------------------------------- - -.charts { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); - gap: 24px; - align-items: stretch; -} - -.chart-card { - height: 100%; - - .mat-mdc-card-content { - padding: 14px 16px; - } -} - -.chart__ttl { - font-size: 11px; - letter-spacing: 0.08em; - text-transform: uppercase; - color: var(--sg-text-soft); - margin-bottom: 12px; -} - -.chart__row { - display: grid; - grid-template-columns: 118px 1fr auto; - gap: 10px; - align-items: center; - margin-bottom: 7px; - font-size: 12.5px; -} - -.chart__label { - color: var(--sg-text-muted); -} - -.chart__track { - --mat-progress-bar-track-height: 14px; - --mat-progress-bar-active-indicator-height: 14px; - --mat-progress-bar-track-color: transparent; - --mat-progress-bar-active-indicator-color: var(--sg-blue-highlight); - display: block; - background: var(--sg-surface-muted); - border-radius: 3px; - height: 16px; - overflow: hidden; - border: 1px solid var(--sg-border); - - .mat-mdc-progress-bar { - height: 100%; - } -} - -.chart__num { - font-variant-numeric: tabular-nums; - font-size: 12px; - min-width: 96px; - text-align: right; - color: var(--sg-text); - - small { - color: var(--sg-text-soft); - font-weight: 400; - } -} - -.chart__axis { - border-top: 1px solid var(--sg-border); - margin-top: 10px; - padding-top: 6px; - font-size: 11px; - color: var(--sg-text-soft); -} diff --git a/webapp/src/app/modules/founder-potential/founder-dashboard/founder-dashboard.component.ts b/webapp/src/app/modules/founder-potential/founder-dashboard/founder-dashboard.component.ts index c9866bc2..8f6567f3 100644 --- a/webapp/src/app/modules/founder-potential/founder-dashboard/founder-dashboard.component.ts +++ b/webapp/src/app/modules/founder-potential/founder-dashboard/founder-dashboard.component.ts @@ -12,35 +12,40 @@ import { CommonModule } from '@angular/common'; import { ActivatedRoute, Router } from '@angular/router'; import { toSignal } from '@angular/core/rxjs-interop'; import { MatCardModule } from '@angular/material/card'; +import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; -import { MatProgressBarModule } from '@angular/material/progress-bar'; import { MatSlideToggleModule } from '@angular/material/slide-toggle'; import { MatSliderModule } from '@angular/material/slider'; +import { MatTooltipModule } from '@angular/material/tooltip'; import { - CareerStageStatistics, FounderCandidate, FounderCandidatePage, + FounderSortBy, FounderStatistics, - ResearchAreaStatistics, } from '../../../api'; import { - FUNNEL_STAGE_LABELS, SCREEN_REASON_LABELS, - clamp, + careerBucketDescription, fmt1, fmtInt, } from '../founder-potential.utils'; -import { ScoreBarComponent } from '../../../shared/ui/score-bar/score-bar.component'; import { QueryParamPaginatorComponent } from '../../../shared/ui/query-param-paginator/query-param-paginator.component'; import { ChipComponent } from '../../../shared/ui/chip/chip.component'; import { DataTableComponent, GenericColumn, } from '../../../shared/ui/data-table/data-table.component'; -import { MethodologyNoteComponent } from '../../../shared/ui/methodology-note/methodology-note.component'; +import { DashboardStatisticCardComponent } from '../../dashboard/components/dashboard-statistic-card/dashboard-statistic-card.component'; import { PageContainerComponent } from '../../../shared/ui/page-container/page-container.component'; -import { FOUNDER_ICON } from '../../../shared/ui/icons'; +import { + FOUNDER_ICON, + HELP_OUTLINE_ICON, + INFO_OUTLINE_ICON, + PERSONS_ICON, + STAR_ICON, + VERIFIED_ICON, +} from '../../../shared/ui/icons'; import { CredentialService } from '../../../shared/services/credential.service'; const FALLBACK_UNIVERSITY = 'Universität Duisburg-Essen'; @@ -65,15 +70,15 @@ interface FounderRow { imports: [ CommonModule, MatCardModule, + MatButtonModule, MatIconModule, - MatProgressBarModule, MatSlideToggleModule, MatSliderModule, - ScoreBarComponent, + MatTooltipModule, QueryParamPaginatorComponent, ChipComponent, DataTableComponent, - MethodologyNoteComponent, + DashboardStatisticCardComponent, PageContainerComponent, ], templateUrl: './founder-dashboard.component.html', @@ -81,6 +86,11 @@ interface FounderRow { }) export class FounderDashboardComponent { readonly FOUNDER_ICON = FOUNDER_ICON; + readonly HELP_OUTLINE_ICON = HELP_OUTLINE_ICON; + readonly INFO_OUTLINE_ICON = INFO_OUTLINE_ICON; + readonly PERSONS_ICON = PERSONS_ICON; + readonly STAR_ICON = STAR_ICON; + readonly VERIFIED_ICON = VERIFIED_ICON; readonly statistics = input.required(); readonly candidates = input.required(); @@ -104,7 +114,7 @@ export class FounderDashboardComponent { }); readonly threshold = computed( - () => toNumber(this.queryParams().get('threshold')) ?? 90, + () => Math.max(50, Math.min(100, toNumber(this.queryParams().get('threshold')) ?? 90)), ); readonly screened = computed( () => this.queryParams().get('screened') === 'true', @@ -119,35 +129,90 @@ export class FounderDashboardComponent { }); } + // -- Explanations (tooltips only) -------------------------------------- + + readonly pageTooltip = + 'Das Modell schätzt, wie stark das Profil einer Person zu Forschenden passt, die gegründet haben. Grundlage sind Publikationen, Patente, Förderungen und gemeinsame Arbeiten mit Unternehmen. Der Wert ist ein Rang von 0 bis 100 im Vergleich zu rund 9.000 Wissenschaftler:innen anderer Universitäten: 90 heißt „stärker als 90 % dieser Vergleichsgruppe“. Das ist ein Hinweis, keine Vorhersage und keine Gründungswahrscheinlichkeit.'; + + readonly totalTooltip = + 'Alle Forschenden der Universität im Datensatz. Nicht alle davon lassen sich bewerten – dafür braucht das Modell mindestens 4 Publikationen.'; + + readonly scoreableTooltip = + 'Nur diese Personen haben genug Publikationen (mindestens 4), um vom Modell bewertet zu werden. Für alle anderen gibt es keinen Score.'; + + readonly qualityTooltip = computed( + () => + `${this.kpis().passed.toLocaleString('de-DE')} von ${this.kpis().total.toLocaleString('de-DE')} Forschenden (${this.kpis().share} %) haben ein vollständiges und plausibles Profil. Nur diese Werte sind gut belastbar.`, + ); + + readonly shortlistTooltip = computed( + () => + `Personen mit dem stärksten Gründungspotenzial. Angezeigt werden alle ab einem Rang von ${this.threshold()}. ${ + this.screened() + ? 'Auffällige Profile sind ausgeblendet.' + : 'Auffällige Profile sind enthalten.' + }`, + ); + + readonly shortlistSectionTooltip = + 'Hier stehen die Personen mit dem stärksten Gründungspotenzial. Der Regler legt fest, ab welchem Rang jemand in die Liste kommt.'; + + readonly thresholdTooltip = + 'Legt fest, ab welchem Rang Personen in der Shortlist erscheinen. 90 ist streng und zeigt nur die obersten 10 % der Vergleichsgruppe; 50 zeigt die obere Hälfte.'; + + readonly screeningTooltip = + 'Blendet Profile aus, die vermutlich unvollständig, falsch datiert oder mit anderen Personen vermischt sind. Die Scores dieser Personen sind weniger verlässlich.'; + + readonly scoreTooltip = + 'Rang des Gründungspotenzials von 0 bis 100. 90 heißt: stärker als 90 % der rund 9.000 vergleichbaren Wissenschaftler:innen anderer Universitäten. Kein Wahrscheinlichkeitswert.'; + + readonly withinTooltip = + 'Getrennte Modelle für die Frage, ob das Profil zu einer Gründung innerhalb von 1, 3 oder 5 Jahren nach dem Stichtag passt – wieder als Rang von 0 bis 100, kein Wahrscheinlichkeitswert. Die drei Werte können unterschiedlich hoch sein.'; + + readonly evidenceTooltip = + 'Die Signale, auf denen die Einschätzung beruht: Publikationen, Patente, Förderungen und gemeinsame Arbeiten mit der Industrie. Die Werte sind Zählungen, keine Bewertung der Person.'; + + readonly flagTooltip = + 'Möglicherweise wurden mehrere Personen mit gleichem Namen zusammengeführt oder die Karriereangaben sind unplausibel. Die Werte sind dann unsicher. Bitte Identität und Profil prüfen, bevor Sie die Person ansprechen.'; + + readonly careerBucketTooltip = careerBucketDescription; + // -- KPIs --------------------------------------------------------------- readonly kpis = computed(() => { const stats = this.statistics(); const total = stats.provenance?.document_count ?? 0; + const scoreable = stats.overall?.in_population ?? 0; const passed = stats.overall?.screened ?? 0; const share = total ? Math.round((passed / total) * 100) : 0; const shortlisted = this.candidates().total ?? 0; - return { total, passed, share, shortlisted }; + return { total, scoreable, passed, share, shortlisted }; }); - // -- Funnel ------------------------------------------------------------- + /** True when the pipeline has produced at least one score for this university. */ + readonly hasScores = computed( + () => (this.statistics().overall?.in_population ?? 0) > 0, + ); - readonly funnel = computed(() => { - const stages = this.statistics().funnel ?? []; - const max = stages[0]?.count ?? 1; - return stages.map((stage, i) => { - const count = stage.count ?? 0; - const lost = i === 0 ? 0 : (stages[i - 1]?.count ?? 0) - count; - return { - key: stage.key, - label: FUNNEL_STAGE_LABELS[stage.key] ?? stage.label, - count, - lost, - pct: clamp((count / max) * 100, 0, 100), - }; - }); + readonly scoreableShare = computed(() => { + const { total, scoreable } = this.kpis(); + return total ? Math.round((scoreable / total) * 100) : 0; }); + readonly qualityDetail = computed( + () => `${this.kpis().share} % der Forschenden`, + ); + readonly scoreableDetail = computed( + () => `${this.scoreableShare()} % der Forschenden`, + ); + readonly shortlistDetail = computed(() => `ab Rang ${this.threshold()}`); + + readonly emptyListMessage = computed(() => + this.screened() + ? `Niemand erreicht den Mindestwert von ${this.threshold()} und hat zugleich ein unauffälliges Profil. Senken Sie den Mindestwert oder blenden Sie auffällige Profile wieder ein.` + : `Niemand erreicht den Mindestwert von ${this.threshold()}. Senken Sie den Mindestwert, um mehr Personen zu sehen.`, + ); + // -- Shortlist ---------------------------------------------------------- private readonly nameTemplate = @@ -158,30 +223,40 @@ export class FounderDashboardComponent { viewChild.required>('withinTemplate'); private readonly evidenceTemplate = viewChild.required>('evidenceTemplate'); + private readonly scoreHeader = + viewChild.required>('scoreHeader'); + private readonly withinHeader = + viewChild.required>('withinHeader'); + private readonly evidenceHeader = + viewChild.required>('evidenceHeader'); readonly columns = computed[]>(() => [ { id: 'name', - header: 'Forschende:r', + header: 'Forschende', type: 'display', cellTemplate: this.nameTemplate(), }, { - id: 'score', - header: 'Score', - type: 'display', + id: FounderSortBy.ExternalPercentile, + header: 'Potenzial (0–100)', + type: 'accessor', + headerTemplate: this.scoreHeader(), cellTemplate: this.scoreTemplate(), + accessorKey: 'score', }, { id: 'within', - header: 'Innerhalb 1 / 3 / 5 J.', + header: 'Signal 1 / 3 / 5 Jahre', type: 'display', + headerTemplate: this.withinHeader(), cellTemplate: this.withinTemplate(), }, { id: 'evidence', - header: 'Evidenz', + header: 'Signale', type: 'display', + headerTemplate: this.evidenceHeader(), cellTemplate: this.evidenceTemplate(), }, ]); @@ -235,41 +310,15 @@ export class FounderDashboardComponent { }); } - // -- Stage / area charts ------------------------------------------------ - - readonly stageRows = computed( - () => this.statistics().career_stages ?? [], - ); - - readonly stageMax = computed(() => - Math.max(1, ...this.stageRows().map((s) => s.shortlist_plain ?? 0)), - ); - - readonly areaRows = computed(() => - [...(this.statistics().research_areas ?? [])] - .sort((a, b) => (b.shortlist_count ?? 0) - (a.shortlist_count ?? 0)) - .slice(0, 7), - ); - - readonly areaMax = computed(() => - Math.max(1, ...this.areaRows().map((a) => a.shortlist_count ?? 0)), - ); + onLowerThreshold(): void { + const next = Math.max(50, this.threshold() - 10); + this.onSliderCommit(next); + } // -- Formatting helpers for the template -------------------------------- readonly fmtInt = fmtInt; readonly fmt1 = fmt1; - - /** Clamp a percentile into the 0-100 band for bar widths. */ - readonly clamp0 = (value: number | null) => - value === null ? 0 : clamp(value, 0, 100); - - /** Height (in %) of a bar in the within-1/3/5y mini histogram. */ - readonly histHeight = (value: number | null) => - value === null ? 3 : Math.max(3, (clamp(value, 0, 100) / 100) * 22); - - /** Round a percentile for the within-1/3/5y summary. */ - readonly round = (value: number) => Math.round(value); } function toRow(c: FounderCandidate): FounderRow { diff --git a/webapp/src/app/modules/founder-potential/founder-potential.utils.ts b/webapp/src/app/modules/founder-potential/founder-potential.utils.ts index b05281f2..fc11b3c4 100644 --- a/webapp/src/app/modules/founder-potential/founder-potential.utils.ts +++ b/webapp/src/app/modules/founder-potential/founder-potential.utils.ts @@ -36,6 +36,62 @@ export const SCREEN_REASON_LABELS: Record = { OUT_OF_POPULATION: 'Außerhalb der Modellpopulation', }; +/** Plain-language explanation of each career bucket. */ +export const CAREER_BUCKET_DESCRIPTIONS: Record = { + Early: 'Frühe Karriere: 1–4 Jahre mit mindestens einer Publikation.', + Emerging: 'Aufstrebend: 5–9 Jahre mit mindestens einer Publikation.', + Established: 'Etabliert: 10–14 Jahre mit mindestens einer Publikation.', + Senior: 'Senior: 15 oder mehr Jahre mit mindestens einer Publikation.', +}; + +/** Short active-year range for each bucket, shown next to the bucket name. */ +export const CAREER_BUCKET_RANGES: Record = { + Early: '1–4 Jahre', + Emerging: '5–9 Jahre', + Established: '10–14 Jahre', + Senior: '15+ Jahre', +}; + +export function careerBucketRange(bucket: string | null | undefined): string { + if (!bucket || bucket === '–') return ''; + return CAREER_BUCKET_RANGES[bucket] ?? ''; +} + +export function careerBucketDescription(bucket: string | null | undefined): string { + if (!bucket || bucket === '–') { + return 'Karrierestufe unbekannt.'; + } + return CAREER_BUCKET_DESCRIPTIONS[bucket] ?? `Karrierestufe: ${bucket}.`; +} + +/** The three multiplier roles plus stand-alone context metrics. */ +export type MetricGroupKey = 'bridger' | 'mentor' | 'amplifier' | 'context'; + +export const METRIC_GROUP_META: Record< + MetricGroupKey, + { label: string; description: string } +> = { + bridger: { + label: 'Bridger – verbindet Gruppen', + description: + 'Wie gut die Person Forschungsgruppen und Fachgebiete miteinander verbindet.', + }, + mentor: { + label: 'Mentor – fördert Nachwuchs', + description: + 'Wie stark die Person Nachwuchsforschende begleitet und unterstützt.', + }, + amplifier: { + label: 'Amplifier – bringt Forschung in Anwendung', + description: + 'Wie stark Forschung in Wirtschaft, Patente und Öffentlichkeit getragen wird.', + }, + context: { + label: 'Weitere Kontextwerte', + description: 'Zusätzliche Messwerte, die nicht direkt in eine Rolle einfließen.', + }, +}; + /** German labels for the funnel stages, keyed by their stable key. */ export const FUNNEL_STAGE_LABELS: Record = { ALL: 'Alle Forschenden im Index', @@ -49,25 +105,135 @@ export const FUNNEL_STAGE_LABELS: Record = { export interface MetricDef { key: keyof ResearcherMetrics; label: string; + group: MetricGroupKey; + /** Plain-language explanation shown in the metric tooltip. */ + description: string; + /** Share of the sub-score in percent, when the metric is weighted. */ + weight?: number; } export const METRIC_DEFS: MetricDef[] = [ - { key: 'betweenness', label: 'Betweenness-Zentralität' }, - { key: 'brokerage', label: 'Brokerage' }, - { key: 'constraint', label: 'Constraint' }, - { key: 'field_entropy', label: 'Feld-Entropie' }, - { key: 'cross_institution_share', label: 'Institutionsübergreifender Anteil' }, - { key: 'strength', label: 'Stärke' }, - { key: 'n_coauthors', label: 'Koautor:innen' }, - { key: 'juniors_mentored', label: 'Betreute Nachwuchsforschende' }, - { key: 'junior_progression_rate', label: 'Nachwuchs-Fortschrittsrate' }, - { key: 'mentoring_rate', label: 'Mentoring-Rate' }, - { key: 'last_author_with_junior_first', label: 'Letztautor mit Nachwuchs-Erstautor' }, - { key: 'industry_coauthor_share', label: 'Industrie-Koautoranteil' }, - { key: 'industry_coauthor_share_shrunk', label: 'Industrie-Koautoranteil (korrigiert)' }, - { key: 'patent_count', label: 'Patente' }, - { key: 'cordis_eu_projects', label: 'EU-Projekte (CORDIS)' }, - { key: 'news_mentions', label: 'Medienerwähnungen' }, + { + key: 'betweenness', + label: 'Betweenness-Zentralität', + group: 'bridger', + weight: 35, + description: + 'Wie oft die Person auf kürzesten Wegen zwischen anderen Forschenden liegt. Hoch = verbindet sonst getrennte Gruppen.', + }, + { + key: 'brokerage', + label: 'Brokerage', + group: 'bridger', + weight: 25, + description: + 'Wie häufig die Person Brücken zwischen sonst getrennten Gruppen schlägt.', + }, + { + key: 'field_entropy', + label: 'Feld-Entropie', + group: 'bridger', + weight: 20, + description: + 'Wie breit die Person über verschiedene Fachgebiete streut. Hoch = fachübergreifend.', + }, + { + key: 'cross_institution_share', + label: 'Institutionsübergreifender Anteil', + group: 'bridger', + weight: 20, + description: + 'Anteil der Kooperationen mit Personen anderer Einrichtungen.', + }, + { + key: 'juniors_mentored', + label: 'Betreute Nachwuchsforschende', + group: 'mentor', + weight: 35, + description: + 'Zahl der Nachwuchsforschenden, die die Person begleitet hat.', + }, + { + key: 'mentoring_rate', + label: 'Mentoring-Rate', + group: 'mentor', + weight: 25, + description: + 'Anteil der Arbeiten, an denen Nachwuchsforschende beteiligt sind.', + }, + { + key: 'last_author_with_junior_first', + label: 'Letztautor mit Nachwuchs-Erstautor', + group: 'mentor', + weight: 25, + description: + 'Arbeiten, in denen die Person als Letztautor:in einen Nachwuchsforschenden als Erstautor:in begleitet hat.', + }, + { + key: 'junior_progression_rate', + label: 'Nachwuchs-Fortschrittsrate', + group: 'mentor', + weight: 15, + description: + 'Wie häufig betreute Nachwuchsforschende anschließend selbst weiter publizieren.', + }, + { + key: 'industry_coauthor_share_shrunk', + label: 'Industrie-Koautoranteil (korrigiert)', + group: 'amplifier', + weight: 50, + description: + 'Anteil der Arbeiten mit Beteiligung aus Unternehmen – statistisch stabilisiert, damit kleine Fallzahlen nicht überbewertet werden.', + }, + { + key: 'patent_count', + label: 'Patente', + group: 'amplifier', + weight: 25, + description: 'Zahl der Patente mit Bezug zur Einrichtung.', + }, + { + key: 'cordis_eu_projects', + label: 'EU-Projekte (CORDIS)', + group: 'amplifier', + weight: 15, + description: 'Zahl der EU-geförderten Projekte (CORDIS).', + }, + { + key: 'news_mentions', + label: 'Medienerwähnungen', + group: 'amplifier', + weight: 10, + description: 'Zahl der Medienberichte, in denen die Person vorkommt.', + }, + { + key: 'constraint', + label: 'Constraint', + group: 'context', + description: + 'Wie stark die Person in ein enges eigenes Netz eingebunden ist. Niedrig = viele Brücken zu anderen Gruppen.', + }, + { + key: 'strength', + label: 'Stärke', + group: 'context', + description: + 'Gesamtstärke der Kooperationen – Zahl und Gewicht der gemeinsamen Arbeiten.', + }, + { + key: 'n_coauthors', + label: 'Koautor:innen', + group: 'context', + description: + 'Zahl der Personen, mit denen die Person gemeinsam publiziert hat.', + }, + { + key: 'industry_coauthor_share', + label: 'Industrie-Koautoranteil (roh)', + group: 'context', + description: + 'Anteil der Arbeiten mit Beteiligung aus Unternehmen, ohne statistische Korrektur.', + }, ]; /** Whole numbers with German thousands separator. */ diff --git a/webapp/src/app/modules/founder-potential/multiplier-filters/multiplier-filters.component.html b/webapp/src/app/modules/founder-potential/multiplier-filters/multiplier-filters.component.html new file mode 100644 index 00000000..03040885 --- /dev/null +++ b/webapp/src/app/modules/founder-potential/multiplier-filters/multiplier-filters.component.html @@ -0,0 +1,62 @@ +
+ + +
+ + + + + + + +
+ +
+ + + +
+ + +
diff --git a/webapp/src/app/modules/founder-potential/multiplier-filters/multiplier-filters.component.scss b/webapp/src/app/modules/founder-potential/multiplier-filters/multiplier-filters.component.scss new file mode 100644 index 00000000..cb1633f2 --- /dev/null +++ b/webapp/src/app/modules/founder-potential/multiplier-filters/multiplier-filters.component.scss @@ -0,0 +1,19 @@ +.content { + display: flex; + flex-direction: column; + gap: 1rem; + width: 100%; +} + +.select-area { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); + gap: 1rem; + align-items: start; + width: 100%; +} + +.select-area app-query-param-selector { + display: block; + min-width: 0; +} diff --git a/webapp/src/app/modules/founder-potential/multiplier-filters/multiplier-filters.component.ts b/webapp/src/app/modules/founder-potential/multiplier-filters/multiplier-filters.component.ts new file mode 100644 index 00000000..3083afe8 --- /dev/null +++ b/webapp/src/app/modules/founder-potential/multiplier-filters/multiplier-filters.component.ts @@ -0,0 +1,124 @@ +import { Component } from '@angular/core'; +import { MatTooltipModule } from '@angular/material/tooltip'; + +import { + CareerBucket, + MultiplierTag, + PeerRankField, + ResearcherSortBy, + SortDirection, +} from '../../../api'; +import { tagLabel } from '../founder-potential.utils'; +import { QueryParamInputComponent } from '../../../shared/ui/query-param-input/query-param-input.component'; +import { + QueryParamSelectorComponent, + SelectorOption, +} from '../../../shared/ui/query-param-selector/query-param-selector.component'; +import { + FilterObserver, + SelectedFiltersComponent, +} from '../../../shared/ui/selected-filters/selected-filters.component'; +import { + FILTER_ICON, + NETWORK_ICON, + PERSON_ICON, + SEARCH_ICON, + TUNE_ICON, +} from '../../../shared/ui/icons'; + +@Component({ + selector: 'app-multiplier-filters', + standalone: true, + imports: [ + MatTooltipModule, + QueryParamInputComponent, + QueryParamSelectorComponent, + SelectedFiltersComponent, + ], + templateUrl: './multiplier-filters.component.html', + styleUrl: './multiplier-filters.component.scss', +}) +export class MultiplierFiltersComponent { + readonly roleOptions: SelectorOption[] = Object.values(MultiplierTag).map( + (value) => ({ value, display_name: tagLabel(value) }), + ); + + readonly careerOptions: SelectorOption[] = [ + { value: CareerBucket.Early, display_name: 'Early (1–4 Jahre)' }, + { value: CareerBucket.Emerging, display_name: 'Emerging (5–9 Jahre)' }, + { + value: CareerBucket.Established, + display_name: 'Established (10–14 Jahre)', + }, + { value: CareerBucket.Senior, display_name: 'Senior (15+ Jahre)' }, + ]; + + readonly sortByOptions: SelectorOption[] = [ + { value: ResearcherSortBy.Max, display_name: 'Stärkste Rolle' }, + { value: ResearcherSortBy.Bridger, display_name: 'Bridger' }, + { value: ResearcherSortBy.Mentor, display_name: 'Mentor' }, + { value: ResearcherSortBy.Amplifier, display_name: 'Amplifier' }, + ]; + + readonly sortOrderOptions: SelectorOption[] = [ + { value: SortDirection.Desc, display_name: 'Höchster Wert zuerst' }, + { value: SortDirection.Asc, display_name: 'Niedrigster Wert zuerst' }, + ]; + + readonly peerRankFieldOptions: SelectorOption[] = [ + { value: PeerRankField.Max, display_name: 'Stärkste Rolle' }, + ...Object.values(MultiplierTag).map((value) => ({ + value, + display_name: tagLabel(value), + })), + ]; + + readonly minRankOptions: SelectorOption[] = [ + 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, + ].map((percent) => ({ + value: String(percent / 100), + display_name: `ab ${percent} %`, + })); + + readonly observers: FilterObserver[] = [ + { + id: 'name', + queryParamKey: 'name', + icon: SEARCH_ICON, + removable: true, + }, + { + id: 'tags', + queryParamKey: 'tag', + icon: NETWORK_ICON, + valueFormatter: (value) => + value + .split(',') + .map((tag) => tagLabel(tag)) + .join(', '), + removable: true, + }, + { + id: 'career', + queryParamKey: 'careerBucket', + icon: PERSON_ICON, + valueFormatter: (value) => value.split(',').join(', '), + removable: true, + }, + { + id: 'peerRankField', + queryParamKey: 'peerRankField', + icon: TUNE_ICON, + valueFormatter: (value) => + value === PeerRankField.Max ? 'Stärkste Rolle' : tagLabel(value), + removable: true, + }, + { + id: 'minPeerRank', + queryParamKey: 'minPeerRank', + icon: FILTER_ICON, + valueFormatter: (value) => `ab ${Math.round(Number(value) * 100)} %`, + removable: true, + }, + ]; +} diff --git a/webapp/src/app/modules/founder-potential/multipliers-dashboard/multipliers-dashboard.component.html b/webapp/src/app/modules/founder-potential/multipliers-dashboard/multipliers-dashboard.component.html index 99ee0dbf..0cdd75e0 100644 --- a/webapp/src/app/modules/founder-potential/multipliers-dashboard/multipliers-dashboard.component.html +++ b/webapp/src/app/modules/founder-potential/multipliers-dashboard/multipliers-dashboard.component.html @@ -1,201 +1,58 @@ -
- -

- Datenbasis: Die UDE-Kohorte umfasst die Universität und - acht zugehörige Einrichtungen. Forschende werden anhand jüngerer - OpenAlex-Affiliationen ausgewählt; ihre Publikationen und - Koautorenschaften werden anschließend institutionsübergreifend - ausgewertet. Die Rollen-Scores vergleichen nur Personen derselben - Karrierestufe. -

-
    -
  • - Bridger: Netzwerkvermittlung, Verbindungen zwischen - Fachgebieten und Institutionen. -
  • -
  • - Mentor: gemeinsame Publikationen mit Nachwuchs sowie - Hinweise auf Betreuung und deren berufliche Entwicklung. -
  • -
  • - Amplifier: Industriekooperationen, verknüpfte - Patente, EU-Projekte und relevante Medienerwähnungen. -
  • -
-

- Rohmetriken werden zunächst innerhalb der vier Karrierestufen - Early, Emerging, Established, Senior in Peer-Ränge - umgerechnet. Die drei Rollen-Scores sind gewichtete Mittel dieser Ränge: - Bridger (35 % Betweenness, 25 % Brokerage, 20 % - Feldbreite, 20 % institutionsübergreifende Zusammenarbeit), Mentor - (35 % Nachwuchs, 25 % Mentoring-Rate, 25 % typische - Autor:innenrollen, 15 % Nachwuchsentwicklung) und Amplifier - (50 % Industrie, 25 % Patente, 15 % EU-Projekte, - 10 % Medien). Ab 85 % und mindestens zwei aktiven Jahren wird - ein Badge vergeben. Ein Score beschreibt ein relatives Signal, keinen - kausalen Nachweis. -

-

- Die aktuelle Multiplikator-Auswertung ist für die definierte UDE-Kohorte - berechnet. Für andere Universitäten erscheinen Daten erst, wenn deren - Kohorte ebenfalls durch die Pipeline verarbeitet wurde. -

-
+ [eyebrow]="'Multiplikatoren · ' + universityName()" + title="Wer stärkt das Innovationsökosystem?" + subtitle="Personen, die Forschungsgruppen verbinden, Nachwuchs fördern oder Forschung in die Anwendung tragen." + [titleTooltip]="pageTooltip"> + -
- - -
- - Name suchen - - {{ SEARCH_ICON }} - +
+
+

Multiplikator:innen der Universität

+ + {{ INFO_OUTLINE_ICON }} + +
+

+ Rollen sind Ränge von 0 bis 100 im Vergleich zu Personen derselben + Karrierestufe – keine Wahrscheinlichkeiten. +

- - Rollen-Badge - - @for (role of roleOptions; track role.value) { - {{ role.label }} - } - - - - - Karrierestufe - - @for (bucket of careerOptions; track bucket) { - {{ bucket }} - } - - - - - Rolle für Mindest-Rang - - @for (field of peerRankFields; track field.value) { - {{ - field.label - }} - } - - - -
- - - - -
+ + + @if (rows().length > 0) { + + } @else if (!hasActiveFilters()) { +
+ hub +

Noch keine Multiplikator-Daten

+

+ Für die {{ universityName() }} wurden noch keine + Multiplikator-Scores berechnet. +

- -
- - {{ fmtInt(pageTotal()) }} - {{ pageTotal() === 1 ? 'Forschende:r' : 'Forschende' }} - - - + } @else { +
+

Keine passenden Forschenden gefunden

+

+ Ändern oder entfernen Sie einen Filter, um weitere Ergebnisse zu + sehen. +

- - -
+ } + + -
-
-
-

Multiplikator:innen in der Kohorte

-

- Nach dem stärksten Rollen-Rang sortiert. Öffne das Netzwerk, um - Kooperationen und die zugrunde liegenden Metriken anzusehen. -

-
-
- - - - @if (rows().length > 0) { - - } @else if ( - pageTotal() === 0 && - selectedTags().length === 0 && - selectedCareerBuckets().length === 0 && - !nameDraft() && - appliedMinPeerRank() === 0 - ) { -
- hub -

Noch keine Multiplikator-Daten

-

- Für die {{ universityName() }} wurden noch - keine Multiplikator-Scores berechnet. -

-
- } @else { -
-

Keine passenden Forschenden gefunden

-

- Ändere oder entferne einen Filter, um weitere Ergebnisse zu - sehen. -

-
- } -
-
- - -
-
+ +
@@ -205,12 +62,35 @@ {{ fmtInt(row.nWorks) }} Publikationen · {{ fmtInt(row.activeYears) }} aktive Jahre @if (row.researcher.suspicious_profile) { - · Profil mit möglicher Zusammenführung + · + + {{ WARNING_ICON }} + Profil mit möglicher Zusammenführung + }
+ + + {{ row.careerBucket }} + @if (careerBucketRange(row.careerBucket)) { + {{ + careerBucketRange(row.careerBucket) + }} + } + + + @for (tag of row.tags; track tag) { {{ tagLabel(tag) }} @@ -234,13 +115,6 @@ } - - - - {{ fmtSubScore(row.max) }} - - - + + + + Karrierestufe + + {{ HELP_OUTLINE_ICON }} + + + + + + Multiplikator-Rollen + + {{ HELP_OUTLINE_ICON }} + + + + + + + Rollen-Badges + + {{ HELP_OUTLINE_ICON }} + + + diff --git a/webapp/src/app/modules/founder-potential/multipliers-dashboard/multipliers-dashboard.component.scss b/webapp/src/app/modules/founder-potential/multipliers-dashboard/multipliers-dashboard.component.scss index 06426990..a2cfad3f 100644 --- a/webapp/src/app/modules/founder-potential/multipliers-dashboard/multipliers-dashboard.component.scss +++ b/webapp/src/app/modules/founder-potential/multipliers-dashboard/multipliers-dashboard.component.scss @@ -1,95 +1,42 @@ -.multipliers-dashboard { - width: 100%; - min-width: 0; +.info-icon { + flex: none; + width: 19px; + height: 19px; + color: var(--sg-text-soft); + font-size: 19px; + cursor: help; + vertical-align: middle; } -.filters-section, .table-section { - margin-top: 28px; -} - -.filters-card, -.table-card { - background: var(--sg-surface-muted); -} - -.filters-card .mat-mdc-card-content { - padding: 16px 18px; -} - -.filters-grid { - display: grid; - grid-template-columns: minmax(190px, 1.4fr) repeat(3, minmax(150px, 1fr)) minmax(190px, 1.1fr); - gap: 12px; - align-items: center; - - mat-form-field { - width: 100%; - } - - .name-filter { - min-width: 0; - } -} - -.rank-filter { - min-width: 0; - padding: 0 8px; - - label { - display: block; - margin-bottom: 2px; - color: var(--sg-text-muted); - font-size: 12px; - font-weight: 500; - } - - mat-slider { - width: 100%; - } -} - -.filter-actions { - display: flex; - justify-content: flex-end; - align-items: center; - gap: 8px; - - .result-count { - margin-right: auto; - color: var(--sg-text-soft); - font-size: 12.5px; - font-variant-numeric: tabular-nums; - } - - mat-icon { - margin-right: 4px; - } + margin-top: 8px; } .section-heading { display: flex; - align-items: flex-end; - justify-content: space-between; - margin-bottom: 12px; + align-items: center; + gap: 8px; + margin-bottom: 4px; h2 { - margin: 0 0 4px; + margin: 0; color: var(--sg-text); font-size: var(--sg-section-title-size, clamp(17px, 1.3vw, 19px)); font-weight: var(--sg-section-title-weight, 700); line-height: var(--sg-section-title-line-height, 1.3); } +} - .note { - margin: 0; - color: var(--sg-text-muted); - font-size: 13px; - } +.section-caption { + margin: 0 0 14px; + color: var(--sg-text-soft); + font-size: 12.5px; + line-height: 1.45; } .table-card { overflow: hidden; + background: var(--sg-surface-muted); .mat-mdc-card-content { padding: 0; @@ -114,36 +61,59 @@ } } -.warning { - color: var(--sg-warning); +.career-cell { + display: flex; + flex-direction: column; + gap: 1px; + color: var(--sg-text-muted); + font-size: 12.5px; + white-space: nowrap; + cursor: help; + text-decoration: underline dotted; + text-underline-offset: 2px; + + &__range { + color: var(--sg-text-soft); + font-size: 11px; + } } -.tags-cell { - display: flex; - flex-wrap: wrap; - gap: 5px; +.warning { + display: inline-flex; + align-items: center; + gap: 3px; + color: var(--sg-warning); + cursor: help; + + &__icon { + width: 13px; + height: 13px; + font-size: 13px; + } +} + +.th-help { + display: inline-flex; + align-items: center; + gap: 4px; + + &__icon { + width: 14px; + height: 14px; + color: var(--sg-text-soft); + font-size: 14px; + cursor: help; + } } .muted { color: var(--sg-text-soft); } -.max-score { - display: inline-flex; - align-items: center; - gap: 8px; - min-width: 105px; - color: var(--sg-text); - font-size: 12px; - font-variant-numeric: tabular-nums; - - .mat-mdc-progress-bar { - --mat-progress-bar-track-height: 7px; - --mat-progress-bar-active-indicator-height: 7px; - --mat-progress-bar-track-color: var(--sg-surface-soft); - --mat-progress-bar-active-indicator-color: var(--sg-success); - width: 62px; - } +.tags-cell { + display: flex; + flex-wrap: wrap; + gap: 5px; } .empty-state { @@ -184,20 +154,8 @@ } } -@media (max-width: 1100px) { - .filters-grid { - grid-template-columns: repeat(2, minmax(180px, 1fr)); - } -} - @media (max-width: 640px) { - .filters-grid { - grid-template-columns: 1fr; - gap: 2px; + .section-heading h2 { + font-size: 18px; } - - .filter-actions { - flex-wrap: wrap; - } - } diff --git a/webapp/src/app/modules/founder-potential/multipliers-dashboard/multipliers-dashboard.component.ts b/webapp/src/app/modules/founder-potential/multipliers-dashboard/multipliers-dashboard.component.ts index a97e79ce..7b04cf8b 100644 --- a/webapp/src/app/modules/founder-potential/multipliers-dashboard/multipliers-dashboard.component.ts +++ b/webapp/src/app/modules/founder-potential/multipliers-dashboard/multipliers-dashboard.component.ts @@ -1,46 +1,46 @@ import { Component, computed, - effect, inject, input, - signal, TemplateRef, viewChild, } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { ActivatedRoute, Router, RouterModule } from '@angular/router'; +import { ActivatedRoute, Router } from '@angular/router'; import { toSignal } from '@angular/core/rxjs-interop'; import { MatButtonModule } from '@angular/material/button'; import { MatCardModule } from '@angular/material/card'; -import { MatFormFieldModule } from '@angular/material/form-field'; import { MatIconModule } from '@angular/material/icon'; -import { MatInputModule } from '@angular/material/input'; -import { MatProgressBarModule } from '@angular/material/progress-bar'; -import { MatSelectModule } from '@angular/material/select'; -import { MatSliderModule } from '@angular/material/slider'; import { MatTooltipModule } from '@angular/material/tooltip'; import { - CareerBucket, MultiplierTag, - PeerRankField, - ResearcherSortBy, ResearcherSummary, ResearcherSummaryPage, } from '../../../api'; -import { fmtInt, fmtSubScore, tagDescription, tagLabel } from '../founder-potential.utils'; +import { + fmtInt, + tagDescription, + tagLabel, + careerBucketDescription, + careerBucketRange, +} from '../founder-potential.utils'; import { ChipComponent } from '../../../shared/ui/chip/chip.component'; import { DataTableComponent, GenericColumn, } from '../../../shared/ui/data-table/data-table.component'; -import { MethodologyNoteComponent } from '../../../shared/ui/methodology-note/methodology-note.component'; -import { PageContainerComponent } from '../../../shared/ui/page-container/page-container.component'; import { MultiplierRoleScoresComponent } from '../../../shared/ui/multiplier-role-scores/multiplier-role-scores.component'; import { QueryParamPaginatorComponent } from '../../../shared/ui/query-param-paginator/query-param-paginator.component'; +import { PageContainerComponent } from '../../../shared/ui/page-container/page-container.component'; +import { MultiplierFiltersComponent } from '../multiplier-filters/multiplier-filters.component'; import { CredentialService } from '../../../shared/services/credential.service'; -import { NETWORK_ICON, SEARCH_ICON } from '../../../shared/ui/icons'; +import { + HELP_OUTLINE_ICON, + INFO_OUTLINE_ICON, + NETWORK_ICON, + WARNING_ICON, +} from '../../../shared/ui/icons'; const FALLBACK_UNIVERSITY = 'Universität Duisburg-Essen'; @@ -51,37 +51,31 @@ interface MultiplierRow { activeYears: number; nWorks: number; tags: string[]; - max: number; } @Component({ selector: 'app-multipliers-dashboard', standalone: true, imports: [ - CommonModule, - RouterModule, MatButtonModule, MatCardModule, - MatFormFieldModule, MatIconModule, - MatInputModule, - MatProgressBarModule, - MatSelectModule, - MatSliderModule, MatTooltipModule, ChipComponent, DataTableComponent, - MethodologyNoteComponent, - PageContainerComponent, MultiplierRoleScoresComponent, QueryParamPaginatorComponent, + PageContainerComponent, + MultiplierFiltersComponent, ], templateUrl: './multipliers-dashboard.component.html', styleUrl: './multipliers-dashboard.component.scss', }) export class MultipliersDashboardComponent { + readonly HELP_OUTLINE_ICON = HELP_OUTLINE_ICON; + readonly INFO_OUTLINE_ICON = INFO_OUTLINE_ICON; readonly NETWORK_ICON = NETWORK_ICON; - readonly SEARCH_ICON = SEARCH_ICON; + readonly WARNING_ICON = WARNING_ICON; readonly researchers = input.required(); @@ -97,50 +91,55 @@ export class MultipliersDashboardComponent { () => this.credentials?.organizationName() || FALLBACK_UNIVERSITY, ); readonly pageTotal = computed(() => this.researchers().total ?? 0); - readonly nameDraft = signal(''); - readonly minPeerRankDraft = signal(0); - readonly selectedTags = computed(() => this.queryParams().getAll('tag')); - readonly selectedCareerBuckets = computed(() => - this.queryParams().getAll('careerBucket'), - ); - readonly selectedPeerRankField = computed( - () => this.queryParams().get('peerRankField') ?? PeerRankField.Max, - ); - readonly appliedMinPeerRank = computed( - () => Math.round((toNumber(this.queryParams().get('minPeerRank')) ?? 0) * 100), + readonly hasActiveFilters = computed(() => + ['name', 'tag', 'careerBucket', 'minPeerRank', 'peerRankField'].some( + (key) => { + const value = this.queryParams().get(key); + return value !== null && value !== ''; + }, + ), ); - readonly roleOptions = [ - { value: MultiplierTag.Bridger, label: tagLabel(MultiplierTag.Bridger) }, - { value: MultiplierTag.Mentor, label: tagLabel(MultiplierTag.Mentor) }, - { value: MultiplierTag.Amplifier, label: tagLabel(MultiplierTag.Amplifier) }, - ]; - readonly careerOptions = Object.values(CareerBucket); - readonly peerRankFields = [ - { value: PeerRankField.Max, label: 'Stärkste Rolle' }, - { value: PeerRankField.Bridger, label: tagLabel(MultiplierTag.Bridger) }, - { value: PeerRankField.Mentor, label: tagLabel(MultiplierTag.Mentor) }, - { value: PeerRankField.Amplifier, label: tagLabel(MultiplierTag.Amplifier) }, - ]; + // -- Explanations (tooltips only) -------------------------------------- - constructor() { - effect(() => { - this.nameDraft.set(this.queryParams().get('name') ?? ''); - this.minPeerRankDraft.set(this.appliedMinPeerRank()); - }, { allowSignalWrites: true }); - } + readonly pageTooltip = + 'Multiplikatoren werden anhand ihrer Zusammenarbeit bewertet: Wie gut verbinden sie Forschungsgruppen, wie viel publizieren sie mit Nachwuchsforschenden und wie stark ist der Austausch mit Industrie, Patenten oder der Öffentlichkeit? Daraus werden die drei Rollen Bridger, Mentor und Amplifier berechnet. Die Werte reichen von 0 bis 100: Je höher, desto stärker ist die Rolle im Vergleich zu anderen derselben Karrierestufe.'; + + readonly shortlistTooltip = + 'Die Liste ist nach der stärksten Rolle sortiert. Die stärkste Rolle ist in der Rollen-Spalte hervorgehoben. Über das Netzwerk-Symbol sehen Sie, mit wem die Person zusammenarbeitet.'; + + readonly careerHeaderTooltip = + 'Ordnet die Person anhand ihrer aktiven Publikationsjahre ein: Early, Emerging, Established oder Senior.'; + + readonly rolesHeaderTooltip = + 'Wie stark jemand als Bridger, Mentor oder Amplifier wirkt – verglichen mit anderen in derselben Karrierestufe. Die stärkste Rolle ist hervorgehoben.'; + + readonly tagsHeaderTooltip = + 'Diese Rollen sind bei der Person besonders stark ausgeprägt (Rang ab 85 % in der Rolle).'; + + readonly careerBucketTooltip = careerBucketDescription; + readonly careerBucketRange = careerBucketRange; + + readonly suspiciousTooltip = + 'Bei diesem Profil wurden vermutlich mehrere Personen vermischt. Die Angaben zu Publikationen und Netzwerk sind deshalb unsicher.'; private readonly nameTemplate = viewChild.required>('nameTemplate'); + private readonly careerTemplate = + viewChild.required>('careerTemplate'); private readonly rolesTemplate = viewChild.required>('rolesTemplate'); private readonly tagsTemplate = viewChild.required>('tagsTemplate'); - private readonly maxTemplate = - viewChild.required>('maxTemplate'); private readonly actionTemplate = viewChild.required>('actionTemplate'); + private readonly careerHeader = + viewChild.required>('careerHeader'); + private readonly rolesHeader = + viewChild.required>('rolesHeader'); + private readonly tagsHeader = + viewChild.required>('tagsHeader'); readonly rows = computed(() => (this.researchers().elements ?? []).map((researcher) => ({ @@ -150,36 +149,37 @@ export class MultipliersDashboardComponent { activeYears: researcher.active_years ?? 0, nWorks: researcher.n_works ?? 0, tags: researcher.tags ?? [], - max: researcher.max_multiplier_peer_rank ?? 0, })), ); readonly columns = computed[]>(() => [ { id: 'name', - header: 'Forschende:r', + header: 'Forschende', type: 'display', cellTemplate: this.nameTemplate(), }, + { + id: 'career', + header: 'Karrierestufe', + type: 'display', + headerTemplate: this.careerHeader(), + cellTemplate: this.careerTemplate(), + }, { id: 'roles', header: 'Multiplikator-Rollen', type: 'display', + headerTemplate: this.rolesHeader(), cellTemplate: this.rolesTemplate(), }, { id: 'tags', - header: 'Badges', + header: 'Rollen-Badges', type: 'display', + headerTemplate: this.tagsHeader(), cellTemplate: this.tagsTemplate(), }, - { - id: ResearcherSortBy.Max, - header: 'Stärkster Rang', - type: 'accessor', - accessorKey: 'max', - cellTemplate: this.maxTemplate(), - }, { id: 'network', header: '', @@ -188,81 +188,24 @@ export class MultipliersDashboardComponent { }, ]); - readonly formatPercent = (value: number): string => `${value}%`; readonly fmtInt = fmtInt; - readonly fmtSubScore = fmtSubScore; readonly tagLabel = tagLabel; readonly tagDescription = tagDescription; - onNameInput(event: Event): void { - this.nameDraft.set((event.target as HTMLInputElement).value); - } - - onMinRankInput(value: number): void { - this.minPeerRankDraft.set(value); - } - - onFilterCommit(): void { - const rank = this.minPeerRankDraft(); - void this.router.navigate([], { - relativeTo: this.route, - queryParams: { - name: this.nameDraft().trim() || null, - minPeerRank: rank > 0 ? rank / 100 : null, - peerRankField: this.selectedPeerRankField() || PeerRankField.Max, - page: 0, - }, - queryParamsHandling: 'merge', - }); - } - - onTagsChange(values: string[]): void { - void this.router.navigate([], { - relativeTo: this.route, - queryParams: { tag: values.length ? values : null, page: 0 }, - queryParamsHandling: 'merge', - }); - } - - onCareerBucketsChange(values: string[]): void { - void this.router.navigate([], { - relativeTo: this.route, - queryParams: { careerBucket: values.length ? values : null, page: 0 }, - queryParamsHandling: 'merge', - }); - } - - onPeerRankFieldChange(value: string): void { - void this.router.navigate([], { - relativeTo: this.route, - queryParams: { peerRankField: value, page: 0 }, - queryParamsHandling: 'merge', - }); - } + readonly tagColor = (tag: string): string => { + switch (tag) { + case MultiplierTag.Bridger: + return 'info'; + case MultiplierTag.Mentor: + return 'success'; + case MultiplierTag.Amplifier: + return 'warn'; + default: + return 'secondary'; + } + }; openNetwork(row: MultiplierRow): void { void this.router.navigate(['/founders', row.researcher.author_id]); } - - clearFilters(): void { - void this.router.navigate([], { - relativeTo: this.route, - queryParams: { - tag: null, - careerBucket: null, - name: null, - minPeerRank: null, - peerRankField: PeerRankField.Max, - suspiciousProfile: null, - page: 0, - }, - queryParamsHandling: 'merge', - }); - } -} - -function toNumber(value: string | null): number | null { - if (value === null || value === '') return null; - const parsed = Number(value); - return Number.isFinite(parsed) && parsed >= 0 && parsed <= 1 ? parsed : null; } diff --git a/webapp/src/app/modules/founder-potential/researcher-network/researcher-network.component.html b/webapp/src/app/modules/founder-potential/researcher-network/researcher-network.component.html index e092b0ba..8e02a0c3 100644 --- a/webapp/src/app/modules/founder-potential/researcher-network/researcher-network.component.html +++ b/webapp/src/app/modules/founder-potential/researcher-network/researcher-network.component.html @@ -1,28 +1,14 @@ - - {{ ARROW_BACK_ICON }} - Zurück zu den Multiplikatoren - - -
- @if (unavailable(); as empty) { - - - {{ PERSON_OFF_ICON }} - @if (empty.hint) { -

{{ empty.hint }}

- } - -
-
- } @else { -
+ [subtitle]="unavailable()?.body ?? null" + [titleTooltip]="unavailable() ? null : pageTooltip"> +
+ + {{ ARROW_BACK_ICON }} + Zurück zur Multiplikatoren-Übersicht + + @if (!unavailable()) {
@if (careerBucket()) { @if (suspicious()) { - + {{ WARNING_ICON }} Zusammengeführtes Profil · Daten vorsichtig interpretieren + {{ HELP_OUTLINE_ICON }} }
@if (tags().length) {
+ Rollen-Badges: @for (tag of tags(); track tag) { {{ tagLabel(tag) }} }
} -
+ } +
- -

- Für das Diagramm werden Koautor:innen-Paare aus Publikationen zu einem - gewichteten Netzwerk verbunden. Arbeiten mit mehr als 50 Autor:innen - werden nur aus dem Graphen ausgeschlossen (sie zählen weiterhin für - Publikations- und Karrierewerte); ältere Kanten werden mit 0,8 pro Jahr - abgewichtet. Gezeigt werden bis zu 42 starke Koautor:innen, wobei - Nachwuchs-Koautor:innen bevorzugt aufgenommen werden. -

-

- Die drei Rollen-Scores sind gewichtete Mittel von Metrik-Perzentilen - gegenüber Forschenden derselben Karrierestufe an der - {{ universityName() }}. Ein Score von 85 % ist - damit ein relativer Peer-Rang, kein kausaler Nachweis. Die Badges - markieren Rollen-Scores ab 85 %. -

-
- -
- @for (entry of roleLegend(); track entry.role) { + @if (unavailable(); as empty) { + + + {{ PERSON_OFF_ICON }} + @if (empty.hint) { +

{{ empty.hint }}

+ } + +
+
+ } @else { +
+
+ @for (entry of roleLegend(); track entry.role) { + + + {{ entry.label }} + + } - - {{ entry.label }} + + Kollaboration (Breite = Stärke) - } - - - Kollaboration (Breite = Stärke) - - - - überwiegend institutionsübergreifend - - Knotengröße = aktive Jahre -
+ + + überwiegend institutionsübergreifend + + Knotengröße = aktive Jahre +
+

+ Personen anklicken, um ihr Profil zu öffnen · ziehen zum Verschieben · + scrollen zum Zoomen +

-
- - - @if (network(); as net) { - @if ((net.nodes?.length ?? 0) > 0) { - +
+ + + @if (network(); as net) { + @if ((net.nodes?.length ?? 0) > 0) { + + } @else { +
Kein Netzwerk verfügbar.
+ } } @else {
Kein Netzwerk verfügbar.
} - } @else { -
Kein Netzwerk verfügbar.
- } -
- {{ fmtInt(netMeta().shown) }} von - {{ fmtInt(netMeta().totalCoauthors) }} Koautor:innen dargestellt · - {{ fmtInt(netMeta().cohortCoauthors) }} aus der - Universitätskohorte · {{ fmtInt(netMeta().mentees) }} Mentees -
-
-
+
+ {{ fmtInt(netMeta().shown) }} von + {{ fmtInt(netMeta().totalCoauthors) }} Koautor:innen dargestellt · + {{ fmtInt(netMeta().cohortCoauthors) }} aus der Universität · + {{ fmtInt(netMeta().mentees) }} Nachwuchsforschende +
+ + - - -
-

Multiplikator-Rollen

-

- Peer-Rang innerhalb derselben Karrierestufe. Die gestrichelte - Markierung zeigt die Badge-Schwelle von 85 %. -

- -
+ + +
+

+ Multiplikator-Rollen + + {{ INFO_OUTLINE_ICON }} + +

+ +
-
-

Metriken im Detail

-

- Rohwerte und zugehörige Peer-Ränge zeigen, welche Netzwerk- und - Kooperationssignale in die Rollen-Scores einfließen. -

- -
-
-
+
+

+ Messwerte nach Rolle + + {{ INFO_OUTLINE_ICON }} + +

+

+ Rang 0–100 im Vergleich zu Personen derselben Karrierestufe. + Ab 85 % wird ein Rollen-Badge vergeben. +

+ @for (group of metricGroups(); track group.key) { +
+

{{ group.label }}

+

{{ group.description }}

+ +
+ } +
+
+
+
+ +
+ @if (networkComputedAt(); as computedAt) { + Netzwerk berechnet am + {{ computedAt | date: 'dd.MM.yyyy' }} + } @else { + Netzwerkstand unbekannt + } + @if (dataComputedAt(); as computedAt) { + · Datenstand + {{ computedAt | date: 'dd.MM.yyyy' }} + } +
- -
- Netzwerk-Konfiguration - {{ network()?.config_hash ?? '–' }} · berechnet - {{ network()?.computed_at | date: 'dd.MM.yyyy HH:mm' }} -
} -
- {{ row.label }} + + {{ row.label }} + @@ -169,3 +199,42 @@ {{ fmtPeerRank(row.metric.peer_rank) }}
+ + + + Metrik + + {{ HELP_OUTLINE_ICON }} + + + + + + + Wert + + {{ HELP_OUTLINE_ICON }} + + + + + + + Peer-Rang + + {{ HELP_OUTLINE_ICON }} + + + diff --git a/webapp/src/app/modules/founder-potential/researcher-network/researcher-network.component.scss b/webapp/src/app/modules/founder-potential/researcher-network/researcher-network.component.scss index e1cacfe8..000a86d3 100644 --- a/webapp/src/app/modules/founder-potential/researcher-network/researcher-network.component.scss +++ b/webapp/src/app/modules/founder-potential/researcher-network/researcher-network.component.scss @@ -4,15 +4,18 @@ } .back-link { - margin-bottom: 16px; + display: inline-flex; + align-items: center; + gap: 4px; + margin-bottom: 6px; color: var(--sg-text-muted); font-size: 13px; + text-decoration: none; mat-icon { font-size: 18px; width: 18px; height: 18px; - margin-right: 4px; } &:hover { @@ -20,6 +23,20 @@ } } +.meta-block { + margin-top: 8px; +} + +.info-icon { + flex: none; + width: 19px; + height: 19px; + color: var(--sg-text-soft); + font-size: 19px; + cursor: help; + vertical-align: middle; +} + .meta-line { display: flex; flex-wrap: wrap; @@ -36,19 +53,39 @@ gap: 4px; color: var(--sg-error); font-size: 12.5px; + cursor: help; mat-icon { font-size: 16px; width: 16px; height: 16px; } + + .help-icon { + color: var(--sg-text-soft); + font-size: 15px; + width: 15px; + height: 15px; + } } .tags { display: flex; flex-wrap: wrap; + align-items: center; gap: 7px; margin-top: 4px; + + &__label { + color: var(--sg-text-soft); + font-size: 12px; + } +} + +.graph-hint { + margin: 8px 0 0; + color: var(--sg-text-soft); + font-size: 12px; } .legend { @@ -99,7 +136,7 @@ .case-grid { display: grid; - grid-template-columns: minmax(0, 1.9fr) minmax(340px, 1fr); + grid-template-columns: minmax(0, 1.7fr) minmax(420px, 1fr); gap: 28px; align-items: start; margin-top: 26px; @@ -123,6 +160,8 @@ } .detail-card { + overflow: hidden; + .mat-mdc-card-content { padding: 18px; } @@ -141,6 +180,9 @@ gap: 12px; h2 { + display: flex; + align-items: center; + gap: 6px; margin: 0; color: var(--sg-text); font-size: var(--sg-section-title-size, clamp(17px, 1.3vw, 19px)); @@ -149,19 +191,17 @@ } } -.cap { - font-size: 12px; - color: var(--sg-text-soft); - margin: 0 0 12px; - line-height: 1.45; -} - .metrics { min-width: 0; - margin-top: 24px; + margin-top: 20px; + padding-top: 16px; + border-top: 1px solid var(--sg-border); h2 { - margin: 0 0 6px; + display: flex; + align-items: center; + gap: 6px; + margin: 0 0 4px; color: var(--sg-text); font-size: var(--sg-section-title-size, clamp(17px, 1.3vw, 19px)); font-weight: var(--sg-section-title-weight, 700); @@ -169,6 +209,55 @@ } } +.metrics-caption { + margin: 0 0 4px; + color: var(--sg-text-soft); + font-size: 12px; + line-height: 1.45; +} + +.metric-group { + margin-top: 16px; + + &__title { + display: flex; + align-items: center; + gap: 5px; + margin: 0 0 2px; + color: var(--sg-text); + font-size: 13.5px; + font-weight: 600; + } + + &__desc { + margin: 0 0 6px; + color: var(--sg-text-soft); + font-size: 11.5px; + line-height: 1.4; + } +} + +.metric-label { + cursor: help; + text-decoration: underline dotted; + text-underline-offset: 2px; +} + +.th-help { + display: inline-flex; + align-items: center; + gap: 4px; + white-space: nowrap; + + &__icon { + width: 14px; + height: 14px; + color: var(--sg-text-soft); + font-size: 14px; + cursor: help; + } +} + .num { font-variant-numeric: tabular-nums; color: var(--sg-text); @@ -190,18 +279,12 @@ } &__icon { - font-size: 34px; + display: block; + margin-bottom: 10px; width: 34px; height: 34px; color: var(--sg-text-soft); - margin-bottom: 10px; - } - - &__body { - font-size: 15px; - line-height: 1.55; - color: var(--sg-text); - margin: 0 0 8px; + font-size: 34px; } &__hint { @@ -212,7 +295,7 @@ } } -footer.page { +.network-footer { margin-top: 48px; border-top: 1px solid var(--sg-border); padding-top: 16px; diff --git a/webapp/src/app/modules/founder-potential/researcher-network/researcher-network.component.ts b/webapp/src/app/modules/founder-potential/researcher-network/researcher-network.component.ts index 4b5a4ee2..ffc1ade8 100644 --- a/webapp/src/app/modules/founder-potential/researcher-network/researcher-network.component.ts +++ b/webapp/src/app/modules/founder-potential/researcher-network/researcher-network.component.ts @@ -9,6 +9,8 @@ import { MatTooltipModule } from '@angular/material/tooltip'; import { MetricValue, ResearcherMetrics } from '../../../api'; import { METRIC_DEFS, + METRIC_GROUP_META, + MetricGroupKey, fmtInt, fmtMetricValue, fmtPeerRank, @@ -21,15 +23,21 @@ import { multiplierRoleColor, MultiplierNetworkGraphComponent, } from '../../../shared/ui/multiplier-network-graph/multiplier-network-graph.component'; -import { DataTableComponent, GenericColumn } from '../../../shared/ui/data-table/data-table.component'; +import { GenericColumn } from '../../../shared/ui/data-table/data-table.component'; +import { CompactDataTableComponent } from '../../../shared/ui/compact-data-table/compact-data-table.component'; import { CareerStageChipComponent } from '../../../shared/ui/career-stage-chip/career-stage-chip.component'; import { ChipComponent } from '../../../shared/ui/chip/chip.component'; -import { MethodologyNoteComponent } from '../../../shared/ui/methodology-note/methodology-note.component'; import { MultiplierRoleScoresComponent } from '../../../shared/ui/multiplier-role-scores/multiplier-role-scores.component'; import { PageContainerComponent } from '../../../shared/ui/page-container/page-container.component'; import { ChartThemeService } from '../../../shared/services/chart-theme.service'; import { CredentialService } from '../../../shared/services/credential.service'; -import { ARROW_BACK_ICON, PERSON_OFF_ICON, WARNING_ICON } from '../../../shared/ui/icons'; +import { + ARROW_BACK_ICON, + HELP_OUTLINE_ICON, + INFO_OUTLINE_ICON, + PERSON_OFF_ICON, + WARNING_ICON, +} from '../../../shared/ui/icons'; const ROLE_ORDER = ['ego', 'cohort', 'mentee', 'industry', 'external']; const FALLBACK_UNIVERSITY = 'Universität Duisburg-Essen'; @@ -43,9 +51,20 @@ interface UnavailableView { interface MetricRow { key: keyof ResearcherMetrics; label: string; + group: MetricGroupKey; + /** Plain-language explanation, shown on the metric label. */ + hint: string; + /** The measured value plus its peer rank. */ metric: MetricValue; } +interface MetricGroup { + key: MetricGroupKey; + label: string; + description: string; + rows: MetricRow[]; +} + @Component({ selector: 'app-researcher-network', standalone: true, @@ -56,11 +75,10 @@ interface MetricRow { MatCardModule, MatIconModule, MatTooltipModule, - DataTableComponent, + CompactDataTableComponent, MultiplierNetworkGraphComponent, CareerStageChipComponent, ChipComponent, - MethodologyNoteComponent, MultiplierRoleScoresComponent, PageContainerComponent, ], @@ -71,6 +89,8 @@ export class ResearcherNetworkComponent { readonly ARROW_BACK_ICON = ARROW_BACK_ICON; readonly WARNING_ICON = WARNING_ICON; readonly PERSON_OFF_ICON = PERSON_OFF_ICON; + readonly HELP_OUTLINE_ICON = HELP_OUTLINE_ICON; + readonly INFO_OUTLINE_ICON = INFO_OUTLINE_ICON; readonly page = input.required(); @@ -134,6 +154,29 @@ export class ResearcherNetworkComponent { readonly tagLabel = tagLabel; readonly tagDescription = tagDescription; + // -- Explanations (tooltips only) -------------------------------------- + + readonly pageTooltip = + 'Das Netzwerk zeigt, mit wem diese Person gemeinsam publiziert hat. Je dicker die Linie, desto häufiger haben die beiden zusammengearbeitet.'; + + readonly suspiciousTooltip = + 'Bei diesem Profil wurden vermutlich mehrere Personen vermischt, zum Beispiel wegen gleicher Namen oder einer unplausibel langen Karriere. Die Angaben zu Publikationen, Netzwerk und Rollen sind deshalb unsicher.'; + + readonly rolesTooltip = + 'Wie stark die drei Rollen ausgeprägt sind. Ab 85 % wird ein Badge vergeben.'; + + readonly metricsTooltip = + 'Die Messwerte sind nach Rolle gruppiert. Jede Zeile nennt das Gewicht im jeweiligen Rollen-Score.'; + + readonly valueTooltip = + 'Der gemessene Wert, zum Beispiel eine Anzahl oder ein Anteil.'; + + readonly rankTooltip = + 'Wie gut dieser Wert im Vergleich zu anderen derselben Karrierestufe ist. 90 % heißt: besser als 90 % der Vergleichsgruppe.'; + + readonly metricHeaderTooltip = + 'Diese Werte fließen in die Berechnung der drei Rollen ein.'; + readonly netMeta = computed(() => { const network = this.network(); return { @@ -150,32 +193,72 @@ export class ResearcherNetworkComponent { viewChild.required>('metricValueTemplate'); private readonly metricRankTemplate = viewChild.required>('metricRankTemplate'); + private readonly metricHeader = + viewChild.required>('metricHeader'); + private readonly metricValueHeader = + viewChild.required>('metricValueHeader'); + private readonly metricRankHeader = + viewChild.required>('metricRankHeader'); readonly metricRows = computed(() => METRIC_DEFS.map((definition) => ({ key: definition.key, label: definition.label, + group: definition.group, + hint: + definition.weight != null + ? `${definition.description} Gewicht im Rollen-Score: ${definition.weight} %.` + : definition.description, metric: this.researcher()?.metrics?.[definition.key] ?? {}, })), ); + /** Metrics grouped by the role they feed, with an extra context group. */ + readonly metricGroups = computed(() => { + const rows = this.metricRows(); + const groupKeys: MetricGroupKey[] = [ + 'bridger', + 'mentor', + 'amplifier', + 'context', + ]; + return groupKeys + .map((key) => ({ + key, + label: METRIC_GROUP_META[key].label, + description: METRIC_GROUP_META[key].description, + rows: rows.filter((row) => row.group === key), + })) + .filter((group) => group.rows.length > 0); + }); + + readonly networkComputedAt = computed( + () => this.network()?.computed_at ?? null, + ); + readonly dataComputedAt = computed( + () => this.researcher()?.computed_at ?? null, + ); + readonly metricColumns = computed[]>(() => [ { id: 'metric', header: 'Metrik', type: 'display', + headerTemplate: this.metricHeader(), cellTemplate: this.metricTemplate(), }, { id: 'value', header: 'Wert', type: 'display', + headerTemplate: this.metricValueHeader(), cellTemplate: this.metricValueTemplate(), }, { id: 'rank', header: 'Peer-Rang', type: 'display', + headerTemplate: this.metricRankHeader(), cellTemplate: this.metricRankTemplate(), }, ]); diff --git a/webapp/src/app/modules/hierarchy/hierarchy.component.html b/webapp/src/app/modules/hierarchy/hierarchy.component.html index 52d11f97..d184d1e0 100644 --- a/webapp/src/app/modules/hierarchy/hierarchy.component.html +++ b/webapp/src/app/modules/hierarchy/hierarchy.component.html @@ -1,64 +1,68 @@ -
- @if (!hierarchyData()) { -
- Keine Hierarchie-Daten verfügbar. -
- } @else { - @if (suggestionsOnly()) { - +
+ @if (!hierarchyData()) { +
+ Keine Hierarchie-Daten verfügbar. +
} @else { - - - - Hierarchie - - + } @else { + + + + Hierarchie + + - - @if (orgUrl()) { - - - {{ orgName() }} - - - - - - Klassifizierte Seiten - - - - } @else if (orgName()) { -
- info - Die Organisation {{ orgName() }} konnte nicht geladen werden. -
+ (analyzeOrgEvent)="analyzeOrg($event)" + (suggestionSaved)="reloadSuggestions()" /> +
+ @if (orgUrl()) { + + + {{ orgName() }} + + + + + + Klassifizierte Seiten + + + + } @else if (orgName()) { +
+ info + Die Organisation {{ orgName() }} konnte nicht geladen + werden. +
+ } +
} - } - } -
+
diff --git a/webapp/src/app/modules/hierarchy/orgminer-content/orgminer-content.component.html b/webapp/src/app/modules/hierarchy/orgminer-content/orgminer-content.component.html index a39f7582..d193daca 100644 --- a/webapp/src/app/modules/hierarchy/orgminer-content/orgminer-content.component.html +++ b/webapp/src/app/modules/hierarchy/orgminer-content/orgminer-content.component.html @@ -7,8 +7,8 @@
search_off Für {{ orgName() || 'diese Organisation' }} wurden keine - Orgminer-Inhalte gefunden.Für {{ orgName() || 'diese Organisation' }} wurden keine Orgminer-Inhalte + gefunden.
} @else { @@ -41,7 +41,9 @@ {{ PERSONS_ICON }} Personal {{ categoryCount('staff') }} - ▾ @@ -56,11 +58,8 @@ (click)="selectItem('staff', person)"> {{ person.name }} @if (isVerified(person.name)) { - verified + } @@ -79,7 +78,9 @@ {{ PROJECT_ICON }} Projekte {{ categoryCount('projects') }} - ▾ @@ -139,7 +140,14 @@ @if (selectedStaff(); as staff) {
-

{{ staff.name }}

+
+

{{ staff.name }}

+ @if (isVerified(staff.name)) { + + } +
@if (staff.email) { @@ -163,7 +171,9 @@ Links
@@ -214,7 +224,9 @@ Links
@@ -247,7 +259,9 @@ Links
diff --git a/webapp/src/app/modules/hierarchy/orgminer-content/orgminer-content.component.scss b/webapp/src/app/modules/hierarchy/orgminer-content/orgminer-content.component.scss index 3671e393..c23b9c57 100644 --- a/webapp/src/app/modules/hierarchy/orgminer-content/orgminer-content.component.scss +++ b/webapp/src/app/modules/hierarchy/orgminer-content/orgminer-content.component.scss @@ -153,9 +153,6 @@ font-weight: 600; } } -.verified-badge { - color: var(--sg-blue-highlight); -} /* ============================ DETAIL PANEL ============================ */ .orgminer-detail { diff --git a/webapp/src/app/modules/hierarchy/orgminer-content/orgminer-content.component.ts b/webapp/src/app/modules/hierarchy/orgminer-content/orgminer-content.component.ts index 93a1e3bc..a7b5e5c3 100644 --- a/webapp/src/app/modules/hierarchy/orgminer-content/orgminer-content.component.ts +++ b/webapp/src/app/modules/hierarchy/orgminer-content/orgminer-content.component.ts @@ -27,7 +27,7 @@ import { PROJECT_ICON, NEWS_ICON, } from '../../../shared/ui/icons'; -import { MatTooltip } from '@angular/material/tooltip'; +import { VerifiedBadgeComponent } from '../../../shared/ui/verified-badge/verified-badge.component'; import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; import { OrgminerService } from '../../../api/api/orgminer.service'; /* ------------------------------ Data model ------------------------------ */ @@ -50,7 +50,7 @@ interface Selection { KeywordWordcloudComponent, MatIconModule, ChipComponent, - MatTooltip, + VerifiedBadgeComponent, MatProgressSpinnerModule, ], templateUrl: './orgminer-content.component.html', diff --git a/webapp/src/app/modules/institutions/institutions.component.html b/webapp/src/app/modules/institutions/institutions.component.html index 2dc57df2..3f9c1230 100644 --- a/webapp/src/app/modules/institutions/institutions.component.html +++ b/webapp/src/app/modules/institutions/institutions.component.html @@ -1,4 +1,5 @@ -
- - - -
- - Füge eine URL ein, um Keywords zu extrahieren - - - -
-
- - -
- - Schreibe einen Text, um Keywords zu extrahieren - - -
+
+ + + +
+ + Füge eine URL ein, um Keywords zu extrahieren + +
-
- - -
- - -
- - -
-
-
- - - - - -
- @if (topicLegendGroups.length > 0) { - - - } + - -
-
-
- @if (areAllSelected()) { - - } @else { - - } - -
-
-
- - - {{ TEXT_FIELDS_ICON }} - Extrahierte Keywords - - - {{ ACCOUNT_TREE_ICON }} - Ähnliche Themen - - -
-
- -
- + +
+ + Schreibe einen Text, um Keywords zu extrahieren + + +
+
-
- - - - @if (keywords.length > 0) { -
- @for (keyword of keywords; track keyword.llm_keyword.keyword) { - - - } + + +
+ + +
+ +
- } @else { -

{{ emptyText }}

- } - +
+
+ + + + + +
+ @if (topicLegendGroups.length > 0) { + + + } - -
- @if (manualKeywords().length > 0) { - @for ( - keyword of manualKeywords(); - track keyword.llm_keyword.keyword - ) { -
+ +
+
+
+ @if (areAllSelected()) { + + } @else { + + } + +
+
+
+ + + {{ TEXT_FIELDS_ICON }} + Extrahierte Keywords + + + {{ ACCOUNT_TREE_ICON }} + Ähnliche Themen + + +
+
+ +
+ +
+
+
+ + + + @if (keywords.length > 0) { +
+ @for (keyword of keywords; track keyword.llm_keyword.keyword) { - + } +
+ } @else { +

{{ emptyText }}

+ } +
+ + +
+ @if (manualKeywords().length > 0) { + @for ( + keyword of manualKeywords(); + track keyword.llm_keyword.keyword + ) { +
+ + + +
+ } + } @else { +

Nichts hinzugefügt

+ } + @if (loadingNewKeyword()) { +
+ + +
} - } @else { -

Nichts hinzugefügt

- } - @if (loadingNewKeyword()) { -
- - - -
- } -
-
- - - @if (!isMobile()) { -
-
-
Breite Keywords
-
Coarse Keywords
-
- Fine Keywords -
-
Eigene Keywords
+ -
-
- @if (isExtracting() && broadKeywords().length === 0) { - - } @else { - - } + + @if (!isMobile()) { +
+
+
Breite Keywords
+
Coarse Keywords
+
+ Fine Keywords +
+
Eigene Keywords
-
- @if (isExtracting() && coarseKeywords().length === 0) { - - } @else { - - } -
+
+
+ @if (isExtracting() && broadKeywords().length === 0) { + + } @else { + + } +
-
- @if (isExtracting() && fineKeywords().length === 0) { - - } @else { - - } -
+
+ @if (isExtracting() && coarseKeywords().length === 0) { + + } @else { + + } +
-
- +
+ @if (isExtracting() && fineKeywords().length === 0) { + + } @else { + + } +
+ +
+ +
-
- } @else { - - - - - Breit - {{ broadKeywords().length }} - -
- @if (isExtracting() && broadKeywords().length === 0) { - - } @else { - - } -
-
+ } @else { + + + + + Breit + {{ broadKeywords().length }} + +
+ @if (isExtracting() && broadKeywords().length === 0) { + + } @else { + + } +
+
- - - Coarse - {{ coarseKeywords().length }} - -
- @if (isExtracting() && coarseKeywords().length === 0) { - - } @else { - - } -
-
+ + + Coarse + {{ coarseKeywords().length }} + +
+ @if (isExtracting() && coarseKeywords().length === 0) { + + } @else { + + } +
+
- - - Fine - {{ fineKeywords().length }} - -
- @if (isExtracting() && fineKeywords().length === 0) { - - } @else { - - } -
-
+ + + Fine + {{ fineKeywords().length }} + +
+ @if (isExtracting() && fineKeywords().length === 0) { + + } @else { + + } +
+
- - - Eigene - {{ manualKeywords().length }} - -
- -
-
-
- } - - - - @if (sourceContent().length > 0) { - - - - Quellentext: {{ sourceUrl() }} - -
-
+ + @if (sourceContent().length > 0) { + + + + Quellentext: {{ sourceUrl() }} + +
+
+ } + + + @if (isExtracting()) { +
{{ statusMessage() }}
} - - - @if (isExtracting()) { -
{{ statusMessage() }}
- } -
- -@if (keywordsExist()) { - -
-
- -
-} + + @if (keywordsExist()) { + +
+
+ +
+
+ } diff --git a/webapp/src/app/modules/news/news.component.html b/webapp/src/app/modules/news/news.component.html index 0c7f5788..5b69b7cf 100644 --- a/webapp/src/app/modules/news/news.component.html +++ b/webapp/src/app/modules/news/news.component.html @@ -1,5 +1,6 @@ @if (article.snippet) { diff --git a/webapp/src/app/modules/patents/patents.component.html b/webapp/src/app/modules/patents/patents.component.html index bc0275f1..199cdc18 100644 --- a/webapp/src/app/modules/patents/patents.component.html +++ b/webapp/src/app/modules/patents/patents.component.html @@ -1,6 +1,15 @@ + [eyebrow]="'Patente'" + [title]=" + showDetail && selectedPatent + ? (selectedPatent.title ?? selectedPatent.patent_id) + : 'Patente durchsuchen' + " + [subtitle]=" + showDetail + ? null + : 'Suche Patente aus EPO und USPTO und filtere nach Zeitraum, Themen und Klassifikationen.' + "> @if (showDetail && selectedPatent) {
}
-
- -
- - @if (activeFilters.length) { -
- Aktive Filter: -
- @for ( - filter of activeFilters; - track filter.category + filter.value - ) { - @if (filter.category === 'topic') { - - - {{ - TOPIC_ICON - }} - {{ - filter.value - }} - - - - } @else if (filter.category === 'institutionId') { - - - {{ - INSTITUTION_ICON - }} - {{ - institutionFilterLabel(filter) - }} - @if (filter.countryCode) { - - {{ - filter.countryCode.toUpperCase() +
+ +
+ + @if (activeFilters.length) { +
+ Aktive Filter: +
+ @for ( + filter of activeFilters; + track filter.category + filter.value + ) { + @if (filter.category === 'topic') { + + + {{ + TOPIC_ICON + }} + {{ + filter.value }} - } - @if (filter.value) { - {{ OPEN_IN_NEW_ICON }} - } + + - - - } @else { - - {{ filter.label }} - - + } @else if (filter.category === 'institutionId') { + + + {{ + INSTITUTION_ICON + }} + {{ + institutionFilterLabel(filter) + }} + @if (filter.countryCode) { + + {{ + filter.countryCode.toUpperCase() + }} + } + @if (filter.value) { + {{ OPEN_IN_NEW_ICON }} + } + + + + } @else { + + {{ filter.label }} + + + } } - } - -
-
- } - -
- {{ resultRange() }} - -
-
- Sortierung: -
- - - +
-
-
- -
-
- {{ total | number: '1.0-0' }} Personen gefunden - Sortiert nach Publikationen und Zitierungen--> -
- - @if (getPersons().length) { -
- @for (person of getPersons(); track person.id) { - - - } -
- } @else { -
- {{ PERSON_SEARCH_ICON }} -

Keine Personen gefunden

-

- Versuchen Sie einen anderen Suchbegriff oder passen Sie die Filter - an. -

-
} - - - -
-
+
+ {{ + resultRange() + }} - -
+ + + -
-
+ @if (filterModeControl.value === 'between') { + + Bis + + @if (filterYearToControl.hasError('min')) { + Jahr muss ≥ 1900 sein + } + @if (filterYearToControl.hasError('max')) { + Zukünftige Jahre sind nicht erlaubt + } + @if ( + !filterYearToControl.invalid && + filterYearControl.value > filterYearToControl.value + ) { + „Bis“ muss ≥ „Von“ sein + } + + } +
+
+ } +
+
+ + + + +
+ diff --git a/webapp/src/app/modules/projects/projects.component.html b/webapp/src/app/modules/projects/projects.component.html index d7ae2906..8e1f2bcc 100644 --- a/webapp/src/app/modules/projects/projects.component.html +++ b/webapp/src/app/modules/projects/projects.component.html @@ -1,4 +1,5 @@ = ( const service = inject(MultiplicatorsService); const params = route.queryParamMap; - const page = toInt(params.get('page'), 0); - const size = toInt(params.get('size'), 25); - const threshold = toNumber(params.get('threshold')); + const page = Math.max(0, toInt(params.get('page'), 0)); + const size = clamp(toInt(params.get('size'), 25), 1, 100); + const thresholdRaw = toNumber(params.get('threshold')); + const threshold = clamp(thresholdRaw ?? DEFAULT_THRESHOLD, 0, 100); const screenedRaw = params.get('screened'); const screened = screenedRaw === null ? undefined : screenedRaw === 'true'; - const sortBy = (params.get('sortBy') as FounderSortBy) ?? + const sortBy = + asMember(params.get('sortBy'), FOUNDER_SORT_FIELDS) ?? FounderSortBy.ExternalPercentile; - const sortOrder = (params.get('sortOrder') as SortDirection) ?? - SortDirection.Desc; + const sortOrder = + asMember(params.get('sortOrder'), SORT_DIRECTIONS) ?? SortDirection.Desc; return service.searchFounderCandidates( page, size, true, // in_population: only researchers the model can score - threshold ?? undefined, + threshold, undefined, // max_external_percentile undefined, // career_bucket screened, @@ -50,6 +56,19 @@ export const founderCandidatesResolver: ResolveFn = ( ); }; +function asMember( + value: string | null, + allowed: readonly T[], +): T | null { + return value !== null && (allowed as readonly string[]).includes(value) + ? (value as T) + : null; +} + +function clamp(value: number, min: number, max: number): number { + return Math.max(min, Math.min(max, value)); +} + function toInt(value: string | null, fallback: number): number { if (value === null || value === '') return fallback; const parsed = Number.parseInt(value, 10); diff --git a/webapp/src/app/resolvers/multiplicator-researchers.resolver.ts b/webapp/src/app/resolvers/multiplicator-researchers.resolver.ts index 324f6f45..6de27915 100644 --- a/webapp/src/app/resolvers/multiplicator-researchers.resolver.ts +++ b/webapp/src/app/resolvers/multiplicator-researchers.resolver.ts @@ -28,9 +28,12 @@ export const multiplicatorResearchersResolver: ResolveFn const page = toInt(params.get('page'), 0); const size = toInt(params.get('size'), 25); - const tags = validValues(params.getAll('tag'), VALID_TAGS); + const tags = validValues( + splitCommaSeparated(params.getAll('tag')), + VALID_TAGS, + ); const careerBuckets = validValues( - params.getAll('careerBucket'), + splitCommaSeparated(params.getAll('careerBucket')), VALID_CAREER_BUCKETS, ); const minPeerRank = toNumber(params.get('minPeerRank')); @@ -78,6 +81,13 @@ function toNumber(value: string | null): number | null { return Number.isFinite(parsed) && parsed >= 0 && parsed <= 1 ? parsed : null; } +function splitCommaSeparated(values: string[]): string[] { + return values + .flatMap((value) => value.split(',')) + .map((value) => value.trim()) + .filter(Boolean); +} + function validValues(values: string[], valid: readonly T[]): T[] { return values.filter((value): value is T => valid.includes(value as T)); } diff --git a/webapp/src/app/shared/ui/app-menu/app-menu.component.ts b/webapp/src/app/shared/ui/app-menu/app-menu.component.ts index 9862db54..cb9e5a38 100644 --- a/webapp/src/app/shared/ui/app-menu/app-menu.component.ts +++ b/webapp/src/app/shared/ui/app-menu/app-menu.component.ts @@ -16,7 +16,12 @@ import { MatCardContent, MatCardModule } from '@angular/material/card'; import { MatProgressSpinner } from '@angular/material/progress-spinner'; import { activeInstitutionPersonListQueryParams } from '../../person-list-query-params'; import { topicQueryParamKeys } from '../../../resolvers/topic-page.resolver'; -import { SortDirection, TopicSortBy, WorkSortBy } from '../../../api'; +import { + FounderSortBy, + SortDirection, + TopicSortBy, + WorkSortBy, +} from '../../../api'; import { workQueryParamKeys } from '../../../resolvers/work-page.resolver'; import { MatMenuModule } from '@angular/material/menu'; import { @@ -106,7 +111,9 @@ export class AppMenuComponent { if (item.route === '/founders' && path.startsWith('/founders/')) { return false; } - if ((item.detailRoutePrefixes ?? []).some((prefix) => path.startsWith(prefix))) { + if ( + (item.detailRoutePrefixes ?? []).some((prefix) => path.startsWith(prefix)) + ) { return true; } if (path === item.route || path.startsWith(`${item.route}/`)) { @@ -229,7 +236,14 @@ export class AppMenuComponent { icon: FOUNDER_ICON, route: '/founders', disabled: false, - queryParams: { threshold: 90, screened: 'true', page: 0, size: 25 }, + queryParams: { + threshold: 90, + screened: 'true', + page: 0, + size: 10, + sortBy: FounderSortBy.ExternalPercentile, + sortOrder: SortDirection.Desc, + }, }, { label: 'Multiplikatoren', @@ -238,7 +252,7 @@ export class AppMenuComponent { disabled: false, queryParams: { page: 0, - size: 25, + size: 10, sortBy: 'max', sortOrder: 'desc', peerRankField: 'max', diff --git a/webapp/src/app/shared/ui/compact-data-table/compact-data-table.component.html b/webapp/src/app/shared/ui/compact-data-table/compact-data-table.component.html new file mode 100644 index 00000000..49442156 --- /dev/null +++ b/webapp/src/app/shared/ui/compact-data-table/compact-data-table.component.html @@ -0,0 +1,12 @@ + diff --git a/webapp/src/app/shared/ui/compact-data-table/compact-data-table.component.scss b/webapp/src/app/shared/ui/compact-data-table/compact-data-table.component.scss new file mode 100644 index 00000000..b3b1de17 --- /dev/null +++ b/webapp/src/app/shared/ui/compact-data-table/compact-data-table.component.scss @@ -0,0 +1,4 @@ +:host { + display: block; + min-width: 0; +} diff --git a/webapp/src/app/shared/ui/compact-data-table/compact-data-table.component.ts b/webapp/src/app/shared/ui/compact-data-table/compact-data-table.component.ts new file mode 100644 index 00000000..f2fd5565 --- /dev/null +++ b/webapp/src/app/shared/ui/compact-data-table/compact-data-table.component.ts @@ -0,0 +1,29 @@ +import { Component, input, output } from '@angular/core'; +import type { Sort } from '@angular/material/sort'; + +import { + DataTableComponent, + GenericColumn, +} from '../data-table/data-table.component'; + +/** Dense variant of the shared data table for secondary/detail tables. */ +@Component({ + selector: 'app-compact-data-table', + standalone: true, + imports: [DataTableComponent], + templateUrl: './compact-data-table.component.html', + styleUrl: './compact-data-table.component.scss', +}) +export class CompactDataTableComponent { + readonly columns = input.required[]>(); + readonly data = input.required(); + readonly stickyHeader = input(false); + readonly maxHeight = input(null); + readonly filterTerm = input(''); + readonly selectedRow = input(null); + readonly queryParamSortKey = input(null); + readonly queryParamSortDirectionKey = input(null); + + readonly rowClick = output(); + readonly handleSortChange = output(); +} diff --git a/webapp/src/app/shared/ui/data-table/data-table.component.html b/webapp/src/app/shared/ui/data-table/data-table.component.html index a2ff92f1..781d4681 100644 --- a/webapp/src/app/shared/ui/data-table/data-table.component.html +++ b/webapp/src/app/shared/ui/data-table/data-table.component.html @@ -1,5 +1,6 @@
@if (col.headerTemplate) { - + @if (col.type === 'accessor') { + + } @else { + + } } @else if (col.type === 'accessor') {
- - + + + + {{ col.header }} diff --git a/webapp/src/app/shared/ui/data-table/data-table.component.scss b/webapp/src/app/shared/ui/data-table/data-table.component.scss index d5181d6c..e85887e2 100644 --- a/webapp/src/app/shared/ui/data-table/data-table.component.scss +++ b/webapp/src/app/shared/ui/data-table/data-table.component.scss @@ -22,6 +22,42 @@ padding-right: 16px; } +.data-table-container.dense { + --mat-table-header-container-height: auto; + --mat-table-row-item-container-height: auto; + --mat-table-footer-container-height: auto; + + .mat-mdc-header-row, + .mat-mdc-row { + height: auto; + min-height: 0; + } + + .mat-mdc-header-cell, + .mat-mdc-cell { + min-height: 0; + padding: 2px 8px; + font-size: 11.5px; + line-height: 1.2; + vertical-align: middle; + } + + .mat-mdc-header-cell { + font-size: 10px; + letter-spacing: 0.05em; + } + + .mat-mdc-header-cell:first-of-type, + .mat-mdc-cell:first-of-type { + padding-left: 10px; + } + + .mat-mdc-header-cell:last-of-type, + .mat-mdc-cell:last-of-type { + padding-right: 10px; + } +} + .no-data { display: flex; justify-content: center; diff --git a/webapp/src/app/shared/ui/data-table/data-table.component.ts b/webapp/src/app/shared/ui/data-table/data-table.component.ts index 308a8207..91a1a29b 100644 --- a/webapp/src/app/shared/ui/data-table/data-table.component.ts +++ b/webapp/src/app/shared/ui/data-table/data-table.component.ts @@ -72,6 +72,7 @@ export class DataTableComponent implements AfterViewInit { maxHeight = input(null); containerOverflow = computed(() => (this.maxHeight() ? 'auto' : 'visible')); stickyHeader = input(true); + dense = input(false); queryParamSortKey = input(null); queryParamSortDirectionKey = input(null); diff --git a/webapp/src/app/shared/ui/icons.ts b/webapp/src/app/shared/ui/icons.ts index 2afd8516..a77c9d9b 100644 --- a/webapp/src/app/shared/ui/icons.ts +++ b/webapp/src/app/shared/ui/icons.ts @@ -106,6 +106,8 @@ export const ERROR_ICON = 'error' as const; export const ERROR_OUTLINE_ICON = 'error_outline' as const; export const FACT_CHECK_ICON = 'fact_check' as const; export const HELP_ICON = 'help' as const; +export const HELP_OUTLINE_ICON = 'help_outline' as const; +export const INFO_OUTLINE_ICON = 'info_outline' as const; export const RULE_ICON = 'rule' as const; export const STAR_ICON = 'star' as const; export const VERIFIED_ICON = 'verified' as const; diff --git a/webapp/src/app/shared/ui/multiplier-network-graph/multiplier-network-graph.component.ts b/webapp/src/app/shared/ui/multiplier-network-graph/multiplier-network-graph.component.ts index 4d815127..92f46369 100644 --- a/webapp/src/app/shared/ui/multiplier-network-graph/multiplier-network-graph.component.ts +++ b/webapp/src/app/shared/ui/multiplier-network-graph/multiplier-network-graph.component.ts @@ -19,9 +19,9 @@ export interface MultiplierNodeClickEvent { /** German labels for the network roles, shared with the HTML legend. */ export const MULTIPLIER_ROLE_LABELS: Record = { - ego: 'Ego (Person)', - cohort: 'UDE-Kohorte', - mentee: 'Mentee', + ego: 'Diese Person', + cohort: 'Universität', + mentee: 'Nachwuchs', industry: 'Unternehmen', external: 'Extern', }; @@ -89,10 +89,13 @@ export class MultiplierNetworkGraphComponent { borderColor: colors.tooltipBorder, textStyle: { color: colors.tooltipTextColor }, formatter: (params: any) => { - if (!params || params.dataType === 'edge' || !params.data) { + if (!params || !params.data) { return ''; } const d = params.data; + if (params.dataType === 'edge') { + return edgeTooltip(d); + } const lines = [ `${escapeHtml(d.name ?? d.id)}`, escapeHtml(MULTIPLIER_ROLE_LABELS[d.role] ?? d.role), @@ -104,6 +107,9 @@ export class MultiplierNetworkGraphComponent { if (d.role === 'ego' && d.nWorks != null) { lines.push(`${d.nWorks} Publikationen`); } + if (d.suspicious) { + lines.push('Profil möglicherweise zusammengeführt'); + } return lines.join('
'); }, }, @@ -161,6 +167,7 @@ export class MultiplierNetworkGraphComponent { role, inst: node.inst ?? '', activeYears, + suspicious: node.suspicious ?? false, nWorks: isEgo ? nWorks : undefined, symbolSize: isEgo ? 24 : clamp(8 + activeYears * 1.1, 8, 26), itemStyle: { @@ -180,9 +187,19 @@ export class MultiplierNetworkGraphComponent { } private buildLinks(edges: EgoNetworkEdge[]): any[] { + const names = new Map(); + for (const node of this.network().nodes ?? []) { + names.set(node.id, node.name ?? node.id); + } return edges.map((edge) => ({ source: edge.a, target: edge.b, + sourceName: names.get(edge.a) ?? edge.a, + targetName: names.get(edge.b) ?? edge.b, + nWorks: edge.n_works, + cross: edge.cross ?? false, + firstYear: edge.first_year, + lastYear: edge.last_year, lineStyle: { width: clamp((edge.w ?? 0) * 2.5, 1, 7), type: edge.cross ? 'dashed' : 'solid', @@ -205,6 +222,34 @@ function clamp(value: number, min: number, max: number): number { return Math.max(min, Math.min(max, value)); } +/** Plain-language tooltip for a collaboration tie. */ +function edgeTooltip(edge: { + sourceName?: string; + targetName?: string; + nWorks?: number; + cross?: boolean; + firstYear?: number | null; + lastYear?: number | null; +}): string { + const source = escapeHtml(edge.sourceName ?? ''); + const target = escapeHtml(edge.targetName ?? ''); + const lines = [`${source} ↔ ${target}`]; + if (edge.nWorks != null) { + lines.push( + `${edge.nWorks} gemeinsame Publikation${edge.nWorks === 1 ? '' : 'en'}`, + ); + } + if (edge.firstYear && edge.lastYear) { + lines.push(`${edge.firstYear}–${edge.lastYear}`); + } + lines.push( + edge.cross + ? 'Überwiegend institutionsübergreifend' + : 'An derselben Einrichtung', + ); + return lines.join('
'); +} + function escapeHtml(value: string): string { return String(value).replace( /[&<>"']/g, diff --git a/webapp/src/app/shared/ui/multiplier-role-scores/multiplier-role-labels.ts b/webapp/src/app/shared/ui/multiplier-role-scores/multiplier-role-labels.ts index 6c2462ed..67dfaf62 100644 --- a/webapp/src/app/shared/ui/multiplier-role-scores/multiplier-role-labels.ts +++ b/webapp/src/app/shared/ui/multiplier-role-scores/multiplier-role-labels.ts @@ -8,11 +8,11 @@ export const MULTIPLIER_TAG_LABELS: Record = { /** Coach-facing descriptions for the three multiplier archetypes. */ export const MULTIPLIER_TAG_DESCRIPTIONS: Record = { bridger: - 'Verbindet Forschungsgruppen, Fachgebiete oder Institutionen, die sonst wenig zusammenarbeiten.', + 'Verbindet Forschungsgruppen oder Fachgebiete, die sonst wenig miteinander zu tun haben.', mentor: - 'Publiziert mit Nachwuchsforschenden und zeigt Signale für deren Förderung und Entwicklung.', + 'Arbeitet mit Nachwuchsforschenden zusammen und unterstützt ihre Entwicklung.', amplifier: - 'Trägt Wissen über Industriekooperationen, Patente, EU-Projekte und Medienresonanz nach außen.', + 'Bringt Forschung in die Wirtschaft oder die Öffentlichkeit, zum Beispiel über Patente, Industrieprojekte oder Medien.', }; export function multiplierTagLabel(tag: string): string { diff --git a/webapp/src/app/shared/ui/multiplier-role-scores/multiplier-role-scores.component.html b/webapp/src/app/shared/ui/multiplier-role-scores/multiplier-role-scores.component.html index 7e6095d8..433aa09e 100644 --- a/webapp/src/app/shared/ui/multiplier-role-scores/multiplier-role-scores.component.html +++ b/webapp/src/app/shared/ui/multiplier-role-scores/multiplier-role-scores.component.html @@ -3,7 +3,8 @@ @for (role of roles(); track role.key) { {{ role.label }} {{ role.display }} @@ -19,6 +20,7 @@ [hint]="role.hint" [value]="role.value * 100" [display]="role.display" + [strongest]="role.isStrongest" [threshold]="showThreshold() ? threshold : null" /> } diff --git a/webapp/src/app/shared/ui/multiplier-role-scores/multiplier-role-scores.component.scss b/webapp/src/app/shared/ui/multiplier-role-scores/multiplier-role-scores.component.scss index 72f126e6..d04ca88c 100644 --- a/webapp/src/app/shared/ui/multiplier-role-scores/multiplier-role-scores.component.scss +++ b/webapp/src/app/shared/ui/multiplier-role-scores/multiplier-role-scores.component.scss @@ -1,9 +1,8 @@ .role-scores { &--compact { display: flex; - flex-wrap: wrap; gap: 5px; - align-items: center; + align-items: start; font-size: 11px; b { @@ -19,3 +18,19 @@ gap: 2px; } } + +.role-scores__note { + display: inline-flex; + align-items: center; + gap: 4px; + margin: 6px 0 0; + color: var(--sg-text-soft); + font-size: 11.5px; + + mat-icon { + width: 14px; + height: 14px; + color: var(--sg-blue-highlight); + font-size: 14px; + } +} diff --git a/webapp/src/app/shared/ui/multiplier-role-scores/multiplier-role-scores.component.ts b/webapp/src/app/shared/ui/multiplier-role-scores/multiplier-role-scores.component.ts index b002d53f..6b0e97cf 100644 --- a/webapp/src/app/shared/ui/multiplier-role-scores/multiplier-role-scores.component.ts +++ b/webapp/src/app/shared/ui/multiplier-role-scores/multiplier-role-scores.component.ts @@ -1,4 +1,5 @@ import { Component, computed, input } from '@angular/core'; +import { MatIconModule } from '@angular/material/icon'; import { MatTooltipModule } from '@angular/material/tooltip'; import { MultiplierPeerRanks } from '../../../api'; @@ -8,6 +9,7 @@ import { multiplierTagDescription, multiplierTagLabel, } from './multiplier-role-labels'; +import { MultiplierTag } from '../../../api'; const ROLE_KEYS = ['bridger', 'mentor', 'amplifier'] as const; @@ -15,7 +17,7 @@ const ROLE_KEYS = ['bridger', 'mentor', 'amplifier'] as const; @Component({ selector: 'app-multiplier-role-scores', standalone: true, - imports: [MatTooltipModule, ChipComponent, ScoreBarComponent], + imports: [MatIconModule, MatTooltipModule, ChipComponent, ScoreBarComponent], templateUrl: './multiplier-role-scores.component.html', styleUrl: './multiplier-role-scores.component.scss', }) @@ -24,17 +26,47 @@ export class MultiplierRoleScoresComponent { readonly presentation = input<'compact' | 'detailed'>('detailed'); readonly showThreshold = input(false); - readonly roles = computed(() => - ROLE_KEYS.map((key) => ({ - key, - label: multiplierTagLabel(key), - hint: multiplierTagDescription(key), - value: this.scores()?.[key] ?? 0, - display: formatScore(this.scores()?.[key] ?? 0), - })), - ); + readonly roles = computed(() => { + const roles = ROLE_KEYS.map((key) => { + const value = this.scores()?.[key] ?? 0; + return { + key, + label: multiplierTagLabel(key), + hint: multiplierTagDescription(key), + value, + display: formatScore(value), + }; + }); + const strongest = Math.max(...roles.map((role) => role.value)); + + return roles.map((role) => { + const isStrongest = strongest > 0 && role.value === strongest; + return { + ...role, + isStrongest, + hint: isStrongest + ? `${role.hint} Das ist die stärkste Rolle dieser Person.` + : role.hint, + }; + }); + }); readonly threshold = 85; + readonly hasStrongest = computed(() => + this.roles().some((role) => role.isStrongest), + ); + readonly tagColor = (tag: string): string => { + switch (tag) { + case MultiplierTag.Bridger: + return 'info'; + case MultiplierTag.Mentor: + return 'success'; + case MultiplierTag.Amplifier: + return 'warn'; + default: + return 'secondary'; + } + }; } function formatScore(value: number): string { diff --git a/webapp/src/app/shared/ui/page-container/page-container.component.html b/webapp/src/app/shared/ui/page-container/page-container.component.html index af35f01e..84c7e6b5 100644 --- a/webapp/src/app/shared/ui/page-container/page-container.component.html +++ b/webapp/src/app/shared/ui/page-container/page-container.component.html @@ -3,7 +3,8 @@ + [eyebrow]="eyebrow()" + [titleTooltip]="titleTooltip()"> diff --git a/webapp/src/app/shared/ui/page-container/page-container.component.ts b/webapp/src/app/shared/ui/page-container/page-container.component.ts index f0f52155..4ff83a16 100644 --- a/webapp/src/app/shared/ui/page-container/page-container.component.ts +++ b/webapp/src/app/shared/ui/page-container/page-container.component.ts @@ -13,4 +13,5 @@ export class PageContainerComponent { readonly title = input(null); readonly subtitle = input(null); readonly eyebrow = input(null); + readonly titleTooltip = input(null); } diff --git a/webapp/src/app/shared/ui/page-header/page-header.component.html b/webapp/src/app/shared/ui/page-header/page-header.component.html index 052708dc..cffb5256 100644 --- a/webapp/src/app/shared/ui/page-header/page-header.component.html +++ b/webapp/src/app/shared/ui/page-header/page-header.component.html @@ -4,17 +4,28 @@

{{ eyebrow() }}

} @if (title()) { - @switch (level()) { - @case (2) { -

{{ title() }}

+
+ @switch (level()) { + @case (2) { +

{{ title() }}

+ } + @case (3) { +

{{ title() }}

+ } + @default { +

{{ title() }}

+ } } - @case (3) { -

{{ title() }}

+ @if (titleTooltip()) { + + {{ HELP_OUTLINE_ICON }} + } - @default { -

{{ title() }}

- } - } +
} @if (subtitle()) {

{{ subtitle() }}

diff --git a/webapp/src/app/shared/ui/page-header/page-header.component.scss b/webapp/src/app/shared/ui/page-header/page-header.component.scss index b3dd78b3..5ae368a2 100644 --- a/webapp/src/app/shared/ui/page-header/page-header.component.scss +++ b/webapp/src/app/shared/ui/page-header/page-header.component.scss @@ -36,6 +36,22 @@ line-height: var(--sg-page-title-line-height, 1.18); } +.page-header__title-row { + display: flex; + align-items: center; + gap: 8px; + min-width: 0; +} + +.page-header__title-help { + flex: none; + width: 20px; + height: 20px; + color: var(--sg-text-soft); + font-size: 20px; + cursor: help; +} + h2.page-header__title { font-size: var(--sg-section-title-size, clamp(17px, 1.3vw, 19px)); font-weight: var(--sg-section-title-weight, 700); diff --git a/webapp/src/app/shared/ui/page-header/page-header.component.ts b/webapp/src/app/shared/ui/page-header/page-header.component.ts index 4e74c873..5a700292 100644 --- a/webapp/src/app/shared/ui/page-header/page-header.component.ts +++ b/webapp/src/app/shared/ui/page-header/page-header.component.ts @@ -1,15 +1,23 @@ import { Component, input } from '@angular/core'; +import { MatIconModule } from '@angular/material/icon'; +import { MatTooltipModule } from '@angular/material/tooltip'; + +import { HELP_OUTLINE_ICON } from '../icons'; /** Shared heading block for pages and page sections. */ @Component({ selector: 'app-page-header', standalone: true, + imports: [MatIconModule, MatTooltipModule], templateUrl: './page-header.component.html', styleUrl: './page-header.component.scss', }) export class PageHeaderComponent { + readonly HELP_OUTLINE_ICON = HELP_OUTLINE_ICON; + readonly title = input(null); readonly subtitle = input(null); readonly eyebrow = input(null); + readonly titleTooltip = input(null); readonly level = input<1 | 2 | 3>(1); } diff --git a/webapp/src/app/shared/ui/score-bar/score-bar.component.html b/webapp/src/app/shared/ui/score-bar/score-bar.component.html index 5dbb1f99..97a37660 100644 --- a/webapp/src/app/shared/ui/score-bar/score-bar.component.html +++ b/webapp/src/app/shared/ui/score-bar/score-bar.component.html @@ -1,7 +1,8 @@
+ [class.score-bar--warn]="variant() === 'warn'" + [class.score-bar--strongest]="strongest()"> + @if (strongest()) { + star + } {{ label() }} @if (hint()) { diff --git a/webapp/src/app/shared/ui/score-bar/score-bar.component.scss b/webapp/src/app/shared/ui/score-bar/score-bar.component.scss index 4913fce1..2c1d16eb 100644 --- a/webapp/src/app/shared/ui/score-bar/score-bar.component.scss +++ b/webapp/src/app/shared/ui/score-bar/score-bar.component.scss @@ -34,6 +34,19 @@ color: var(--sg-text-soft); } +.score-bar__star { + flex: none; + width: 15px; + height: 15px; + color: var(--sg-blue-highlight); + font-size: 15px; +} + +.score-bar--strongest .score-bar__label-text { + color: var(--sg-text); + font-weight: 600; +} + .score-bar__track { position: relative; display: block; diff --git a/webapp/src/app/shared/ui/score-bar/score-bar.component.ts b/webapp/src/app/shared/ui/score-bar/score-bar.component.ts index 8246bb61..b221cb9b 100644 --- a/webapp/src/app/shared/ui/score-bar/score-bar.component.ts +++ b/webapp/src/app/shared/ui/score-bar/score-bar.component.ts @@ -29,6 +29,8 @@ export class ScoreBarComponent { /** Optional explanation, shown as a tooltip on the label. */ readonly hint = input(null); readonly variant = input('primary'); + /** Marks this row as the strongest of a set. */ + readonly strongest = input(false); readonly pct = computed(() => { const max = this.max() || 100; diff --git a/webapp/src/app/shared/ui/verified-badge/verified-badge.component.html b/webapp/src/app/shared/ui/verified-badge/verified-badge.component.html new file mode 100644 index 00000000..dd497e64 --- /dev/null +++ b/webapp/src/app/shared/ui/verified-badge/verified-badge.component.html @@ -0,0 +1,7 @@ + + {{ VERIFIED_ICON }} + diff --git a/webapp/src/app/shared/ui/verified-badge/verified-badge.component.scss b/webapp/src/app/shared/ui/verified-badge/verified-badge.component.scss new file mode 100644 index 00000000..269b5561 --- /dev/null +++ b/webapp/src/app/shared/ui/verified-badge/verified-badge.component.scss @@ -0,0 +1,34 @@ +:host { + display: inline-flex; + flex: none; +} + +.verified-badge { + display: inline-flex; + align-items: center; + justify-content: center; + width: 20px; + height: 20px; + border-radius: 50%; + background: var(--sg-success-soft); + color: var(--sg-success); + cursor: help; + + mat-icon { + width: 15px; + height: 15px; + color: inherit; + font-size: 15px; + } + + &--md { + width: 24px; + height: 24px; + + mat-icon { + width: 18px; + height: 18px; + font-size: 18px; + } + } +} diff --git a/webapp/src/app/shared/ui/verified-badge/verified-badge.component.ts b/webapp/src/app/shared/ui/verified-badge/verified-badge.component.ts new file mode 100644 index 00000000..fbedcb11 --- /dev/null +++ b/webapp/src/app/shared/ui/verified-badge/verified-badge.component.ts @@ -0,0 +1,25 @@ +import { Component, input } from '@angular/core'; +import { MatIconModule } from '@angular/material/icon'; +import { MatTooltipModule } from '@angular/material/tooltip'; + +import { VERIFIED_ICON } from '../icons'; + +/** + * Small success-coloured verification seal. + * + * Matches the icon treatment of the dashboard statistic cards: same `verified` + * glyph, same `--sg-success-soft` / `--sg-success` colour pair. + */ +@Component({ + selector: 'app-verified-badge', + standalone: true, + imports: [MatIconModule, MatTooltipModule], + templateUrl: './verified-badge.component.html', + styleUrl: './verified-badge.component.scss', +}) +export class VerifiedBadgeComponent { + readonly VERIFIED_ICON = VERIFIED_ICON; + + readonly tooltip = input('Verifiziertes Profil'); + readonly size = input<'sm' | 'md'>('sm'); +} diff --git a/webapp/src/styles.scss b/webapp/src/styles.scss index a0eb6b7c..4236f572 100644 --- a/webapp/src/styles.scss +++ b/webapp/src/styles.scss @@ -650,6 +650,13 @@ html.dark-theme { white-space: pre-line; } +.sg-tooltip-wide, +.sg-tooltip-wide .mdc-tooltip__surface, +.sg-tooltip-wide .mat-mdc-tooltip-surface { + max-width: 360px; + white-space: normal; +} + .cdk-overlay-pane .mat-mdc-option small { display: block; color: var(--sg-text-muted);