From 635e8b46dba8eaa10347b6235f9cd55a1e8e1776 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Wi=C3=9Fkirchen?= Date: Tue, 9 Apr 2024 22:02:25 +0200 Subject: [PATCH] Last refactorings in Create card (#97) * bump versions & switch native image build to paketo (finally !!) * refactor errorService and useApi and add cardService tests * refactor last issues for create card UI centralize Spring Test profile declaration. * slight impro * some ui improvements --- .../feature/cards/components/CardDetails.vue | 18 ++-- .../components/{CardEdit.vue => CardForm.vue} | 10 +- .../cards/components/RadioButtonCol.vue | 1 + frontend/src/feature/cards/model/card.ts | 35 ++---- .../src/feature/cards/pages/CardsPage.vue | 101 ++++++++++-------- .../src/feature/dataio/pages/DataExport.vue | 12 +-- .../integration/CardControllerIT.java | 2 - .../flashcards/integration/CardServiceIT.java | 2 - .../integration/CategoryControllerIT.java | 2 - .../integration/CategoryServiceIT.java | 2 - .../integration/ExampleDataInitializerIT.java | 2 - .../integration/RedirectControllerIT.java | 2 - .../integration/RegistrationIT.java | 2 - .../src/test/resources/application.properties | 14 +++ 14 files changed, 99 insertions(+), 106 deletions(-) rename frontend/src/feature/cards/components/{CardEdit.vue => CardForm.vue} (88%) create mode 100644 server/src/test/resources/application.properties diff --git a/frontend/src/feature/cards/components/CardDetails.vue b/frontend/src/feature/cards/components/CardDetails.vue index dcd9e61..41ac09f 100644 --- a/frontend/src/feature/cards/components/CardDetails.vue +++ b/frontend/src/feature/cards/components/CardDetails.vue @@ -10,7 +10,7 @@

{{ card.question }}

- + - + + + Check Answer + + +
- - - - Check Answer - - - diff --git a/frontend/src/feature/cards/components/CardEdit.vue b/frontend/src/feature/cards/components/CardForm.vue similarity index 88% rename from frontend/src/feature/cards/components/CardEdit.vue rename to frontend/src/feature/cards/components/CardForm.vue index fb3fc21..c5e96f7 100644 --- a/frontend/src/feature/cards/components/CardEdit.vue +++ b/frontend/src/feature/cards/components/CardForm.vue @@ -1,6 +1,6 @@