Skip to content
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

MISC: componente semaforo priorizacion #2349

Merged
merged 1 commit into from
Aug 10, 2021
Merged

MISC: componente semaforo priorizacion #2349

merged 1 commit into from
Aug 10, 2021

Conversation

plammel
Copy link
Contributor

@plammel plammel commented Jun 25, 2021

Requerimiento

https://proyectos.andes.gob.ar/browse/MISC-171

Funcionalidad desarrollada

  1. https://proyectos.andes.gob.ar/browse/MISC-171

UserStory llegó a completarse

Requiere actualizaciones en la base de datos

Requiere actualizaciones en la API

Requiere actualizaciones en andes-test-integracion

@plammel plammel requested review from a team as code owners June 25, 2021 17:29
this.semaforoService.findByName('com').subscribe(res => this.opciones = res.options);
}

setPrioridad(prioridad) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Esta mal modificar un input, debería trabajarlo con @output().

Ya que están armando todo una colección de semáforos configurable por módulos, pero la componente es rígida para el COM.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Esta mal modificar un input, debería trabajarlo con @output().

Ya que están armando todo una colección de semáforos configurable por módulos, pero la componente es rígida para el COM.

updeteado!

@liquid36
Copy link
Contributor

USUARIO: plammel
BUILD NUMBER: 4433
CYPRESS RUN: 3450
TEST START: 2021-06-25T18:50:20.789Z
TOTAL: 390
SUCCESS: 388
FAIL: 1
SKIPPED: 1

@liquid36
Copy link
Contributor

USUARIO: plammel
BUILD NUMBER: 4441
CYPRESS RUN: 3458
TEST START: 2021-06-28T17:58:52.716Z
TOTAL: 377
SUCCESS: 374
FAIL: 2
SKIPPED: 1

@liquid36
Copy link
Contributor

USUARIO: plammel
BUILD NUMBER: 4449
CYPRESS RUN: 3466
TEST START: 2021-06-29T14:41:36.745Z
TOTAL: 398
SUCCESS: 397
FAIL: 0
SKIPPED: 1

@liquid36 liquid36 added test ok Los test estan ok and removed test fail labels Jun 29, 2021
@plammel plammel requested a review from sychus July 2, 2021 14:08
@plammel plammel force-pushed the MISC-171 branch 2 times, most recently from 6598250 to 883ef43 Compare July 7, 2021 15:05
@plammel plammel requested review from palita1991 and removed request for sychus August 6, 2021 15:24
Copy link
Contributor

@andrrrl andrrrl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Todo lo demás anduvo OK!

Copy link
Contributor

@andrrrl andrrrl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥳

<div class="mt-1">
<plex-label [tituloBold]="true" titulo="Prioridad"></plex-label>
<ng-container *ngFor="let p of opciones">
<div [class]="p.label + ' box'" [ngStyle]="{ background: p.color }" [class.selected]="p.label === prioridad" (click)="select(p);" >
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<div [class]="p.label + ' box'" [ngStyle]="{ background: p.color }" [class.selected]="p.label === prioridad" (click)="select(p);" >
<div class="box" [class]="p.label" [style.background]="p.color" [class.selected]="p.label === prioridad" (click)="select(p)" >

})

export class SemaforoPriorizacionComponent implements OnInit {
@Output() onChangeEvent = new EventEmitter<any>();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
@Output() onChangeEvent = new EventEmitter<any>();
@Output() change = new EventEmitter<any>();

@Output() onChangeEvent = new EventEmitter<any>();
@Input() name;
@Input() prioridad;
opciones;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Estaría bueno armar la interfaz y tipar en todas las compoenntes, así ya queda...

opciones;

constructor(
private semaforoService: SemaforoService) { }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
private semaforoService: SemaforoService) { }
private semaforoService: SemaforoService
) { }

@plammel
Copy link
Contributor Author

plammel commented Aug 10, 2021

@liquid36 buenas observaciones! Listo todos los cambios!

Copy link
Contributor

@andrrrl andrrrl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@plammel plammel force-pushed the MISC-171 branch 2 times, most recently from fc0c9d0 to cde5b4c Compare August 10, 2021 14:36
@liquid36
Copy link
Contributor

USUARIO: martinebucarey
BUILD NUMBER: 4843
CYPRESS RUN: 3836
TEST START: 2021-08-10T17:06:55.189Z
TOTAL: 400
SUCCESS: 399
FAIL: 0
SKIPPED: 1

@liquid36 liquid36 added test ok Los test estan ok and removed test ok Los test estan ok labels Aug 10, 2021
@martinebucarey martinebucarey merged commit 2578922 into master Aug 10, 2021
@martinebucarey martinebucarey deleted the MISC-171 branch August 10, 2021 17:08
liquid36 pushed a commit that referenced this pull request Aug 11, 2021
# [5.59.0](v5.58.0...v5.59.0) (2021-08-11)

### Bug Fixes

* **ficha-epidemiologica:** fix duplicidad sidebars buscador ([#2396](#2396)) ([52100b2](52100b2))

### Features

* **EP:** refactor de historial de ficha ([#2385](#2385)) ([e86d733](e86d733))
* **huds:** clasificacion final ficha epidemiologica ([#2381](#2381)) ([36b932d](36b932d))
* **MISC:** componente semaforo priorizacion ([#2349](#2349)) ([2578922](2578922))
* **mpi:** permite letras en nro. de identificacion de extranjero ([#2386](#2386)) ([c8055e6](c8055e6))
* **per:** descargar listado de controles ([#2390](#2390)) ([8bbb5e5](8bbb5e5))
* **rup:** vista-prestacion boton editar ([#2137](#2137)) ([2a14035](2a14035))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test ok Los test estan ok
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants