Commit 4657f22
authored
PLU-343 [FIND-SINGLE-ROW-3]: show tooltips for variables, show formsg attachment (#954)
### Problem
- Certain variable types can be confusing to users, e.g. users may not know what Row ID can be used for
- FormSG attachments not showing in output results, users may think that they're not processed
### Solution
Add a tag to variables with a explanation tooltip. Also, show all variable types (including files) in output.
- Added a new `VariableTag` component that displays tags for specific variable types (array, file, tile_row_id)
- Each tag includes a tooltip explaining the variable's purpose
- Remove filtering by variable type in TestSubstep output.


### How to test?
a. Test that FormSG show attachment results in test results
b. Test that variables has the appropriate Variable Tag (e.g. attachment, tile row ID, etc.)1 parent 6646c77 commit 4657f22
2 files changed
+78
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 26 | + | |
31 | 27 | | |
32 | 28 | | |
33 | 29 | | |
| |||
118 | 114 | | |
119 | 115 | | |
120 | 116 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
| 117 | + | |
128 | 118 | | |
129 | 119 | | |
130 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
4 | 57 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
9 | 65 | | |
10 | 66 | | |
11 | 67 | | |
| |||
37 | 93 | | |
38 | 94 | | |
39 | 95 | | |
40 | | - | |
41 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
42 | 104 | | |
43 | 105 | | |
44 | 106 | | |
| |||
66 | 128 | | |
67 | 129 | | |
68 | 130 | | |
69 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
70 | 138 | | |
71 | 139 | | |
72 | 140 | | |
0 commit comments