Show enabled alpha apps in sidebar and app store#1449
Conversation
getEnabledAppIds was filtering through getAllAvailableAppIds which excludes alpha-stage apps in production. This meant enabled alpha apps (like support) were hidden from the sidebar, CmdK, and app store. Now enabled apps are always shown regardless of stage. The alpha filter only gates discovery (app store listing for new apps, onboarding wizard). Co-Authored-By: Konstantin Wohlwend <n2d4xc@gmail.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe PR adjusts alpha-app visibility in production environments: alpha apps now remain visible and contribute to counts when already installed in a project, rather than being filtered out entirely. Changes span utility logic that discovers enabled apps and page-client filtering and counting logic. ChangesAlpha App Visibility in Production
🎯 3 (Moderate) | ⏱️ ~20 minutes
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryThis PR fixes a bug where alpha-stage apps (e.g. the support app) that were explicitly enabled by a project were silently hidden from the sidebar, CmdK, and app store, because
Confidence Score: 5/5Safe to merge — the change is narrowly scoped and the alpha gate is preserved for all discovery paths. Both changed files apply the same predicate consistently across every filter site. Discovery paths still go through getAllAvailableAppIds, which continues to strip alpha apps in production. No unintended surface area is opened. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[All Apps in ALL_APPS] --> B{Is alpha-stage?}
B -- No --> C[Always included everywhere]
B -- Yes --> D{Explicitly enabled by project?}
D -- Yes --> E[Shown in sidebar / CmdK / app store]
D -- No --> F[Hidden from sidebar and app store]
C --> G[Discovery: app store listing, onboarding wizard, getUninstalledAppIds]
E --> G
Reviews (1): Last reviewed commit: "Fix enabled alpha apps not showing in si..." | Re-trigger Greptile |
There was a problem hiding this comment.
Pull request overview
Adjusts the dashboard’s app visibility logic so alpha-stage apps remain visible when already enabled in production, while still being hidden from discovery surfaces when not enabled.
Changes:
- Update
getEnabledAppIdsto derive enabled apps fromALL_APPSdirectly (so enabled alpha apps aren’t excluded by the “available apps” filter). - Update the Apps page filtering to hide alpha apps in production unless they’re enabled.
- Update category counts to match the updated alpha-app visibility behavior.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| apps/dashboard/src/lib/apps-utils.ts | Ensures enabled app computation includes enabled alpha apps by filtering ALL_APPS rather than “available” apps. |
| apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/apps/page-client.tsx | Keeps enabled alpha apps visible on the Apps page and ensures category counts reflect the same rule. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
getEnabledAppIdswas filtering throughgetAllAvailableAppIdswhich excludes alpha-stage apps in production. Enabled alpha apps (like support) were hidden from the sidebar, CmdK, and app store.Now the alpha filter only gates discovery (app store listing for new apps, onboarding wizard), not already-enabled apps.
Link to Devin session: https://app.devin.ai/sessions/ff257efb19ca4d7d9889bfb21bb80c2b
Requested by: @N2D4
Note
Medium Risk
Changes production filtering so alpha-stage apps can appear when already enabled, affecting which apps are visible in the app store and counts. Risk is moderate because it alters feature-gating/visibility logic and could unintentionally surface alpha apps if enablement detection is wrong.
Overview
Updates the dashboard app catalog to hide alpha apps in production only when they are not enabled, so already-installed/activated alpha apps remain visible and discoverable within the Apps page.
Adjusts
getEnabledAppIdsto derive enabled apps fromALL_APPSdirectly (instead ofgetAllAvailableAppIds), ensuring enabled alpha apps are included for sidebar/CmdK/navigation enablement logic, while keeping alpha filtering as a discovery gate for unenabled apps.Reviewed by Cursor Bugbot for commit 934a8a5. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by CodeRabbit
Release Notes