Skip to content

fix: Resolve 4 remaining dogfood issues - #10

Merged
LLRHook merged 3 commits into
mainfrom
fix/dogfood-v1.1-issues
Feb 28, 2026
Merged

LLRHook merged 3 commits into
mainfrom
fix/dogfood-v1.1-issues

Conversation

@LLRHook

@LLRHook LLRHook commented Feb 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Broadcast audience_name: LEFT JOIN audiences table in list query so the frontend can display audience names instead of blank cells
  • Domain detail page: Remove redundant {"data": resp} wrapper from GET /domains/{id} — now returns bare object consistent with other single-item endpoints. Frontend updated to match.
  • Metrics chart: Relax hasData condition — charts now render when data points exist even if totals.sent is 0
  • Template version count: Add correlated subquery to template list query to return versions count in the DTO

Also adds .agent/, .agents/, skills-lock.json, and dogfood-output/ to .gitignore.

Test plan

  • go build ./... — clean
  • go vet ./... — clean
  • go test ./... — 314 tests pass
  • next build — clean
  • vitest run — 55 tests pass

LLRHook and others added 3 commits February 26, 2026 01:27
… Docker

Phase 1: Add ListResponse[T] wrapper to 6 list endpoints (audiences,
api-keys, webhooks, topics, contact properties, segments) so frontend
`data?.data ?? []` pattern works correctly.

Phase 2: Fix broadcast field names (total_recipients→recipients,
sent_count→sent, add audience_name). Fix domain dns_records field name
and wrap GET /domains/{id} in {data: ...}.

Phase 3: Add TemplateDetailResponse with subject, html, text, published,
updated_at. Template Get() now fetches latest version content.

Phase 4: Update Dockerfile to golang:1.25-alpine. Remove deprecated
docker-compose version field.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Expand .env.example with comprehensive documentation for all production
  environment variables, organized by service with clear descriptions
- Improve setup.sh with robust validation, better error handling, and
  support for both 'docker compose' and legacy 'docker-compose' command
- Enhance generate-dkim.sh with validation, file permission handling,
  and clearer DNS record instructions
- Update docker-compose.yml with full configuration documentation,
  container names, enhanced healthchecks, and network isolation
- Expand README deployment section with step-by-step Docker Compose setup,
  manual configuration steps, production recommendations, DNS setup guide,
  and Kubernetes/Helm examples

All improvements maintain backward compatibility while making deployment
and initial setup significantly clearer and more robust.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Broadcast audience_name: LEFT JOIN audiences in list query, populate
  AudienceName in response DTO
- Domain detail: remove redundant {"data": resp} wrapper from GET
  /domains/{id}, align frontend to read bare response
- Metrics: relax hasData condition to show charts when data points exist
  even if totals.sent is 0
- Template versions: add version_count subquery to list query, surface
  Versions field in TemplateResponse DTO
- Gitignore: add .agent/, .agents/, skills-lock.json, dogfood-output/
@LLRHook
LLRHook merged commit 270ed68 into main Feb 28, 2026
4 checks passed
LLRHook added a commit that referenced this pull request Mar 8, 2026
- Add page test for audience dashboard
- 3 test cases: header, description, all four tab triggers
- Mark task #10 done in quality plan (103 tests total)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant