diff --git a/src/App.vue b/src/App.vue index 31b2f4a..9bea57c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -116,6 +116,12 @@ body { bottom: 0; right: 0; } +.graph-logs-panel { + background-color: yellow; + position: fixed; + bottom: 0; + left: 0; +} .info-panel-outer { position: relative; diff --git a/src/components/DataPanel.vue b/src/components/DataPanel.vue index 6dc7514..51f153a 100644 --- a/src/components/DataPanel.vue +++ b/src/components/DataPanel.vue @@ -11,18 +11,16 @@
- + + {{ retrieval_status }}
-
+
- -
-
-
@@ -62,6 +60,7 @@ import graphData from "../graphData"; const project_id: any = ref(""); const retrieval_status = ref("") +const hide_description = ref(true); export default defineComponent({ name: "DataPanel", setup() { }, @@ -72,7 +71,8 @@ export default defineComponent({ }, data() { return { - retrieval_status + retrieval_status, + hide_description } }, methods: { @@ -119,6 +119,7 @@ export default defineComponent({ request_url_post.substring(0, requestLengthLimit) + (request_url_post.length > requestLengthLimit ? "..." : ""); retrieval_status.value = "Saving..." + this.$emit('add_log', 'DataPanel', 'saving data panel...') axios.post(request_url_pre + request_url_post).then((response) => { console.log(response.data); graphData.nodes.value[`node${response.data.uid}`] = response.data; @@ -126,6 +127,7 @@ export default defineComponent({ this.$emit("updatedDataPanel"); } retrieval_status.value = "Saved!" + this.$emit('add_log', 'DataPanel', 'saved') setTimeout(() => { retrieval_status.value = "" }, 1000) diff --git a/src/components/DecoPanel.vue b/src/components/DecoPanel.vue index 566e08a..2bd7dfb 100644 --- a/src/components/DecoPanel.vue +++ b/src/components/DecoPanel.vue @@ -1,51 +1,68 @@