Conversation
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the 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 configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughAdds a new Help Center documentation page "submitted-referrals" and updates the docs navigation to include it under the Engaging partners group; the change is documentation-only. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
help/article/submitted-referrals.mdx (1)
108-124: Consider more descriptive alt text for accessibility.The alt text on lines 111 and 122 both say "Submitted referrals drawer view" but these images show the specific Qualified and Closed won status dialogs respectively. More descriptive alt text would improve accessibility.
📝 Suggested alt text improvements
<img src="/images/dub-partners/referral-status-qualified.png" - alt="Submitted referrals drawer view" + alt="Qualified status prompt with optional external ID field" /><img src="/images/dub-partners/referral-status-closedwon.png" - alt="Submitted referrals drawer view" + alt="Closed won status prompt with sale amount and Stripe customer ID fields" />🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@help/article/submitted-referrals.mdx` around lines 108 - 124, The alt text is too generic; update the img alt attributes for the images with src "referral-status-qualified.png" and "referral-status-closedwon.png" to be specific and descriptive for accessibility—for example, replace "Submitted referrals drawer view" for "referral-status-qualified.png" with something like "Referral marked Qualified — drawer showing referral details and actions" and replace the same generic alt for "referral-status-closedwon.png" with something like "Referral Closed Won — prompt requesting required sale amount and optional Stripe customer ID"; ensure the new alt strings clearly describe the visual content and purpose.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@help/article/submitted-referrals.mdx`:
- Around line 108-124: The alt text is too generic; update the img alt
attributes for the images with src "referral-status-qualified.png" and
"referral-status-closedwon.png" to be specific and descriptive for
accessibility—for example, replace "Submitted referrals drawer view" for
"referral-status-qualified.png" with something like "Referral marked Qualified —
drawer showing referral details and actions" and replace the same generic alt
for "referral-status-closedwon.png" with something like "Referral Closed Won —
prompt requesting required sale amount and optional Stripe customer ID"; ensure
the new alt strings clearly describe the visual content and purpose.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: b9e428eb-a48f-46b8-bd25-9b9d27d631e4
⛔ Files ignored due to path filters (8)
images/dub-partners/create-lead-submitted-referral.pngis excluded by!**/*.pngimages/dub-partners/create-sale-submitted-referral.pngis excluded by!**/*.pngimages/dub-partners/customer-submitted-dash.pngis excluded by!**/*.pngimages/dub-partners/customer-submitted-tab.pngis excluded by!**/*.pngimages/dub-partners/referral-status-closedwon.pngis excluded by!**/*.pngimages/dub-partners/referral-status-qualified.pngis excluded by!**/*.pngimages/dub-partners/submitted-referral-drawer-save.pngis excluded by!**/*.pngimages/dub-partners/submitted-referral-drawer.pngis excluded by!**/*.png
📒 Files selected for processing (2)
docs.jsonhelp/article/submitted-referrals.mdx
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@help/article/submitted-referrals.mdx`:
- Around line 108-125: Update the two image alt attributes so they are distinct
and descriptive: replace the alt on the image with src
"/images/dub-partners/referral-status-qualified.png" with text indicating the
"Qualified" state (e.g., "Submitted referrals drawer showing 'Qualified' status
and lead creation form"), and replace the alt on the image with src
"/images/dub-partners/referral-status-closedwon.png" with text describing the
"Closed won" state (e.g., "Submitted referrals drawer showing 'Closed won'
status with required sale amount and optional Stripe customer ID");
alternatively, if the surrounding copy fully conveys the content, mark an image
decorative by setting its alt to an empty string "" instead of a duplicate
generic description.
- Around line 43-46: The "Sale reward" section currently conflicts with the
later line about `Closed won` requiring an associated customer; update the
wording under the "Sale reward" heading to clearly state the actual behavior:
either that moving a referral to `Closed won` will create a customer record
automatically or that it requires an existing customer before it can be moved,
and then align the phrasing with the later line that mentions the referral must
have an associated customer; specifically, change the sentence "This will create
the customer record, and the partner will be rewarded." to a definitive
statement that uses the `Closed won` term (e.g., "Moving a referral to `Closed
won` will create the customer record and reward the partner." OR "The referral
must already have an associated customer before moving to `Closed won`; the
partner will be rewarded when the referral is set to `Closed won`.") so the
guidance in "Sale reward" and the later line about referrals are consistent.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: abe5500b-2ac5-490a-b8bf-5b22bfa70bfe
📒 Files selected for processing (1)
help/article/submitted-referrals.mdx
Help doc content for submitted referrals
Summary by CodeRabbit