From 8357288e7e5047686cf659fc1fd5d6cc04dd26af Mon Sep 17 00:00:00 2001
From: David Mendez <dmendez@ebi.ac.uk>
Date: Mon, 31 Jul 2023 12:02:35 +0100
Subject: [PATCH] Compound Activity Profile: Use long label for tab title

---
 .../ActivityDataSingleTab.vue                 |  2 +-
 .../ActivityDataTabs.vue                      | 20 +++++++++++++++----
 2 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/components/report_cards/chemical_probe/ActivityProfileComponents/ActivityDataSingleTab.vue b/components/report_cards/chemical_probe/ActivityProfileComponents/ActivityDataSingleTab.vue
index 6102eec..00c24ac 100644
--- a/components/report_cards/chemical_probe/ActivityProfileComponents/ActivityDataSingleTab.vue
+++ b/components/report_cards/chemical_probe/ActivityProfileComponents/ActivityDataSingleTab.vue
@@ -1,6 +1,6 @@
 <template>
   <v-card flat>
-    <v-card-title>{{ tabConfig.label }}</v-card-title>
+    <v-card-title>{{ tabConfig.label }} ({{ tabConfig.key }})</v-card-title>
     <v-card-text>
       <ChEMBLDataTable
         :dataset-state="datasetState"
diff --git a/components/report_cards/chemical_probe/ActivityProfileComponents/ActivityDataTabs.vue b/components/report_cards/chemical_probe/ActivityProfileComponents/ActivityDataTabs.vue
index a69b6a5..4f5c28e 100644
--- a/components/report_cards/chemical_probe/ActivityProfileComponents/ActivityDataTabs.vue
+++ b/components/report_cards/chemical_probe/ActivityProfileComponents/ActivityDataTabs.vue
@@ -2,7 +2,7 @@
   <div>
     <v-tabs v-model="tab" show-arrows>
       <v-tab v-for="item in shownSections" :key="item.key">
-        {{ item.key }}
+        {{ item.title }}
       </v-tab>
     </v-tabs>
 
@@ -36,16 +36,19 @@ export default {
           {
             key: 'MULTI',
             filter: 'filter1',
-            label: 'Multiplex Assay',
+            title: 'Cell Health',
+            label: 'Cell Health Data',
           },
           {
             key: 'INCU',
             filter: 'filter2',
+            title: 'Incucyte Cell Viability',
             label: 'Incucyte Cell Viability',
           },
           {
             key: 'LIABILITY',
             filter: 'filter3',
+            title: 'Liability',
             label: 'Liability Data',
           },
         ],
@@ -53,47 +56,56 @@ export default {
           {
             key: 'AB',
             filter: 'filter1',
+            title: 'Affinity Biochemical',
             label: 'Affinity Biochemical Assay',
           },
           {
             key: 'AOT',
             filter: 'filter2',
+            title: 'Affinity On-target Cellular',
             label: 'Affinity On-target Cellular Assay',
           },
           {
             key: 'AP',
             filter: 'filter3',
+            title: 'Affinity Phenotypic Cellular',
             label: 'Affinity Phenotypic Cellular Assay',
           },
           {
             key: 'S',
             filter: 'filter4',
+            title: 'Selectivity',
             label: 'Selectivity Assay',
           },
           {
             key: 'ASIC50, ASSS',
             filter: 'filter5',
+            title: 'Alphascreen',
             label: 'Alphascreen Assay',
           },
           {
             key: 'GPCR',
             filter: 'filter6',
+            title: 'GPCR Beta-arrestin Recruitment',
             label: 'GPCR Beta-arrestin Recruitment Assay',
           },
           {
             key: 'NanoBRET',
             filter: 'filter7',
+            title: 'NanoBRET',
             label: 'NanoBRET Assay',
           },
           {
             key: 'ITC',
             filter: 'filter8',
-            label: 'ITC Assay',
+            title: 'Isothermal Titration Calorimetry',
+            label: 'Isothermal Titration Calorimetry Assay',
           },
           {
             key: 'HTRF',
             filter: 'filter9',
-            label: 'HTRF Assay',
+            title: 'Homogeneous Time Resolved Fluorescence',
+            label: 'Homogeneous Time Resolved Fluorescence Assay',
           },
         ],
       },
-- 
GitLab