Commit Graph

274 Commits

Author SHA1 Message Date
Ramon Wenger b7f7799590 Fix text color for lists in solution block
Relates to MS-912
2024-04-11 12:27:19 +02:00
Ramon Wenger eae01e1d86 Fix assignment tests 2024-04-09 15:13:31 +02:00
Lorenz Padberg 666339701f Make bookmark visible 2024-04-04 10:15:04 +02:00
Lorenz Padberg 9c48d86970 Open new tab for instrument and instruction document 2024-04-04 08:43:54 +02:00
Ramon Wenger b9ed344dd1 Change text color of solution block
Resolves MS-912 and MS-913 #complete
2024-04-03 11:38:51 +02:00
Ramon Wenger b7e965956b Clean up code 2024-03-28 17:09:09 +01:00
Ramon Wenger 936b4a6231 Revert "Reformat code"
This reverts commit 2b3d0c6ebd.
2024-03-28 11:29:41 +01:00
Lorenz Padberg 2b3d0c6ebd Reformat code 2024-03-27 12:52:39 +01:00
Lorenz Padberg e8d7402349 Fix chaching bug for submissions 2024-03-27 12:47:17 +01:00
Lorenz Padberg 2d280d9ff8 Fix reactivity bug 2024-03-20 20:23:58 +01:00
Lorenz Padberg b7a009972f Fix Assignment bug 2024-03-20 14:25:30 +01:00
Ramon Wenger 0abfcafd41 Add missing length property 2024-03-13 22:09:24 +01:00
Ramon Wenger 4ed03ac5f3 Fix issue for when an assignment text has no paragraph tag 2024-03-13 20:28:29 +01:00
Ramon Wenger 3bd875814f Fix some linting issues 2024-03-13 14:58:57 +01:00
Ramon Wenger 8cd508ce31 Finish refactoring the Assignment component 2024-03-13 14:43:20 +01:00
Ramon Wenger cfb20c00c3 Update assignment cypress test and add some fixes
Resolves MS-896 #complete
2024-03-13 11:46:00 +01:00
Ramon Wenger d13f889131 Refactor Assignment component, add highlights
Relates to MS-896
2024-03-12 16:04:35 +01:00
Ramon Wenger bc8a84e13a Add scrolling to surveys from MyActivities page
Resolves MS-902 #complete
2024-03-07 17:27:30 +01:00
Ramon Wenger 0cf39373da Add test for deleting chapter intro highlights
Relates to MS-895
2024-03-07 13:14:54 +01:00
Ramon Wenger 8afc7d2229 Update bookmark mutation generator function 2024-02-28 13:20:52 +01:00
Ramon Wenger c6e6491ef9 Add all activity types to page in client 2024-02-28 11:19:45 +01:00
Ramon Wenger c7c406f0ba Add new activity page 2024-02-28 11:19:45 +01:00
Ramon Wenger 15e173221a Refactor highlight functions and helpers to reuse them with modules and
chapters
2024-02-28 11:14:45 +01:00
Ramon Wenger 848a4764d2 Remove debug info from component 2024-02-28 11:14:45 +01:00
Ramon Wenger 9112fb3fc8 Add more tests for the instrument highlights
Also refactor the existing tests, add a test which clicks the note icon
first, and refactor some of the existing highlight helpers
2024-02-28 11:14:45 +01:00
Ramon Wenger 2d46eedac1 Update client code to reflect highlight change
Add first highlight code to the instrument page
2024-02-28 11:14:45 +01:00
Ramon Wenger 8afe36e8ea Add cypress test for highlights 2024-02-28 11:14:45 +01:00
Ramon Wenger 9b813f113b Refactor some mutations 2024-02-28 11:14:45 +01:00
Ramon Wenger 2f6589680e Update the color in the sidebar when changing it in the popover
Resolves MS-866 #Complete
2024-02-28 11:14:45 +01:00
Ramon Wenger 2121f01a9c Make the highlight selection and the marking more robust
Also cover the case when there are paragraphs and unordered lists in the
same ContentComponent
2024-02-28 11:14:45 +01:00
Ramon Wenger 8ef3f23edc Complete highlights for list items 2024-02-28 11:14:45 +01:00
Ramon Wenger 56b973f02e Add highlights to nested content content-blocks
Also refactor the ContentListBlock component
2024-02-28 11:14:45 +01:00
Ramon Wenger f2c9ec04b8 Add delete mutation, flesh out update mutation for highlights 2024-02-28 11:14:45 +01:00
Ramon Wenger bf71faae3f Add Update Highlight mutation stub 2024-02-28 11:14:45 +01:00
Ramon Wenger 57cac25c6f Add highlight content to sidebar 2024-02-28 11:14:45 +01:00
Ramon Wenger 2ffbd62e4f Fix wrong import syntax for mark.js 2024-02-28 11:14:45 +01:00
Ramon Wenger c180aa94f5 Show sidebar only after clicking some highlighted text 2024-02-28 11:14:45 +01:00
Ramon Wenger f2a9c9cdd9 Fix linting issues 2024-02-28 11:14:45 +01:00
Ramon Wenger ebbbca72c4 Refactor some styles 2024-02-28 11:14:45 +01:00
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 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 99ce0ab84d Add uuid to content component 2024-02-28 11:14:45 +01:00
Lorenz Padberg 87d807f142 Fix typo 2023-08-30 14:59:04 +02:00
Lorenz Padberg 020c4846c4 Fix comments from PR 2023-08-30 14:24:12 +02:00
Ramon Wenger 94b9b5f03b Add optional chaining operator to selectedClass access calls 2023-07-27 17:46:35 +02:00
Ramon Wenger 3f308d9a32 Update matomo event names
Relates to MS-732
2023-06-29 15:47:06 +02:00
Ramon Wenger f3d723838e Adjust size of instruction block text and icon
Resolves MS-722 #complete
2023-05-16 17:55:37 +02:00