Skip to content

Migrate backend to FastAPI and fix e2e/script mismatches#10

Open
juma78 wants to merge 5 commits into
ed-donner:mainfrom
juma78:main
Open

Migrate backend to FastAPI and fix e2e/script mismatches#10
juma78 wants to merge 5 commits into
ed-donner:mainfrom
juma78:main

Conversation

@juma78

@juma78 juma78 commented Jul 13, 2026

Copy link
Copy Markdown

Replaces the stdlib http.server handler with a real FastAPI app so backend/tests/test_chat.py can import it (was failing to collect). Aligns scripts/stop.sh's pkill pattern with the actual backend process, adds sign-in flow coverage to the Playwright kanban specs, and checks in CLAUDE.md.

Test plan

  • python -m pytest backend/tests/ passes
  • npm run test:unit passes
  • npm run test:e2e passes
  • npm run lint passes

Juma Alnuaimi and others added 5 commits July 13, 2026 22:47
Replace the stdlib http.server handler with a real FastAPI app so
backend/tests/test_chat.py can import it (was failing to collect).
Align scripts/stop.sh's pkill pattern with the actual backend process,
add sign-in flow coverage to the Playwright kanban specs, and check in
CLAUDE.md.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Runs backend pytest and frontend lint/unit/e2e on push and PR, so
PR ed-donner#10 (and future PRs) get automated checks instead of none.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Replace the text-only delete/add/logout/send buttons with icon-labeled
ones, and rework the board layout so columns use available width
(flex row with horizontal scroll) instead of being squeezed by a
narrow grid alongside a proportional chat panel.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Extracts renameColumn/addCard/removeCard into lib/kanban.ts alongside
the existing moveCard so board mutations are tested pure functions
instead of duplicated inline reducer logic in KanbanBoard.tsx. Also
dedupes icon SVG wrappers into IconBase, shares card content markup
between KanbanCard and KanbanCardPreview, has ChatPanel import
BoardData instead of redeclaring it, drops a no-op useMemo, extracts
a signIn() test helper, and guards start.sh's venv/npm install so
reruns skip redundant setup.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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