Improve UX when a node is unreachable

When a saved node (e.g. localhost) is down, the app previously showed a
dead-end "Node not found" page with no way to navigate away.

Now the not-found page displays the seed selector inline with the error
title, showing which node failed and letting users switch to a different
one directly. The same treatment applies when navigating to a repo on an
unreachable node.
This commit is contained in:
Rūdolfs Ošiņš
2026-03-06 15:38:00 -06:00
parent fa85596ba1
commit 73408cd826
11 changed files with 155 additions and 36 deletions
+1 -1
View File
@@ -77,5 +77,5 @@
</div>
{/if}
{:catch error}
{router.push(handleError(error, utils.baseUrlToString(baseUrl)))}
{router.push(handleError(error, baseUrl))}
{/await}
+1 -1
View File
@@ -67,7 +67,7 @@ export async function loadUserRoute({
error instanceof ResponseError ||
error instanceof ResponseParseError
) {
return handleError(error, utils.baseUrlToString(api.baseUrl));
return handleError(error, api.baseUrl);
} else {
return unreachableError();
}