Commit Graph

2285 Commits

Author SHA1 Message Date
Ramon Wenger 40fb51fa39 Fix test for assignment highlights 2024-03-12 16:45:49 +01:00
Ramon Wenger d13f889131 Refactor Assignment component, add highlights
Relates to MS-896
2024-03-12 16:04:35 +01:00
Ramon Wenger 370a391966 Remove shim, add correct type to tsconfig for vite 2024-03-12 15:59:37 +01:00
Ramon Wenger 10d28c73f4 Fix reference bug 2024-03-11 11:55:18 +01:00
Ramon Wenger a1f06f130e Fix elipses when text is overflowing in HighlightSidebar
Resolves MS-897 #complete
2024-03-11 11:53:00 +01:00
Ramon Wenger 7af5f07137 Add content to bookmark on Activity page
Resolves MS-903 #complete
2024-03-11 11:47:58 +01:00
Ramon Wenger 3cdbfa8abf Change topic label on "My Activities" page
Resolves MS-901 #complete
2024-03-11 09:38:47 +01:00
Ramon Wenger f44bf5cd85 Make whole activity entry clickable to jump to the entry
Relates to MS-900 #complete
2024-03-10 22:39:13 +01:00
Ramon Wenger 0c95117832 Add some tests, and fix the one for subtitles
Relates to MS-899 #complete
2024-03-10 21:56:50 +01:00
Ramon Wenger f5b44cdf37 Fix module description highlight test 2024-03-10 16:19:45 +01:00
Ramon Wenger 0e2173afd5 Fix bold text inside of highlights
Relates to MS-898 #complete
2024-03-07 17:31:23 +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 b7466d70d1 Add test for instrument intro and fix it
Relates to MS-895 #complete
2024-03-07 17:13:55 +01:00
Ramon Wenger f080e946c4 Add linting rule for cypress tests to reject .only calls 2024-03-07 13:15:29 +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 23698a432b Update sidebar on color change
Resolves MS-894 #complete
2024-03-07 10:48:26 +01:00
Ramon Wenger 9c4249de01 Add loading spinner to new activity page 2024-02-29 13:09:06 +01:00
Ramon Wenger 650f8c05d5 Add highlighting to instrument intro 2024-02-29 12:30:52 +01:00
Ramon Wenger 2ee56aa3c0 Fix positioning of popover 2024-02-29 10:50:52 +01:00
Ramon Wenger c2561c2014 Make overflow more dynamic in HighlightSidebar 2024-02-28 15:38:21 +01:00
Ramon Wenger 799e09aefe Enable bold text inside highlights 2024-02-28 15:24:30 +01:00
Ramon Wenger 42a3173123 Fix highlighting in instruments with long contents
Relates to MS-889
2024-02-28 15:09:22 +01:00
Ramon Wenger b6407bfefa Add another fragment name to prevent ambiguity 2024-02-28 13:29:00 +01:00
Ramon Wenger afa44d6a7c Mark error property as not required to prevent errors 2024-02-28 13:26:14 +01:00
Ramon Wenger 8afc7d2229 Update bookmark mutation generator function 2024-02-28 13:20:52 +01:00
Ramon Wenger 40de116ad4 Fix cypress test 2024-02-28 12:23:46 +01:00
Ramon Wenger b09d38a1f2 Add fragment name to ambiguous fragment update 2024-02-28 12:08:12 +01:00
Ramon Wenger 6086a88216 Update mocks in cypress tests 2024-02-28 11:53:22 +01:00
Ramon Wenger de77eeaff3 Update unit test 2024-02-28 11:19:45 +01:00
Ramon Wenger 0e5eb0af0e Add instrument activities 2024-02-28 11:19:45 +01:00
Ramon Wenger cca1f8f1ac Update styling 2024-02-28 11:19:45 +01:00
Ramon Wenger c048e40325 Lint code 2024-02-28 11:19:45 +01:00
Ramon Wenger c6e6491ef9 Add all activity types to page in client 2024-02-28 11:19:45 +01:00
Ramon Wenger ffea3fe1c9 Add more activities 2024-02-28 11:19:45 +01:00
Ramon Wenger 93f180bdd1 Fix linting errors 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 9071b35090 Lint client code 2024-02-28 11:19:45 +01:00
Ramon Wenger 22cd8eb57f Add frontend implementation for chapter highlights, re-enable cypress
test
2024-02-28 11:19:45 +01:00
Ramon Wenger a7df777b0b Integrate highlighting into module component 2024-02-28 11:19:43 +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 4ad5031803 Add new tests for module and chapter highlights 2024-02-28 11:14:45 +01:00
Ramon Wenger b38b8c8586 Refactor and simplify code to create a highlight 2024-02-28 11:14:45 +01:00
Ramon Wenger ebe7be43cb Add new test for instrument page and add onNote function 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 c7fc0b00b7 Update helper code 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 afc415dc8a Add test for instrument highlights 2024-02-28 11:14:45 +01:00
Ramon Wenger 69987e369c Migrate instrument page to use setup syntax and new graphql style 2024-02-28 11:14:45 +01:00
Ramon Wenger 376f2c5f82 Add URL parsing to the HighlightSidebar component
Resolves MS-881 #Complete
2024-02-28 11:14:45 +01:00