Rediseña el simulador de ritmos cardiacos con una experiencia moderna y más usable - #1
Rediseña el simulador de ritmos cardiacos con una experiencia moderna y más usable#1fastreds wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: acefbd25ce
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "spo2-value": "0", | ||
| "capno-value": "0", | ||
| "hr-value": "0", | ||
| "fr-value": "0", |
There was a problem hiding this comment.
Avoid reporting RR=0 when stage data omits respiratory rate
actualizarCaso() now forwards etapa.fr into updateParameters, but the current case dataset does not define fr fields, so this fallback makes the monitor display 0 rpm by default in most stages. That value represents apnea, so this introduces clinically incorrect telemetry and can drive wrong training decisions; keep RR as an unknown placeholder (for example --) unless a stage explicitly provides fr.
Useful? React with 👍 / 👎.
Motivation
Description
style.csscon variables de diseño, sistema de tarjetas, chips de estado, modales accesibles y layout responsive para monitor y portada.monitor.htmlpara incluir unatop-barmás clara,status-strip(Estado/Caso/Etapa/Ritmo), modal de ayuda y modal EKG consistente, además de mejoras ARIA en el historial.index.htmlpara una portada moderna conhero,uspy tarjetas de navegación más legibles.script.jspara sincronizar el resumen superior (updateTopSummary), corregir la clave del historial ahistory-content, añadir soporte de atajos de teclado (I,A/Space,F,R), robustecerupdateParametersy mantener comportamiento de iniciar/avanzar/finalizar casos.Testing
node --check script.jsynode --check server.js, ambos pasaron sin errores.node server.jsy quedó accesible para validación visual local (servidor levantado correctamente).Codex Task