Commit 9a96341
committed
Add
Sometimes, you want to easily read the submission instead of the diff
with the previous submission. Unfortunately, Monaco cannot easily switch
between a diff editor and a normal editor (see
microsoft/monaco-editor#1881). We mimic the
normal editor behaviour instead.
Store the current diff mode instead of the side-by-side boolean in local
storage. The latest release did not yet include the storage variable, so
no migration is added.no-diff mode to diff viewer.1 parent 9138d68 commit 9a96341
File tree
3 files changed
+48
-25
lines changed- webapp
- public/js
- src/Twig
- templates/jury/partials
3 files changed
+48
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | | - | |
130 | | - | |
131 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
175 | 180 | | |
176 | 181 | | |
177 | 182 | | |
| |||
955 | 960 | | |
956 | 961 | | |
957 | 962 | | |
958 | | - | |
959 | | - | |
960 | | - | |
961 | | - | |
962 | | - | |
963 | | - | |
964 | | - | |
965 | | - | |
966 | | - | |
967 | | - | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
968 | 967 | | |
969 | 968 | | |
970 | 969 | | |
| |||
976 | 975 | | |
977 | 976 | | |
978 | 977 | | |
979 | | - | |
980 | 978 | | |
981 | 979 | | |
982 | | - | |
983 | | - | |
984 | | - | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
985 | 1007 | | |
| 1008 | + | |
986 | 1009 | | |
987 | 1010 | | |
988 | 1011 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
0 commit comments