From bd8c77e002e06bb9f9a7955c2e40dd50fc8fa11c Mon Sep 17 00:00:00 2001 From: Arild Matsson Date: Thu, 28 Nov 2024 06:09:52 +0100 Subject: [PATCH] feat: Editable config file in browser Fixes #178 --- CHANGELOG.md | 1 + src/corpus/config/CorpusConfigCustom.vue | 33 +++---- src/corpus/config/CorpusConfigCustomEdit.vue | 97 ++++++++++++++++++++ src/corpus/config/CorpusConfigCustomHelp.vue | 20 ++++ src/i18n/locales/en.yaml | 5 +- src/i18n/locales/sv.yaml | 7 +- src/router/corpus.routes.ts | 7 ++ tailwind.config.ts | 6 +- 8 files changed, 154 insertions(+), 22 deletions(-) create mode 100644 src/corpus/config/CorpusConfigCustomEdit.vue create mode 100644 src/corpus/config/CorpusConfigCustomHelp.vue diff --git a/CHANGELOG.md b/CHANGELOG.md index effc7e3..359e751 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ As this project is a user-facing application, the places in the semantic version ### Added - Add geotagging to the NER option [#174](https://github.com/spraakbanken/mink-frontend/issues/174) +- Editable config file in browser [#178](https://github.com/spraakbanken/mink-frontend/issues/178) ### Fixed diff --git a/src/corpus/config/CorpusConfigCustom.vue b/src/corpus/config/CorpusConfigCustom.vue index cd7e82c..718e662 100644 --- a/src/corpus/config/CorpusConfigCustom.vue +++ b/src/corpus/config/CorpusConfigCustom.vue @@ -1,6 +1,6 @@ diff --git a/src/corpus/config/CorpusConfigCustomEdit.vue b/src/corpus/config/CorpusConfigCustomEdit.vue new file mode 100644 index 0000000..b84087a --- /dev/null +++ b/src/corpus/config/CorpusConfigCustomEdit.vue @@ -0,0 +1,97 @@ + + +