Skip to content

fix: show an error when the app store apps can't be loaded - #3789

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/app-store-load-error
Oct 14, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/app-store-load-error

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

  • Failed app list request: the App Store shows "The apps could not be loaded" instead of "No apps found matching your search", which wrongly suggested a filter result. This also applies to app detail pages, which showed "App not found".
  • Store: a non-ok response, a network error or an invalid app list now counts as a failed repository; the error is only shown when all repositories failed. If only some fail, the apps that loaded are shown as before.
  • Announced: the message is in a role="alert" element, so screen readers read it out.
  • No retry button: like elsewhere in the app, a failed request only shows the error; reloading the page tries again.

Existing pattern: the full-page error uses no-content-message the same way web-app-ocm/src/views/Wayf.vue does for "Failed to load providers" (without its retry button, see above). Admin Settings > Extensions shows an inline error for the same apps.json request.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: unit: 500, network error and invalid app lists mark loading as failed; a partially failing setup keeps the loaded apps; the error replaces the router view and has no button
  • test case 2: browser: reproduced on main for 500, abort and invalid JSON (list and details deep link); on the fix the error shows with role=alert in all three cases, normal list, search, tags, details, back, slow request, recovery after navigating away, mobile

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear
AlexAndBear force-pushed the fix/app-store-load-error branch from bc5d320 to 8791a5a Compare October 14, 2026 07:07

@tammi-23 tammi-23 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@AlexAndBear
AlexAndBear merged commit ad79d46 into main Oct 14, 2026
27 checks passed
@AlexAndBear
AlexAndBear deleted the fix/app-store-load-error branch October 14, 2026 13:07
@openclouders openclouders mentioned this pull request Oct 14, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A failed app list request shows "No apps found matching your search" with no error and no retry

2 participants