From 12cbfdbbee24c70984f641c86ea81ee4affca9cb Mon Sep 17 00:00:00 2001 From: Christophe Vila Date: Sun, 26 Jul 2026 21:26:24 +0200 Subject: [PATCH] docs(ideas): refine backlog notes on sync UX and error banners Merge the old "improve activities/workouts download" and "better UX when backend is not available" bullets into one clearer "modern error displays" idea (ephemeral, severity-colored banners reused across login/logout/sync/backend-down states), and flesh out the sync-modal idea with the activities/workouts split and progress-bar prerequisite. --- docs/IDEAS.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/IDEAS.md b/docs/IDEAS.md index 5bd6ce6..c1918ba 100644 --- a/docs/IDEAS.md +++ b/docs/IDEAS.md @@ -8,12 +8,11 @@ for that history) and remove it from here once a spec exists. ## Backlog -- dedicated workouts section: add workouts table in database and create a dedicated page in UI (use an "objective" icon) -- improve activities/workouts download: make it modal, add progress bar, error management -- better UX when backend is not available (instead of "TypeError failed to fetch") +- dedicated workouts section: add workouts table in database and create a dedicated page in UI (use an "objective" icon). workouts are already downloaded as dependencies of activities. +- improve synchronization: make it modal, split downloads of activities and workouts, add progress bar (which requires to know in advance how many activities or workouts will have to be downloaded). +- modern error displays: have error messages displayed in ephemeral banners with background (red for error, orange for warning, blue for notice). this should be used for login, logout, synchronisation final status in profile page (the synchronisation operation itself remains a progress bar). this modern error display should be used on all pages/tabs in case of backend is not here. - better UX for activities (list layout without the graphs, detailed view with different graphs for each phase incl. delta with workout) - add icon to indicate if an activity has an associated workout -- modern error displays: have error messages displayed in an ephemeral window ## Someday / maybe