Commit 97c8adf
authored
CMM-886 logs sharing fix and send to he ticket (#22337)
* 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
* Support pagination
* Triggering in the 4th element
* detekt
* TODO for debug purposes
* Claude PR suggestions
Mutex and constant
* 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
* Updating rust
* Adding attachments UI
* Parsing markdown more exhaustively
* New links support
* Detekt
* Supporting in conversation as well
* Keeping the screen when select images
* Add attachments to the message data class
* Showing attachments in the UI
* Downloading attachments
* detekt
* Support pagination
* Triggering in the 4th element
* detekt
* TODO for debug purposes
* Claude PR suggestions
Mutex and constant
* Detekt
* Removing testing code
* Updating RS library version
* Opening images in fullscreen
* Improving full screen image UX
* Improving semantics
* Extracting strings
* Using rs PR fix
* Showing attachment preview
* Clearing attachments on new ticket screen close
* Removing selected images limit
* Unifying attachments handling inside the VM
* Using a launcher instead of startActivityForResult
* Remove unused parameter
* Handling temp files inside the VM
* Removing files
* detekt
* Throwing copy file error
* Extracting some individual composables from HEConversation screen file
* Reducing arguments
* Catch file creation error
* Using proper file extension
* General improvements
* Update RS version and some fixes
* Extracting temp attachment utils
* Adding new tests
* Some refactoring
* Removing attachments preview to open a dedicated PR
* Useless changes
* Useless changes
* Minor refactor
* Showing attachments previews
* Typo
* String fix
* Fixing pan issue
* Passing attachments directly instead of searching for then when tapped for full screen
* Compile fix
* Uploading logs
* Uploading logs in the current way
* Linking UI with the new logs upload methods
* Detekt
* Including logs in new conversations
* updating wp-rs
* Using LogFiles for logs entries
* Uploading all files
* Sharing the whole file
* Fixing tests
* detekt
* Test fix
* Some small fixes
* Renaming and logging
* Clearing temp folder oncleared
* detekt
* typo
* Test compile fix
* test fix1 parent 59dcc08 commit 97c8adf
File tree
14 files changed
+594
-398
lines changed- WordPress/src
- main
- java/org/wordpress/android/support
- he
- repository
- ui
- logs
- model
- ui
- res/xml
- test/java/org/wordpress/android/support
- he
- repository
- ui
- logs/ui
14 files changed
+594
-398
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| |||
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| 110 | + | |
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| |||
138 | 140 | | |
139 | 141 | | |
140 | 142 | | |
141 | | - | |
| 143 | + | |
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
| |||
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
113 | | - | |
| 114 | + | |
114 | 115 | | |
| 116 | + | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| |||
143 | 145 | | |
144 | 146 | | |
145 | 147 | | |
146 | | - | |
| 148 | + | |
147 | 149 | | |
148 | 150 | | |
149 | 151 | | |
| |||
465 | 467 | | |
466 | 468 | | |
467 | 469 | | |
468 | | - | |
| 470 | + | |
469 | 471 | | |
470 | 472 | | |
471 | 473 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
195 | 196 | | |
196 | 197 | | |
197 | 198 | | |
| |||
240 | 241 | | |
241 | 242 | | |
242 | 243 | | |
243 | | - | |
| 244 | + | |
244 | 245 | | |
245 | 246 | | |
246 | 247 | | |
247 | 248 | | |
| 249 | + | |
248 | 250 | | |
249 | 251 | | |
250 | 252 | | |
| |||
Lines changed: 45 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
76 | 80 | | |
77 | 81 | | |
78 | 82 | | |
| 83 | + | |
79 | 84 | | |
80 | 85 | | |
81 | 86 | | |
| |||
86 | 91 | | |
87 | 92 | | |
88 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
89 | 100 | | |
90 | | - | |
| 101 | + | |
91 | 102 | | |
92 | 103 | | |
93 | 104 | | |
94 | 105 | | |
95 | 106 | | |
96 | | - | |
| 107 | + | |
| 108 | + | |
97 | 109 | | |
98 | 110 | | |
99 | 111 | | |
| |||
115 | 127 | | |
116 | 128 | | |
117 | 129 | | |
118 | | - | |
| 130 | + | |
119 | 131 | | |
120 | 132 | | |
121 | 133 | | |
| |||
127 | 139 | | |
128 | 140 | | |
129 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
130 | 163 | | |
131 | 164 | | |
132 | 165 | | |
133 | 166 | | |
134 | | - | |
| 167 | + | |
135 | 168 | | |
136 | 169 | | |
137 | 170 | | |
| |||
147 | 180 | | |
148 | 181 | | |
149 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
150 | 188 | | |
151 | | - | |
| 189 | + | |
152 | 190 | | |
153 | 191 | | |
154 | 192 | | |
155 | 193 | | |
156 | | - | |
| 194 | + | |
157 | 195 | | |
158 | 196 | | |
159 | 197 | | |
| |||
175 | 213 | | |
176 | 214 | | |
177 | 215 | | |
178 | | - | |
| 216 | + | |
179 | 217 | | |
180 | 218 | | |
181 | 219 | | |
| |||
Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
Lines changed: 27 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | | - | |
| 29 | + | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
38 | | - | |
| 37 | + | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | | - | |
| 44 | + | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| |||
77 | 76 | | |
78 | 77 | | |
79 | 78 | | |
| 79 | + | |
80 | 80 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | 101 | | |
108 | | - | |
| 102 | + | |
109 | 103 | | |
110 | 104 | | |
111 | 105 | | |
| |||
119 | 113 | | |
120 | 114 | | |
121 | 115 | | |
122 | | - | |
| 116 | + | |
| 117 | + | |
123 | 118 | | |
124 | 119 | | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
130 | 126 | | |
131 | 127 | | |
132 | 128 | | |
| |||
137 | 133 | | |
138 | 134 | | |
139 | 135 | | |
140 | | - | |
| 136 | + | |
| 137 | + | |
141 | 138 | | |
142 | 139 | | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
148 | 146 | | |
149 | 147 | | |
150 | 148 | | |
151 | 149 | | |
152 | 150 | | |
153 | 151 | | |
154 | 152 | | |
155 | | - | |
| 153 | + | |
156 | 154 | | |
157 | 155 | | |
158 | 156 | | |
| |||
0 commit comments