Skip to content

fix(platform): show friendly error for duplicate folder names - #1243

Merged
yannickmonney merged 1 commit into
mainfrom
worktree-agent-a753409c
Apr 9, 2026
Merged

yannickmonney merged 1 commit into
mainfrom
worktree-agent-a753409c

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

Summary

  • Detects duplicate folder name errors from the Convex backend and shows a translated user-friendly message instead of raw server details (request ID, mutation path, stack trace)
  • Adds folder.duplicateName translation keys in en.json and de.json
  • Adds tests covering duplicate name error handling

Closes #1208

When creating a folder with a name that already exists, show a
translated user-friendly message instead of exposing raw server
error details (request ID, mutation path, stack trace).
@coderabbitai

coderabbitai Bot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@yannickmonney has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 1 minutes and 24 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 1 minutes and 24 seconds.

⌛ 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.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 71dea70c-041c-4194-bacc-13e013408bce

📥 Commits

Reviewing files that changed from the base of the PR and between 17bef45 and d13a3b1.

📒 Files selected for processing (4)
  • services/platform/app/features/documents/components/__tests__/create-folder-dialog.test.tsx
  • services/platform/app/features/documents/components/create-folder-dialog.tsx
  • services/platform/messages/de.json
  • services/platform/messages/en.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch worktree-agent-a753409c

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.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@yannickmonney
yannickmonney merged commit d7cc83a into main Apr 9, 2026
23 checks passed
@yannickmonney
yannickmonney deleted the worktree-agent-a753409c branch April 9, 2026 09:38
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.

Duplicate folder name is correctly blocked, but the error message exposes internal server details

1 participant