wordpress-mobile / wordpress-mobile/AztecEditor-iOS
Lists: When changing list style for one list item, change the style for the whole list
Nessuno ha ancora preso questa issue.
- Lingua principale
- Swift
- Stelle
- 669
- Fork
- 153
- Merge medio
- 11h 27m
- PR unite (30g)
- 4
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo il problema con un elenco non ordinato, un singolo elemento selezionato e il pulsante per l'elenco ordinato su iOS. Confronta il risultato con il comportamento previsto: la modifica di un elemento selezionato dovrebbe modificare lo stile dell'intero elenco e gli attuali test UI automatizzati per gli elenchi dovrebbero coprire il comportamento completo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- swift
- Ambito
- mobile
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 48/100