Commit 68c2e58
v3.0.2: Survey editor, specific source pills, rating scale labels
Survey question editor:
- New admin page (survey_admin.php) for editing survey questions
- Supports global default and per-course survey overrides
- Add, edit, delete, reorder questions via drag or arrow buttons
- Question types: multiple choice (with options editor), open text, rating scale
- Rating scale supports min/max labels (e.g. "Not at all" / "Very happy")
- Live preview button shows how students will see the survey
- Course scope selector to switch between global and per-course surveys
- Reset to defaults / remove course override actions
- Registered in Moodle admin menu, linked from plugin settings
Rating question fix:
- Question 5 now reads "(1 = not at all, 5 = very happy)"
- Rating UI shows min/max text labels next to the number buttons
- DB migration updates existing surveys with scale labels
Specific source attribution:
- Source pills show activity name instead of generic "From: Course Materials"
- AI cites specific activities using cmid from course structure
- SSE meta event includes modules map for URL/title lookup
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 5a92837 commit 68c2e58
File tree
8 files changed
+665
-7
lines changed- amd
- build
- src
- classes
- db
8 files changed
+665
-7
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4160 | 4160 | | |
4161 | 4161 | | |
4162 | 4162 | | |
| 4163 | + | |
4163 | 4164 | | |
4164 | 4165 | | |
4165 | 4166 | | |
4166 | 4167 | | |
| 4168 | + | |
| 4169 | + | |
| 4170 | + | |
| 4171 | + | |
| 4172 | + | |
| 4173 | + | |
4167 | 4174 | | |
4168 | 4175 | | |
4169 | 4176 | | |
| |||
4185 | 4192 | | |
4186 | 4193 | | |
4187 | 4194 | | |
4188 | | - | |
| 4195 | + | |
| 4196 | + | |
| 4197 | + | |
| 4198 | + | |
| 4199 | + | |
| 4200 | + | |
| 4201 | + | |
| 4202 | + | |
4189 | 4203 | | |
4190 | 4204 | | |
4191 | 4205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
302 | 328 | | |
303 | 329 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
678 | | - | |
| 678 | + | |
| 679 | + | |
679 | 680 | | |
680 | 681 | | |
681 | 682 | | |
| |||
716 | 717 | | |
717 | 718 | | |
718 | 719 | | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
719 | 728 | | |
720 | 729 | | |
721 | 730 | | |
| |||
0 commit comments