From a4bbdacb3b89e65b248ff24f357716fcbdec9721 Mon Sep 17 00:00:00 2001 From: jfrer <76432831+jfrer@users.noreply.github.com> Date: Wed, 19 Jun 2024 11:00:20 +0200 Subject: [PATCH] feat: display more gt metadata in timeline view (#79) * wip * wip * hide labels in overlay * refactor: use value, key instead of value, key, index * fix: add target blank to all external links * fix: make metadata font smaller and more muted * fix: make button more visible as a button * refactor: make gtMetadata own component * fix: smaller width on xl screens to avoid stretching * style: remove unused var * fix: update metadata display * fix: display volume of reichsanzeiger correctly * style: spaces * fix: update metadata display * fix: adjust design for smaller screen sizes --------- Co-authored-by: paulpestov <10750176+paulpestov@users.noreply.github.com> --- .../workflows/timeline/MetricAverageChart.vue | 2 +- .../workflows/timeline/TimelineItem.vue | 33 ++++-- .../timeline/TimelineItemMetadata.vue | 107 ++++++++++++++++++ src/locales/de.json | 11 +- src/locales/en.json | 12 +- src/types/index.d.ts | 27 ++++- 6 files changed, 181 insertions(+), 11 deletions(-) create mode 100644 src/components/workflows/timeline/TimelineItemMetadata.vue diff --git a/src/components/workflows/timeline/MetricAverageChart.vue b/src/components/workflows/timeline/MetricAverageChart.vue index 0cd682c..54e6a93 100644 --- a/src/components/workflows/timeline/MetricAverageChart.vue +++ b/src/components/workflows/timeline/MetricAverageChart.vue @@ -65,7 +65,7 @@ function tooltipContent(d: TimelineChartDataPoint) {