Commit Graph

591 Commits

Author SHA1 Message Date
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
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