From dadef993b08e7e3b4f6e5abcfd874831420f9bc2 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 19 Sep 2021 17:33:48 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20Start=20work=20on=20the=20backen?= =?UTF-8?q?d-viewset=20hook?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/inspectionProfiles/Project_Default.xml | 1 + frontend/src/components/GuestBox.tsx | 2 +- frontend/src/components/LoginBox.tsx | 2 +- frontend/src/components/LogoutBox.tsx | 2 +- .../src/components/ResearchGroupListBox.tsx | 29 ++ .../components/ResearchGroupPanel.module.css | 31 +++ .../src/components/ResearchGroupPanel.tsx | 51 ++++ frontend/src/hooks/useBackendViewSet.ts | 252 ++++++++++++++++++ frontend/src/routes/Router.jsx | 2 + .../src/routes/SelectResearchGroupPage.tsx | 12 + 10 files changed, 381 insertions(+), 3 deletions(-) create mode 100644 frontend/src/components/ResearchGroupListBox.tsx create mode 100644 frontend/src/components/ResearchGroupPanel.module.css create mode 100644 frontend/src/components/ResearchGroupPanel.tsx create mode 100644 frontend/src/hooks/useBackendViewSet.ts create mode 100644 frontend/src/routes/SelectResearchGroupPage.tsx diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index a9b267f..8fc0e61 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -1,6 +1,7 @@