Skip to content

chore: bump apsara to 1.1.0 and remove unused sdk/react folder#1760

Merged
rohanchkrabrty merged 2 commits into
mainfrom
chore-bump-apsara
Jul 15, 2026
Merged

chore: bump apsara to 1.1.0 and remove unused sdk/react folder#1760
rohanchkrabrty merged 2 commits into
mainfrom
chore-bump-apsara

Conversation

@rohanchkrabrty

Copy link
Copy Markdown
Contributor

Summary

  • Bump @raystack/apsara from 1.0.0-rc.12 to ^1.1.0 in the SDK and admin app
  • Update SDK admin/client views (audit logs, user details, sessions, auth, PAT, projects) for the new Apsara component APIs and styles
  • Remove the leftover web/sdk/react/ folder — it was replaced by web/sdk/client/ in chore: remove legacy SDK views and fix admin issues #1675 and its remaining add-tokens-dialog.tsx is unused

@vercel

vercel Bot commented Jul 15, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
frontier Ready Ready Preview, Comment Jul 15, 2026 5:10am

@coderabbitai

coderabbitai Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 6a4fee13-8a73-43b4-8e1b-5faabb729dd0

📥 Commits

Reviewing files that changed from the base of the PR and between afc1be7 and 06953e0.

⛔ Files ignored due to path filters (1)
  • web/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (20)
  • web/apps/admin/package.json
  • web/apps/client-demo/package.json
  • web/sdk/admin/views/audit-logs/audit-logs.module.css
  • web/sdk/admin/views/audit-logs/sidepanel-details.tsx
  • web/sdk/admin/views/audit-logs/sidepanel-list-id.tsx
  • web/sdk/admin/views/audit-logs/sidepanel-list-link.tsx
  • web/sdk/admin/views/products/prices/index.tsx
  • web/sdk/admin/views/users/details/layout/side-panel-details.tsx
  • web/sdk/admin/views/users/details/layout/side-panel-membership.tsx
  • web/sdk/admin/views/users/details/layout/side-panel.module.css
  • web/sdk/admin/views/users/details/security/sessions/revoke-session-confirm.tsx
  • web/sdk/admin/views/users/details/security/sessions/sessions.module.css
  • web/sdk/client/index.ts
  • web/sdk/client/views/auth/sign-in/sign-in-view.tsx
  • web/sdk/client/views/auth/sign-up/sign-up-view.tsx
  • web/sdk/client/views/pat/components/pat-created-dialog.tsx
  • web/sdk/client/views/projects/components/add-member-menu.tsx
  • web/sdk/client/views/projects/project-details-view.module.css
  • web/sdk/package.json
  • web/sdk/react/views/tokens/components/add-tokens-dialog.tsx
💤 Files with no reviewable changes (3)
  • web/sdk/client/views/projects/components/add-member-menu.tsx
  • web/sdk/client/index.ts
  • web/sdk/react/views/tokens/components/add-tokens-dialog.tsx

📝 Walkthrough

Summary by CodeRabbit

  • Bug Fixes

    • Improved layout consistency across authentication, project, pricing, audit log, and user detail screens.
    • Standardized label alignment and sizing in side panels and session details.
    • Corrected full-width behavior for buttons, dialogs, and content containers.
  • Changes

    • Removed the token purchase dialog from the SDK interface.
    • Updated styling behavior to provide more predictable component presentation across applications.

Walkthrough

The PR upgrades @raystack/apsara, centralizes side-panel label sizing, normalizes full-width layout styling, updates project toggle width handling, and removes the AddTokensDialog component and props interface.

Changes

Apsara UI alignment

Layer / File(s) Summary
Dependency and label style updates
web/apps/*/package.json, web/sdk/package.json, web/sdk/admin/views/audit-logs/*, web/sdk/admin/views/users/details/**/*
Apsara versions move to ^1.1.0, while audit-log and user/session labels use shared 120px CSS classes.
Layout width normalization
web/sdk/admin/views/audit-logs/sidepanel-list-id.tsx, web/sdk/admin/views/products/prices/index.tsx, web/sdk/client/views/auth/*, web/sdk/client/views/pat/components/*, web/sdk/client/views/projects/**/*
Full-width component props are replaced with inline or CSS width declarations; the PAT callout explicitly uses the outline variant.

Token dialog removal

Layer / File(s) Summary
Remove add-tokens dialog
web/sdk/react/views/tokens/components/add-tokens-dialog.tsx
The AddTokensDialog component and AddTokensDialogProps interface, including lookup, validation, checkout, and dialog UI logic, are deleted.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

Suggested reviewers: paansinghcoder, rohilsurana

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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.

@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 29390746625

Coverage remained the same at 45.203%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 37690
Covered Lines: 17037
Line Coverage: 45.2%
Coverage Strength: 12.69 hits per line

💛 - Coveralls

@rohanchkrabrty rohanchkrabrty merged commit 9304e4a into main Jul 15, 2026
8 checks passed
@rohanchkrabrty rohanchkrabrty deleted the chore-bump-apsara branch July 15, 2026 05:29
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