Skip to content

feat: user and drive integration settings pages (#619-620)#740

Open
2witstudios wants to merge 3 commits intomasterfrom
ppg/sandbox-ui-settings
Open

feat: user and drive integration settings pages (#619-620)#740
2witstudios wants to merge 3 commits intomasterfrom
ppg/sandbox-ui-settings

Conversation

@2witstudios
Copy link
Owner

Summary

  • Enhanced user integrations settings page with account metadata display, last used timestamps, and affected agent count warnings on disconnect ([UI] Task 31: User integrations settings page #619)
  • Enhanced drive integrations admin panel with per-connection agent grant count badges and disconnect warnings ([UI] Task 32: Drive integrations admin page #620)
  • Created connection grants API endpoint for fetching agent usage data
  • Added 13 component tests for DisconnectConfirmDialog and IntegrationStatusBadge

Test plan

  • Settings pages render with existing patterns
  • Account metadata (email, name, workspace) displayed on connected integrations
  • Last used time shown with relative formatting
  • Agent count badge shown per drive connection
  • Disconnect dialog shows affected agent warning
  • OAuth flow initiates via existing ConnectIntegrationDialog
  • 13 new tests pass, 245/247 test files pass (2 pre-existing DB failures)

🤖 Generated with Claude Code

2witstudios and others added 3 commits February 27, 2026 22:53
…warnings (#619)

- Display account metadata (email, account name, workspace) on connected integrations
- Show last used timestamp with relative time formatting
- Add affected agent count warning in disconnect confirmation dialog
- Create connection grants API endpoint for fetching agent usage data
- Extract ConnectionRow component for cleaner separation of concerns

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…gs (#620)

- Show agent grant count badge per connection (e.g. "2 agents")
- Add affected agent count to disconnect confirmation dialog
- Extract DriveConnectionRow component for per-connection grant fetching

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- DisconnectConfirmDialog tests: rendering, agent warnings, confirm/cancel
- IntegrationStatusBadge tests: all 5 connection statuses
- 13 tests passing

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 28, 2026

Warning

Rate limit exceeded

@2witstudios has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 23 minutes and 40 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between afb36e6 and b6aecbb.

📒 Files selected for processing (7)
  • apps/web/src/app/api/integrations/connections/[connectionId]/grants/route.ts
  • apps/web/src/app/settings/integrations/page.tsx
  • apps/web/src/components/integrations/DisconnectConfirmDialog.tsx
  • apps/web/src/components/integrations/__tests__/DisconnectConfirmDialog.test.tsx
  • apps/web/src/components/integrations/__tests__/IntegrationStatusBadge.test.tsx
  • apps/web/src/components/settings/DriveIntegrations.tsx
  • apps/web/src/hooks/useIntegrations.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ppg/sandbox-ui-settings

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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