From c61f0c019812d21c4bbb5e3638f450cb79099c58 Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 23 Jul 2023 23:13:28 +0000 Subject: [PATCH] Graph update and little noe ui tweaks --- client/src/assets/semantic-helper.css | 7 +- client/src/components/GlobalSiteMenu.vue | 1 + .../Metrictracking/MetricGraphsComponent.vue | 431 ++++++++++++++ .../Metrictracking/PillCalendarGraph.vue | 529 +++++++++++++++++- client/src/components/ModalComponent.vue | 2 +- client/src/components/NoteInputPanel.vue | 1 + .../src/components/NoteTitleDisplayCard.vue | 31 +- client/src/mixins/SquireButtonFunctions.js | 235 ++++---- client/src/pages/MetrictrackingPage.vue | 423 +++++++------- client/src/stores/mainStore.js | 2 +- server/models/Attachment.js | 10 +- server/routes/attachmentController.js | 25 + 12 files changed, 1341 insertions(+), 356 deletions(-) create mode 100644 client/src/components/Metrictracking/MetricGraphsComponent.vue diff --git a/client/src/assets/semantic-helper.css b/client/src/assets/semantic-helper.css index 3bf4456..22c4b5b 100644 --- a/client/src/assets/semantic-helper.css +++ b/client/src/assets/semantic-helper.css @@ -17,13 +17,14 @@ body { margin: 0; padding: 0; - overflow-x: hidden; +/* overflow-x: hidden;*/ min-width: 320px; - background: #FFFFFF; + background: green; font-family: 'Roboto', system-ui, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: 14px; line-height: 1.4285em; color: rgba(0, 0, 0, 0.87); + position: relative; } :root { @@ -95,7 +96,7 @@ body { font-family: 'Roboto', 'Helvetica Neue', Arial, Helvetica, sans-serif; } #app { - background: var(--body_bg_color); +/* background: var(--body_bg_color);*/ } .ui.segment { diff --git a/client/src/components/GlobalSiteMenu.vue b/client/src/components/GlobalSiteMenu.vue index d57657f..7e9b663 100644 --- a/client/src/components/GlobalSiteMenu.vue +++ b/client/src/components/GlobalSiteMenu.vue @@ -87,6 +87,7 @@ margin: 0; padding: 0; + overflow: hidden; } .place-holder { width: 100%; diff --git a/client/src/components/Metrictracking/MetricGraphsComponent.vue b/client/src/components/Metrictracking/MetricGraphsComponent.vue new file mode 100644 index 0000000..ed5d6fe --- /dev/null +++ b/client/src/components/Metrictracking/MetricGraphsComponent.vue @@ -0,0 +1,431 @@ + + + + + \ No newline at end of file diff --git a/client/src/components/Metrictracking/PillCalendarGraph.vue b/client/src/components/Metrictracking/PillCalendarGraph.vue index f80f1b6..a18aa17 100644 --- a/client/src/components/Metrictracking/PillCalendarGraph.vue +++ b/client/src/components/Metrictracking/PillCalendarGraph.vue @@ -1,26 +1,547 @@ - +