Skip to content

Conversation

@ankur-arch
Copy link
Contributor

@ankur-arch ankur-arch commented Aug 29, 2025

Summary by CodeRabbit

  • New Features
    • Replaced CockroachDB with a MongoDB option in the "Bring your own database" tab for direct access to MongoDB setup guidance.
    • Added MongoDB icon support for both light and dark themes for visual consistency.
    • Improves discoverability of MongoDB as a supported database choice.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Aug 29, 2025

Walkthrough

Replaces the CockroachDB entry with a MongoDB entry in the “Bring your own database” tab data inside src/data/indexData.ts; URL, image (light/dark), and tech label were updated; no other changes.

Changes

Cohort / File(s) Summary of changes
Data: BYOD tab replacement
src/data/indexData.ts
Replaced the CockroachDB item in the “Bring your own database” tab with a MongoDB item: url /getting-started/setup-prisma/add-to-existing-project/mongodb-typescript-mongodb, image /img/technologies/mongodbsimple.svg (light/dark), and tech MongoDB.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes


📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 5ada3dc and c70a500.

📒 Files selected for processing (1)
  • src/data/indexData.ts (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/data/indexData.ts
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: runner / linkspector
  • GitHub Check: Check internal links
  • GitHub Check: Lost Pixel
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch mongo-patch

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbit in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbit in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbit gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbit read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbit help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbit ignore or @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbit summary or @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbit or @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions
Copy link
Contributor

Dangerous URL check

No absolute URLs to prisma.io/docs found.
No local URLs found.

@github-actions
Copy link
Contributor

Redirect check

This PR probably requires the following redirects to be added to static/_redirects:

  • This PR does not change any pages in a way that would require a redirect.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Aug 29, 2025

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: c70a500
Status: ✅  Deploy successful!
Preview URL: https://fb76882e.docs-51g.pages.dev
Branch Preview URL: https://mongo-patch.docs-51g.pages.dev

View logs

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (2)
src/data/indexData.ts (2)

199-201: Use a true dark-mode asset if available; else drop imageDark.

If a dedicated dark icon exists, reference it; otherwise omit imageDark to avoid redundant props.

Option A (if dark asset exists):

-        imageDark: "/img/technologies/mongodbsimple.svg",
+        imageDark: "/img/technologies/mongodbdark.svg",

Option B (no dark asset available):

-        imageDark: "/img/technologies/mongodbsimple.svg",

197-202: Optional: Positioning in the list.

Consider placing MongoDB before/after the relational DBs (or alphabetizing) to match any established ordering conventions in this list.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 5c4a19f and 5ada3dc.

📒 Files selected for processing (1)
  • src/data/indexData.ts (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: Check internal links
  • GitHub Check: runner / linkspector
  • GitHub Check: Lost Pixel
🔇 Additional comments (1)
src/data/indexData.ts (1)

197-202: Verified route slug and image assets exist: the documentation page and mongodbsimple.svg are present; no broken links or images.

coderabbitai[bot]
coderabbitai bot previously approved these changes Aug 29, 2025
@ankur-arch ankur-arch merged commit 70fd50e into main Aug 30, 2025
6 of 9 checks passed
@ankur-arch ankur-arch deleted the mongo-patch branch August 30, 2025 07:35
jlecordier pushed a commit to jlecordier/docs-1 that referenced this pull request Sep 3, 2025
* feat: add mongodb

* fix: swap cockroach icon for mongo
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