Files
task-stream/libs/web/tracker/infrastructure
Josep Piguillem 3a46a236e4 feat: quick polls in comments that end in a decision
«📊 Añadir una encuesta» adds 2 to 6 options to a new comment. Members,
viewers too, vote by clicking an option (one vote each, which they can
change or take back) and see each option's votes as a bar. Whoever
started it, or an admin, closes it with «Cerrar y decidir»: the most
voted wins (none on a tie) and a «Decidido: …» reply marked as a
decision shows above the ticket. Events of the comment (voted, closed).

API: addComment(…, poll), votePoll, closePoll, Comment.poll;
POST /api/comments/{id}/poll/vote and …/poll/close. MCP: add_comment
poll, vote_poll, close_poll.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 20:48:12 +02:00
..
2026-10-03 13:40:26 +02:00
2026-10-03 13:40:26 +02:00
2026-10-03 13:40:26 +02:00
2026-10-03 13:40:26 +02:00

web-tracker-infrastructure

Adaptadores GraphQL del tracker.

  • Import: @task-stream/web/tracker/infrastructure
  • Capa: infrastructure · Tags: scope:web-tracker, type:infrastructure

Contenido

  • graphql/*.graphql: operaciones; generated.ts lo genera npx nx run web:codegen.
  • adapters/: implementaciones de los gateways y mappers.ts (GraphQL → dominio, y la configuración de vuelta a input sin __typename).
  • provideTrackerInfrastructure().

Comandos

npx nx lint web-tracker-infrastructure

Reglas de dependencia entre capas: Arquitectura.