Skip to content

feat: hide hidden and non-healthy apps in the workspaces table #17830

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat: omit non-healthy apps from workspaces table
  • Loading branch information
brettkolodny committed May 14, 2025
commit 643e1840c3ea3d4d5ef70f4f1be94ef46eb6f287
4 changes: 3 additions & 1 deletion site/src/pages/WorkspacesPage/WorkspacesTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,9 @@ const WorkspaceApps: FC<WorkspaceAppsProps> = ({ workspace }) => {
builtinApps.delete("ssh_helper");

const remainingSlots = WORKSPACE_APPS_SLOTS - builtinApps.size;
const userApps = agent.apps.slice(0, remainingSlots);
const userApps = agent.apps
.filter((app) => app.health === "healthy")
.slice(0, remainingSlots);

const buttons: ReactNode[] = [];

Expand Down