Conversation
WalkthroughA new conditional rendering branch was added to the Changes
Suggested reviewers
Poem
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
fdd839e to
17d2b7a
Compare
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
apps/mail/components/mail/mail-list.tsx (1)
567-598: Improve accessibility & avoid duplicate layout codeGreat call adding a visual placeholder. Two quick wins:
- Expose a status landmark so assistive tech is aware something is loading.
- Remove repeated layout by extracting the skeleton into its own small component – keeps the render branch concise and avoids future divergence.
- if (!draft) { - return ( - <div className="select-none py-1"> + if (!draft) { + return ( + <div + className="select-none py-1 animate-pulse" + role="status" + aria-label="Loading draft" + > ... </div> ); }If you move the internal markup into e.g.
DraftSkeleton, theDraftcomponent stays focused on logic and the visual skeleton can be reused elsewhere if needed.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
apps/mail/components/mail/mail-list.tsx(3 hunks)
🔇 Additional comments (2)
apps/mail/components/mail/mail-list.tsx (2)
45-45: Import looks good
Skeletonis now correctly imported from the shared UI module.
No further action needed.
442-442: Minor, non-blocking changeThe class list on the
<span>was adjusted. No functional impact observed, so nothing to flag here.

READ CAREFULLY THEN REMOVE
Remove bullet points that are not relevant.
PLEASE REFRAIN FROM USING AI TO WRITE YOUR CODE AND PR DESCRIPTION. IF YOU DO USE AI TO WRITE YOUR CODE PLEASE PROVIDE A DESCRIPTION AND REVIEW IT CAREFULLY. MAKE SURE YOU UNDERSTAND THE CODE YOU ARE SUBMITTING USING AI.
Description
Please provide a clear description of your changes.
Type of Change
Please delete options that are not relevant.
Areas Affected
Please check all that apply:
Testing Done
Describe the tests you've done:
Security Considerations
For changes involving data or authentication:
Checklist
Additional Notes
Add any other context about the pull request here.
Screenshots/Recordings
Add screenshots or recordings here if applicable.
By submitting this pull request, I confirm that my contribution is made under the terms of the project's license.
Summary by CodeRabbit
New Features
Style