Capy couldn't review this pull request because Screen's workspace is out of credits, add credits or enable auto-reload to resume automatic reviews.
refactor: extract workspace route domains#54
Summary
- Extract account, profile, settings, team, templates, integrations, resources, subscription, onboarding, and notification modules from the route bucket.
- Move shared route utilities, theme handling, feedback, and domain types to explicit feature-owned modules.
- Keep compatibility exports temporarily so the existing workspace routes remain behaviorally unchanged while the next layer adopts the new ownership boundaries.
Verification
- TypeScript passed on the foundation branch.
- Production build passed on the foundation branch.
- AST comparison found no moved-function body mismatches.
Summary by CodeRabbit
New Features
- Added account settings with sign-in, profile management, and public profile editing.
- Added integrations management for connected services and project links.
- Added resources and project template management.
- Added team workspaces with member permissions, comments, activity, notifications, and chat.
- Added subscription and pricing administration.
- Added configurable workspace settings, notifications, analytics consent, appearance, regional preferences, and backups.
- Added onboarding choices for local mode, accounts, and sample workspaces.
Bug Fixes
- App content now remains visible while authentication is loading.
- Updated smoke-test expectations for creator unlock messaging.
Checks
Failing1
- Failed
Added 1 commit
- refactor: extract workspace route domainsc1bef8c
No actionable comments were generated in the recent review. π
βΉοΈ Recent review info
βοΈ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: cb4f18bf-1eeb-481c-a593-71aed9ccdc5c
π₯ Commits
Reviewing files that changed from the base of the PR and between b6f1cf3b9cb6d6d9ba1f82a63aeffaa0341a470c and 3f0f1e6190a001c470fa71999f31e9da58f381f9.
π Files selected for processing (45)
scripts/verify-browser-smoke.mjsscripts/verify.mjssrc/app/tracker-app.tsxsrc/features/account/account-controller.tssrc/features/account/account-page.tsxsrc/features/integrations/integration-constants.tssrc/features/integrations/integrations-page.tsxsrc/features/notifications/notification-bell.tsxsrc/features/notifications/notification-controller.tssrc/features/notifications/notification-copy.tssrc/features/onboarding/analytics-consent-dialog.tsxsrc/features/onboarding/welcome-choice-dialog.tsxsrc/features/profile/profile-components.tsxsrc/features/profile/profile-controller.tssrc/features/profile/profile-page.tsxsrc/features/resources/resources-page.tsxsrc/features/routes/remaining-routes.tsxsrc/features/routes/route-controllers.tssrc/features/routes/shared/app-feedback.tsxsrc/features/routes/shared/clipboard.tssrc/features/routes/shared/empty-panel.tsxsrc/features/routes/shared/route-theme.tssrc/features/routes/shared/route-types.tssrc/features/routes/utils/date-utils.tssrc/features/routes/utils/number-utils.tssrc/features/routes/utils/profile-utils.tssrc/features/routes/utils/project-utils.tssrc/features/routes/utils/status-utils.tssrc/features/routes/utils/work-type-utils.tssrc/features/settings/settings-components.tsxsrc/features/settings/settings-controller.tssrc/features/settings/settings-defaults.tssrc/features/settings/settings-page.tsxsrc/features/settings/settings-utils.tssrc/features/subscription/subscription-controller.tssrc/features/subscription/subscription-page.tsxsrc/features/team/team-api.tssrc/features/team/team-chat-page.tsxsrc/features/team/team-constants.tssrc/features/team/team-controller.tssrc/features/team/team-page.tsxsrc/features/team/team-types.tssrc/features/team/team-utils.tssrc/features/templates/template-controller.tssrc/features/templates/templates-page.tsx
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.
π Walkthrough
Walkthrough
The pull request adds new workspace pages, shared utilities, authentication-aware controllers, profile and onboarding flows, team features, notification and subscription surfaces, local content management, and runtime verification updates.
Changes
Relay feature surface expansion
| Layer / File(s) | Summary |
|---|---|
Shared foundations src/features/routes/shared/*, src/features/routes/utils/*, src/features/settings/settings-defaults.ts, src/features/settings/settings-utils.ts, src/features/settings/settings-components.tsx | Adds shared feedback, theme, clipboard, empty-state, date, number, profile, project, status, work-type, settings, and validation utilities. |
Controller wiring and route exports src/features/*/*-controller.ts, src/features/routes/route-controllers.ts | Moves controller hooks into feature modules and re-exports them from the route controller barrel. |
Account, profile, and onboarding surfaces src/features/account/*, src/features/profile/*, src/features/onboarding/* | Adds account authentication states, profile editing and sharing, organization profiles, welcome choices, and analytics consent. |
Settings workspace surface src/features/settings/settings-page.tsx | Adds workspace settings, backup and restore, workflow configuration, notifications, permissions, integrations, appearance, and regional controls. |
Integrations, resources, and templates src/features/integrations/*, src/features/resources/*, src/features/templates/* | Adds local integration management, resource-link CRUD, project linking, and custom template management. |
Team workspace workflows src/features/team/* | Adds team administration, member permissions, ownership transfer, project comments, activity and notification views, and team chat. |
Notifications and subscription flows src/features/notifications/*, src/features/subscription/* | Adds notification display and read actions plus authentication-aware subscription loading and pricing states. |
Runtime loading and verification updates src/app/tracker-app.tsx, scripts/verify*.mjs | Keeps page content rendered while authentication loads and updates verification text and file targets. |
Priority: β Normal
Estimated code review effort: 5 (Critical) | ~120 minutes
Change: Refactor
Merge Risk: βͺ Minimal Β· up to 3f0f1
The extraction preserves existing behavior, with no concrete merge-blocking regression identified.
π₯ Pre-merge checks | β 4 | β 1
β Failed checks (1 warning)
| Check name | Status | Explanation | Resolution |
|---|---|---|---|
| Docstring Coverage | β οΈ Warning | Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 129 functions across 44 files. | Write docstrings for the functions missing them to satisfy the coverage threshold. |
β Passed checks (4 passed)
| Check name | Status | Explanation |
|---|---|---|
| Description Check | β Passed | Check skipped - CodeRabbitβs high-level summary is enabled. |
| Title check | β Passed | The title clearly and concisely describes the main change: extracting workspace route domains into feature-owned modules. |
| 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. |
- Fix all pre-merge checks with AI
β¨ Finishing Touches π‘ 1
π Generate docstrings π‘
- Create stacked PR
- Commit on current branch
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 @coderabbitai help to get the list of available commands.
Added 2 commits
Deploying with Β
Β Cloudflare Workers
The latest updates on your project. Learn more about integrating Git with Workers.
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| β
Deployment successful! View logs | relay | 3f0f1e61 | Sep 17 2026, 11:59 AM |
Deploying with Β
Β Cloudflare Workers
The latest updates on your project. Learn more about integrating Git with Workers.
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| β
Deployment successful! View logs | relay-web | 3f0f1e61 | Commit Preview URL Branch Preview URL | Sep 17 2026, 12:00 PM |
@@coderabbitai help
Tip
For best results, initiate chat on the files or code changes.
@screen-gd
Available commands:
@coderabbitai reviewβ Review the current changes.@coderabbitai full reviewβ Review all changes again.@coderabbitai approveβ Approve the pull request.@coderabbitai pauseβ Pause automatic reviews.@coderabbitai resumeβ Resume automatic reviews.@coderabbitai resolveβ Resolve all CodeRabbit review comments.@coderabbitai fix ciβ Analyze and fix failing CI checks with a stacked PR.@coderabbitai regenerate summaryβ Regenerate the pull request summary.@coderabbitai helpβ Show this command list.
You are interacting with an AI system.
@coderabbitai full review
β Action performed
Full review finished.