Overhaul the Edit History

Aperta
#6,482 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Refactoring
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
php
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
PHP
Stelle
248
Fork
147
Merge medio
17m
PR unite (30g)
21

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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.

Altre issue di WoltLab/WCF

Tutte le issue di WoltLab/WCF

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.