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

Abierto
#38,654 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
68/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
typescript
Área
frontend

Línea de trabajo

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.

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

Descripción

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
Lenguaje dominante
Java
Estrellas
972
Forks
493
Merge medio
2 d 12 h
PR fusionados (30 d)
228

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

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

Todos los issues de dotCMS/core

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.