-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(IN): mapa-camas, visualizar camas agrupadas por sector #2145
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cambiar el título del PR por uno más descriptivo.
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
verListadoRecursos() { | ||
this.listadoRecursos = this.listadoRecursos ? false : true; | ||
|
||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
verListadoRecursos() { | |
this.listadoRecursos = this.listadoRecursos ? false : true; | |
} | |
verListadoRecursos() { | |
this.listadoRecursos = !this.listadoRecursos; | |
} | |
Sugerencia: un nombre más apropiado para esta función podría ser toggleListadoRecursos
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
O quizás se pueda cambiar el valor en el template, ya que no se realiza otra acción además de esta.
|
||
|
||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@plammel corregido
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
El botón que switchea entre 'Listado de camas' y 'Listado de recursos' impacta directamente (y exclusivamente) sobre el listado. Quizás la ubicación de este botón sería más adecuada al nivel del <plex-title>
del listado.
El botón que switchea entre 'Listado de camas' y 'Listado de recursos' impacta directamente (y exclusivamente) sobre el listado. Quizás la ubicación de este botón sería más adecuada al nivel del @JSantarelli corregido |
b3278eb
to
f63d5c3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Falta que la cama quede como seleccionada.
Primera review
<plex-accordion *ngFor="let sector of sectore$| async "> | ||
<plex-panel> | ||
<div plex-accordion-title justify> | ||
<section class="w-50"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quitar este
return arreglo.map(sector => { | ||
|
||
return { | ||
nombre: sector.sectorName.split(',').reverse().join(','), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nombre: sector.sectorName.split(',').reverse().join(','), | |
nombre: sector.sectorName.split(',').reverse().join(', '), |
const arreglo = []; | ||
snapshots = snapshots.filter(snap => snap.estado !== 'inactiva'); | ||
snapshots.map(c => { | ||
if (!(arreglo.length > 0)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Esta condición no tiene sentido, con el find es mas que suficiente.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@liquid36 corregido
</plex-label> | ||
</section> | ||
</div> | ||
<plex-grid size="md" type="full"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<plex-grid size="md" type="full"> | |
<plex-grid size="md" cols="3"> |
Esta @JSantarelli pero todo en una misma linea. |
Ah perfecto @liquid36, entonces el pedido sería desacoplar de allí esa info. |
<plex-panel> | ||
<div plex-accordion-title justify> | ||
<section class="w-50"> | ||
<plex-label size="lg" case="capitalize" titulo="{{ sector.nombre }}" icon="hospital"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JSantarelli corregido
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Haría el icono de la cama más grande
- Sacaría el icono del paciente (ya hay uno)
- quitaría el nombre del sector de cada cama.
- En el headear del acordion veo muy desproporcionado el tamañan del icono contra el titulo principal.
@JSantarelli Qué opinas?
No se puede deseleccionar una cama, para poder cambiar la hora del mapa. |
No se puede deseleccionar una cama, para poder cambiar la hora del mapa. @liquid36 corregido |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Luego de internar un paciente, se cierran automáticamente todos los accordions. El usuario pierde foco y quizás hay probabilidades de que quiera seguir realizando operaciones sobre el paciente recientemente internado. La sugerencia es que el foco quede en el paciente internado (accordion correspondiente abierto y sidebar con detalle del paciente en cuestión).
internacion.mp4
# [5.42.0](v5.41.0...v5.42.0) (2021-04-14) ### Bug Fixes * **mpi:** revalidacion de paciente ([#2183](#2183)) ([d2c4cb8](d2c4cb8)) * **mpi:** se corrige error al mostrar badge "sin dni" en pacietes validados menores a 5 años ([#2172](#2172)) ([bf77ec2](bf77ec2)) * **virtual-scroll:** corrige variables generales ([#2171](#2171)) ([9d71238](9d71238)) ### Features * **ficha-epidemiologica:** nuevos campos ficha covid ([5759752](5759752)) * **internacion:** notifica ruta volver a mapa de camas ([#2207](#2207)) ([ac0b323](ac0b323)) * **mapa-camsa:** visualizar camas agrupadas por sector ([#2145](#2145)) ([81ff32b](81ff32b)) * **pdp:** al refrescar la pantalla mantener sesión abierta ([#2209](#2209)) ([ac7dd18](ac7dd18)) * **pdp:** visualizar mis laboratorios ([#2188](#2188)) ([9cd3708](9cd3708)) * **pdp:** visualizar mis turnos actuales ([#2191](#2191)) ([bb6d44b](bb6d44b)) * **pdp:** visualizar mis vacunas ([#2187](#2187)) ([fdddf15](fdddf15))
Requerimiento
https://proyectos.andes.gob.ar/browse/IN-252
Funcionalidad desarrollada
UserStory llegó a completarse
Requiere actualizaciones en la base de datos
Requiere actualizaciones en la API
Requiere actualizaciones en andes-test-integracion