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
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
Ramon Wenger
6e409fa0f0
Fix margins after and before titles
...
Resolves MS-713 #complete
2023-05-10 16:27:03 +02:00
Ramon Wenger
1134ea9679
Add extensions for .vue and .gql files
2023-04-13 23:03:41 +02:00
Ramon Wenger
9759a64069
Update CSS import
2023-04-13 16:35:56 +02:00
Ramon Wenger
0bfc4f9bcb
Apply prettier on project again
2023-02-07 14:31:26 +01:00
Ramon Wenger
a52671fd40
Upgrade code according to migration guide for Vue 3
...
Update npm dependencies
Update vue router version
Disable validation temporarily
Specify property
Update dependencies
Update store to v4
Update async component definitions
Update some event emitters
Update tiptap vue version
Implement some router changes for v4
Remove obsolete tag attributes
Update dependencies
Fix some cypress tests
Fix most jest tests
Fix some more cypress tests
Fix school class cypress test
Fix another cypress test
Disable failing test temporarily
Fix validation
Fix error messages for validation
Fix e2e test for beta login page
Apply prettier
2023-02-07 13:38:51 +01:00
Ramon Wenger
6cf9457dca
Update vue router version
2023-01-26 16:29:37 +01:00
Ramon Wenger
9a91aaf47c
Apply prettier to whole project
2023-01-12 15:58:59 +01:00
Lorenz Padberg
c679f84236
Add cms-document-block to api and frontend
2022-07-25 18:24:34 +02:00
Ramon Wenger
1112c6754e
Add subtitle block to user content block form
2022-02-03 16:24:46 +01:00
Ramon Wenger
b775d857a6
Update document block margin
2022-02-02 17:01:35 +01:00
Ramon Wenger
51fddbdf60
Move edit mode to local GraphQL property of module node
2022-01-31 18:24:03 +01:00
Ramon Wenger
57704d7fc2
Refactor bookmark actions
2022-01-28 00:03:36 +01:00
Ramon Wenger
457c59cbc4
Clean up code
2022-01-26 20:49:31 +01:00
Ramon Wenger
c4195916a7
Lint some more code
2022-01-19 11:56:20 +01:00
Ramon Wenger
40ab4243b8
Split code into more bandwidth-friendly chunks
2021-12-22 10:37:43 +01:00
Christian Cueni
b0aed1ca74
Add type to parent if missing
2021-11-16 11:55:57 +01:00
Ramon Wenger
5eadff662d
Disable bookmarking when editing a module
2021-01-26 17:29:12 +01:00
Ramon Wenger
1e53aceb04
Update more margins
2020-10-08 15:58:13 +02:00
Ramon Wenger
fc279b94b0
Add more spacing to subtitles
2020-10-08 14:30:37 +02:00
Ramon Wenger
69e19591b3
Add component class to content component
2020-10-07 21:49:56 +02:00
Ramon Wenger
d6772bb3db
Update linter rules and fix them
2020-05-25 14:19:12 +02:00
Ramon Wenger
dcd9f0a92c
Add instruction block inside content block
2020-04-12 23:06:49 +02:00
Ramon Wenger
b13ca67d78
Fix section title block
2020-03-24 16:23:46 +01:00
Ramon Wenger
d4d2e9934e
Add note to instruments
2020-01-16 10:45:36 +01:00
Ramon Wenger
2b40f81764
Add bookmark actions to instrument, implement instrument bookmark
2020-01-08 15:00:40 +01:00
Ramon Wenger
9fb8e13c1c
Enable scrolling to the content blocks in a module
2019-12-18 16:28:24 +01:00
Ramon Wenger
a06f32bcb0
Add bookmark action to chapter
2019-12-03 14:03:30 +01:00
Ramon Wenger
2913796a1b
Add Thinglink block to frontend views
2019-11-26 09:31:39 +01:00
Christian Cueni
2d39ee8775
Hide bookmark actions in edit mode
2019-11-04 16:29:30 +01:00
Ramon Wenger
9b1c54cad2
Add optimistic update for the new note wizard
2019-10-28 15:21:06 +01:00
Ramon Wenger
081f567334
Update content block optimistically
2019-10-24 16:22:41 +02:00
Ramon Wenger
9b2db99d0b
Make bookmarks work with content list blocks
2019-10-22 14:29:58 +02:00
Ramon Wenger
d061116585
Add fixmes
2019-10-15 16:21:44 +02:00
Ramon Wenger
4fc896c224
Check for valid bookmark property
2019-10-15 13:47:02 +02:00
Ramon Wenger
1d5603ed5f
Add note update mutation
2019-10-12 08:54:20 +02:00