Commit Graph

653 Commits

Author SHA1 Message Date
Daniel Egger d213f2d237 Change icons in cockpit 2023-05-08 14:44:24 +02:00
Daniel Egger cfa7309526 Fix after rebase 2023-05-08 14:29:26 +02:00
Daniel Egger 08b2e9e49a Show grade on overview page 2023-05-08 14:27:40 +02:00
Daniel Egger 32c3d6d1b4 Format code 2023-05-08 14:27:40 +02:00
Daniel Egger 447d1d8915 Fix navigation when assignment completion is submitted 2023-05-08 14:27:40 +02:00
Daniel Egger 313417dfd6 Fix typecheck errors 2023-05-08 14:27:40 +02:00
Daniel Egger e688cf2fc8 Improve display 2023-05-08 14:27:40 +02:00
Daniel Egger 5868468a48 Add grades to AssingmentEvaluation 2023-05-08 14:27:40 +02:00
Daniel Egger 2d6cee9f9f Add EvaluationSummary 2023-05-08 14:27:40 +02:00
Daniel Egger d9a6f2dd94 Add EvaluationIntro 2023-05-08 14:27:39 +02:00
Daniel Egger 26caf06391 Show evaluation full screen 2023-05-08 14:27:37 +02:00
Daniel Egger 9a5feb2ba6 Add evaluation task stepper 2023-05-08 14:24:38 +02:00
Daniel Egger fef864df25 VBV-321: squash current work
Load and display AssignmentCompletionStatus

Datenmodell um Bewertungskriterien erweitern

Refactor assignment pages

Show user results

Update some data fields

Show user assignment evaluation

Changes after rebase

Rename `grading` -> `evaluation`

Add evaluation data to AssignmentCompletion

Refactor usage of `assignmentStore`

Store points for evaluation

Only debounce text

