Skip to content

feat: move sdk sessions#1432

Merged
rohanchkrabrty merged 19 commits intomainfrom
move-sdk-sessions
Mar 2, 2026
Merged

feat: move sdk sessions#1432
rohanchkrabrty merged 19 commits intomainfrom
move-sdk-sessions

Conversation

@rohanchkrabrty
Copy link
Contributor

Summary

  • Migrated Sessions components from components/organization/sessions/ to views/sessions/
  • Converted route-based RevokeSessionConfirm dialog to state-based RevokeSessionDialog with open/onOpenChange/sessionId props
  • Replaced useSearch (URL search params) with sessionId prop, useRouteContext with onLogout prop
  • SessionsPage now manages revoke dialog state internally with compound state pattern
  • Thin wrapper passes onLogout from useRouteContext to SessionsPage
  • Removed revokeSessionRoute child route from routes.tsx

@rohanchkrabrty rohanchkrabrty added the Do not merge Label to indicate that the PR is not ready to be merged even though might be (or not) approvals. label Feb 26, 2026
@rohanchkrabrty rohanchkrabrty self-assigned this Feb 26, 2026
@vercel
Copy link

vercel bot commented Feb 26, 2026

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

Project Deployment Actions Updated (UTC)
frontier Ready Ready Preview, Comment Mar 2, 2026 5:50am

@coderabbitai
Copy link

coderabbitai bot commented Feb 26, 2026

Warning

Rate limit exceeded

@rohanchkrabrty has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 13 minutes and 12 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 ca38cd5 and b45d098.

📒 Files selected for processing (8)
  • web/sdk/react/components/organization/routes.tsx
  • web/sdk/react/components/organization/sessions/index.tsx
  • web/sdk/react/views/sessions/index.ts
  • web/sdk/react/views/sessions/revoke-session-dialog.tsx
  • web/sdk/react/views/sessions/revoke-session-final-confirm.tsx
  • web/sdk/react/views/sessions/session-skeleton.tsx
  • web/sdk/react/views/sessions/sessions-page.tsx
  • web/sdk/react/views/sessions/sessions.module.css

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.

Base automatically changed from move-sdk-preferences to main March 2, 2026 05:45
@rohanchkrabrty rohanchkrabrty enabled auto-merge (squash) March 2, 2026 05:46
@rohanchkrabrty rohanchkrabrty removed the Do not merge Label to indicate that the PR is not ready to be merged even though might be (or not) approvals. label Mar 2, 2026
@rohanchkrabrty rohanchkrabrty merged commit 65d7f71 into main Mar 2, 2026
8 checks passed
@rohanchkrabrty rohanchkrabrty deleted the move-sdk-sessions branch March 2, 2026 05:51
@coveralls
Copy link

Pull Request Test Coverage Report for Build 22563163663

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 39.848%

Totals Coverage Status
Change from base Build 22563148972: 0.0%
Covered Lines: 13595
Relevant Lines: 34117

💛 - Coveralls

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.

3 participants