Skip to content

feat(platform): delete uploaded apps and badge them as private (#2355) - #2471

Merged
cursor[bot] merged 1 commit into
mainfrom
cursor/fix-2355-delete-uploaded-apps-6542
Jul 4, 2026
Merged

cursor[bot] merged 1 commit into
mainfrom
cursor/fix-2355-delete-uploaded-apps-6542

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

Summary

Fixes #2355. Uploaded private apps had no delete path and looked identical to builtin cards.

  • Delete: new deleteApp action (inverse of uploadAppBundle) removes the org's apps/<slug>/ dir, guarded so builtins are never deletable (APP_IS_BUILTIN) and deletion is refused while installed (APP_INSTALLED — uninstall first), same admin/developer gate as upload, idempotent. New useDeleteApp + a reusable AppDeleteAction (⋯ menu → ConfirmDialog), wired into the hub card and the details page.
  • Distinguish: a "Private" badge on private-app cards and the details page (present in the org install list but absent from the builtin catalog).

Checklist

  • bun run check — type-aware lint (0/0), typecheck clean, backend convex/apps (49, incl. new upload_actions.test.ts: invalid slug, builtin refusal, installed refusal, success, no-op) + apps UI (81) + i18n (platform 23, ui 54) passing.
  • lint:sast — N/A (Opengrep not cached).
  • Translations — added apps.private + apps.upload.delete* to en/de/fr (DE du, FR tu).

Test plan

Upload a private app → its card shows "Private" and a delete action (with confirm); deleting a builtin or an installed app is refused with a clear message.

Open in Web Open in Cursor 

@cursor
cursor Bot marked this pull request as ready for review July 4, 2026 10:51
@cursor
cursor Bot force-pushed the cursor/fix-2355-delete-uploaded-apps-6542 branch from 2ee0ad3 to 56eb5f8 Compare July 4, 2026 11:11
@cursor
cursor Bot merged commit fb8b989 into main Jul 4, 2026
2 checks passed
@cursor
cursor Bot deleted the cursor/fix-2355-delete-uploaded-apps-6542 branch July 4, 2026 11:11
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.

Improvement: Uploaded private apps cannot be deleted from the UI and are indistinguishable from builtin cards

2 participants