Skip to content

fix(app): restore the Extensions typecheck - #3192

Merged
benjaminshafii merged 1 commit into
devfrom
fix/app-typecheck-extensions
Jul 27, 2026
Merged

fix(app): restore the Extensions typecheck#3192
benjaminshafii merged 1 commit into
devfrom
fix/app-typecheck-extensions

Conversation

@benjaminshafii

Copy link
Copy Markdown
Member

Summary

  • Restores @openwork/app typecheck after feat(extensions): unify Extensions inventory and retire Connect tab #3184 by importing the missing openDesktopUrl, t, and ArrowUpRight symbols used by ManageInDenButton.
  • Keeps ManageInDenButton and denManageConnectionsUrl intact because the button is currently unrendered, but its connect.manage_in_den_web i18n key exists.
  • Types initialFilter as ExtensionsInventoryFilter instead of allowing it to infer as a bare string.

Exact errors fixed

  1. apps/app/src/react-app/domains/settings/cloud/agent-access-card.tsx: Cannot find name openDesktopUrl.
  2. apps/app/src/react-app/domains/settings/cloud/agent-access-card.tsx: Cannot find name t.
  3. apps/app/src/react-app/domains/settings/cloud/agent-access-card.tsx: Cannot find name ArrowUpRight.
  4. apps/app/src/react-app/domains/settings/pages/extensions-view.tsx line ~77: TS2345 because initialFilter: string was not assignable to ExtensionsInventoryFilter.
  5. apps/app/src/react-app/domains/settings/pages/extensions-view.tsx line ~102: same TS2345 for the second mcpView(mcpRouting) call.

Verification

  • pnpm --filter @openwork/app typecheck — passed with 0 TypeScript errors.
  • pnpm --filter @openwork/app test — 456 pass, 0 fail, 1269 expect() calls across 86 files.

Runtime proof

This is a compile-fix with no runtime path change: ManageInDenButton is currently not rendered anywhere, so there is no user-visible behavior change. No end-to-end frame proof accompanies this PR for that reason.

@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openwork-app Ready Ready Preview, Comment Jul 27, 2026 2:57pm
openwork-den Ready Ready Preview, Comment Jul 27, 2026 2:57pm
openwork-den-worker-proxy Ready Ready Preview, Comment Jul 27, 2026 2:57pm
openwork-landing Ready Ready Preview, Comment, Open in v0 Jul 27, 2026 2:57pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
openwork-diagnostics Skipped Skipped Jul 27, 2026 2:57pm

#3184 left ManageInDenButton referencing openDesktopUrl, t, and ArrowUpRight
without imports. The button is dead code today, but its i18n key exists, so
keep the teammate's in-progress path rather than deleting it.

The Extensions inventory initialFilter was also inferred as a bare string
before being passed to mcpView. Type it as ExtensionsInventoryFilter so dev's
@openwork/app typecheck stops failing for everyone.
@benjaminshafii
benjaminshafii force-pushed the fix/app-typecheck-extensions branch from 3b205cb to e783272 Compare July 27, 2026 14:56
@vercel
vercel Bot temporarily deployed to Preview – openwork-diagnostics July 27, 2026 14:56 Inactive
@benjaminshafii benjaminshafii changed the title Fix app extensions typecheck fix(app): restore the Extensions typecheck Jul 27, 2026
@benjaminshafii
benjaminshafii merged commit 2e84099 into dev Jul 27, 2026
10 checks passed
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