Skip to content

Comments

Sentence case cards#1253

Merged
elie222 merged 1 commit intomainfrom
chore/convert-titles-to-sentence-case
Jan 11, 2026
Merged

Sentence case cards#1253
elie222 merged 1 commit intomainfrom
chore/convert-titles-to-sentence-case

Conversation

@elie222
Copy link
Owner

@elie222 elie222 commented Jan 11, 2026

Generated description

Below is a concise technical summary of the changes proposed in this PR:

graph LR
SettingsTab_("SettingsTab"):::modified
WritingStyleSetting_("WritingStyleSetting"):::modified
PersonalSignatureSetting_("PersonalSignatureSetting"):::modified
SettingsTab_ -- "Updated header and clarified writing-style description." --> WritingStyleSetting_
SettingsTab_ -- "Always shows 'Edit' button; removed hasSignature conditional." --> PersonalSignatureSetting_
classDef added stroke:#15AA7A
classDef removed stroke:#CD5270
classDef modified stroke:#EDAC4C
linkStyle default stroke:#CBD5E1,font-size:13px
Loading

Updates the casing of various UI card and dialog titles, section headers, and button labels across the application to sentence case for improved consistency. Refines the display text for several features, including administrative tools, early access features, AI assistant settings, and integration tests, to align with a standardized UI presentation.

Latest Contributors(1)
UserCommitDate
elie222chore-improve-settings...January 11, 2026
This pull request is reviewed by Baz. Review like a pro on (Baz).

Summary by CodeRabbit

  • Style
    • Standardized UI text formatting across multiple components, updating card titles and section headers from title case to sentence case for visual consistency throughout the application.
    • Simplified Personal Signature Setting button label to static "Edit" text, removing conditional logic.
    • Updated Writing Style Setting description for improved clarity and user guidance.

✏️ Tip: You can customize this high-level summary in your review settings.

@vercel
Copy link

vercel bot commented Jan 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
inbox-zero Ready Ready Preview Jan 11, 2026 7:12pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 11, 2026

📝 Walkthrough

Walkthrough

This pull request applies capitalization normalization across multiple UI components, converting CardTitle and DialogTitle text from title-case to sentence-case conventions. Changes affect approximately 15 component files without modifying functionality or control flow.

Changes

Cohort / File(s) Summary
Assistant Components
apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx, apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx, apps/web/app/(app)/[emailAccountId]/assistant/settings/PersonalSignatureSetting.tsx, apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx, apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
CardTitle and DialogTitle text converted to sentence-case (e.g., "Test Result" → "Test result", "Your Voice" → "Your voice"). PersonalSignatureSetting removes conditional button label logic.
Calendar & Features
apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx, apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx, apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx, apps/web/app/(app)/early-access/page.tsx
CardTitle text normalized to sentence-case format across calendar, categorization, and early access feature cards.
Admin & Test Components
apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx, apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx, apps/web/app/(app)/admin/DebugLabels.tsx, apps/web/app/(app)/admin/GmailUrlConverter.tsx
CardTitle text converted from title-case to sentence-case in test and admin utility components.
User & Organization Pages
apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx, apps/web/components/ReferralDialog.tsx
Multiple CardTitle elements updated to sentence-case (e.g., "Invalid Invitation" → "Invalid invitation", "Your Referral Code" → "Your referral code").

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • edulelis
  • baz-reviewer

Poem

🐰 Titles straightened, caps now humble,
From grand case to gentle sentence they tumble,
Consistency reigns where the UI gleams,
Small changes, big dreams!

🚥 Pre-merge checks | ✅ 2 | ❌ 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%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Sentence case cards' directly and clearly summarizes the main change: converting card titles from title case to sentence case across multiple files.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

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.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 15 files

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)
apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx (1)

121-142: Avoid key={index} for toolCalls rendering. If toolCalls can reorder/change, this may misrender; use a stable identifier (e.g., call id/name+hash).

apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx (1)

62-73: Avoid non-null assertions on feature.flagKey. Guard/skip rows without a flagKey rather than using !.

Proposed patch
-          {features.map((feature) => (
+          {features
+            .filter((feature) => !!feature.flagKey)
+            .map((feature) => (
             <TableRow key={feature.name}>
               <TableCell>{feature.name}</TableCell>
               <TableCell>
                 <Toggle
                   name={feature.name}
-                  enabled={!!activeFlags?.includes(feature.flagKey!)}
-                  onChange={() => toggleBeta(feature.flagKey!)}
+                  enabled={!!activeFlags?.includes(feature.flagKey)}
+                  onChange={() => toggleBeta(feature.flagKey)}
                 />
               </TableCell>
             </TableRow>
-          ))}
+          ))}
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8a46d64 and 40ca42b.

📒 Files selected for processing (15)
  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/PersonalSignatureSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx
  • apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx
  • apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx
  • apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx
  • apps/web/app/(app)/admin/DebugLabels.tsx
  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
  • apps/web/app/(app)/early-access/page.tsx
  • apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx
  • apps/web/components/ReferralDialog.tsx
🧰 Additional context used
📓 Path-based instructions (21)
**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/data-fetching.mdc)

**/*.{ts,tsx}: For API GET requests to server, use the swr package
Use result?.serverError with toastError from @/components/Toast for error handling in async operations

**/*.{ts,tsx}: Use wrapper functions for Gmail message operations (get, list, batch, etc.) from @/utils/gmail/message.ts instead of direct API calls
Use wrapper functions for Gmail thread operations from @/utils/gmail/thread.ts instead of direct API calls
Use wrapper functions for Gmail label operations from @/utils/gmail/label.ts instead of direct API calls

**/*.{ts,tsx}: Don't use primitive type aliases or misleading types
Don't use empty type parameters in type aliases and interfaces
Don't use this and super in static contexts
Don't use any or unknown as type constraints
Don't use the TypeScript directive @ts-ignore
Don't use TypeScript enums
Don't export imported variables
Don't add type annotations to variables, parameters, and class properties that are initialized with literal expressions
Don't use TypeScript namespaces
Don't use non-null assertions with the ! postfix operator
Don't use parameter properties in class constructors
Don't use user-defined types
Use as const instead of literal types and type annotations
Use either T[] or Array<T> consistently
Initialize each enum member value explicitly
Use export type for types
Use import type for types
Make sure all enum members are literal values
Don't use TypeScript const enum
Don't declare empty interfaces
Don't let variables evolve into any type through reassignments
Don't use the any type
Don't misuse the non-null assertion operator (!) in TypeScript files
Don't use implicit any type on variable declarations
Don't merge interfaces and classes unsafely
Don't use overload signatures that aren't next to each other
Use the namespace keyword instead of the module keyword to declare TypeScript namespaces
Use consistent accessibility modifiers on class properties and methods
Use function types instead of object types wit...

Files:

  • apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx
  • apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx
  • apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx
  • apps/web/app/(app)/early-access/page.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
  • apps/web/components/ReferralDialog.tsx
  • apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx
  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx
  • apps/web/app/(app)/admin/DebugLabels.tsx
  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
  • apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/PersonalSignatureSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx
**/*.{ts,tsx,js,jsx}

📄 CodeRabbit inference engine (.cursor/rules/prisma-enum-imports.mdc)

Always import Prisma enums from @/generated/prisma/enums instead of @/generated/prisma/client to avoid Next.js bundling errors in client components

Import Prisma using the project's centralized utility: import prisma from '@/utils/prisma'

Files:

  • apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx
  • apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx
  • apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx
  • apps/web/app/(app)/early-access/page.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
  • apps/web/components/ReferralDialog.tsx
  • apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx
  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx
  • apps/web/app/(app)/admin/DebugLabels.tsx
  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
  • apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/PersonalSignatureSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx
apps/web/**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/project-structure.mdc)

Import specific lodash functions rather than entire lodash library to minimize bundle size (e.g., import groupBy from 'lodash/groupBy')

apps/web/**/*.{ts,tsx}: Use TypeScript with strict null checks
Do not export types/interfaces that are only used within the same file. Export later if needed
Infer types from Zod schemas using z.infer<typeof schema> instead of duplicating as separate interfaces

Files:

  • apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx
  • apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx
  • apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx
  • apps/web/app/(app)/early-access/page.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
  • apps/web/components/ReferralDialog.tsx
  • apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx
  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx
  • apps/web/app/(app)/admin/DebugLabels.tsx
  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
  • apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/PersonalSignatureSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx
**/*.{tsx,ts}

📄 CodeRabbit inference engine (.cursor/rules/ui-components.mdc)

**/*.{tsx,ts}: Use Shadcn UI and Tailwind for components and styling
Use next/image package for images
For API GET requests to server, use the swr package with hooks like useSWR to fetch data
For text inputs, use the Input component with registerProps for form integration and error handling

Files:

  • apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx
  • apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx
  • apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx
  • apps/web/app/(app)/early-access/page.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
  • apps/web/components/ReferralDialog.tsx
  • apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx
  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx
  • apps/web/app/(app)/admin/DebugLabels.tsx
  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
  • apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/PersonalSignatureSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx
**/*.{tsx,ts,css}

📄 CodeRabbit inference engine (.cursor/rules/ui-components.mdc)

Implement responsive design with Tailwind CSS using a mobile-first approach

Files:

  • apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx
  • apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx
  • apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx
  • apps/web/app/(app)/early-access/page.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
  • apps/web/components/ReferralDialog.tsx
  • apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx
  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx
  • apps/web/app/(app)/admin/DebugLabels.tsx
  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
  • apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/PersonalSignatureSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx
**/*.tsx

📄 CodeRabbit inference engine (.cursor/rules/ui-components.mdc)

**/*.tsx: Use the LoadingContent component to handle loading states instead of manual loading state management
For text areas, use the Input component with type='text', autosizeTextarea prop set to true, and registerProps for form integration

Files:

  • apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx
  • apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx
  • apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx
  • apps/web/app/(app)/early-access/page.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
  • apps/web/components/ReferralDialog.tsx
  • apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx
  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx
  • apps/web/app/(app)/admin/DebugLabels.tsx
  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
  • apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/PersonalSignatureSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx
**/*.{js,jsx,ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/ultracite.mdc)

**/*.{js,jsx,ts,tsx}: Don't use accessKey attribute on any HTML element
Don't set aria-hidden="true" on focusable elements
Don't add ARIA roles, states, and properties to elements that don't support them
Don't use distracting elements like <marquee> or <blink>
Only use the scope prop on <th> elements
Don't assign non-interactive ARIA roles to interactive HTML elements
Make sure label elements have text content and are associated with an input
Don't assign interactive ARIA roles to non-interactive HTML elements
Don't assign tabIndex to non-interactive HTML elements
Don't use positive integers for tabIndex property
Don't include "image", "picture", or "photo" in img alt prop
Don't use explicit role property that's the same as the implicit/default role
Make static elements with click handlers use a valid role attribute
Always include a title element for SVG elements
Give all elements requiring alt text meaningful information for screen readers
Make sure anchors have content that's accessible to screen readers
Assign tabIndex to non-interactive HTML elements with aria-activedescendant
Include all required ARIA attributes for elements with ARIA roles
Make sure ARIA properties are valid for the element's supported roles
Always include a type attribute for button elements
Make elements with interactive roles and handlers focusable
Give heading elements content that's accessible to screen readers (not hidden with aria-hidden)
Always include a lang attribute on the html element
Always include a title attribute for iframe elements
Accompany onClick with at least one of: onKeyUp, onKeyDown, or onKeyPress
Accompany onMouseOver/onMouseOut with onFocus/onBlur
Include caption tracks for audio and video elements
Use semantic elements instead of role attributes in JSX
Make sure all anchors are valid and navigable
Ensure all ARIA properties (aria-*) are valid
Use valid, non-abstract ARIA roles for elements with ARIA roles
Use valid AR...

Files:

  • apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx
  • apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx
  • apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx
  • apps/web/app/(app)/early-access/page.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
  • apps/web/components/ReferralDialog.tsx
  • apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx
  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx
  • apps/web/app/(app)/admin/DebugLabels.tsx
  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
  • apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/PersonalSignatureSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx
**/*.{jsx,tsx}

📄 CodeRabbit inference engine (.cursor/rules/ultracite.mdc)

**/*.{jsx,tsx}: Don't use unnecessary fragments
Don't pass children as props
Don't use the return value of React.render
Make sure all dependencies are correctly specified in React hooks
Make sure all React hooks are called from the top level of component functions
Don't forget key props in iterators and collection literals
Don't define React components inside other components
Don't use event handlers on non-interactive elements
Don't assign to React component props
Don't use both children and dangerouslySetInnerHTML props on the same element
Don't use dangerous JSX props
Don't use Array index in keys
Don't insert comments as text nodes
Don't assign JSX properties multiple times
Don't add extra closing tags for components without children
Use <>...</> instead of <Fragment>...</Fragment>
Watch out for possible "wrong" semicolons inside JSX elements
Make sure void (self-closing) elements don't have children
Don't use target="_blank" without rel="noopener"
Don't use <img> elements in Next.js projects
Don't use <head> elements in Next.js projects

Files:

  • apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx
  • apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx
  • apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx
  • apps/web/app/(app)/early-access/page.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
  • apps/web/components/ReferralDialog.tsx
  • apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx
  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx
  • apps/web/app/(app)/admin/DebugLabels.tsx
  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
  • apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/PersonalSignatureSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx
!(pages/_document).{jsx,tsx}

📄 CodeRabbit inference engine (.cursor/rules/ultracite.mdc)

Don't use the next/head module in pages/_document.js on Next.js projects

Files:

  • apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx
  • apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx
  • apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx
  • apps/web/app/(app)/early-access/page.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
  • apps/web/components/ReferralDialog.tsx
  • apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx
  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx
  • apps/web/app/(app)/admin/DebugLabels.tsx
  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
  • apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/PersonalSignatureSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx
**/*.{js,ts,jsx,tsx}

📄 CodeRabbit inference engine (.cursor/rules/utilities.mdc)

**/*.{js,ts,jsx,tsx}: Use lodash utilities for common operations (arrays, objects, strings)
Import specific lodash functions to minimize bundle size (e.g., import groupBy from 'lodash/groupBy')

**/*.{js,ts,jsx,tsx}: Add helper functions to the bottom of files, not the top!
All imports go at the top of files, no mid-file dynamic imports.

Files:

  • apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx
  • apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx
  • apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx
  • apps/web/app/(app)/early-access/page.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
  • apps/web/components/ReferralDialog.tsx
  • apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx
  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx
  • apps/web/app/(app)/admin/DebugLabels.tsx
  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
  • apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/PersonalSignatureSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx
apps/web/**/*.{ts,tsx,js,jsx}

📄 CodeRabbit inference engine (apps/web/CLAUDE.md)

apps/web/**/*.{ts,tsx,js,jsx}: Use @/ path aliases for imports from project root
Use proper error handling with try/catch blocks
Prefer self-documenting code over comments; use descriptive variable and function names instead of explaining intent with comments. Never add comments that just describe what the code does. Only add comments for 'why' not 'what'
Add helper functions to the bottom of files, not the top
All imports go at the top of files, no mid-file dynamic imports
Use getActionErrorMessage(error.error) from @/utils/error to extract user-friendly error messages

Files:

  • apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx
  • apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx
  • apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx
  • apps/web/app/(app)/early-access/page.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
  • apps/web/components/ReferralDialog.tsx
  • apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx
  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx
  • apps/web/app/(app)/admin/DebugLabels.tsx
  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
  • apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/PersonalSignatureSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx
apps/web/**/*.{ts,tsx,css}

📄 CodeRabbit inference engine (apps/web/CLAUDE.md)

Follow tailwindcss patterns with prettier-plugin-tailwindcss

Files:

  • apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx
  • apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx
  • apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx
  • apps/web/app/(app)/early-access/page.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
  • apps/web/components/ReferralDialog.tsx
  • apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx
  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx
  • apps/web/app/(app)/admin/DebugLabels.tsx
  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
  • apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/PersonalSignatureSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx
apps/web/**/*.{tsx,jsx}

📄 CodeRabbit inference engine (apps/web/CLAUDE.md)

apps/web/**/*.{tsx,jsx}: Prefer functional components with hooks
Use shadcn/ui components when available
Follow consistent naming conventions (PascalCase for components)
Use LoadingContent component for async data with loading and error states
Use React Hook Form with Zod validation for form handling
Use useAction hook from next-safe-action/hooks with onSuccess and onError callbacks for form submission
Use LoadingContent component to handle loading and error states consistently
Call mutate() after successful mutations to refresh SWR data

Files:

  • apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx
  • apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx
  • apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx
  • apps/web/app/(app)/early-access/page.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
  • apps/web/components/ReferralDialog.tsx
  • apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx
  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx
  • apps/web/app/(app)/admin/DebugLabels.tsx
  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
  • apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/PersonalSignatureSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx
apps/web/**/*.{tsx,jsx,css}

📄 CodeRabbit inference engine (apps/web/CLAUDE.md)

Ensure responsive design with mobile-first approach

Files:

  • apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx
  • apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx
  • apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx
  • apps/web/app/(app)/early-access/page.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
  • apps/web/components/ReferralDialog.tsx
  • apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx
  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx
  • apps/web/app/(app)/admin/DebugLabels.tsx
  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
  • apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/PersonalSignatureSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx
apps/web/**/*.{ts,tsx,js,jsx,json}

📄 CodeRabbit inference engine (apps/web/CLAUDE.md)

Client-side environment variables must be prefixed with NEXT_PUBLIC_

Files:

  • apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx
  • apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx
  • apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx
  • apps/web/app/(app)/early-access/page.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
  • apps/web/components/ReferralDialog.tsx
  • apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx
  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx
  • apps/web/app/(app)/admin/DebugLabels.tsx
  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
  • apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/PersonalSignatureSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx
**/*.{js,ts,jsx,tsx,py,java,cs,rb,go,php,rs,kt,swift,m}

📄 CodeRabbit inference engine (.cursor/rules/notes.mdc)

Prefer self-documenting code over comments; use descriptive variable and function names instead of explaining intent with comments. Never add comments that just describe what the code does - code should explain itself. Only add comments for 'why' not 'what'.

Files:

  • apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx
  • apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx
  • apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx
  • apps/web/app/(app)/early-access/page.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
  • apps/web/components/ReferralDialog.tsx
  • apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx
  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx
  • apps/web/app/(app)/admin/DebugLabels.tsx
  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
  • apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/PersonalSignatureSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx
apps/web/app/(app)/**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/page-structure.mdc)

apps/web/app/(app)/**/*.{ts,tsx}: Components for the page are either put in page.tsx, or in the apps/web/app/(app)/PAGE_NAME folder
If we're in a deeply nested component we will use swr to fetch via API
If you need to use onClick in a component, that component is a client component and file must start with use client

Files:

  • apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx
  • apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx
  • apps/web/app/(app)/early-access/page.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
  • apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx
  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx
  • apps/web/app/(app)/admin/DebugLabels.tsx
  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
  • apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/PersonalSignatureSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx
apps/web/app/(app)/*/page.tsx

📄 CodeRabbit inference engine (.cursor/rules/page-structure.mdc)

apps/web/app/(app)/*/page.tsx: Create new pages at apps/web/app/(app)/PAGE_NAME/page.tsx
Pages are Server components so you can load data into them directly

Create new pages at apps/web/app/(app)/PAGE_NAME/page.tsx with components either colocated in the same folder or in page.tsx

Files:

  • apps/web/app/(app)/early-access/page.tsx
**/*Form.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/form-handling.mdc)

**/*Form.{ts,tsx}: Use React Hook Form with Zod for validation in form components
Validate form inputs before submission
Show validation errors inline next to form fields

Files:

  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
**/{pages,routes,components}/**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/gmail-api.mdc)

Never call Gmail API directly from routes or components - always use wrapper functions from the utils folder

Files:

  • apps/web/components/ReferralDialog.tsx
apps/web/components/**/*.tsx

📄 CodeRabbit inference engine (.cursor/rules/project-structure.mdc)

Use PascalCase for component file names (e.g., components/Button.tsx)

apps/web/components/**/*.tsx: Use React Hook Form with zodResolver for form validation, combining it with useAction hook from next-safe-action/hooks for server action execution
Use useAction hook with onSuccess and onError callbacks for handling server action responses in forms
Use getActionErrorMessage(error.error) utility to extract user-friendly error messages from server actions, supporting optional prefix parameter
Use LoadingContent component to handle loading and error states, passing loading, error, and children props

Files:

  • apps/web/components/ReferralDialog.tsx
🧠 Learnings (27)
📓 Common learnings
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/project-structure.mdc:0-0
Timestamp: 2025-11-25T14:38:56.992Z
Learning: Applies to apps/web/components/**/*.tsx : Use PascalCase for component file names (e.g., `components/Button.tsx`)
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: apps/web/CLAUDE.md:0-0
Timestamp: 2026-01-09T21:51:15.182Z
Learning: Applies to apps/web/**/*.{tsx,jsx} : Follow consistent naming conventions (PascalCase for components)
📚 Learning: 2026-01-08T15:09:06.736Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/fullstack-workflow.mdc:0-0
Timestamp: 2026-01-08T15:09:06.736Z
Learning: Applies to apps/web/components/**/*.tsx : Use `getActionErrorMessage(error.error)` utility to extract user-friendly error messages from server actions, supporting optional `prefix` parameter

Applied to files:

  • apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx
📚 Learning: 2026-01-07T21:07:06.691Z
Learnt from: elie222
Repo: elie222/inbox-zero PR: 1230
File: apps/web/app/(app)/[emailAccountId]/drive/page.tsx:47-70
Timestamp: 2026-01-07T21:07:06.691Z
Learning: In TSX files across the codebase, prefer direct server action calls with manual error handling (e.g., check result?.serverError and handle errors explicitly). The useAction hook pattern is not required; you can call server actions directly and use try/finally to ensure cleanup (such as resetting loading states) regardless of the hook. Apply consistently for components that perform server interactions.

Applied to files:

  • apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx
  • apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx
  • apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx
  • apps/web/app/(app)/early-access/page.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
  • apps/web/components/ReferralDialog.tsx
  • apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx
  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx
  • apps/web/app/(app)/admin/DebugLabels.tsx
  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
  • apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/PersonalSignatureSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx
📚 Learning: 2026-01-09T17:27:19.225Z
Learnt from: elie222
Repo: elie222/inbox-zero PR: 1234
File: apps/web/app/(app)/[emailAccountId]/assistant/settings/FollowUpRemindersSetting.tsx:65-83
Timestamp: 2026-01-09T17:27:19.225Z
Learning: In the elie222/inbox-zero repo, for React components using next-safe-action, using optimistic updates with mutate on success/error is an accepted approach to address race conditions in toggle handlers. It is acceptable for components not to guard rapid toggles with isExecuting (disable) when the optimistic UI state is reconciled by mutate. Apply this guidance to similar TSX components in the web app where appropriate.

