Commit 502e580
authored
feat(analysis): introduce optional clear button DEV-1194 (#6445)
### 📣 Summary
Modern implementations of radio components don't allow de-selection.
After updating the select one question type in the qualitative analysis
section to mantine, we lost this functionality. To ensure the ability to
de-select select one questions, they will appear with a "clear" button
next to the "delete" button
### Notes
Prerequisite for DEV-1169
### 👀 Preview steps
1. ℹ️ have an account and a project with NLP questions and submissions
2. go to qualitative analysis
3. add a select-one question type
4. 🔴 [on main] notice that there is no clear button
5. 🟢 [on PR] notice the clear button exists and works1 parent 7f3a0c7 commit 502e580
File tree
3 files changed
+10
-2
lines changed- jsapp/js
- components/processing/analysis/responseForms
- theme/kobo
3 files changed
+10
-2
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
136 | 138 | | |
137 | 139 | | |
138 | 140 | | |
139 | | - | |
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
| |||
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| 153 | + | |
| 154 | + | |
152 | 155 | | |
153 | 156 | | |
154 | 157 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| |||
0 commit comments