Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
111e6c6
ui-refactor M1: vite + tailwind theme + app shell
pbogre Jun 24, 2026
876f297
ui-refactor M2: design-system primitives + tanstack query layer
pbogre Jun 24, 2026
828d0c2
ui-refactor M3: rebuild Login page
pbogre Jun 24, 2026
569c63a
ui-refactor M4: rebuild Home (map + split-flap counters + recent strip)
pbogre Jun 24, 2026
a4bcbc1
ui-refactor M5: rebuild Flights list + detail
pbogre Jun 24, 2026
a52453b
ui-refactor M6: rebuild New Flight form
pbogre Jun 24, 2026
9551bc3
ui-refactor M7: rebuild Statistics page with Recharts
pbogre Jun 24, 2026
3e0aa77
ui-refactor M8: rebuild Settings with tabs
pbogre Jun 24, 2026
92e65a8
ui-refactor M9: polish, cleanup, code-split
pbogre Jun 24, 2026
a8fb73c
fix(dev): move queries out of /api/ to avoid vite proxy collision
pbogre Jun 25, 2026
9b3b5b0
chore: gitignore data/jetlog.db
pbogre Jun 25, 2026
4c3bc11
fix(dev): scope vite proxy to /api/ prefix only
pbogre Jun 25, 2026
bea493d
fix: send ASC/DESC for flight sort order, not descending/ascending
pbogre Jun 25, 2026
0fafd8b
fix: backend shape mismatches + UI alignment + simpler login
pbogre Jun 25, 2026
8e0f829
style(map): translucent orange airport markers
pbogre Jun 25, 2026
5d93255
chore: also gitignore data/*.db.bak
pbogre Jun 25, 2026
e07f807
feat: world map on single flight + pagination + tidy file inputs
pbogre Jun 25, 2026
7464d9d
fix: scope home and stats to the current user explicitly
pbogre Jun 25, 2026
f93ce0a
feat(map): scale markers and lines inversely to zoom
pbogre Jun 25, 2026
9955145
style(stats): use short month + 2-digit year on timeline x-axis
pbogre Jun 25, 2026
28d696c
feat(stats): quick 'Last X days/weeks/months/years' range filter
pbogre Jun 25, 2026
dbc522c
style: hide native number-input spinner arrows
pbogre Jun 25, 2026
8df130f
style(stats): drop colon from chart tooltips without a name
pbogre Jun 25, 2026
1ff98ae
style(stats): use ink color for tooltip value text
pbogre Jun 25, 2026
ddc3535
fix(auth): clear react-query cache on login/logout + show username in…
pbogre Jun 25, 2026
1d881e4
feat: configurable columns in All Flights table
pbogre Jun 25, 2026
312c581
feat(columns): also lock date as a required column
pbogre Jun 25, 2026
60568b2
chore: drop unused restrictWorldMap setting
pbogre Jun 26, 2026
257008b
Merge origin/main into ui-refactor
pbogre Jun 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ __pycache__
package-lock.json
.parcel-cache
*.old

data/*.db*

# macOS duplicate copies
* 2
* 2.*
6 changes: 0 additions & 6 deletions .postcssrc

This file was deleted.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN npm i --package-lock-only
RUN npm ci

COPY ./client ./client
COPY ./tailwind.config.js ./.postcssrc ./
COPY ./tailwind.config.js ./postcss.config.js ./vite.config.ts ./tsconfig.json ./
RUN npm run build

# RUNTIME
Expand Down
64 changes: 44 additions & 20 deletions client/App.tsx
Original file line number Diff line number Diff line change
@@ -1,39 +1,63 @@
import React from 'react';
import { BrowserRouter, Routes, Route, Outlet } from 'react-router-dom';
import { lazy, Suspense } from 'react'
import { BrowserRouter, Routes, Route } from 'react-router-dom'

import { BASE_URL } from './api';
import { BASE_URL } from './api'
import { ToastProvider } from './components/Toast'

import Login from './pages/Login';
import New from './pages/New';
import Login from './pages/Login'
import Home from './pages/Home'
import AllFlights from './pages/AllFlights'
import Statistics from './pages/Statistics';
import Settings from './pages/Settings';
import { AppShell } from './components/shell/AppShell'
import { Spinner } from './components/ui/Spinner'

import Navbar from './components/Navbar';
import { ToastProvider } from './components/Toast';
const New = lazy(() => import('./pages/New'))
const Statistics = lazy(() => import('./pages/Statistics'))
const Settings = lazy(() => import('./pages/Settings'))

function Loading() {
return (
<div className="flex justify-center py-20">
<Spinner />
</div>
)
}

export function App() {
return (
<ToastProvider>
<BrowserRouter basename={BASE_URL}>
<Routes>
<Route path="/login" element={<Login />} />
<Route element={
<>
<Navbar />
<div className="h-full p-4 overflow-x-auto">
<Outlet />
</div>
</>}>
<Route element={<AppShell />}>
<Route path="/" element={<Home />} />
<Route path="/new" element={<New />} />
<Route
path="/new"
element={
<Suspense fallback={<Loading />}>
<New />
</Suspense>
}
/>
<Route path="/flights" element={<AllFlights />} />
<Route path="/statistics" element={<Statistics />} />
<Route path="/settings" element={<Settings />} />
<Route
path="/statistics"
element={
<Suspense fallback={<Loading />}>
<Statistics />
</Suspense>
}
/>
<Route
path="/settings"
element={
<Suspense fallback={<Loading />}>
<Settings />
</Suspense>
}
/>
</Route>
</Routes>
</BrowserRouter>
</ToastProvider>
);
)
}
235 changes: 0 additions & 235 deletions client/components/Elements.tsx

This file was deleted.

Loading
Loading