Commit Graph

664 Commits

Author SHA1 Message Date
Daniel Egger 18f7728793 VBV-302: Refactor Header for course session switching 2023-03-31 15:21:20 +02:00
Daniel Egger 724f31f4a8 Handle multiple CourseSessions for user 2023-03-31 11:18:55 +02:00
Daniel Egger d09ef0054f Fix TypeScript config for upgrade to 5.0 2023-03-31 10:17:53 +02:00
Daniel Egger edcfab1dd3 Format code according to new library rules 2023-03-31 10:07:27 +02:00
Daniel Egger 5661221ce6 Update client libraries 2023-03-31 10:03:59 +02:00
Elia Bieri 10f34f53d8 Merged in feature/storybook (pull request #49)
Integrate Storybook

* Merged in feature/caprover-deploy (pull request #47)

Feature/caprover deploy

Approved-by: Christian Cueni
* Merge branch 'feature/storybook' of bitbucket.org:iterativ/vbv_lernwelt into feature/storybook

* Add stories

* Add BuenosAires font to storybook

* Mute typecheck error

* Update bitbucket deployment

* Add ItNavigationProgress component

* Update pipelines file

* Update pipelines file

* Merged develop into feature/storybook

Approved-by: Daniel Egger
2023-03-29 13:45:13 +00:00
Christian Cueni 6d9b16172d Display learning unit icons based on name 2023-03-28 07:00:38 +02:00
Christian Cueni 97879b570c Show only start and stop icon in circle 2023-03-27 11:34:09 +02:00
Daniel Egger f68e20515d VBV-293: Link zu Mediathek in Versicherungsvermittlerin Lehrgang wieder eingefügt 2023-03-14 15:03:01 +01:00
Daniel Egger c5c4d12010 Merged develop into feature/vv-update 2023-03-10 09:12:29 +00:00
Christian Cueni bcd251bedf Remove guard 2023-03-10 09:44:06 +01:00
Christian Cueni 9b594a60c4 Fix learningPathForUser 2023-03-10 09:41:41 +01:00
Christian Cueni d233b782bc Use RichField for circle detail data 2023-03-09 15:30:50 +01:00
Christian Cueni 30ead5a261 Update üK structure 2023-03-09 15:11:50 +01:00
Christian Cueni e2ccc8ecb9 Merged develop into feature/bugfix-cockpit-link 2023-03-09 09:03:22 +00:00
Elia Bieri 2d555292fd Merged in feature/enable_scroll_new_learnpath (pull request #38)
New learnpath: enable scrolling on desktop and hide scroll bar

* Add scrolling to LearningPathPathView and hide scrollbar

* Fix lint issues


Approved-by: Daniel Egger
2023-03-09 08:35:02 +00:00
Elia Bieri 6733e7a311 Merged in bugfix/new_learnpath_refactorings (pull request #36)
Minor refactorings in new learnpath

* Refactor media query watching into composable

* Refactor media query to use vueuse package

* Get rid of custom scroll boundary watch logic

* Use template ref instead of id

* Switch to typed learning path key

* Move to-component-scrolling into the components themselves

* Minor cleanup

* Fix minor issues


Approved-by: Daniel Egger
2023-03-08 17:10:49 +00:00
Daniel Egger 303656e199 Fix unit test 2023-03-08 15:52:09 +01:00
Daniel Egger 7c90e27ff7 Fix bug in NavigationGuard 2023-03-08 15:43:12 +01:00
Christian Cueni 154b123bec Update FR ük 2023-03-06 11:40:59 +01:00
Christian Cueni cdaee0fc5a Add 🇫🇷 UI texts 2023-03-03 13:11:24 +01:00
Elia Bieri a7dcb86cfe Merged in feature/VBV-260-implement-new-learnpath (pull request #28)
Feature/VBV-260 implement new learnpath

* Fix linting problems

* Fix cypress tests

* Change various texts to gray-800

* Rework progress bar to show in progress circles

* Scroll to initial circle

* Make list view circles clickable

* Minor rework actions

* Rework

* Fix LearningPathScrollButton alignment

* Additional fix for LearningPathScrollButton alignment
2023-03-02 16:58:16 +00:00
Christian Cueni 02315af984 Add demo language switch 2023-03-02 07:07:40 +01:00
Elia Bieri d686173b31 Merged in bugfix/VBV-261-deactivate-notifications-when-logged-out (pull request #29)
VBV-261 start & stop notification polling based on user state

* Start & stop notification polling based on user state

* Improve readability


Approved-by: Christian Cueni
2023-02-28 08:12:22 +00:00
Christian Cueni 2d580cad18 Merged in feature/hide-cockpit (pull request #26)
Prevent normal users from navigating to the cockpit

Approved-by: Elia Bieri
2023-02-27 09:55:18 +00:00
Christian Cueni 83d2e99199 Use correct type 2023-02-22 12:59:43 +01:00
Christian Cueni 58df3201d4 Prevent normal users from navigating to the cockpit 2023-02-21 07:01:18 +01:00
Daniel Egger 6dc9cb1bcf Add sorting of json files with the help of prettier 2023-02-20 13:09:55 +01:00
Daniel Egger e1e1d2930e Add some docs 2023-02-20 13:04:07 +01:00
Daniel Egger b475797f11 Change order of npm run command 2023-02-20 11:39:23 +01:00
Christian Cueni f0ea3ed4a2 Add vue-i18n-extract and npm command 2023-02-16 10:57:30 +01:00
Daniel Egger d1615954df Fix in itPost 2023-02-14 10:31:36 +01:00
Elia Bieri 9930d9adf9 Fix type error in StyleGuidePage 2023-02-09 11:10:38 +01:00
Elia Bieri bac7acb021 Merged in feature/VBV-259-create-new-circle-component (pull request #21) 2023-02-09 09:31:03 +00:00
Christian Cueni b667140d3e Add language field and API 2023-02-08 13:15:04 +01:00
Elia Bieri b5e4c30d40 Merged in feature/notifications (pull request #15) 2023-02-08 11:39:27 +00:00
Christian Cueni aa5b744285 Migrate form data to json field 2023-02-06 16:03:40 +01:00
Christian Cueni 10fd08ce75 Add language change method to footer 2023-02-06 08:38:58 +01:00
Christian Cueni bbd74d85b3 Add multiple rows in cockpit list circles 2023-01-31 16:37:00 +01:00
Christian Cueni 8b2aab8298 Add Chrigi to üK, change numbers of feedbacks 2023-01-31 11:49:26 +01:00
Christian Cueni 23fd945cb6 Fix test, lint vue 2023-01-31 08:26:16 +01:00
Christian Cueni bd3388714e Fix UI errors 2023-01-31 08:26:16 +01:00
Christian Cueni 013b3cf3b8 Fix RatingScale 2023-01-31 08:26:16 +01:00
Christian Cueni 229262a609 Remove unused code, use prettier 2023-01-31 08:26:16 +01:00
Christian Cueni 2ab8f580bc Add HorizontalBar component 2023-01-31 08:26:16 +01:00
Christian Cueni b7038c1a9c Add open feedback component, update vertical bar chart 2023-01-31 08:26:16 +01:00
Christian Cueni 956970ce5f Style VerticalbarChart 2023-01-31 08:26:15 +01:00
Christian Cueni ec58ca176c Add basic Feedback page 2023-01-31 08:26:15 +01:00
Christian Cueni 44ed154814 Add summary component 2023-01-31 08:26:15 +01:00
Christian Cueni 46710d29b9 Add summary endpoint 2023-01-31 08:26:15 +01:00
Christian Cueni 0794a715b3 Add Handlungsfelder SVGs 2023-01-31 08:13:05 +01:00
Ramon Wenger ef0354ec5c Add component for horizontal bar charts 2023-01-26 07:54:45 +01:00
Ramon Wenger 2fed11784c Fix mobile view for rating scale component 2023-01-26 07:18:51 +01:00
Ramon Wenger 5d955e14cb Replace custom CSS with tailwind classes where possible 2023-01-26 07:18:50 +01:00
Ramon Wenger a707afb4fe Rename horizontal bar chart to vertical
Because that's what it actually is 🥴
2023-01-26 07:18:50 +01:00
Ramon Wenger c509deb092 Add wrapper component for a question summary
Also add mobile version of the horizontal bar chart
2023-01-26 07:18:50 +01:00
Ramon Wenger 2fd6201350 Add tailwind plugin for prettier 2023-01-26 07:18:50 +01:00
Ramon Wenger c24c1214c9 Use tailwind properties instead of custom css 2023-01-26 07:18:50 +01:00
Ramon Wenger cb290a6fbc Add tailwind plugin for using grid template areas 2023-01-26 07:18:50 +01:00
Ramon Wenger 8f202aa4b6 Update styling for horizontal bar chart 2023-01-26 07:18:50 +01:00
Ramon Wenger 47e84f992f Add horizontal bar chart component 2023-01-26 07:18:50 +01:00
Ramon Wenger 31527eb99f Add title and label to rating scale component, fix some bugs 2023-01-26 07:18:50 +01:00
Ramon Wenger f3d61bff8a Add empty bar and rating number 2023-01-26 07:18:50 +01:00
Ramon Wenger e86c36248c Add rating scale component 2023-01-26 07:18:50 +01:00
Daniel Egger 1183e0c016 Fix prettier 2023-01-25 16:47:02 +01:00
Daniel Egger 0ae212a9f5 Improve mobile CSS for full screen 2023-01-25 14:17:05 +01:00
Christian Cueni c34d3729fc Assign users to new course 2023-01-23 09:31:10 +01:00
Christian Cueni 8955bdbb9e Use env variable for GraphQL endpoint 2023-01-19 07:43:04 +01:00
Christian Cueni 6bbd509faf Add feedback icon, add feedback to default path 2023-01-19 07:43:04 +01:00
Christian Cueni 142d0f374e Add feedback completion 2023-01-19 07:43:04 +01:00
Christian Cueni c36df95e02 VBV-232: WIP - Style feedback content type 2023-01-19 07:43:04 +01:00
Christian Cueni 46368ee374 VBV-232: WIP - Refactor content navigation 2023-01-19 07:43:04 +01:00
Christian Cueni 434e911eea VBV-232: Fix mobile view 2023-01-19 07:43:04 +01:00
Christian Cueni cac03fce57 VBV-232: WIP: Style bottom navigation, add progress 2023-01-19 07:43:01 +01:00
Christian Cueni 38b7454fd1 VBV-232: WIP - Rearrange learning content navigation 2023-01-19 07:41:25 +01:00
Daniel Egger 1aaf0810bd VBV-243: Add new Versicherungsvermittler learning path 2023-01-18 18:25:54 +01:00
Ramon Wenger 2cdf5e803e Re-add property that got deleted during merge 2023-01-13 13:58:58 +01:00
Daniel Egger a2b24e4696 Make `collectstatic` locally and improve deployment 2023-01-11 17:52:01 +01:00
Ramon Wenger 6701697556 Add translation strings for constants 2023-01-11 17:36:52 +01:00
Daniel Egger cbd14abe65 Fix bug when loading courseSessions and its users 2023-01-11 17:20:09 +01:00
Daniel Egger 503f819d38 Refactor expert handling 2023-01-11 15:54:50 +01:00
Daniel Egger 9fc834e99e Refactor cockpit circle handling 2023-01-11 15:54:50 +01:00
Daniel Egger 1b87aa5bac Refactor cockpit user loading 2023-01-11 15:54:50 +01:00
Daniel Egger 47770bde90 Refactor course expert serializer 2023-01-11 15:54:50 +01:00
Daniel Egger 6d6126add7 Fix small navigation bar bug 2023-01-11 15:34:23 +01:00
Christian Cueni 276cd20e99 Use dynamic medialibrary link 2023-01-11 13:45:42 +01:00
Christian Cueni ae62b43606 Fix upload, add delete s3 files command 2023-01-11 07:38:47 +01:00
Ramon Wenger b87881136c Add translations for feedback form 2023-01-11 00:41:56 +01:00
Christian Cueni 063473469a Add text, move text to translations file 2023-01-10 11:02:30 +01:00
Christian Cueni e197a17f15 Fix user header on circle page 2023-01-10 08:58:44 +01:00
Christian Cueni 0d64f8fbb6 Change model name 2023-01-10 08:09:16 +01:00
Christian Cueni 660c288f6f Change default expiry, add file size hint 2023-01-10 08:09:16 +01:00
Christian Cueni 579758037e Disable button during upload 2023-01-10 08:09:16 +01:00
Christian Cueni cb9249328e Add delete unreferenced file command 2023-01-10 08:09:13 +01:00
Christian Cueni d65d786f4f Fix permissions, refactor upload code 2023-01-10 08:05:02 +01:00
Christian Cueni fc017961ab Verify permissions 2023-01-10 08:05:02 +01:00
Christian Cueni 8ad84cc778 WIP: Add tests 2023-01-10 08:05:02 +01:00
Daniel Egger 7a3e4324d9 VBV-213: Filter criteria by selected circle
Show upload button only to circle experts

Add files app and basic frontend test

Add service, refactor form

WIP: Upload file

WIP: Upload file to s3

WIP: Add course models, add view

WIP: Add local upload

WIP: Add basic get

WIP: Validate form

WIP: Add file list, download by name

WIP: Update documents after upload

WIP: Add delete button and API

WIP: Reset upload_finished_at when document is deleted

WIP: Handle upload error

Add s3 document
2023-01-10 08:04:56 +01:00
Ramon Wenger 3fe7a47c90 Fix checkbox grow bug 2023-01-09 16:08:31 +01:00
Ramon Wenger d0633823bf Fix linting issues 2023-01-09 15:53:24 +01:00
Ramon Wenger 6a4f795801 Rename store function 2023-01-09 15:37:15 +01:00
Ramon Wenger 4a3eb72416 Fix import 2022-12-29 16:46:49 +01:00
Ramon Wenger 3aa5e52e20 Fix typescript errors 2022-12-29 16:42:42 +01:00
Ramon Wenger 5bcfda9156 Clean up code to make typechecker happy 2022-12-29 16:39:45 +01:00
Ramon Wenger a4a93a2214 Fix some linting errors and warnings 2022-12-29 16:35:40 +01:00
Ramon Wenger 5bd8137df4 Remove feedback component from dashboard page 2022-12-29 16:32:50 +01:00
Ramon Wenger 91a785dc80 Refactor course sessions store to use setup API 2022-12-29 16:32:48 +01:00
Ramon Wenger 799768da22 Add course session id to payload, re-add button for testing the payload 2022-12-29 16:29:13 +01:00
Ramon Wenger 8f1509d40c Add steps to feedback form, fix some styling 2022-12-29 16:29:11 +01:00
Ramon Wenger 36847175c7 Add custom textarea component 2022-12-29 16:28:36 +01:00
Ramon Wenger 4702c92744 Add new components to styleguide 2022-12-29 16:28:36 +01:00
Ramon Wenger 7bb8910a18 Add checkbox group component, update checkbox component 2022-12-29 16:28:36 +01:00
Ramon Wenger 28a193e22a Update radio group component 2022-12-29 16:28:36 +01:00
Ramon Wenger 65a2180822 Add tailwind headlessui plugin 2022-12-29 16:28:36 +01:00
Ramon Wenger d5a3025e12 Make prettier happy too 2022-12-29 16:28:36 +01:00
Ramon Wenger 865e0d80f6 Refactor LearningContent component 2022-12-29 16:28:34 +01:00
Ramon Wenger aa6054a84e Refactor Radio Group component, update styling 2022-12-29 16:26:31 +01:00
Ramon Wenger dd30010269 Refactor feedback component 2022-12-29 16:26:31 +01:00
Ramon Wenger 69fc7f7dbb Add Feedback mutation call, also codegen for typing 2022-12-29 16:26:29 +01:00
Ramon Wenger be0a53c16d Add new input elements to feedback form 2022-12-29 16:25:16 +01:00
Ramon Wenger 425c91ff6b Add initial Feedback component 2022-12-29 16:25:16 +01:00
Ramon Wenger 1a315b1d62 Add codegen packages 2022-12-29 16:25:16 +01:00
Ramon Wenger f61ce46fc3 Refactor ItCheckbox 2022-12-29 16:25:12 +01:00
Daniel Egger 59f717fa39 VBV-213: Filter criteria by selected circle 2022-12-21 10:38:27 +01:00
Daniel Egger 59787ade3b VBV-224: Only show selected circles on cockpit page 2022-12-19 18:12:34 +01:00
Christian Cueni 58bb1d5fef Use own icon for learning content 2022-12-15 09:40:46 +01:00
Daniel Egger 527b806a35 Fix race condition on user loading 2022-12-14 23:15:07 +01:00
Daniel Egger 15b5223dc5 Fix cypress tests 2022-12-14 22:05:10 +01:00
Daniel Egger 134d1f05d6 Fix typecheck error 2022-12-14 19:10:41 +01:00
Daniel Egger e8073753be Add circle view for user profiles in cockpit 2022-12-14 19:02:48 +01:00
Daniel Egger 38114b55c5 Fix ItPersonRow 2022-12-14 18:59:09 +01:00
Elia Bieri ad7474f1cf Merged in feature/notifications (pull request #14)
Add fake notification page
2022-12-14 12:55:34 +00:00
Christian Cueni 3f58325c2f Display selected circles in list 2022-12-14 08:12:04 +01:00
Christian Cueni fb42625354 Allow multi-circle selection in cockpit 2022-12-14 07:58:16 +01:00
Christian Cueni 786f92595c Show upload button only to experts 2022-12-13 14:29:48 +01:00
Christian Cueni 4ac1c78a4f Update path name 2022-12-13 14:21:26 +01:00
Christian Cueni e8085831df Add learning sequence field 2022-12-13 11:21:16 +01:00
Christian Cueni 5e0b69702f Add file upload modal 2022-12-13 08:42:29 +01:00
Christian Cueni 2248ad4396 Merge branch 'feature/cockpit-ui' into develop 2022-12-12 13:34:33 +01:00
Christian Cueni fd2aaadedb Add conditional Cockpit link to navigation 2022-12-12 13:22:24 +01:00
Christian Cueni 3375d0f121 Return circle expert data, use circle data 2022-12-12 11:02:06 +01:00
Ramon Wenger 41c6346136 Add favicon 2022-12-08 17:06:04 +01:00
Christian Cueni 35b3a3204f Update CompetenceDetail component 2022-12-08 08:48:51 +01:00
Christian Cueni b12bf59925 Clean up person row 2022-12-08 08:03:59 +01:00
Daniel Egger 59f5a5c454 Autoformat code 2022-12-07 15:37:10 +01:00
Daniel Egger 181efbc382 Fix url to self evalution 2022-12-07 15:25:18 +01:00
Daniel Egger 17bd36fe54 Add competence data to cockpit user profile page 2022-12-07 14:48:59 +01:00
Daniel Egger 39e3d657d0 Fix typecheck error 2022-12-07 14:29:10 +01:00
Daniel Egger c5d4d678ea Merge branch 'develop' into feature/cockpit-ui
# Conflicts:
#	client/src/components/competences/CompetenceDetail.vue
#	client/src/locales/de.json
#	client/tailwind.config.js
2022-12-07 14:23:03 +01:00
Daniel Egger 4ff1a1097d Embed LearningPath diagram on person list of cockpit 2022-12-07 13:44:41 +01:00
Daniel Egger 299ff5271d Refactor LearningPathDiagram 2022-12-07 12:24:12 +01:00
Christian Cueni 91c19f29b4 Refactor CompetenceDetail component 2022-12-07 07:29:38 +01:00
Daniel Egger 2c17012686 Refactor learningPath loading 2022-12-06 17:12:54 +01:00
Daniel Egger 00c2217ad1 Add first simple profile page to test loading of learning path per user 2022-12-06 09:27:38 +01:00
Christian Cueni 934d4c6945 Add page, refactor arrow 2022-12-05 15:51:44 +01:00
Christian Cueni fb1ac5fe65 Fix text 2022-12-05 08:23:44 +01:00
Daniel Egger 4f28d72213 Fix typecheck error 2022-12-02 17:59:02 +01:00
Daniel Egger 0cbce3c42b Load separate competence profile for every user 2022-12-02 17:49:40 +01:00
Daniel Egger 0adf734846 Url handling 2022-12-02 17:10:57 +01:00
Daniel Egger 5aa73e4997 Fix problem in competence pages 2022-12-02 16:57:44 +01:00
Daniel Egger 299b30cb0f Fix route matching with special chars 2022-12-02 16:55:52 +01:00
Daniel Egger 7bddd43b65 Refactor competenceStore to handle multiple users 2022-12-02 16:14:37 +01:00
Daniel Egger c9ddefd82e Load completion data for user 2022-12-02 15:15:44 +01:00
Daniel Egger 48cf9026d9 Add cockpit store 2022-12-02 14:24:02 +01:00
Daniel Egger 963250a8da Add role to course session user 2022-12-02 13:59:27 +01:00
Daniel Egger 00d2527b29 Refactor urls for courses, learning paths and competence profile 2022-12-02 11:18:56 +01:00
Christian Cueni d9390ef82d Add basic cockpit page 2022-12-01 16:02:43 +00:00
Christian Cueni 4729bbe59f Fix text 2022-11-23 07:19:31 +00:00
Christian Cueni c0ef2c1391 Fix UI/UX errors 2022-11-23 07:17:22 +00:00
Ramon Wenger 84d17ff732 Add urql to frontend 2022-11-22 16:18:52 +01:00
Daniel Egger e10f4eb86a VBV-191: Abschluss Lernsequenz nach Besprechung mit Steph und Chrigu 2022-11-21 11:09:02 +01:00
Daniel Egger 07406f8e89 VBV-191: Abschluss Lernsequenz 2022-11-18 17:41:10 +01:00
Christian Cueni 4d32e99c8c Add sentry in frontend 2022-11-17 13:44:12 +01:00
Christian Cueni 95a15eae6a Open shop link in new tab 2022-11-16 07:26:14 +01:00
Christian Cueni 87a89e564c Fix learning content header 2022-11-15 13:12:08 +01:00
Christian Cueni 2313587f6a Update text 2022-11-15 13:02:37 +01:00
Daniel Egger 3cfd8a4017 Rename Cockit to Dashboard 2022-11-14 11:22:14 +01:00
Daniel Egger a3c3e60763 Show only uniqe courses (not course sessions) on Dashboar 2022-11-14 11:20:37 +01:00
Daniel Egger 05fa4ab3be Fix cypress tests by not loading unknown data 2022-11-11 18:21:16 +01:00
Daniel Egger f212df5d29 Fix mobile LearningPathDiagram rendering 2022-11-11 18:01:19 +01:00
Daniel Egger 5aaa9da8dc Add dynamic "Lernpfad" and "KompetenzNavi" urls 2022-11-11 17:51:32 +01:00
Daniel Egger 089d81bd03 Add small LearningPath diagram for cockpit 2022-11-11 14:03:53 +01:00
Daniel Egger 1f7321f935 Add LearningPathDiagram mini version 2022-11-11 13:38:40 +01:00
Daniel Egger 55d4ea6080 Reload completion data correctly 2022-11-11 11:22:41 +01:00
Daniel Egger 05e6906878 Working example with rerendering of LearningPathDiagram 2022-11-11 11:22:41 +01:00
Daniel Egger 4111e26828 Refactor data loading 2022-11-11 11:22:41 +01:00
Daniel Egger 376c206b29 Refactor getting data with promise cache 2022-11-11 11:22:41 +01:00
Daniel Egger 7e54301882 Load courseSessions for CockpitPage 2022-11-11 11:22:40 +01:00
Daniel Egger eebbd09e9a Fix typecheck error 2022-11-11 11:03:42 +01:00
Ramon Wenger 1c93a1d3aa Add package-lock.json to repo to prevent unforeseen dependency issues 2022-11-10 10:34:01 +01:00
Christian Cueni 3d53885572 Add navigation translations 2022-11-10 07:45:05 +01:00
Lorenz Padberg e524ffdb3a Fix cirlce diagram start rotation 2022-11-09 15:47:36 +01:00
Christian Cueni 50da271ea4 Merge branch 'feature/i18n' into develop 2022-11-08 16:05:18 +01:00
Christian Cueni 03bbd26774 Add translations strings 2022-11-08 15:05:54 +01:00
Christian Cueni f3c5999cad Make changes for demo 2022-11-08 14:40:57 +01:00
Christian Cueni 2015ab25de Update WBTs 2022-11-08 08:28:26 +01:00
Christian Cueni 9a2675cd16 Use HF detail image from backend 2022-11-07 11:39:25 +01:00
Christian Cueni f6d46d077d Update fake profile 2022-11-05 20:09:34 +01:00
Christian Cueni 44d8c1645e Add new types, update name 2022-11-03 07:15:36 +01:00
Christian Cueni 3608156353 WIP: Setup i18n 2022-10-27 16:09:06 +02:00