feat: SDK general page design revamp#1480
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughSummary by CodeRabbit
WalkthroughUpgrades React to v19 in the client-demo, adds global styles and a Settings nested route, introduces SDK UI components (ImageUpload, ViewContainer, ViewHeader, GeneralView, DeleteOrganizationDialog) with CSS modules and exports, adjusts SDK package/tsup config, and removes the SheetFooter external CSS prop. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~40 minutes Possibly related PRs
Suggested reviewers
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 7
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: d4a8fab5-aa99-40ce-bd99-938852a3637f
⛔ Files ignored due to path filters (1)
web/pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (24)
web/apps/client-demo/package.jsonweb/apps/client-demo/src/App.tsxweb/apps/client-demo/src/Router.tsxweb/apps/client-demo/src/pages/Home.tsxweb/apps/client-demo/src/pages/Settings.tsxweb/apps/client-demo/src/pages/settings/General.tsxweb/apps/client-demo/src/styles.cssweb/sdk/admin/components/SheetFooter.tsxweb/sdk/package.jsonweb/sdk/react/components/image-upload/image-upload.module.cssweb/sdk/react/components/image-upload/image-upload.tsxweb/sdk/react/components/image-upload/index.tsweb/sdk/react/components/view-container/index.tsweb/sdk/react/components/view-container/view-container.module.cssweb/sdk/react/components/view-container/view-container.tsxweb/sdk/react/components/view-header/index.tsweb/sdk/react/components/view-header/view-header.tsxweb/sdk/react/index.tsweb/sdk/react/views-new/general/components/delete-organization-dialog.module.cssweb/sdk/react/views-new/general/components/delete-organization-dialog.tsxweb/sdk/react/views-new/general/general-view.module.cssweb/sdk/react/views-new/general/general-view.tsxweb/sdk/react/views-new/general/index.tsweb/sdk/tsup.config.ts
web/sdk/react/views-new/general/components/delete-organization-dialog.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Actionable comments posted: 3
🧹 Nitpick comments (2)
web/sdk/package.json (2)
109-109: Inconsistent version pinning for@base-ui/react.
@base-ui/reactis pinned to an exact version (1.2.0) while most other dependencies use caret ranges (e.g.,^1.2.0). This prevents automatic minor and patch updates. Consider using^1.2.0for consistency unless there's a specific reason for strict pinning.Suggested fix
- "@base-ui/react": "1.2.0", + "@base-ui/react": "^1.2.0",
150-150: Missing newline at end of file.Add a trailing newline to comply with POSIX conventions and prevent diff noise in future changes.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 761b58f1-949e-4bbd-9f7d-59c5261c7723
⛔ Files ignored due to path filters (1)
web/pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (4)
web/apps/client-demo/package.jsonweb/apps/client-demo/src/pages/Home.tsxweb/sdk/package.jsonweb/sdk/react/index.ts
✅ Files skipped from review due to trivial changes (1)
- web/apps/client-demo/package.json
🚧 Files skipped from review as they are similar to previous changes (1)
- web/sdk/react/index.ts
Pull Request Test Coverage Report for Build 23887122760Details
💛 - Coveralls |
Summary
views-new/general/using@raystack/apsara-v1components@raystack/apsara-v1is just an alias for the@raystack/apsara@v1.0.0.rc.1. This is needed temporarily to not break existing pages.ViewContainer(page layout wrapper),ViewHeader(page title/description),ImageUpload(avatar/image upload with crop dialog)DeleteOrganizationDialogwith self-contained delete logic (form, mutation, validation)/:orgId/settings) with Apsara Sidebar and nested routes