Commit d3b46bf
authored
CMM-884 support iteration over the whole flow and style (#22310)
* Adding basic UI
* Renaming
* Some styling
* Renaming and dummy data
* Using proper "new conversation icon"
* Conversation details screen
* Creating the reply bottomsheet
* Linking to the support screen
* bottomsheet fix
* Mov navigation form activity to viewmodel
* Adding create ticket screen
* More screen adjustments
* Extracting common code
* Margin fix
* detekt
* Style
* New ticket check
* Creating tests
* Creating repository and load conversations function
* Adding createConversation function
* Creating loadConversation func
* Loading conversations form the viewmodel
* Adding loading spinner
* Pull to refresh
* Proper ionitialization
* Adding empty screen
* Handling send new conversation
* Show loading when sending
* New ticket creation fix
* Using snackbar for errors
* Error handling
* Answering conversation
* Adding some test to the repository
* More tests!
* Compile fixes
* Similarities improvements
* Using snackbar in bots activity
* Extracting EmptyConversationsView
* Renaming
* Extracting VM and UI common code
* Extracting navigation common code
* Renaming VMs for clarification
* More refactor
* Capitalise text fields
* Updating rs library
* Loading conversation UX
* Style fix
* Fixing scaffolds paddings
* userID fix
* Fixing the padding problem in bot chat when the keyboard is opened
* Apply padding to create ticket screen when the keyboard is opened
* Fixing scroll state in reply bottomsheet
* Adding tests for the new common viewmodel
* Fixing AIBotSupportViewModel tests
* detekt
* Improvements int he conversation interaction
* Adding tests for HE VM
* Saving draft state
* Properly navigating when a ticket is selected
* Error parsing improvement
* accessToken suggestion improvements
* General suggestions
* Send message error UX improvement
* Fixing tests
* Converting the UI to more AndroidMaterial style
* Bots screen renaming
* Bots screens renaming
* Make NewTicket screen more Android Material theme as well
* Adding preview for EmptyConversationsView
* Button fix
* detekt
* Ticket selection change
* Supporting markdown text
* detekt
* Improving MarkdownUtils
* Formatting text in the repository layer instead the ui
* Renaming
* Fixing tests
* Parsing markdown more exhaustively
* New links support
* Detekt
* CMM-883 support Odie bot conversation pagination (#22316)
* Support pagination
* Triggering in the 4th element
* detekt
* TODO for debug purposes
* Claude PR suggestions
Mutex and constant
* Support pagination
* Triggering in the 4th element
* detekt
* TODO for debug purposes
* Claude PR suggestions
Mutex and constant
* Detekt
* Removing testing code
* CMM-894 new support general improvements (#22320)
* Put ConversationListView in common between bots and HE
* Empty and error state
* Skip site capitalization
* Adding a11c labels
* Adding headings labels
* adding accessible labels to chat bubbles
* detekt
* Fixing tests
* PR suggestion about bot chat bubble
* Fixing tests
* Fixing TalkBack duplication1 parent 1bc9cde commit d3b46bf
File tree
33 files changed
+2063
-835
lines changed- WordPress
- src
- main
- java/org/wordpress/android
- support
- aibot
- model
- repository
- ui
- util
- common/ui
- he
- model
- repository
- ui
- util
- logs/ui
- main/ui
- ui/compose/utils
- res/values
- test/java/org/wordpress/android
- support
- aibot
- repository
- ui
- common/ui
- he
- repository
- ui
- ui/compose/utils
- gradle
33 files changed
+2063
-835
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
| 377 | + | |
377 | 378 | | |
378 | 379 | | |
379 | 380 | | |
| |||
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | | - | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| |||
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
69 | | - | |
| 72 | + | |
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
74 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
75 | 81 | | |
76 | 82 | | |
77 | 83 | | |
| |||
157 | 163 | | |
158 | 164 | | |
159 | 165 | | |
160 | | - | |
161 | | - | |
| 166 | + | |
| 167 | + | |
162 | 168 | | |
163 | 169 | | |
164 | 170 | | |
165 | 171 | | |
166 | 172 | | |
167 | 173 | | |
168 | | - | |
| 174 | + | |
| 175 | + | |
169 | 176 | | |
170 | 177 | | |
171 | 178 | | |
| |||
Lines changed: 107 additions & 39 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| 33 | + | |
| 34 | + | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
38 | | - | |
39 | 42 | | |
40 | | - | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
| 46 | + | |
43 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
44 | 52 | | |
45 | 53 | | |
| 54 | + | |
46 | 55 | | |
47 | 56 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | 57 | | |
55 | | - | |
56 | | - | |
57 | 58 | | |
58 | 59 | | |
| 60 | + | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
| 64 | + | |
| 65 | + | |
61 | 66 | | |
62 | 67 | | |
63 | 68 | | |
64 | 69 | | |
65 | 70 | | |
66 | 71 | | |
67 | 72 | | |
| 73 | + | |
| 74 | + | |
68 | 75 | | |
69 | 76 | | |
70 | 77 | | |
71 | | - | |
| 78 | + | |
| 79 | + | |
72 | 80 | | |
73 | 81 | | |
74 | 82 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
85 | 92 | | |
86 | 93 | | |
87 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
88 | 107 | | |
89 | 108 | | |
90 | 109 | | |
| |||
128 | 147 | | |
129 | 148 | | |
130 | 149 | | |
131 | | - | |
132 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
133 | 169 | | |
134 | 170 | | |
135 | 171 | | |
| |||
163 | 199 | | |
164 | 200 | | |
165 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
166 | 206 | | |
167 | 207 | | |
168 | 208 | | |
169 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
170 | 213 | | |
171 | 214 | | |
172 | 215 | | |
| |||
188 | 231 | | |
189 | 232 | | |
190 | 233 | | |
191 | | - | |
| 234 | + | |
| 235 | + | |
192 | 236 | | |
193 | 237 | | |
194 | 238 | | |
| |||
209 | 253 | | |
210 | 254 | | |
211 | 255 | | |
| 256 | + | |
212 | 257 | | |
213 | 258 | | |
214 | 259 | | |
| |||
221 | 266 | | |
222 | 267 | | |
223 | 268 | | |
224 | | - | |
225 | | - | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
226 | 273 | | |
227 | 274 | | |
228 | 275 | | |
| |||
246 | 293 | | |
247 | 294 | | |
248 | 295 | | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
249 | 300 | | |
250 | 301 | | |
251 | 302 | | |
| |||
271 | 322 | | |
272 | 323 | | |
273 | 324 | | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
274 | 328 | | |
275 | 329 | | |
276 | 330 | | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
284 | 339 | | |
285 | 340 | | |
286 | 341 | | |
287 | 342 | | |
288 | 343 | | |
289 | | - | |
| 344 | + | |
290 | 345 | | |
291 | 346 | | |
292 | 347 | | |
| |||
317 | 372 | | |
318 | 373 | | |
319 | 374 | | |
| 375 | + | |
320 | 376 | | |
321 | 377 | | |
322 | 378 | | |
| |||
368 | 424 | | |
369 | 425 | | |
370 | 426 | | |
| 427 | + | |
| 428 | + | |
371 | 429 | | |
372 | 430 | | |
373 | | - | |
| 431 | + | |
| 432 | + | |
374 | 433 | | |
375 | 434 | | |
376 | 435 | | |
| |||
388 | 447 | | |
389 | 448 | | |
390 | 449 | | |
| 450 | + | |
| 451 | + | |
391 | 452 | | |
392 | 453 | | |
393 | | - | |
| 454 | + | |
| 455 | + | |
394 | 456 | | |
395 | 457 | | |
396 | 458 | | |
| |||
408 | 470 | | |
409 | 471 | | |
410 | 472 | | |
| 473 | + | |
| 474 | + | |
411 | 475 | | |
412 | 476 | | |
413 | | - | |
| 477 | + | |
| 478 | + | |
414 | 479 | | |
415 | 480 | | |
416 | 481 | | |
| |||
428 | 493 | | |
429 | 494 | | |
430 | 495 | | |
| 496 | + | |
| 497 | + | |
431 | 498 | | |
432 | 499 | | |
433 | | - | |
| 500 | + | |
| 501 | + | |
434 | 502 | | |
435 | 503 | | |
436 | 504 | | |
0 commit comments