|
|
45aa2d9aae
|
feat: implement Phase 4 — Create Scan form redesign
- Three card sections: Origin, Destination, Parameters
- SegmentedButton replaces plain toggle buttons (Globe / PlaneTakeoff icons)
- AirportSearch updated to design tokens; hasError prop for red border state
- AirportChip tags for airports mode
- +/− stepper buttons for Search Window and Passengers (no spin arrows)
- Inline field-level validation errors (replaces browser native popups)
- Toast on success / error; useNavigate replaces window.location.href
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-02-27 14:57:21 +01:00 |
|
|
|
1021664253
|
feat: implement Phase 2 (component library) + Phase 3 (dashboard)
Phase 2 - New shared components:
- Button: filled/outlined/text/icon variants, loading state
- StatusChip: colored badge with icon per status (completed/running/pending/failed)
- StatCard: icon circle with tinted bg, big number display
- EmptyState: centered icon, title, description, optional action
- SkeletonCard: shimmer loading placeholders (stat, list item, table row)
- SegmentedButton: active shows Check icon, secondary-container colors
- AirportChip: PlaneTakeoff icon, error hover on remove
- Toast: updated to Lucide icons + design token colors
Phase 3 - Dashboard redesign:
- 5 stat cards with skeleton loading
- Status chip separated from destination text (fixes "BDS→DUScompleted" bug)
- Hover lift effect on scan cards
- Relative timestamps (Just now, Xm ago, Today, Yesterday, N days ago)
- EmptyState when no scans exist
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-02-27 14:53:16 +01:00 |
|
|
|
7417d56578
|
Phase 1: Design system foundation — tokens, fonts, sidebar layout
- index.css: @import "tailwindcss" + @theme block with full colour
palette, shadows, radii, typography tokens, skeleton animation
- index.html: Google Sans + Roboto Mono fonts, title → Flight Radar
- src/lib/utils.ts: cn() helper (clsx + tailwind-merge)
- Layout.tsx: 256px fixed sidebar on desktop (active pill nav, logo,
Developer section divider), sticky top bar with page title + New Scan
CTA (hidden on /scans), bottom nav bar on mobile with pill indicator
- package.json/lock: add lucide-react, clsx, tailwind-merge
- .gitignore: unblock frontend/package*.json and frontend/src/lib/
Build: 0 TypeScript errors · 0 console errors · all 6 criteria pass
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-02-27 14:44:44 +01:00 |
|
|
|
5d08d9353d
|
Add PRD for design system implementation
7-phase implementation plan: foundation tokens → shared components →
all 5 pages. Defines acceptance criteria per phase, exact file list
(17 files changed, 7 new components), dependency notes (lucide-react,
clsx, tailwind-merge), and explicit non-goals. No implementation yet.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-02-26 17:30:08 +01:00 |
|
|
|
b0a93bf824
|
Add comprehensive Material Design 3 design system document
Covers: color tokens, typography scale, spacing grid, 13 components
(nav sidebar/bottom, buttons, status chips, stat cards, data table,
forms, segmented toggle, toasts, empty states, skeletons, progress),
page-by-page specs for all 5 views, motion guidelines, Lucide icon
catalogue, and Tailwind v4 implementation checklist.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-02-26 17:23:55 +01:00 |
|
|
|
3da6ce2b22
|
Add workflow rule: commit and push after every successful test run
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-02-26 17:16:28 +01:00 |
|
|
|
6421f83ca7
|
Add flight comparator web app with full scan pipeline
Full-stack flight price scanner built on fast-flights v3 (SOCS cookie bypass):
Backend (FastAPI + SQLite):
- REST API with rate limiting, Pydantic v2 validation, paginated responses
- Scan pipeline: resolves airports, queries every day in the window, saves
individual flights + aggregate route stats to SQLite
- Background async scan processor with real-time progress tracking
- Airport search endpoint backed by OpenFlights dataset
- Daily scan window (all dates, not monthly samples)
Frontend (React 19 + TypeScript + Tailwind CSS v4):
- Dashboard with live scan status and recent scans
- Create scan form: country mode or specific airports (searchable dropdown)
- Scan detail page with expandable route rows showing individual flights
(date, airline, departure, arrival, price) loaded on demand
- AirportSearch component with debounced live search and multi-select
Database:
- scans → routes → flights schema with FK cascade and auto-update triggers
- Migrations for schema evolution (relaxed country constraint)
Tests:
- 74 tests: unit + integration, isolated per-test SQLite DB
- Confirmed flight fixtures in tests/confirmed_flights.json (50 real flights,
BDS→FMM Ryanair + BDS→DUS Eurowings, scraped Feb 2026)
- Integration tests parametrized from confirmed routes
Docker:
- Multi-stage builds, Compose orchestration, Nginx reverse proxy
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-02-26 17:11:51 +01:00 |
|
Alexander Domene
|
aea7590874
|
first commit
|
2026-02-21 11:50:44 +01:00 |
|