Commit Graph

3417 Commits

Author SHA1 Message Date
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 3c8a74c746 Add unit test for highlights in instruments 2024-02-28 11:19:45 +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 5954151e2e Add properties to models and schema 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 b8ceac59cb Add ripgrep ignore file 2024-02-28 11:19:45 +01:00
Ramon Wenger ffea3fe1c9 Add more activities 2024-02-28 11:19:45 +01:00
Ramon Wenger f2be54a943 Add pre-push hook 2024-02-28 11:19:45 +01:00
Ramon Wenger 93f180bdd1 Fix linting errors 2024-02-28 11:19:45 +01:00
Ramon Wenger 80f299264e Add failing unit test 2024-02-28 11:19:45 +01:00
Ramon Wenger d288ea42bf Update vimspector config 2024-02-28 11:19:45 +01:00
Ramon Wenger 799e60e63a Add query for activities on server 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 9f4ab3fe84 Remove a test that is still to be implemented 2024-02-28 11:19:45 +01:00
Ramon Wenger 6012d4d59d Update pytest config 2024-02-28 11:19:45 +01:00
Ramon Wenger 5c3ed10a26 Add server implementation and unit test for chapter highlight 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 092a531d33 Add new mutation for module and chapter highlights 2024-02-28 11:14:45 +01:00
Ramon Wenger 9e536e0224 Add unit test for module and chapter highlights 2024-02-28 11:14: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 4ad5031803 Add new tests for module and chapter highlights 2024-02-28 11:14:45 +01:00
Ramon Wenger 3887616ec7 Rename script for better autocompletion 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 99c9a87247 Add missing migrations 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 b329427df8 Refactor highlight model to use a generic page instead of a content
block
2024-02-28 11:14:45 +01:00
Ramon Wenger 238be6cf4f Add a unit test file for highlight mutations
Contains a first test for creation
2024-02-28 11:14:45 +01:00
Ramon Wenger 7cf192f132 Refactor schema definitions to use less direct imports
This prevents some circular import issues
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