Skip to content

App Center: show app descriptions for not-installed apps#748

Closed
cyberb wants to merge 2 commits into
masterfrom
appstore-descriptions
Closed

App Center: show app descriptions for not-installed apps#748
cyberb wants to merge 2 commits into
masterfrom
appstore-descriptions

Conversation

@cyberb
Copy link
Copy Markdown
Member

@cyberb cyberb commented Jun 4, 2026

Problem

The platform UI redesign (#747) added an app description block to the app page. It shows for installed apps but is blank for apps opened from the App Center (not yet installed).

Root cause

  • Installed app page → Find() uses snapd /v2/snaps (local snap metadata), which carries description → shown.
  • Store / not-installed app page → Find() returns FindInStore() from snapd /v2/find, which returned description: ""showDescription hides it.

The empty description originates in the store, which dropped the snap.yaml description from its find/info responses. Fixed there in syncloud/store#6; once that store change is deployed, snapd relays the description and the platform's existing Description: s.Description mapping shows it — no platform code change needed.

Contents

  • Playwright assertion on the not-installed File browser page that the description renders, plus a data-testid on the description element.

This test stays red until syncloud/store#6 is merged and deployed to the store.

cyberb added 2 commits June 4, 2026 07:04
The redesign added an app description block to the app page, but apps
opened from the App Center (not installed) show no description while
installed apps do. Add a Playwright assertion on the not-installed
File browser page and a data-testid on the description element to
reproduce the gap before fixing it.
snapd /v2/find returns an empty description for store apps, so apps
opened from the App Center (not yet installed) showed no description
while installed apps (sourced from /v2/snaps) did.

Enrich store apps with descriptions from
apps.syncloud.org/releases/<channel>/index-v2, keyed by app id, when
snapd returns an empty one. Applied in both StoreUserApps (App Center
list) and FindInStore (app page). Catalog fetch failures degrade
gracefully to the previous empty-description behaviour.
@cyberb cyberb closed this Jun 4, 2026
@cyberb cyberb deleted the appstore-descriptions branch June 4, 2026 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant