wordpress-mobile / wordpress-mobile/AztecEditor-iOS

Lists: When changing list style for one list item, change the style for the whole list

Aperta
#730 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

[Type] Bug
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:

  1. Create a list in one style (e.g. unordered).
  2. Select part of the list, such as a single list item.
  3. 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
  1. Create an unordered list with multiple items.
  2. Select one item in the list.
  3. 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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. 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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.