wordpress-mobile / wordpress-mobile/AztecEditor-iOS
Lists: When changing list style for one list item, change the style for the whole list
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Swift
- Estrellas
- 669
- Forks
- 153
- Merge medio
- 11 h 27 min
- PR fusionados (30 d)
- 4
Descripción
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
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Empieza reproduciendo el problema con una lista no ordenada, un único elemento seleccionado y el botón de lista ordenada en iOS. Compara el resultado con el comportamiento esperado: cambiar un elemento seleccionado debería cambiar el estilo de toda la lista, y las pruebas de UI automatizadas existentes para listas deberían cubrir el comportamiento completo.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- swift
- Área
- mobile
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 48/100