Applied to files:

  • apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx
  • apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx
  • apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx
  • apps/web/app/(app)/early-access/page.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
  • apps/web/components/ReferralDialog.tsx
  • apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx
  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx
  • apps/web/app/(app)/admin/DebugLabels.tsx
  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
  • apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/settings/PersonalSignatureSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx
📚 Learning: 2025-11-25T14:37:56.430Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/llm-test.mdc:0-0
Timestamp: 2025-11-25T14:37:56.430Z
Learning: Applies to apps/web/__tests__/**/*.test.ts : Prefer using existing helpers from `@/__tests__/helpers.ts` (`getEmailAccount`, `getEmail`, `getRule`, `getMockMessage`, `getMockExecutedRule`) instead of creating custom test data helpers

Applied to files:

  • apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
  • apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx
📚 Learning: 2026-01-01T10:42:29.775Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/testing.mdc:0-0
Timestamp: 2026-01-01T10:42:29.775Z
Learning: Applies to **/*.test.{ts,tsx} : Use test helper functions `getEmail`, `getEmailAccount`, and `getRule` from `@/__tests__/helpers` for creating mock data

Applied to files:

  • apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx
📚 Learning: 2025-11-25T14:38:27.988Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/posthog-feature-flags.mdc:0-0
Timestamp: 2025-11-25T14:38:27.988Z
Learning: Early access features are automatically displayed on the Early Access page (`/early-access`) through the `EarlyAccessFeatures` component, requiring no manual configuration

Applied to files:

  • apps/web/app/(app)/early-access/page.tsx
  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
📚 Learning: 2026-01-01T10:42:29.775Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/testing.mdc:0-0
Timestamp: 2026-01-01T10:42:29.775Z
Learning: Applies to **/*.test.{ts,tsx} : Use descriptive test names that clearly indicate what is being tested

Applied to files:

  • apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx
📚 Learning: 2025-11-25T14:37:22.660Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/gmail-api.mdc:0-0
Timestamp: 2025-11-25T14:37:22.660Z
Learning: Applies to **/*.{ts,tsx} : Use wrapper functions for Gmail message operations (get, list, batch, etc.) from @/utils/gmail/message.ts instead of direct API calls

Applied to files:

  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
📚 Learning: 2025-11-25T14:37:22.660Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/gmail-api.mdc:0-0
Timestamp: 2025-11-25T14:37:22.660Z
Learning: Applies to **/*.{ts,tsx} : Use wrapper functions for Gmail label operations from @/utils/gmail/label.ts instead of direct API calls

Applied to files:

  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
📚 Learning: 2025-11-25T14:37:22.660Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/gmail-api.mdc:0-0
Timestamp: 2025-11-25T14:37:22.660Z
Learning: Applies to **/*.{ts,tsx} : Use wrapper functions for Gmail thread operations from @/utils/gmail/thread.ts instead of direct API calls

Applied to files:

  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
📚 Learning: 2025-11-25T14:37:22.660Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/gmail-api.mdc:0-0
Timestamp: 2025-11-25T14:37:22.660Z
Learning: Applies to apps/web/utils/gmail/**/*.{ts,tsx} : Always use wrapper functions from @/utils/gmail/ for Gmail API operations instead of direct provider API calls

Applied to files:

  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
📚 Learning: 2025-11-25T14:37:22.660Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/gmail-api.mdc:0-0
Timestamp: 2025-11-25T14:37:22.660Z
Learning: Applies to apps/web/utils/gmail/**/*.{ts,tsx} : Keep Gmail provider-specific implementation details isolated within the apps/web/utils/gmail/ directory

Applied to files:

  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
📚 Learning: 2025-07-08T13:14:07.449Z
Learnt from: elie222
Repo: elie222/inbox-zero PR: 537
File: apps/web/app/(app)/[emailAccountId]/clean/onboarding/page.tsx:30-34
Timestamp: 2025-07-08T13:14:07.449Z
Learning: The clean onboarding page in apps/web/app/(app)/[emailAccountId]/clean/onboarding/page.tsx is intentionally Gmail-specific and should show an error for non-Google email accounts rather than attempting to support multiple providers.

Applied to files:

  • apps/web/app/(app)/admin/GmailUrlConverter.tsx
📚 Learning: 2025-11-25T14:38:07.606Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/llm.mdc:0-0
Timestamp: 2025-11-25T14:38:07.606Z
Learning: Applies to apps/web/utils/ai/**/*.ts : Use XML-like tags to structure data in prompts, remove excessive whitespace and truncate long inputs, and format data consistently across similar LLM functions

Applied to files:

  • apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
  • apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx
📚 Learning: 2025-11-25T14:38:07.606Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/llm.mdc:0-0
Timestamp: 2025-11-25T14:38:07.606Z
Learning: Applies to apps/web/utils/ai/**/*.ts : System prompts must define the LLM's role and task specifications

