Rewind in debug controls
- Lenguaje dominante
- Haskell
- Estrellas
- 1.3k
- Forks
- 201
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Currently, the speed options for debug mode go from 0x (paused) to 5x. It would be nice to have a rewind option, as well.
The implementation would be trivial for animations, where you just want to subtract from the current time every frame. For non-debug simulations, this is impossible anyway, so the slider should only go to zero.
Debugged simulations and interactions are the hard case. We know the past states, but we don't know their times. If we did know the times, this would be doable, but complex. (The new debug state type would have to contain two lists of paired state-and-timestamp, and a current timestamp: `([(a, Double)], [(a, Double)], Double)` This also opens the question of whether you want the history slider scaled by frame, or by time.
Guía de contribución
Línea de trabajo
El issue no menciona archivos ni pruebas. Empieza rastreando el control deslizante de velocidad del modo de depuración y el tipo de estado de depuración, y después compara el manejo de las animaciones con las simulaciones depuradas. Antes de la implementación, determina si el historial se escala por fotograma o por marca de tiempo y define el comportamiento de rebobinado; se considerará terminado cuando el diseño elegido funcione para los controles de depuración indicados.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- haskell
- Área
- devtools
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100