New Edit Content: History timeline lists the draft out of order and compare navigation between versions breaks

Đang mở
#38,654 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 2 ngày

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
frontend

Hướng nghiên cứu

Start in core-web/libs/edit-content/src/lib/components/dot-edit-content-sidebar/components/dot-edit-content-sidebar-history/ and read store/features/history/history.feature.ts to trace timeline ordering and version selection in compare mode. Add or update the spec for the timeline order, then verify that choosing another version updates the comparison and each history item shows its date and time. The issue’s acceptance criteria define the expected behavior.

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

Mô tả

dotCMS: New Edit Contentlet Team : Scout Type : Defect
Problem Statement

Two behaviour reports on the History tab, from design review in October 2026 and from Professional Services in June and July 2026:

  1. The timeline does not put the current draft first; the order mixes draft, live and older versions so the author has to read dates to find the working copy.
  2. In compare mode, moving from one compared version to the next does not update the comparison; the author has to close and reopen compare for each pair.
Steps to Reproduce
  1. Open a contentlet with a live version and a newer draft in the new editor; open History.
  2. Observe the first item in the timeline.
  3. Open Compare on an older version, then pick a different version while compare is open.

Expected: the draft is the first item; compare follows the newly selected version. Actual: draft is not first; compare shows the previous pair.

Acceptance Criteria
  • Timeline order: draft first, then live, then older versions by date descending; the order is covered by a spec.
  • Selecting another version while compare is open updates the comparison.
  • Each item shows date and time, consistent with the existing History cards.
dotCMS Version

main (2026-11-18)

Severity

Minor

Links
  • #38634 pillar; #38033 redesign (fold this into the redesign PR if it ships first)
  • Code: core-web/libs/edit-content/src/lib/components/dot-edit-content-sidebar/components/dot-edit-content-sidebar-history/, store/features/history/history.feature.ts
Ngôn ngữ chính
Java
Star
972
Fork
493
Merge trung bình
2 ngày 12 giờ
Pull request đã merge (30 ngày)
228

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

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 dotCMS/core

Tất cả issue của dotCMS/core

Issue tương tự

Thêm issue về Java

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.