Skip to content

Commit

Permalink
18 export dashboard results in a png or a pdf
Browse files Browse the repository at this point in the history
18 export dashboard results in a png or a pdf
  • Loading branch information
upnico9 committed Jun 27, 2023
2 parents b1d70d5 + d3e8143 commit a17581b
Show file tree
Hide file tree
Showing 48 changed files with 862 additions and 208 deletions.
2 changes: 1 addition & 1 deletion backend/swagger.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
swagger: "2.0"
info:
version: 0.23.4
version: 0.23.5
title: DebiAI_BACKEND_API
description: DebiAI backend api
contact:
Expand Down
8 changes: 5 additions & 3 deletions docker-compose-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ services:
volumes:
- ./debiai_data:/backend/data
environment:
# Data providers (DEBIAI_DATA_PROVIDER_<name>=<url>)
# - DEBIAI_DATA_PROVIDER_MyDp1=http://localhost:3010
# - DEBIAI_DATA_PROVIDER_MyDp2=http://localhost:3011
# Data providers (DEBIAI_DATA_PROVIDER_<name>=<url>) Ref: https://debiai.irt-systemx.fr/dataInsertion/dataProviders/
# - DEBIAI_WEB_DATA_PROVIDER_my-web-provider1=http://localhost:3010/debiai
# - DEBIAI_WEB_DATA_PROVIDER_my-web-provider2=http://localhost:3011

# Export methods (DEBIAI_EXPORT_METHOD_<name>="<type>, <parmeter1>, <parmeter 2>)
# - DEBIAI_EXPORT_METHOD_MyExport1="kafka, local:9092, my_topic_1"
# - DEBIAI_EXPORT_METHOD_MyExport2="kafka, local:9092, my_topic_2"

# Full list of parameters for each export method: https://github.com/debiai/debiai/blob/main/backend/config/config.env
1 change: 0 additions & 1 deletion frontend/doc/new-widgets/Adding-new-widgets.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Create a `configuration.json` file in the directory :
"minHeight": 2,
"maxHeight": 15,
},
"simple": false // Removes the widget header setting and save buttons
}
```

Expand Down
84 changes: 82 additions & 2 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "debiai_frontend",
"version": "0.23.4",
"version": "0.23.5",
"description": "Frontend for Debiai, made with Vuejs",
"license": "Apache-2.0",
"scripts": {
Expand All @@ -13,7 +13,9 @@
"axios": "^0.21.4",
"config.js": "^0.1.0",
"core-js": "^3.6.4",
"file-saver": "^2.0.5",
"gridstack": "^2.0.0",
"jszip": "^3.10.1",
"marked": "^4.2.12",
"mathjs": "^7.6.0",
"plotly.js": "^2.18.1",
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/assets/svg/comment.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions frontend/src/assets/svg/downloadImage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
64 changes: 17 additions & 47 deletions frontend/src/assets/svg/save.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions frontend/src/components/common/Modal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
id="modal"
@click.stop="outsideClick"
>
<div id="pannel">
<div id="Panel">
<slot />
</div>

Expand Down Expand Up @@ -77,7 +77,7 @@ export default {
cursor: pointer;
}
#pannel {
#Panel {
max-height: 90vh;
max-width: 90vw;
padding: 3vh;
Expand All @@ -86,7 +86,7 @@ export default {
overflow: auto;
}
#pannel:hover {
#Panel:hover {
cursor: default;
}
Expand Down
16 changes: 8 additions & 8 deletions frontend/src/components/debiai/project/Models.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div id="models">
<div id="modelsPannel">
<div id="modelsPanel">
<div id="title">
<h2>
<inline-svg
Expand Down Expand Up @@ -114,13 +114,13 @@
Union
<input
type="checkbox"
id="commomModelResultsToggle"
id="commonModelResultsToggle"
class="customCbx"
style="display: none"
v-model="commomModelResults"
v-model="commonModelResults"
/>
<label
for="commomModelResultsToggle"
for="commonModelResultsToggle"
class="toggle"
>
<span></span>
Expand Down Expand Up @@ -177,7 +177,7 @@ export default {
return {
searchBar: "",
selectedModelIds: [],
commomModelResults: true,
commonModelResults: true,
};
},
mounted() {},
Expand Down Expand Up @@ -231,8 +231,8 @@ export default {
},
},
watch: {
commomModelResults() {
this.$emit("setCommomModelResults", this.commomModelResults);
commonModelResults() {
this.$emit("setCommonModelResults", this.commonModelResults);
},
},
};
Expand All @@ -245,7 +245,7 @@ export default {
flex-direction: column;
}
#modelsPannel {
#modelsPanel {
flex: 1;
padding: 10px;
display: flex;
Expand Down
Loading

0 comments on commit a17581b

Please sign in to comment.