feat: enhance setup process with SMTP configuration and token generation
Test / backend (push) Successful in 12s
Test / frontend (push) Successful in 23s

fix: require authentication for certain routes and improve exam data handling
chore: update .gitignore to include additional database files
This commit is contained in:
LaurensBartelds committed 2026-04-26 22:53:00 +02:00
1 parent ca9c646b65
commit 83bb412b35
8 files changed
+115 -28

No files matched your search

+2 -2
View File
@@ -6,7 +6,7 @@ import { loadState } from '../utils/storage'
import { formatDate, formatTime } from '../utils/formatting'
interface Props {
onLoadExam: (exam: Exam) => void
onLoadExam: (exam: Exam, saveToWorkspace?: boolean) => void
history: HistoryEntry[]
onResume: () => void
onClearHistory: () => void
@@ -32,7 +32,7 @@ export default function Landing({ onLoadExam, history, onResume, onClearHistory,
const data = JSON.parse(text) as unknown
const msg = validateExam(data)
if (msg) throw new Error(msg)
onLoadExam(parseExam(data))
onLoadExam(parseExam(data), true)
} catch (e) {
setErr(t('landing.loadError', { message: (e as Error).message }))
}
-1
View File
@@ -274,7 +274,6 @@ export default function SetupWizard({ onComplete }: Readonly<Props>) {
value={appUrl}
onChange={(e) => setAppUrl(e.target.value)}
placeholder="https://brainwave.example.com"
required
/>
</div>