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
|
4464b56cbb
|
Start work to also enable highlighting 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
|
6a70d3ca9e
|
Fix linting issue
|
2024-02-28 11:14:45 +01:00 |
Ramon Wenger
|
8b22146c63
|
Update highlight fragment
|
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
|
f7d083e66a
|
Refactor graphql config
|
2024-02-28 11:14:45 +01:00 |
Ramon Wenger
|
97dd9ef600
|
Make highlight sidebar a singleton
|
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
|
5ae1296949
|
Remove highlight directive
|
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
|
f905d6bbc0
|
Remove debugging info, clean up UI in HighlightSidebar
|
2024-02-28 11:14:45 +01:00 |
Ramon Wenger
|
33801ff8a6
|
Update caniuse database
|
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
|
e2f283ba71
|
Add new postcss mixin
|
2024-02-28 11:14:45 +01:00 |
Ramon Wenger
|
7374e42b07
|
Update package-lock.json
|
2024-02-28 11:14:45 +01:00 |
Ramon Wenger
|
f2a9c9cdd9
|
Fix linting issues
|
2024-02-28 11:14:45 +01:00 |
Ramon Wenger
|
eaca8f32e4
|
Experiment with overflowing text and ellipses
|
2024-02-28 11:14:45 +01:00 |
Ramon Wenger
|
ebbbca72c4
|
Refactor some styles
|
2024-02-28 11:14:45 +01:00 |
Ramon Wenger
|
d6860154f7
|
Add initial component for highlight sidebar, with styling but without logic
|
2024-02-28 11:14:45 +01:00 |
Ramon Wenger
|
776838fb10
|
Add missing fragment file
|
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
|
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
|
cba5705aee
|
Add mutation for creating highlights to the server
|
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
|
f3dc0e9b09
|
Add highlight model to server
|
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 |