Commit 349e4f6
Merge release/26.5.2 into trunk (#25071)
* Bump version number
* Fix CMM-1065: Find existing tag before creating a new one (#25061)
* Fix CMM-1065: Find existing tag before creating a new one
The issue was introduced in
#24955.
* Replace original input with the actual tag
* Invert a boolean check of most recently used tags first (#25065)
The issue was introduced in #24955. I missed a `!` in the refactor.
* Fix an issue where the app fails to remove tags from posts (#25067)
This is a regression introduced in #24964. We should not check if values
are an empty list in the "update" parameter types.
* Move finding existing tag code (#25068)
Moving the code to the view model, so that it can cover tags and custom
taxonomy terms, which are two seperate `TagsServiceProtocol`
implementations.
* Clear the tag input field after tapping the Enter key (#25069)
We already have code that clears the text field in the `addTag`
function. However, during testing, I noticed it does not always work.
The new change here makes sure the `UITextField` is cleared, because we
are calling the UIKit directly, instead of relying on SwiftUI to pass
the `text` changes to UIKit.
* Manually bump version number
---------
Co-authored-by: Tony Li <[email protected]>1 parent fab218e commit 349e4f6
File tree
4 files changed
+24
-8
lines changed- Modules/Sources/WordPressKit
- WordPress/Classes/ViewRelated
- Post/PostSettings/Views
- Tags
- config
4 files changed
+24
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
| 353 | + | |
354 | 354 | | |
355 | 355 | | |
356 | | - | |
| 356 | + | |
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
| |||
476 | 476 | | |
477 | 477 | | |
478 | 478 | | |
479 | | - | |
| 479 | + | |
480 | 480 | | |
481 | 481 | | |
482 | | - | |
| 482 | + | |
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| 331 | + | |
| 332 | + | |
331 | 333 | | |
332 | 334 | | |
333 | 335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
163 | 177 | | |
164 | 178 | | |
165 | 179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
0 commit comments