Commit Graph

2276 Commits

Author SHA1 Message Date
Ramon Wenger 837fcc81be Handle choosing a color and clicking on the note icon differently
Resolves MS-869 and MS870 #Complete
2024-02-28 11:14:45 +01:00
Ramon Wenger f69af1e4cf Refactor directive to be more specific 2024-02-28 11:14:45 +01:00
Ramon Wenger 9b813f113b Refactor some mutations 2024-02-28 11:14:45 +01:00
Ramon Wenger 8506392c3f Handle highlight sidebar and popover as one unit for closing them when
clicking elsewhere

Resolves MS-867 and MS-868 #Complete
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 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 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 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
Ramon Wenger 66b9f8ac6a Enable cy.mockGraphqlOps to handle async methods 2023-12-13 18:02:49 +01:00
Lorenz Padberg f070091a84 Change cypress frontend config.. localhost !=127.0.0.1 2023-12-13 14:30:34 +01:00
Lorenz Padberg 033157b1c8 Add language filter test 2023-12-13 10:47:14 +01:00
Lorenz Padberg 0943a49f25 Add test filter by title 2023-12-12 15:54:16 +01:00
Ramon Wenger 83733f2b9c Fix cypress version and change the cypress download mirror definition 2023-12-12 09:18:00 +01:00
Ramon Wenger fd7ba5d300 Fix linting errors 2023-12-06 16:43:50 +01:00
Ramon Wenger 93bb7f4473 Update TipTap to not use a beta version anymore 2023-12-05 15:58:27 +01:00
Ramon Wenger ac88edf67d Fix component test config 2023-12-05 15:54:34 +01:00
Ramon Wenger 97f2e50faf Add sentry tracing and replay plugins 2023-11-23 14:06:56 +01:00
Ramon Wenger 9cf28afdb1 Merge branch 'hotfix/snapshots' into develop 2023-10-17 13:33:34 +02:00
Ramon Wenger 3cb566c599 Fix bug on snapshot detail page 2023-10-17 13:32:40 +02:00
Ramon Wenger b700931a8b Fix bug on snapshot overview page 2023-10-17 13:27:11 +02:00
Ramon Wenger 4a6b62d26b Fix history for contentBlockLocator 2023-10-12 10:51:36 +02:00
Ramon Wenger 67c8511d50 Fix bug with Toggle component after disabling Vue3 compat-mode 2023-10-11 21:04:14 +02:00
Ramon Wenger 35a3389229 Rename "Lernfeld" to "Modul" on all environments
Resolves MS-818 #complete
2023-10-09 17:31:54 +02:00
Ramon Wenger 790a08932d Fix typo 2023-10-09 16:32:08 +02:00
Ramon Wenger f7546a68f4 Fix bug with activity links to submissions
Resolves MS-817 #complete
2023-10-09 16:30:48 +02:00
Ramon Wenger 4667465b9c Fix a bug with module bookmarks and one with instrument bookmarks 2023-09-21 14:42:56 +02:00
Ramon Wenger c721dc26aa Fix numbering issue on topic navigation
Resolves MS-810 #complete
2023-09-21 12:06:02 +02:00
Lorenz Padberg 55b9644f2a Add disable language filter to module filter 2023-09-13 17:38:44 +02:00
Lorenz Padberg 92f64dd3ba Fix linter errors 2023-09-13 14:45:09 +02:00
Lorenz Padberg a271fb54be Add loading skeleton to instruments 2023-09-13 13:23:54 +02:00
Lorenz Padberg 7a9d8b8e82 Disable Language filter on all Plaforms except myKV 2023-09-13 11:48:24 +02:00