image inventory analysis for docs.temporal.io on screenshot drift

Abierto
#5,817 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
go, javascript

Línea de trabajo

This is a multi-part audit, so pick one of the eight mismatched images to start, such as cloud/billing/billing-card.png, and open the page that links to it to compare the alt text and the image. Items that need live Cloud or Web UI access or a running Nexus setup are not beginner-friendly. Done means the chosen image and its alt text or caption agree, and the docs site still builds.

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

Descripción

Temporal Affiliation
  • I am a Temporal employee
Page URL

docs.temporal.io

Content Issue

Ran an inventory analysis of every image in the docs repo to find out how many UI screenshots are out of date and whether each image still matches the text around it.

Additional info

Used a script to list all 293 image files under static/ and docs/, find which pages use each one, and check when each file last changed in git. It opens the 138 screenshots and other non-diagram images one by one and compares them with the current Web UI (2.56.4) and with the text around them. Sorted diagrams and site icons by folder without opening them.

What I found

  • 46 of the images are screenshots of the Cloud UI or the Web UI. Only 2 are current and 24 are out of date or very likely out of date. The other 20 are zoomed in on a single form or menu, with no dates or surrounding page, so I couldn't tell how old they are without checking them against the live UI.
  • 8 images don't match what the page says about them, and that's true regardless of how old they are.
  • 5 images aren't used anywhere anymore. Each one was left behind when the content around it was removed.
  • Web UI screenshots can be retaken with a script. I tested it on webui/stripped_workflow_types_in_webui.png, and it produced light and dark versions without any manual work.

Images that don't match the page

Note: Many of these are small nits and fixes.

  • cloud/billing/billing-card.png: the alt text (read by screen readers) says the bill is $0.00, but the image shows $42.88.
    Link: Billing
  • encyclopedia/architecture/temporal-clients-and-server.png: the alt text says the Clients connect to the Server, but the image doesn't show a connection.
    Link: How Temporal works
  • cloud/provisioned-capacity/manage_capacity_panel.png: the paragraph above the image says the panel shows APS usage over the last one day, but the panel says "APS Usage (Last 7 Days)".
    Link: Capacity modes
  • cloud/nexus/nexus-callback.png: the caption says Pending Callbacks, but the callback in the image already succeeded.
    Link: Nexus execution debugging
  • cloud/tags/CreateNamespace-AddedTag.png: the caption says the tag has been added, but it's still being typed in.
    Link: Namespaces
  • info/retry-interval-diagram.png: the formula is missing Maximum Interval, which the page includes.
    Link: Retry Policies
  • guides/assets/recover-without-restart/keep-business-moving-list-view.png: the alt text near the top of the page describes things the image doesn't show.
    Link: Recover without restart

Next steps

  • Fix the eight images above.
  • Retake info/data-encoder-button.png and guides/assets/recover-without-restart/keep-business-moving-event-history.png from a local dev server, and swap in the new version of webui/stripped_workflow_types_in_webui.png from the test.
  • Retake the five Nexus screenshots in cloud/nexus/. These need actual Nexus calls happening, which the CLI can't do by itself, so I'll need a small program that sets up the Namespaces and Endpoint and runs a few Workflows. The Go Nexus sample in temporalio/samples-go should cover most of it.
  • Check the 20 undated Cloud screenshots against the live Cloud UI, starting with the two on the Cloud limits page (cloud-guide/edit-namespace-option.png and cloud-guide/edit-retention-period.png) and determine an automated process for this.
  • Look into adding a file to the repo that lists each UI screenshot, what it should show, where it's used, and how to retake it, plus a PR check that catches screenshots that fall out of sync with their page.
  • Delete the five unused images once I've confirmed nothing outside the repo still uses them:
    • static/img/standalone-activities-ui-nav.png
    • static/img/cloud/apikeys/namespaces-and-regional-endpoints.png
    • static/img/cloud/metrics/service-account-with-metrics-role.png
    • static/img/cloud/prometheus/add-prometheus-api-endpoint.png
    • docs/guides/assets/recover-without-restart/keep-business-moving-cover.png
Lenguaje dominante
JavaScript
Estrellas
177
Forks
339
Merge medio
2 d 8 h
PR fusionados (30 d)
194

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

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 temporalio/documentation

Todos los issues de temporalio/documentation

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.