Skip to content

refactor(workspaces): ponytail-audit cleanup - #232

Merged
itsmeakhil merged 1 commit into
mainfrom
refactor/workspace-cleanup-audit
Jul 1, 2026
Merged

refactor(workspaces): ponytail-audit cleanup#232
itsmeakhil merged 1 commit into
mainfrom
refactor/workspace-cleanup-audit

Conversation

@itsmeakhil

Copy link
Copy Markdown
Collaborator
  • Delete workspace-switcher.tsx re-export wrapper (2 callers now import WorkspaceSwitcherDropdown directly).
  • Export hasWorkspaceEncryption helper from workspace-rbac and replace 5 inline settings?.encryption casts across password-manager, environment-manager, api-keys, and workspace-section.
  • Add useConfirm() dialog hook (components/confirm-dialog.tsx). Replaces window.confirm() in member-list, org-section, workspace-section so destructive prompts match the styled AlertDialog used elsewhere.
  • Refresh stale structural tests: workspace-switcher-dropdown no longer hosts org creation; member-list and workspaces-page assert useConfirm instead of window.confirm.

- Delete workspace-switcher.tsx re-export wrapper (2 callers now import
  WorkspaceSwitcherDropdown directly).
- Export hasWorkspaceEncryption helper from workspace-rbac and replace
  5 inline `settings?.encryption` casts across password-manager,
  environment-manager, api-keys, and workspace-section.
- Add useConfirm() dialog hook (components/confirm-dialog.tsx). Replaces
  window.confirm() in member-list, org-section, workspace-section so
  destructive prompts match the styled AlertDialog used elsewhere.
- Refresh stale structural tests: workspace-switcher-dropdown no longer
  hosts org creation; member-list and workspaces-page assert useConfirm
  instead of window.confirm.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
mydevtools-tech Ready Ready Preview, Comment Jul 1, 2026 7:03am

@itsmeakhil
itsmeakhil merged commit b961282 into main Jul 1, 2026
2 checks passed
@itsmeakhil
itsmeakhil deleted the refactor/workspace-cleanup-audit branch August 12, 2026 14:19
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