[Bug] App categorization: only UI apps belong in 'My Apps'; headless/db/backends should be 'Websites' #45
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Rule: only front-end apps WITH a UI go in 'My Apps'; databases, headless apps, and backends (anything without a UI) go in 'Websites'.
Current logic (neode-ui/src/views/apps/appsConfig.ts isWebsitePackage/isKnownApp/isServicePackage) is heuristic (service list, APP_CATEGORY_MAP membership, presence of a runtime LAN address). Re-derive it around 'has a front-end UI' and audit every app so headless/db/backends classify as Websites. (The Bitcoin Core fix #40 is consistent with this rule — Core has a UI -> My Apps — but the general classifier needs a pass.)
FIXED + DEPLOYED to .116/.198 (commit
d2d2b9dd): classification now uses manifest interfaces.main.ui as the deciding signal — apps with a UI go to My Apps, headless/db/backends fall through to Websites. Additive (curated known apps + service-by-name infra unchanged). Unit test added. Note: a stricter follow-up could also drop headless backends (electrs/electrumx) from the curated APP_CATEGORY_MAP so they move to Websites too.Verified fixed: app categorization is now derived from a declared front-end UI —
hasFrontendUi()readsmanifest.interfaces.main.uiandisWebsitePackagekeys off it (neode-ui/src/views/apps/appsConfig.ts:85-101). Headless/db/backends now classify as Websites. Closing.