Overhaul the Edit History

Abierto
#6,482 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
20/100
Tipo de issue
Refactorización
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
php
Área
backend

Línea de trabajo

Start by locating the message edit history that uses the diff library and the separate history for pages or boxes; the issue names neither files nor tests. Read both implementations and the upload pipeline’s IFileProcessor approach to understand the proposed flexibility. Done means one shared edit history supports text comparisons and additional tracked properties.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

The edit history is another component that works in principle but is currently segmented into two different implementations with different feature sets. We did overhaul the regular text based comparison with a superior diff library but this is used exclusively with messages because it doesn’t support anything else.

Then there is the second kind of edit history that is used for things like pages or boxes that is able to track additional properties but is implemented as a standalone solution instead of being an extension of the first one.

The only solution is to create a new edit history that incorporates the features from both implementations so that we end up with one shared component that offers some degree of flexibility. We may be able to apply the principles from the upload pipeline which handles opt-in features through the IFileProcessor implementations.

Lenguaje dominante
PHP
Estrellas
248
Forks
147
Merge medio
17 min
PR fusionados (30 d)
21

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de WoltLab/WCF

Todos los issues de WoltLab/WCF

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.