From e31738762c60d1da0baa3919b16d55a0a9588cd3 Mon Sep 17 00:00:00 2001 From: doxa-maps-88655c70 <88627970+doxa-maps-88655c70@users.noreply.github.com> Date: Fri, 25 Sep 2026 19:13:44 +0000 Subject: [PATCH] Wall of People Groups: say so when the live API cannot be reached, and stop a render error With pray.doxa.life unreachable (offline, or a local dev server whose 127.0.0.1 origin the API refuses by CORS) the wall sat at "0 Groups Loaded" with nothing explaining why, and logged "Cannot read properties of undefined (reading 'length')". That error was not the fetch at all: SourceSelector's template read `sources`, which does not exist (its computed is availableSources), so it threw on every render, online as well. - SourceSelector: availableSources. - PeopleGroupsWall: when nothing loaded and the store holds an error, an in-wall notice says what failed and offers Try again (inside the wall, never position:fixed over a host page). - The store logs the network failure as a warning: it is an expected state now shown on screen. Measured with every pray.doxa.life request aborted: the TypeError is gone, the notice renders, and the only console line left is the browser's own "Failed to load resource". Unblocking and pressing Try again loads 2107 groups. Live (unblocked): 2107 groups, 0 console errors. --- .../src/components/PeopleGroupsWall.vue | 14 ++++++++++++ .../src/components/SourceSelector.vue | 4 +++- .../src/stores/peopleGroupsStore.js | 4 +++- .../wall-of-people-groups/src/wall.css | 22 +++++++++++++++++++ 4 files changed, 42 insertions(+), 2 deletions(-) diff --git a/plugin-designs/wall-of-people-groups/src/components/PeopleGroupsWall.vue b/plugin-designs/wall-of-people-groups/src/components/PeopleGroupsWall.vue index 742b8b372..873df258b 100644 --- a/plugin-designs/wall-of-people-groups/src/components/PeopleGroupsWall.vue +++ b/plugin-designs/wall-of-people-groups/src/components/PeopleGroupsWall.vue @@ -18,6 +18,16 @@
Loading people groups...
+ + +The live prayer data could not be reached.
+The wall reads its people groups from pray.doxa.life. You may be offline, or, on a + local development server, the API may not allow this page's address.
+ +