fix(claw): navigate to personal dashboard from subscription dialog#1791
Merged
jeanduplessis merged 1 commit intomainfrom Mar 31, 2026
Merged
fix(claw): navigate to personal dashboard from subscription dialog#1791jeanduplessis merged 1 commit intomainfrom
jeanduplessis merged 1 commit intomainfrom
Conversation
The 'Go to Dashboard' link in the AccessLockedDialog navigated to '/' which redirects to the org dashboard for users in exactly one org. Since KiloClaw is personal-only, navigate to '/profile' instead.
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (1 files)
Reviewed by gpt-5.4-20260305 · 102,349 tokens |
evanjacobson
approved these changes
Mar 31, 2026
jeanduplessis
added a commit
that referenced
this pull request
Apr 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Problem
The "Go to Dashboard" link in the KiloClaw subscription-required dialog (
AccessLockedDialog) navigates to/, which usesgetProfileRedirectPathto determine the destination. For users who belong to exactly one organization with an active subscription, this redirects to/organizations/{orgId}— even though KiloClaw is a personal-only feature with no org-scoped route.Solution
/to/profile, which is the personal dashboard.Why this approach
The only alternative was making the root redirect smarter (e.g. sniffing the referrer), but that adds complexity to a shared redirect path for a problem scoped entirely to this dialog. Hardcoding
/profileis correct because KiloClaw has no org route — users are always in a personal context here.Verification
pnpm typecheck— passedpnpm lint— passedVisual Changes
N/A
Reviewer Notes
/to/profileinhandleDismiss.handleDismiss, so they benefit from the same fix.