Show user responses on evaluation page
2023-05-08 14:24:38 +02:00
Ramon Wenger a11c0d481f Merged in feature/VBV-310-VBV-324-document-improvements (pull request #66)
Feature/VBV-310 VBV 324 document improvements

Approved-by: Elia Bieri
2023-05-08 08:42:33 +00:00
Ramon Wenger 8a96af1818 Add documentation to the confirm dialog service 2023-05-04 16:43:39 +02:00
Elia Bieri e4b8d7c301 Merged in feature/VBV-291-kn-frontend-teilnehmer (pull request #56)
VBV-291 Auftrag Frontend

* Fixes in SubmissionView

* Change closing button tag

* Delete client cypress folder

* Add eslint cypress plugin

* Add Cypress tests

* Reformat de.json

* Fix type errors

* Fix cypress tests

* Add cypress commands

* Disable assignment task inputs after submission
2023-05-03 14:53:21 +00:00
Ramon Wenger eba448afec Remove unused code 2023-05-02 17:40:46 +02:00
Ramon Wenger 270acd5575 Remove console.log statements 2023-05-02 16:49:05 +02:00
Ramon Wenger 9ab9f25d86 Add comment to annotate inspiration 2023-05-02 16:47:11 +02:00
Ramon Wenger 0ac4f7b395 Move confirm dialog to its own service 2023-05-02 16:22:43 +02:00
Ramon Wenger ba2d4df639 Add body text 2023-05-02 15:32:27 +02:00
Ramon Wenger 17028b8905 Add 2 types of confirm modal
Still need to be refactored into one
2023-05-01 21:41:58 +02:00
Ramon Wenger af7f0c9223 Update layout for document list
Relates to VBV-324
2023-05-01 21:40:04 +02:00
Ramon Wenger 78037b3373 Rename component 2023-04-27 12:01:35 +02:00
Ramon Wenger 0bae4a8cb2 Add info block for teachers
Also refactor CirclePage

Resolves VBV-310
2023-04-27 11:55:45 +02:00
Ramon Wenger 09a20cf59f Fix prettier issues 2023-04-25 17:58:06 +02:00
Ramon Wenger 34546d35e2 Add new component for displaying an attendence day 2023-04-25 17:22:49 +02:00
Ramon Wenger d4cb37d229 Refactor LearningContentSimpleLayout component 2023-04-25 16:39:04 +02:00
Elia Bieri bc16f6012b Unregister event bus handler 2023-04-25 13:06:48 +02:00
Elia Bieri 1d77da83da Merged in feature/new-lc-navigation (pull request #60)
Implement new learning content navigation/layout

* Fix first part of cypress tests

* Add event bus type to fix typecheck

* Rework SelfEvaluation to support new layout

* Fix layout

* Hide lang switcher icon in lc footer

Closes https://iterativ.atlassian.net/browse/VBV-319

* Fix cypress tests

* Unregister event bus handler

* Hide ItNavigationProgress on self evaluations with
only a single step

* Last fixes

* Merged develop into feature/new-lc-navigation
2023-04-25 10:06:24 +00:00
Daniel Egger cb37c55732 Merge branch 'develop' into feature/VBV-234-bugfix-create-new-page-in-wagtail 2023-04-13 19:23:24 +02:00
Ramon Wenger 53fb5c0572 Fix ts lint, remove unused component 2023-04-12 17:47:59 +02:00
Daniel Egger d4c846a1b9 Changes after code review 2023-04-12 16:08:16 +02:00
Ramon Wenger 27ebe8a69f Refactor variable 2023-04-12 11:34:39 +02:00
Daniel Egger 80cd70ace6 Link courseSessionAssignmentDetails to AssignmentView 2023-04-06 21:39:44 +02:00
Ramon Wenger 10d70c2170 Fix some linting issues 2023-04-06 17:11:53 +02:00
Ramon Wenger bec5924bb6 Fix typo 2023-04-06 16:50:29 +02:00
Ramon Wenger 812d70b1c8 Clean up MainNavigationBar 2023-04-06 16:50:29 +02:00
Ramon Wenger 5922678363 Add cypress to client for component and frontend tests 2023-04-06 16:50:29 +02:00
Ramon Wenger d6b45f9f7f Update CourseSessionsMenu 2023-04-06 16:50:29 +02:00
Ramon Wenger 54231d6cce Add some components and stories
Still to be defined which ones to use in the end
2023-04-06 16:50:29 +02:00
Daniel Egger d92b324f8e Add frontend types and loading code for Assignment 2023-04-06 10:58:31 +02:00
Daniel Egger 8f84ef7502 Adapt api so it can fetch assignment page by id 2023-04-05 21:43:15 +02:00
Daniel Egger f2c6153343 Fix js unit test 2023-04-05 21:28:40 +02:00
Daniel Egger 6745431f17 Add some FIXME-comments with reference to VBV-305 2023-04-05 19:28:58 +02:00
Daniel Egger 1fdabf77c0 Fix cypress tests 2023-04-05 19:27:25 +02:00
Daniel Egger 0d80df2a23 Fix vitest unit tests 2023-04-04 11:32:00 +02:00
Daniel Egger a7cc07cc80 Refactor courseSessionStore names 2023-04-04 10:59:26 +02:00
Daniel Egger 1d88117d99 Refactor `attendance_days` to its own field 2023-04-04 08:45:42 +02:00
Daniel Egger 9ee97ffc55 Format code 2023-04-03 18:55:05 +02:00
Daniel Egger 9177b9e003 Get attendance day details in relevant views 2023-04-03 18:39:36 +02:00
Daniel Egger 1437bc9b53 VBV-304: Add `AssignmentDayBlock` 2023-04-03 18:09:22 +02:00
Daniel Egger e17817b166 Refactor learninPath according to the new page code hierarchy 2023-04-03 16:42:34 +02:00
Daniel Egger 1d04fa20f5 Some refactoring in course sessions 2023-04-03 16:05:50 +02:00
Daniel Egger 4996eb565a Cleanup icons 2023-04-03 13:52:37 +02:00
Daniel Egger 84ec0b9c53 Move learningPath completion data reloading code 2023-03-31 23:51:42 +02:00
Daniel Egger a0f9e0dfee Refactor learningPathStore to use setup syntax 2023-03-31 23:49:01 +02:00
Daniel Egger 26b986b732 Fix URL in SinglePerformanceCriteria 2023-03-31 23:32:33 +02:00
Daniel Egger 9a70b3005a Force rerender when course session is switched 2023-03-31 23:00:55 +02:00
Daniel Egger 6834f18d19 Try to reload data with event bus event 2023-03-31 19:11:25 +02:00
Daniel Egger 8d41d3d3a2 VBV-193 refactored course completion for course sessions 2023-03-31 18:27:47 +02:00
Daniel Egger ddc7a3bd70 VBV-302: Add course session switch 2023-03-31 16:24:52 +02:00
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
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 e1e1d2930e Add some docs 2023-02-20 13:04:07 +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 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 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
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