diff --git a/.env b/.env index 8b6e3882..6432dcd8 100644 --- a/.env +++ b/.env @@ -1 +1,2 @@ -VITE_BUILD_VERSION=$EVITALAB_BUILD_VERSION \ No newline at end of file +VITE_BUILD_VERSION=$EVITALAB_BUILD_VERSION +GITHUB_REPO_URL=https://github.com/lukashornych/evitalab \ No newline at end of file diff --git a/.gitignore b/.gitignore index 11f5d714..58f3c666 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ pnpm-debug.log* *.njsproj *.sln *.sw? +*.iml diff --git a/README.md b/README.md index 46b947aa..95e50941 100644 --- a/README.md +++ b/README.md @@ -117,4 +117,4 @@ yarn dev Any contributions are welcome and appreciated. If you would like to contribute to evitaLab, feel free to open an issue and submit a pull request. However, keep in mind that this project is still in an early development stage and features -may change or be completely removed. +may change or be completely removed. \ No newline at end of file diff --git a/documentation/assets/img/preview.png b/documentation/assets/img/preview.png index feeb5ec3..f9260992 100644 Binary files a/documentation/assets/img/preview.png and b/documentation/assets/img/preview.png differ diff --git a/package.json b/package.json index f3261e4c..d53768c4 100644 --- a/package.json +++ b/package.json @@ -9,28 +9,36 @@ }, "dependencies": { "@codemirror/lang-json": "^6.0.1", + "@codemirror/lang-xml": "^6.0.2", + "@ddietr/codemirror-themes": "^1.4.2", "@mdi/font": "7.0.96", + "@types/dompurify": "^3.0.4", "@types/js-cookie": "^3.0.3", + "@types/markdown-it": "^13.0.2", + "@types/markdown-it-emoji": "^2.0.2", "cm6-graphql": "^0.0.9", - "cm6-theme-material-dark": "^0.2.0", "codemirror": "^6.0.1", "core-js": "^3.29.0", + "dompurify": "^3.0.6", "graphql": "^16.7.1", + "highlight.js": "^11.9.0", "js-cookie": "^3.0.5", "ky": "^0.33.3", - "roboto-fontface": "*", + "markdown-it": "^13.0.2", + "markdown-it-emoji": "^2.0.2", + "markdown-it-highlightjs": "^4.0.1", "splitpanes": "^3.1.5", "store2": "^2.14.2", "uuid": "^9.0.0", "vue": "^3.2.0", "vue-codemirror": "^6.1.1", "vue-hotkeys-rt": "^0.2.3", - "vue-markdown-render": "^2.0.1", "vue-router": "^4.0.0", "vue-toastification": "^2.0.0-rc.5", "vuetify": "^3.1.0", "vuex": "^4.0.2", - "webfontloader": "^1.0.0" + "webfontloader": "^1.0.0", + "xml-formatter": "^3.5.0" }, "devDependencies": { "@babel/types": "^7.21.4", diff --git a/public/discord.svg b/public/discord.svg new file mode 100644 index 00000000..d5fe72c4 --- /dev/null +++ b/public/discord.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/documentation.svg b/public/documentation.svg new file mode 100644 index 00000000..9c621413 --- /dev/null +++ b/public/documentation.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/evita-lab-logo.svg b/public/evita-lab-logo.svg new file mode 100644 index 00000000..fbb40ffc --- /dev/null +++ b/public/evita-lab-logo.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/github.svg b/public/github.svg new file mode 100644 index 00000000..01bdd5cc --- /dev/null +++ b/public/github.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/base/CodemirrorFull.vue b/src/components/base/CodemirrorFull.vue index 9473814d..18a66a80 100644 --- a/src/components/base/CodemirrorFull.vue +++ b/src/components/base/CodemirrorFull.vue @@ -4,7 +4,7 @@ import { Codemirror } from 'vue-codemirror' import { EditorState, Extension } from '@codemirror/state' import { keymap } from '@codemirror/view' import { basicSetup } from 'codemirror' -import { materialDark } from 'cm6-theme-material-dark' +import { dracula } from '@ddietr/codemirror-themes/dracula.js' const props = withDefaults( defineProps<{ @@ -37,7 +37,7 @@ const extensions: Extension[] = [ } ]), basicSetup, - materialDark, + dracula, ...props.additionalExtensions ] if (props.readOnly) { diff --git a/src/components/base/CodemirrorOneLine.vue b/src/components/base/CodemirrorOneLine.vue index b4d9b91c..7a49bb72 100644 --- a/src/components/base/CodemirrorOneLine.vue +++ b/src/components/base/CodemirrorOneLine.vue @@ -91,17 +91,18 @@ const extensions: Extension[] = [ diff --git a/src/components/base/VClosableCardTitle.vue b/src/components/base/VCardTitleWithActions.vue similarity index 54% rename from src/components/base/VClosableCardTitle.vue rename to src/components/base/VCardTitleWithActions.vue index 239e6914..5b3f600e 100644 --- a/src/components/base/VClosableCardTitle.vue +++ b/src/components/base/VCardTitleWithActions.vue @@ -1,11 +1,7 @@ @@ -32,5 +23,10 @@ const emit = defineEmits<{ display: flex; justify-content: space-between; align-items: center; + + &__actions { + display: flex; + gap: 0.5rem; + } } diff --git a/src/components/base/VExecuteQueryButton.vue b/src/components/base/VExecuteQueryButton.vue new file mode 100644 index 00000000..e6b53af3 --- /dev/null +++ b/src/components/base/VExecuteQueryButton.vue @@ -0,0 +1,28 @@ + + + + + diff --git a/src/components/base/VMarkdown.vue b/src/components/base/VMarkdown.vue new file mode 100644 index 00000000..5f057810 --- /dev/null +++ b/src/components/base/VMarkdown.vue @@ -0,0 +1,30 @@ + + + + + diff --git a/src/components/base/VPropertiesTable.vue b/src/components/base/VPropertiesTable.vue index aa345862..5461baad 100644 --- a/src/components/base/VPropertiesTable.vue +++ b/src/components/base/VPropertiesTable.vue @@ -1,5 +1,5 @@ + + + + diff --git a/src/components/base/VTabToolbar.vue b/src/components/base/VTabToolbar.vue new file mode 100644 index 00000000..9fcc93d9 --- /dev/null +++ b/src/components/base/VTabToolbar.vue @@ -0,0 +1,46 @@ + + + + + diff --git a/src/components/base/VTreeViewItem.vue b/src/components/base/VTreeViewItem.vue index 0b6716cb..be8a138f 100644 --- a/src/components/base/VTreeViewItem.vue +++ b/src/components/base/VTreeViewItem.vue @@ -69,6 +69,7 @@ function openActions(): void { diff --git a/src/components/lab/editor/data-grid/property-selector/LabEditorDataGridPropertySelectorSectionItem.vue b/src/components/lab/editor/data-grid/property-selector/LabEditorDataGridPropertySelectorSectionItem.vue index cfe5dc64..630ba96e 100644 --- a/src/components/lab/editor/data-grid/property-selector/LabEditorDataGridPropertySelectorSectionItem.vue +++ b/src/components/lab/editor/data-grid/property-selector/LabEditorDataGridPropertySelectorSectionItem.vue @@ -1,6 +1,6 @@