[ENHANCEMENT] Show message timestamps on hover with elapsed time
Los mantenedores suelen responder en 3 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- react, typescript
- Área
- frontend
Línea de trabajo
Start in webview-ui/src/components/chat/MessageTimestamp.tsx and see how it is rendered from webview-ui/src/components/chat/ChatRow.tsx, reusing the formatter in webview-ui/src/utils/format.ts from PR #2223 without adding a new one. Confirm that PR #2223 is merged in your checkout before you start. Done means the timestamp is hidden by default, appears when hovering the whole message area, shows the elapsed time before the middle dot, and keeps the existing clock icon and formatting.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem (one or two sentences)
Requested change
Preserve the timestamp display introduced in [PR #2223 — Add time and date format settings and message timestamps](https://github.com/Zoo-Code-Org/Zoo-Code/pull/2223).
Only change the timestamp's visibility and positioning, and prepend relative elapsed time.
[existing clock icon] [elapsed time] · [timestamp text from PR #2223]
Context (who is affected and when)
All users
Desired behavior (conceptual, not technical)
- Hide timestamps by default.
- Reveal the timestamp when hovering anywhere within the entire message section, including surrounding whitespace.
- Position the timestamp below the message, right-aligned.
- Preserve the existing clock icon, placed at the beginning.
- Add relative elapsed time, followed by
·. - Preserve the date/time formatting behavior established in PR #2223, including labels, abbreviations, punctuation, AM/PM notation, localization, user preferences, and formatting thresholds.
- Avoid layout shifts.
- Maintain keyboard and touch accessibility.
Constraints / preferences (optional)
Display structure:
[existing clock icon] [elapsed time] · [timestamp text from PR #2223]
The date/time portion after the middle dot must reuse the formatted text from the implementation introduced by PR #2223, unchanged.
Implementation references
- [PR #2223 — Timestamp implementation](https://github.com/Zoo-Code-Org/Zoo-Code/pull/2223)
webview-ui/src/components/chat/MessageTimestamp.tsxwebview-ui/src/components/chat/ChatRow.tsxwebview-ui/src/utils/format.ts
Reuse the date/time rendering logic from PR #2223 rather than introducing a separate formatter.
Request checklist
- I searched the existing Issues and Discussions for duplicates
- This describes a specific problem with clear context and impact
Zoo Code Task Links (optional)
No response
Acceptance criteria (optional)
- Timestamp appears when hovering anywhere within the message section.
- Timestamp is right-aligned below the message.
- Existing clock icon is preserved.
- Relative elapsed time precedes a middle dot.
- The date/time string is rendered using the formatting behavior introduced by PR #2223.
- No layout shifts or accessibility regressions.
Proposed approach (optional)
No response
Trade-offs / risks (optional)
No response
- Lenguaje dominante
- TypeScript
- Estrellas
- 2k
- Forks
- 301
- Merge medio
- 3 d 14 h
- PR fusionados (30 d)
- 103
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Zoo-Code-Org/Zoo-Code
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Zoo-Code-Org/Zoo-Code#2773 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Zoo-Code-Org/Zoo-Code#2717 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Zoo-Code-Org/Zoo-Code#2515 ·
Los mantenedores suelen responder en 3 días
-
fix(scripts): stryker-diff.mjs spawns the extensionless .bin shim and cannot run on WindowsPosiblemente ocupada @easonLiangWorldedtech la tomó hace 15 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Zoo-Code-Org/Zoo-Code#2514 ·
Los mantenedores suelen responder en 3 días
-
[BUG] search_files hides matching text on long linesPosiblemente ocupada @DananjayaNadun la tomó hace 9 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Zoo-Code-Org/Zoo-Code#2496 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 3 días
Todos los issues de Zoo-Code-Org/Zoo-Code
Issues similares
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
EPPIcenter/sampledb3#162 ·
-
Particle-1 modelAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
tashfeenahmed/freellmapi#2169 ·
Los mantenedores suelen responder en 1 día
-
via-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 1 día
-
🎙️ task - feat(mechanic): pave git.pull.close, a close of a superseded pull with its why on recordAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ehmpathy/rhachet-roles-ehmpathy#1576 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
vercel-labs/ui#1563 ·
Los mantenedores suelen responder en 1 día