wordpress-mobile / wordpress-mobile/AztecEditor-iOS
Lists: When changing list style for one list item, change the style for the whole list
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Swift
- Sterne
- 669
- Forks
- 153
- Ø Merge
- 11 Std. 27 Min.
- Gemergte PRs (30 T.)
- 4
Beschreibung
Expected behavior
I expect that I should be able to change a list style with these steps:
- Create a list in one style (e.g. unordered).
- Select part of the list, such as a single list item.
- Select a new list style (e.g. ordered).
I expect that this will change the entire list style, not just the style for the selected list item. This is how it works in Aztec for Android, Calypso, and (for comparison) Google Docs.
Actual behavior
When I select a single list item and select a new style, it only change the style for the selected list item.
Steps to reproduce the behavior
- Create an unordered list with multiple items.
- Select one item in the list.
- Select the ordered list button.
Result: The selected list item becomes ordered, but the rest of the list remains unordered.
Tested on iPhone 6, iOS 11.0, WPiOS 8.4.0.20170918
Different behavior discovered in automated UI tests for lists in iOS & Android
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, das Problem mit einer ungeordneten Liste, einem einzelnen ausgewählten Element und der Schaltfläche für geordnete Listen unter iOS zu reproduzieren. Vergleiche das Ergebnis mit dem erwarteten Verhalten: Das Ändern eines ausgewählten Elements sollte den Stil der gesamten Liste ändern, und die vorhandenen automatisierten UI-Tests für Listen sollten das vollständige Verhalten abdecken.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- swift
- Bereich
- mobile
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 48/100