Commit Graph

2199 Commits

Author SHA1 Message Date
Ramon Wenger 2e61cfbed6 Add styling for different highlight colors
Also refactor the naming of the colors
2024-02-28 11:14:45 +01:00
Ramon Wenger 4f72c9564d Update highlights on cache change 2024-02-28 11:14:45 +01:00
Ramon Wenger 7932b65895 Add highlight fragment to legacy content block query 2024-02-28 11:14:45 +01:00
Ramon Wenger f41b43aa70 Add mutation for adding highlights to client also 2024-02-28 11:14:45 +01:00
Ramon Wenger 61d23945f7 Make dynamic components inside ContentComponent not load asynchronously
So they load right with the ContentComponent, otherwise we get
"stuttering", and the contents are not ready to be highlighted without a
timeout
2024-02-28 11:14:45 +01:00
Ramon Wenger 9213d57be5 Add highlight query to client 2024-02-28 11:14:45 +01:00
Ramon Wenger a6974853ef Refactor ContentComponent 2024-02-28 11:14:45 +01:00
Ramon Wenger 4584cb860e Fix some typing issues 2024-02-28 11:14:45 +01:00
Ramon Wenger 99ce0ab84d Add uuid to content component 2024-02-28 11:14:45 +01:00
Ramon Wenger b83d9b9faa Add events to popover component and handlers for them 2024-02-28 11:14:45 +01:00
Ramon Wenger 50bca2cca9 Close popover when clicking outside it 2024-02-28 11:14:45 +01:00
Ramon Wenger 6e85b3a9dc Reformat, refactor some code and fix some linting errors 2024-02-28 11:14:45 +01:00
Ramon Wenger 41b2357bf6 Add some styling and dynamic postioning to new popover service 2024-02-28 11:14:44 +01:00
Ramon Wenger 6e87464bdf Add some variables as CSS custom properties 2024-02-28 11:14:44 +01:00
Ramon Wenger 109ab958fc Add some initial code for the popover service 2024-02-28 11:14:44 +01:00
Ramon Wenger 2953ea4c8e Refactor some code 2024-02-28 11:14:44 +01:00
Ramon Wenger 6f1b0dfefd Move the selection from the directive to the component 2024-02-28 11:14:44 +01:00
Ramon Wenger 4da376d5d6 Add type package for mark.js 2024-02-28 11:14:44 +01:00
Ramon Wenger 1927036610 Update and add to GraphQL typing in client and on server 2024-02-28 11:14:44 +01:00
Ramon Wenger 4daf2946d2 Add better typing, some todos, a highlighting demo 2024-02-28 11:14:44 +01:00
Ramon Wenger 98d413171c Remove example code 2024-02-28 11:14:44 +01:00
Ramon Wenger ba2964d884 Register directive in app 2024-02-28 11:14:44 +01:00
Ramon Wenger 50b19c6405 Add proof of concept component to module, start a little refactor 2024-02-28 11:14:33 +01:00
Ramon Wenger 485e07067b Add new directive responsible for saving selections 2024-02-28 11:06:20 +01:00
Ramon Wenger f112e19c79 Add new dependencies 2024-02-28 11:06:20 +01:00
Ramon Wenger 8e556399fa Add old proof of concept code 2024-02-28 11:06:20 +01:00
Lorenz Padberg d0bceda44e Remove Lernziele title for skillbox 2024-02-14 11:34:59 +01:00
Ramon Wenger 09b6b2479e Merge branch 'hotfix/srf-jest-test' into develop 2024-02-13 14:38:28 +01:00
Ramon Wenger 8c09427935 Add missing variable to jest test 2024-02-13 14:36:54 +01:00
Lorenz Padberg 8a7919ea42 Fix test 2024-02-13 14:15:28 +01:00
Lorenz Padberg a07f2aab4f Merged in feature/MS851-MigrateSnapshots (pull request #143)
Feature/MS851 MigrateSnapshots

Approved-by: Ramon Wenger
2024-02-13 10:40:42 +00:00
Lorenz Padberg 95cf48717c Move show-objectives to computed properties 2024-02-13 11:15:54 +01:00
Ramon Wenger b0e8d011f1 Merge branch 'hotfix/srf-video-embed-MS-865' into develop 2024-02-08 17:39:48 +01:00
Ramon Wenger 9c525f3040 Replace SRF embed URL
Also add some tests to test correctness of the URL generation and also
the iframe src
2024-02-08 17:37:04 +01:00
Ramon Wenger 9e6d1d1a04 Remove unnecessary line in test 2024-02-08 10:16:18 +01:00
Ramon Wenger a6fdb2d0b0 Add a test for the "Toggle Solutions" page
Also do some refactoring to support it
2024-02-07 19:18:33 +01:00
Ramon Wenger a664807775 Fix cypress version 2024-02-07 16:47:58 +01:00
Ramon Wenger f0a8b8f835 Migrate Checkbox component to setup syntax 2024-02-07 15:14:20 +01:00
Ramon Wenger 0b0f262b62 Merge branch 'hotfix/toggle-solutions-checkbox' into develop 2024-02-07 14:58:31 +01:00
Ramon Wenger 4005e0239f Fix an issue with solutions setting in module not updating in cache
Resolves MS-862 #Complete
2024-02-07 14:57:03 +01:00
Lorenz Padberg ce7ab55cba Fix visiblity of old objectives 2024-02-07 12:04:22 +01:00
Lorenz Padberg 0631b42867 Add tests for objectives migration 2024-02-06 17:13:22 +01:00
Lorenz Padberg 106bad4c52 Fix linting error 2024-02-05 10:51:07 +01:00
Lorenz Padberg 13e9c2d9ae Merged in feature/MS-747-TestforInstrumentFilters (pull request #139)
Feature/MS-747 TestforInstrumentFilters

Approved-by: Ramon Wenger
2024-01-17 15:46:45 +00:00
Ramon Wenger 64d86b688c Remove test specific changes to vue code and skip test 2024-01-17 16:44:12 +01:00
Ramon Wenger 94e9649754 Upgrade Typescript config to target ES6 2023-12-21 17:39:40 +01:00
Ramon Wenger d0de5de269 Mute annoying error that occurs when ME_QUERY is not yet in cache 2023-12-21 17:39:00 +01:00
Lorenz Padberg 8b80a12516 Fix naming on radio-button 2023-12-20 11:32:18 +01:00
Ramon Wenger 8b080abe20 Add save check, refactor component
Resolves MS-785
2023-12-14 14:16:01 +01:00
Ramon Wenger eee3bf995c Add cypress test to catch double save issue on room entry creation 2023-12-13 18:04:42 +01:00