semmelei statistics: frontend aggregation module
Los mantenedores suelen responder en 1 día
Ya se ha fusionado un pull request relacionado.
- #365 de @omikron-agent — fusionado
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- data-visualization, frontend
Línea de trabajo
Read the specification in #351 first, especially its “Implementation Decisions,” then inspect the semmelei frontend and the news utils test for the existing module and test conventions. Build a pure aggregation module and cover its acceptance criteria with vitest tests, including Europe/Berlin daylight saving transitions and empty input. Done means the listed series, histogram, table, top five, filtering, and segment sizing behave as specified.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Part of #351 (spec). Read the spec first; this ticket covers the frontend aggregation.
What to build
A pure, UI-free module in the semmelei frontend that turns statistics positions into everything the Statistik page shows. It works against a local type mirroring the position contract in the backend ticket (the generated client may not exist yet); the page ticket maps the generated type onto it.
Inputs: positions, period, segment size (or automatic), measure (units / orders / Order Value), Item selection, category filter.
Outputs:
- order intake series per segment (by placement time), per selected Item, plus
storniertandabgesagtseries - per pickup day series, with each day flagged open (not Dispatched) and Called Off
- Deadline distance histogram: <1 h, 1–3 h, 3–12 h, 12–24 h, 1–2 days, >2 days
- item table rows: units, orders, Order Value, cancelled units, called-off units
- the top 5 Items of the period, for the selection preset
- the automatic segment size (10 min, 30 min, 1 h, 1 day; aiming at roughly 50 to 200 segments)
Counting rules, Item identity and time zone exactly as in #351 "Implementation Decisions".
Acceptance criteria
- Segment boundaries in Europe/Berlin, correct across both daylight saving transitions
- Automatic segment size per period length; manual override honoured
- Cancelled orders excluded from main numbers; storniert vs. abgesagt split via
called_off - Order Value from price snapshot × quantity
- "orders" with an Item selection counts orders with at least one selected Item
- Category filter
- Deleted Items grouped by name snapshot and marked deleted; renamed Items merged under their current name
- Histogram bucket edges
- Table rows and top 5
- Empty input yields empty outputs
- vitest tests (prior art: the news utils test)
- Lenguaje dominante
- TypeScript
- Estrellas
- 0
- Forks
- 1
- Merge medio
- 9 h 39 min
- PR fusionados (30 d)
- 144
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 myOmikron/code
-
wayfinder:task
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día
-
wayfinder:task
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
myOmikron/code#102 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
ready-for-agent
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
-
ready-for-agent
Dificultad 4/5 3-5 días Aptitud para principiantes 39/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
Todos los issues de myOmikron/code
Issues similares
-
e2e-failure ready-to-code
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
redhat-developer/rhdh-plugin-export-overlays#4616 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
ai-handle
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
nextlevelbuilder/dewee-web-v2#73 ·
Los mantenedores suelen responder en 1 día
-
backend bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
PoCInnovation/Distribox#255 ·
Los mantenedores suelen responder en 1 día