Overhaul the Edit History

Đang mở
#6,482 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
20/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
php
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
PHP
Star
248
Fork
147
Merge trung bình
17 phút
Pull request đã merge (30 ngày)
21

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của WoltLab/WCF

Tất cả issue của WoltLab/WCF

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.