From 1c308321dec3602754c03e64b3c3131bf9d78a3d Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Fri, 2 May 2025 20:47:26 +0100 Subject: [PATCH] Friendly error messages for featureDetect --- src/routes/+page.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 4b552a1..90dcbc4 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -24,9 +24,9 @@ onMount(async () => { const featureSupport = featureDetect(); if (!featureSupport.critical) { - toast.error("Your browser is missing critical features, OwlBoard might not work properly. See `Menu > Statistics` for more information."); + toast.error("Use a newer browser or OwlBoard might not work properly. See `Menu > Statistics` for more information."); } else if (!featureSupport.nice) { - toast.error("Your browser is missing some features, see `Menu > Statistics` for more information."); + toast.error("Use a newer browser for the best experience, see `Menu > Statistics` for more information."); } });