Skip to content

fix(stuff): discord auth, docs and more#34

Merged
CodeMeAPixel merged 1 commit into
mainfrom
develop
Jun 24, 2026
Merged

fix(stuff): discord auth, docs and more#34
CodeMeAPixel merged 1 commit into
mainfrom
develop

Conversation

@CodeMeAPixel

@CodeMeAPixel CodeMeAPixel commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

Describe what changed and why.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Chore / maintenance

Testing

List what you ran:

  • pnpm lint
  • pnpm build
  • Relevant tests for changed area

Commands/results:

Paste test output or brief notes here.

Screenshots / Evidence (if applicable)

Add screenshots, recordings, or logs.

Checklist

  • I linked related issue(s)
  • I updated docs where needed
  • I updated changelog for user-facing changes
  • I removed secrets from code, logs, and screenshots

Summary by CodeRabbit

  • New Features

    • Added new docs for Campaigns & Broadcasts, Contact Books, Deliverability, Google OAuth, Discord OAuth, Error Codes, and Rate Limits.
    • Expanded the API reference with clearer request, response, authentication, pagination, and rate-limit guidance.
    • Improved the Node.js getting-started guide with broader sending, batching, contact, and webhook examples.
  • Bug Fixes

    • Updated the suspended-account flow and messaging, including clearer next steps and appeal options.
  • Documentation

    • Reorganized the docs navigation and refreshed several guides to match the latest API and product workflows.

@CodeMeAPixel CodeMeAPixel merged commit d263df0 into main Jun 24, 2026
13 of 16 checks passed
@coderabbitai

coderabbitai Bot commented Jun 24, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 52456604-0371-4326-8f25-400bd77a07c4

📥 Commits

Reviewing files that changed from the base of the PR and between 1551b29 and be34899.

📒 Files selected for processing (16)
  • apps/docs/api-reference/introduction.mdx
  • apps/docs/docs.json
  • apps/docs/get-started/nodejs.mdx
  • apps/docs/guides/api-authentication.mdx
  • apps/docs/guides/campaigns.mdx
  • apps/docs/guides/contact-books.mdx
  • apps/docs/guides/deliverability.mdx
  • apps/docs/guides/discord-oauth.mdx
  • apps/docs/guides/error-codes.mdx
  • apps/docs/guides/google-oauth.mdx
  • apps/docs/guides/rate-limits.mdx
  • apps/docs/introduction.mdx
  • apps/docs/self-hosting/smtp-server.mdx
  • apps/web/src/app/banned/page.tsx
  • apps/web/src/components/marketing/TopNav.tsx
  • apps/web/src/server/auth.ts

Walkthrough

The docs site now has updated navigation, API reference, onboarding, and guide pages, including new OAuth, marketing, rate-limit, and error-code content. The web app updates the banned-account page, header blur layer, and banned-user sign-in check.

Changes

Documentation site overhaul

Layer / File(s) Summary
Navigation and landing cards
apps/docs/docs.json, apps/docs/introduction.mdx
Updates the docs navigation groups and home page card grids with new guide links and reordered sections.
API reference overview
apps/docs/api-reference/introduction.mdx
Adds the API base URL, bearer auth, request and response formats, error schema, rate limiting, pagination, and playground sections.
API client examples and error handling
apps/docs/guides/api-authentication.mdx, apps/docs/guides/error-codes.mdx, apps/docs/guides/rate-limits.mdx
Updates SDK client examples and adds error-code, retry, and rate-limit handling documentation.
Node.js quick start
apps/docs/get-started/nodejs.mdx
Reworks the Node.js guide with updated prerequisites, email sending examples, batch sending, contacts, webhook verification, and next steps.
Campaign and contact guides
apps/docs/guides/contact-books.mdx, apps/docs/guides/campaigns.mdx, apps/docs/guides/deliverability.mdx
Adds campaign, contact-book, and deliverability documentation covering workflows, plan limits, personalization, and reputation controls.
Google and Discord OAuth
apps/docs/guides/google-oauth.mdx, apps/docs/guides/discord-oauth.mdx
Adds OAuth sign-in guides with account linking, permissions, revocation, troubleshooting, and next-step links.
SMTP self-hosting guide
apps/docs/self-hosting/smtp-server.mdx
Simplifies the SMTP server self-hosting instructions for compose, environment variables, and systemd notes.

Web account suspension updates

Layer / File(s) Summary
Suspension page UI
apps/web/src/app/banned/page.tsx
Updates the banned page with suspension copy, policy linking, a Discord appeal link, and a back-to-login action.
Top navigation blur layer
apps/web/src/components/marketing/TopNav.tsx
Moves the backdrop blur styling into a separate absolute layer inside the header.
Banned-user auth check
apps/web/src/server/auth.ts
Changes the sign-in banned-user lookup to query by email instead of parsed user ID before redirecting to the banned error route.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch develop

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.

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.

1 participant