add unit test coverage for PanelService
Los mantenedores suelen responder en 1 día
@anthonychengit ya está trabajando en esto.
Desde el 10/7/2026.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 88/100
- Tipo de issue
- Refactorización
- Claridad
- Bien especificado
- Estado de actividad
- Tranquilo
- Stack tecnológico
- typescript
Línea de trabajo
Lee frontend/src/app/workspace/service/panel/panel.service.ts y sigue el estilo sencillo de describe/it/expect de size-formatter.util.spec.ts. Añade frontend/src/app/workspace/service/panel/panel.service.spec.ts y ejecuta después ng test. La tarea está terminada cuando resetPanels() y closePanels() emiten una vez cada uno en su propio stream y nunca emiten en el otro stream.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Task Summary
Add panel.service.spec.ts covering PanelService, a tiny event bus that exposes two Subject<void> streams (closePanelStream, resetPanelStream) with closePanels() / resetPanels() triggers.
Background
frontend/src/app/workspace/service/panel/panel.service.ts is a dependency-free service (instantiable directly via new PanelService()), so no TestBed wiring is required.
get resetPanelStream() { return this.resetPanelSubject.asObservable(); }
resetPanels() { this.resetPanelSubject.next(); }
get closePanelStream() { return this.closePanelSubject.asObservable(); }
closePanels() { this.closePanelSubject.next(); }
Behavior to pin
| Scenario | Contract |
|---|---|
subscribe resetPanelStream, call resetPanels() |
subscriber fires exactly once |
subscribe closePanelStream, call closePanels() |
subscriber fires exactly once |
| stream independence | calling resetPanels() does not emit on closePanelStream, and vice-versa |
Subscribe to the stream, invoke the trigger, and assert the emission count (e.g. increment a counter in the subscription). Follow size-formatter.util.spec.ts for the plain describe/it/expect style (ng test).
Scope
- New spec:
frontend/src/app/workspace/service/panel/panel.service.spec.ts. - No production-code changes.
Task Type
- Refactor / Cleanup
- DevOps / Deployment / CI
- Testing / QA
- Documentation
- Performance
- Other
- Lenguaje dominante
- Scala
- Estrellas
- 321
- Forks
- 192
- Merge medio
- 2 d 16 h
- PR fusionados (30 d)
- 136
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/texera
-
Search bar autocomplete stops working after a model appears in the suggestionsPosiblemente ocupada @aglinxinyuan la tomó hace 19 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
apache/texera#8700 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
apache/texera#8682 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
-
JSONL File Scan reads a JSON null as the text "null"Posiblemente ocupada @CaroFernando la tomó hace 17 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
apache/texera#8674 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
LARGE_BINARY test leaves a real S3 object behind on every S3-reachable runPosiblemente ocupada @ShawnGarello la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Missing workflow returns 500 from workflow type endpointQuizá libre de nuevo @VuMartin la tomó hace 41 días y no hay ningún pull request abierto. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
apache/texera#8300 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de apache/texera
Issues similares
-
Dificultad 2/5 Menos de una hora Aptitud para principiantes 70/100
-
[Bug] HiveDialect shares its colspecs dict with SQLAlchemy's DefaultDialect (python/pyhive)Posiblemente ocupada @rusackas la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 80/100
apache/kyuubi#7786 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
requires-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
apache/datafusion-comet#7001 ·
Los mantenedores suelen responder en 1 día
-
? - Needs Triage documentation user_tools
Dificultad 2/5 Medio día Aptitud para principiantes 62/100
NVIDIA/cudf-spark-tools#2190 ·
Los mantenedores suelen responder en 2 días