59 Commits (cad61fadfc865be9e543df618d430aae6dfc95a7)

Author SHA1 Message Date
oabrivard 7b3fc717eb Add test coverage and documentation implementation plan
12 tasks: backend auth middleware tests, frontend test utilities,
5 page test suites (Home, Settings, Sources, Login/Register, Generate),
JSDoc for API layer + pages/components, E2E infrastructure + 5 Playwright flows.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
3 months ago
oabrivard 449edfcf59 Add test coverage and documentation improvement spec
Addresses all 5 recommendations from tech lead assessment:
- Frontend page tests (~39 tests for Settings, Home, Sources, Login, Generate)
- Frontend JSDoc documentation (~30 files)
- Backend test gaps (schema builder, auth middleware, token utils)
- E2E tests with Playwright (5 flows against real Docker stack)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
3 months ago
oabrivard 98528f51bd Fix rate limiter bug, simplify v2 code
Bug fix:
- Per-generation rate limiter was creating a new instance on every check,
  making user rate limit overrides non-functional. Fixed by creating the
  limiter once at pipeline start and reusing for both passes.

Simplifications:
- Extract spawn_task closure in scrape_articles (deduplicate spawn blocks)
- Use idiomatic if let Ok(...) instead of if let Some(..).ok() in scraper
- Replace manual loop with iterator chain in export_keys handler
- Simplify check_rate_limit to single boolean check
- Simplify handleImport settings merge (spread already provides defaults)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
3 months ago
oabrivard 6b27a0f691 Add v2 changes implementation plan
10 tasks covering: migration, settings model expansion, DB queries,
pipeline updates (user model selection, rate limiter, URL filter),
prompts (deep-link, original title), scraper improvements, API key
export, frontend (dual models, rate limits, export/import), and
empty sections fallback.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
3 months ago
oabrivard 74e2cb0273 Add v2 changes design spec
8 changes covering: settings export/import, dual model selection,
user rate limit overrides, original title preservation, enhanced
broken link detection, deep-link URL enforcement, settings schema
expansion, and empty sections fallback message.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
3 months ago
oabrivard 355dbf6a5a Finished phase 1 3 months ago
oabrivard 7ae6ef7ef1 Defined implementation plan 3 months ago
oabrivard 8d8cce1f05 Answered Claude questions to guide code migration 3 months ago
oabrivard e7e2f8fa90 Code analysis and migration recommendations 3 months ago