Applied to files:

  • apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx
📚 Learning: 2025-11-25T14:42:08.869Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/ultracite.mdc:0-0
Timestamp: 2025-11-25T14:42:08.869Z
Learning: Applies to **/*.{js,jsx,ts,tsx} : Don't have unused labels

Applied to files:

  • apps/web/app/(app)/admin/DebugLabels.tsx
📚 Learning: 2025-11-25T14:42:08.869Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/ultracite.mdc:0-0
Timestamp: 2025-11-25T14:42:08.869Z
Learning: Applies to **/*.{js,jsx,ts,tsx} : Make sure label elements have text content and are associated with an input

Applied to files:

  • apps/web/app/(app)/admin/DebugLabels.tsx
📚 Learning: 2025-11-25T14:42:08.869Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/ultracite.mdc:0-0
Timestamp: 2025-11-25T14:42:08.869Z
Learning: Applies to **/*.{js,jsx,ts,tsx} : Don't use unnecessary labels

Applied to files:

  • apps/web/app/(app)/admin/DebugLabels.tsx
📚 Learning: 2025-11-25T14:38:56.992Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/project-structure.mdc:0-0
Timestamp: 2025-11-25T14:38:56.992Z
Learning: Applies to apps/web/components/ui/**/*.tsx : Shadcn UI components are located in `components/ui` directory

Applied to files:

  • apps/web/app/(app)/admin/DebugLabels.tsx
📚 Learning: 2025-11-25T14:37:56.430Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/llm-test.mdc:0-0
Timestamp: 2025-11-25T14:37:56.430Z
Learning: Applies to apps/web/__tests__/**/*.test.ts : Use `console.debug()` for outputting generated LLM content in tests, e.g., `console.debug("Generated content:\n", result.content);`

Applied to files:

  • apps/web/app/(app)/admin/DebugLabels.tsx
📚 Learning: 2025-11-25T14:42:08.869Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/ultracite.mdc:0-0
Timestamp: 2025-11-25T14:42:08.869Z
Learning: Applies to **/*.{js,jsx,ts,tsx} : Don't use labels that share a name with a variable

Applied to files:

  • apps/web/app/(app)/admin/DebugLabels.tsx
📚 Learning: 2026-01-11T17:08:52.971Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/posthog-feature-flags.mdc:0-0
Timestamp: 2026-01-11T17:08:52.971Z
Learning: Applies to apps/web/hooks/useFeatureFlags.ts : Use kebab-case naming convention for feature flag keys (e.g., `inbox-cleaner`, `pricing-options-2`)

Applied to files:

  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
📚 Learning: 2026-01-11T17:08:52.971Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/posthog-feature-flags.mdc:0-0
Timestamp: 2026-01-11T17:08:52.971Z
Learning: Applies to apps/web/env.ts : For each early access feature, add the corresponding environment variable to the `env.ts` file by declaring it in both the schema definition and runtimeEnv object (e.g., `NEXT_PUBLIC_FEATURE_NAME_ENABLED`)

Applied to files:

  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
📚 Learning: 2025-11-25T14:38:27.988Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/posthog-feature-flags.mdc:0-0
Timestamp: 2025-11-25T14:38:27.988Z
Learning: Applies to apps/web/hooks/useFeatureFlags.ts : Use kebab-case for feature flag keys (e.g., `inbox-cleaner`, `pricing-options-2`)

Applied to files:

  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
📚 Learning: 2026-01-11T17:08:52.971Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/posthog-feature-flags.mdc:0-0
Timestamp: 2026-01-11T17:08:52.971Z
Learning: Feature flags are configured in the PostHog dashboard. The Early Access page automatically displays available features to users for them to opt into new features

Applied to files:

  • apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx
📚 Learning: 2025-11-25T14:38:07.606Z
Learnt from: CR
Repo: elie222/inbox-zero PR: 0
File: .cursor/rules/llm.mdc:0-0
Timestamp: 2025-11-25T14:38:07.606Z
Learning: Applies to apps/web/utils/ai/**/*.ts : Keep related AI functions in the same file or directory, extract common patterns into utility functions, and document complex AI logic with clear comments

Applied to files:

  • apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx
🧬 Code graph analysis (13)
apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx (1)
apps/web/components/ui/card.tsx (1)
  • CardTitle (202-202)
apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx (1)
apps/web/components/ui/card.tsx (1)
  • CardTitle (202-202)
apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx (1)
apps/web/components/ui/card.tsx (1)
  • CardTitle (202-202)
apps/web/app/(app)/early-access/page.tsx (1)
apps/web/components/ui/card.tsx (1)
  • CardTitle (202-202)
apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx (1)
apps/web/components/ui/card.tsx (1)
  • CardTitle (202-202)
apps/web/components/ReferralDialog.tsx (1)
apps/web/components/ui/card.tsx (1)
  • CardTitle (202-202)
apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx (1)
apps/web/components/ui/card.tsx (1)
  • CardTitle (202-202)
apps/web/app/(app)/admin/GmailUrlConverter.tsx (1)
apps/web/components/ui/card.tsx (1)
  • CardTitle (202-202)
apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx (1)
apps/web/components/Typography.tsx (1)
  • SectionHeader (124-124)
apps/web/app/(app)/admin/DebugLabels.tsx (1)
apps/web/components/ui/card.tsx (1)
  • CardTitle (202-202)
apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx (1)
apps/web/components/ui/card.tsx (1)
  • CardTitle (202-202)
apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx (1)
apps/web/components/ui/card.tsx (1)
  • CardTitle (202-202)
apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx (1)
apps/web/components/ui/dialog.tsx (1)
  • DialogTitle (124-124)
⏰ 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: Baz Reviewer
  • GitHub Check: test
  • GitHub Check: Analyze (javascript-typescript)
🔇 Additional comments (15)
apps/web/app/(app)/admin/DebugLabels.tsx (1)

54-54: Sentence-case title change looks good (no behavior impact).

apps/web/app/(app)/[emailAccountId]/integrations/test/McpAgentTest.tsx (1)

62-62: Sentence-case title change looks good (no behavior impact).

apps/web/app/(app)/[emailAccountId]/assistant/settings/SettingsTab.tsx (1)

24-24: Sentence-case header change looks good (no behavior impact).

apps/web/app/(app)/early-access/EarlyAccessFeatures.tsx (1)

48-48: Sentence-case title change looks good (no behavior impact).

apps/web/app/(app)/[emailAccountId]/smart-categories/page.tsx (1)

109-109: Sentence-case title change looks good (no behavior impact).

apps/web/app/(app)/[emailAccountId]/assistant/TestCustomEmailForm.tsx (1)

67-67: LGTM! Sentence-case applied consistently.

The CardTitle text change from "Test Result" to "Test result" aligns with the PR's objective to standardize UI text capitalization across the application.

apps/web/app/(app)/[emailAccountId]/cold-email-blocker/ColdEmailTest.tsx (1)

13-13: LGTM! Sentence-case applied consistently.

The CardTitle text change from "Test Cold Email Blocker" to "Test cold email blocker" improves UI consistency.

apps/web/app/(app)/[emailAccountId]/assistant/group/LearnedPatterns.tsx (1)

79-79: LGTM! Sentence-case applied consistently.

The DialogTitle text change from "Learned Patterns" to "Learned patterns" aligns with the PR's capitalization standardization objective.

apps/web/app/organizations/invitations/[invitationId]/accept/page.tsx (1)

85-85: LGTM! Sentence-case applied consistently to error states.

The CardTitle text changes in error states ("Invalid Invitation" → "Invalid invitation" and "Invitation Error" → "Invitation error") maintain consistency with the PR's UI text standardization.

Also applies to: 112-112

apps/web/app/(app)/[emailAccountId]/calendars/CalendarConnections.tsx (1)

21-21: LGTM! Sentence-case applied consistently.

The CardTitle text change from "Connected Calendars" to "Connected calendars" completes the UI text standardization across the calendar components.

apps/web/app/(app)/admin/GmailUrlConverter.tsx (1)

59-59: LGTM! Sentence case applied consistently.

The CardTitle text change improves UI consistency by following sentence case conventions.

apps/web/app/(app)/[emailAccountId]/assistant/settings/WritingStyleSetting.tsx (1)

38-38: LGTM! Clearer and more concise description.

The revised description is more action-oriented and easier to understand.

apps/web/app/(app)/early-access/page.tsx (1)

27-27: LGTM! Consistent sentence case applied across all titles.

All CardTitle elements have been updated to follow sentence case conventions, improving UI consistency throughout the page.

Also applies to: 42-42, 56-56, 72-72

apps/web/components/ReferralDialog.tsx (1)

111-111: LGTM! Sentence case applied consistently.

All CardTitle elements have been updated to sentence case, maintaining consistency with the rest of the application.

Also applies to: 158-158, 175-175

apps/web/app/(app)/[emailAccountId]/assistant/settings/PersonalSignatureSetting.tsx (1)

50-50: LGTM! Simplified button label.

The static "Edit" label is clearer and works appropriately for both creating and editing signatures, reducing unnecessary UI complexity.

@elie222 elie222 merged commit fda9684 into main Jan 11, 2026
17 checks passed
@elie222 elie222 deleted the chore/convert-titles-to-sentence-case branch January 11, 2026 19:18
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