Commit Graph

160 Commits

Author SHA1 Message Date
Ramon Wenger 9076eb462f Add styling for lists in assignments
Also, refactor some code

Relates to MS-518
2022-06-20 15:53:59 +02:00
Ramon Wenger 7d9da414d8 Make new tests pass 2022-05-24 17:20:23 +02:00
Ramon Wenger 428e51f254 Remove instrument label for non-instrument blocks 2022-05-24 14:36:42 +02:00
Ramon Wenger 328a34d6d0 Fix instrument label bug 2022-05-24 12:43:40 +02:00
Ramon Wenger 206531a667 Fix missing variable 2022-05-23 16:43:40 +02:00
Ramon Wenger 6019adf09a Update category name inside module for different flavors
Resolves MS-503
2022-05-23 14:45:50 +02:00
Daniel Egger d7eaced895 Refactor from flavor mixin to ES6 module and plugin 2022-05-11 13:24:36 +02:00
Daniel Egger 77c355d569 MS-474: Add myKV-specific terms 2022-05-11 13:24:35 +02:00
Ramon Wenger 1f268c62e1 Add confirmation dialog to content block deletion 2022-03-01 11:02:26 +01:00
Ramon Wenger 86591cd69b Change content block rendering of single list items, refactor code 2022-02-15 17:42:37 +01:00
Ramon Wenger f563483b79 Add edit route for custom content blocks 2022-02-10 12:06:03 +01:00
Ramon Wenger 6d1eb48fe5 Fix delete mutation update 2022-02-02 16:53:23 +01:00
Ramon Wenger b6ef5b2e34 Fix button below chapter title 2022-02-02 16:23:55 +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 c4195916a7 Lint some more code 2022-01-19 11:56:20 +01:00
Ramon Wenger 50cb811f05 Refactor styling of nested content lists 2022-01-19 11:23:13 +01:00
Ramon Wenger 40ab4243b8 Split code into more bandwidth-friendly chunks 2021-12-22 10:37:43 +01:00
Ramon Wenger 66883ed6d0 Fix sidebar bug 2021-10-10 21:01:32 +02:00
Ramon Wenger 64c5963490 Update styling of room page 2021-08-25 13:48:37 +02:00
Ramon Wenger ab65e07a1d Fix content block deletion bug 2021-06-22 16:19:11 +02:00
Ramon Wenger 3a64a11ea8 Refactor some file locations 2021-05-03 11:15:20 +02:00
Ramon Wenger 322d7725f2 Clean up code 2021-02-22 14:29:21 +01:00
Ramon Wenger 16baba9423 Refactor some code 2021-02-18 18:15:19 +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 65e31f6893 Add more spacing in task type content blocks 2020-10-08 11:00:08 +02:00
Ramon Wenger 7fb61d9f05 Update spacing of various text elements 2020-10-07 15:54:40 +02:00
Ramon Wenger 16c587ea59 Clean up semicolons 2020-08-03 14:35:25 +02:00
Ramon Wenger d6772bb3db Update linter rules and fix them 2020-05-25 14:19:12 +02:00
Ramon Wenger 6d5e66c469 Remove unused code 2020-05-07 12:25:41 +02:00
Ramon Wenger dc66293684 Add interdisciplinary instrument 2020-04-08 10:50:06 +02:00
Ramon Wenger 9b2db99d0b Make bookmarks work with content list blocks 2019-10-22 14:29:58 +02:00
Ramon Wenger 1d5603ed5f Add note update mutation 2019-10-12 08:54:20 +02:00
Ramon Wenger 95bc633cfb Fix unit test 2019-10-08 19:22:12 +02:00
Ramon Wenger 5fd81a2bd6 Rename Highlight to Bookmark 2019-10-07 17:10:39 +02:00
Ramon Wenger 90598342b8 Move content block content handling to own component 2019-10-02 11:36:59 +02:00
Christian Cueni 03f418df38 Fix content list numbering 2019-09-11 14:45:31 +02:00
Ramon Wenger bddeeba74e Remove menu from user widget where not necessary 2019-09-06 15:42:13 +02:00
Christian Cueni 2c5b49a4f2 Remove comment 2019-09-05 08:52:27 +02:00
Christian Cueni 117782a337 Add continuos numbering for content lists 2019-09-05 08:31:38 +02:00
Christian Cueni a9de457e35 Add computed property for permission check 2019-08-26 14:49:05 +02:00
Ramon Wenger 6020da8598 Add action menu and delete method to objectives 2019-08-26 11:15:25 +02:00
Ramon Wenger 6d5fa1806d Enable teachers to add new objectives instead of objective groups 2019-08-22 19:01:26 +02:00
Christian Cueni 2fa006d790 Rename block, update frontend 2019-08-14 11:52:44 +02:00
Ramon Wenger 46474db70d Fix content block delete bug 2019-07-31 10:36:38 +02:00
Ramon Wenger 5ae47029a3 Hide content blocks for teachers when not in edit mode 2019-07-29 11:09:51 +02:00
Ramon Wenger fae0043138 Only display edit actions for content block when edit mode is on 2019-07-29 10:34:12 +02:00
Ramon Wenger 981302192c Fix content block bug 2019-07-29 09:40:12 +02:00
Ramon Wenger 04cfa18853 Add user widget to custom content blocks 2019-07-25 17:05:59 +02:00
Ramon Wenger d93ffe1534 Add actions for custom content blocks 2019-07-25 16:57:59 +02:00
Ramon Wenger 18b6079d26 Merged in feature/content-actions (pull request #29)
Feature/content actions

Approved-by: Christian Cueni <christian.cueni@iterativ.ch>
2019-07-25 08:15:02 +00:00
Ramon Wenger c81bcbd26b Add survey block to content block in back- and frontend 2019-07-24 14:23:27 +02:00
Ramon Wenger 824e5b9357 Remove obsolete content block action icons 2019-07-24 10:29:02 +02:00
Ramon Wenger a4cf7a0d62 Add toggle for module editing 2019-07-23 16:04:23 +02:00
Christian Cueni 81315e9848 Hide filters 2019-07-18 15:36:16 +02:00
Christian Cueni 599344e4be Augment fields in content list item 2019-07-17 11:33:20 +02:00
Christian Cueni 251c05abad Treat single content items as blocks 2019-07-16 11:45:00 +02:00
Christian Cueni 2905486c2f Remove content list in wagtail, add content list in frontend 2019-07-16 09:36:43 +02:00
Christian Cueni 8f0e0f9fe7 Hide nested content's title 2019-07-15 14:13:10 +02:00
Christian Cueni a41947e951 Add content list block component 2019-07-15 13:00:32 +02:00
Christian Cueni 2eb3fec0bb Use variables and mixins 2019-07-11 10:41:55 +02:00
Ramon Wenger 0ef9298c19 Refactor code 2019-07-11 10:41:55 +02:00
Ramon Wenger e1936a33b1 Rename constant 2019-07-11 10:41:55 +02:00
Christian Cueni 9df8ef6423 Change title markup 2019-07-11 10:41:55 +02:00
Christian Cueni ecba0d84bc Add subtitle to contentblock, style instrument widget 2019-07-11 10:41:55 +02:00
Christian Cueni 695a9a8ccb Change grayscale, add border 2019-07-11 10:41:55 +02:00
Christian Cueni 03d8ed6712 Add subtitle block, update font sizes 2019-07-11 10:41:55 +02:00
Christian Cueni d2dabd6952 Update font styles, change width 2019-07-11 10:41:55 +02:00
Ramon Wenger bad289ac3a Rename basic knowledge to instrument in frontend 2019-06-24 15:54:38 +02:00
Ramon Wenger 4f72f804c6 Add genial.ly block 2019-02-21 09:55:41 +01:00
Ramon Wenger 836dbd2bbb Add Infogram block 2019-02-18 16:59:47 +01:00
Ramon Wenger 5ce09a4e13 Add solution block to client (including cypress test) 2019-02-04 15:19:58 +01:00
Ramon Wenger 97bea4289e Add visibility popover to objective group widget 2018-10-31 15:37:46 +01:00
Ramon Wenger 40f11914fb Add bullet points 2018-10-22 20:17:17 +02:00
Christian Cueni 13a9812ba0 Merged in feature/colors (pull request #3)
Feature/colors

Approved-by: Ramon Wenger <ramon.wenger@iterativ.ch>
2018-10-17 12:34:16 +00:00
Ramon Wenger 1faa75fdba Hide visibility popover on click outside of element 2018-10-17 09:36:12 +02:00
Christian Cueni a1a75e9b3f rename types of Contentblocks, change box appearance 2018-10-15 14:10:24 +02:00
Ramon Wenger 74f25850f1 Remove debug information 2018-10-11 16:14:48 +02:00
Ramon Wenger ce86e45743 Add content block deletion mutation 2018-10-11 11:39:50 +02:00
Ramon Wenger 645c998d5c Add 'user created' property on user created content blocks 2018-10-10 10:34:30 +02:00
Ramon Wenger 8110ee359f Distinguish between default and user created content blocks in cms admin 2018-10-09 17:42:19 +02:00
Daniel Egger 9efd000aa1 Refactored from method to computed 2018-10-06 16:26:38 +02:00
Daniel Egger bd4a9fded3 Show ContentBlock actions only with the right permission 2018-10-05 14:11:00 +02:00
Ramon Wenger f4fb15e428 Refactor folder structure 2018-10-02 13:16:01 +02:00
Ramon Wenger 70c6b4329b Update assignment component naming 2018-09-27 22:40:16 +02:00
Daniel Egger b8b09b1af3 example with uploadcare 2018-09-19 16:37:27 +02:00
Ramon Wenger ef48f5afb6 Add content block edit modal
Also clean up the state store.
Also change the properties of the content block contents on the server
2018-09-19 15:40:21 +02:00
Ramon Wenger 8067ca439d Extend the content block menu 2018-09-19 14:13:57 +02:00
Ramon Wenger daddb24fcc Update styles 2018-09-13 16:24:46 +02:00
Ramon Wenger 7038721bfd Toggle visibility by class / user group 2018-09-13 15:27:22 +02:00
Ramon Wenger 639fa7665c Add document block 2018-09-12 15:05:36 +02:00
Ramon Wenger 23f282b358 Add link block 2018-09-12 14:37:28 +02:00
Ramon Wenger 4010b21cce Add video block to frontend and backend 2018-09-12 10:27:40 +02:00
Ramon Wenger 35a8184cd1 Insert new content block at correct position 2018-09-11 16:16:12 +02:00
Ramon Wenger d6316fc328 Update module query after mutation 2018-09-11 15:09:55 +02:00
Ramon Wenger 4260147f2d Add visibility button 2018-09-11 10:51:09 +02:00
Pawel Kowalski d756e29ee4 Formatting changes 2018-09-11 10:22:38 +02:00
Ramon Wenger e4c95ddfa9 Refactor component name 2018-09-05 23:15:07 +02:00
Ramon Wenger 9155b86451 Rename component to be more clear 2018-09-05 16:02:28 +02:00
Pawel Kowalski c7711989b7 Add first take on adding a new content block via interface 2018-09-05 15:09:16 +02:00