Skip to content

Fraud and commissions update#318

Merged
steven-tey merged 5 commits intomainfrom
commissions-update
Apr 2, 2026
Merged

Fraud and commissions update#318
steven-tey merged 5 commits intomainfrom
commissions-update

Conversation

@marcusljf
Copy link
Copy Markdown
Collaborator

@marcusljf marcusljf commented Apr 1, 2026

Summary by CodeRabbit

  • Documentation
    • Improved table layouts and clearer column descriptions for fraud detection and partner commissions.
    • Renamed “Commissions on hold” to “Associated commissions” and added a new subsection with actions: bulk “Mark all as fraud”, per-commission fraud/status editing, and status transitions on resolve or partner ban.
    • Added single-commission view and editing instructions (including editing unpaid custom rewards).
    • Replaced remote screenshots with local images and improved in-page linking.

@mintlify
Copy link
Copy Markdown
Contributor

mintlify bot commented Apr 1, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Dub 🟢 Ready View Preview Apr 1, 2026, 11:46 PM

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 1, 2026

Warning

Rate limit exceeded

@steven-tey has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 19 minutes and 59 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 19 minutes and 59 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 804ae69b-269d-422c-80a9-33bea9e9d102

📥 Commits

Reviewing files that changed from the base of the PR and between 34bfec1 and cc41360.

📒 Files selected for processing (2)
  • help/article/fraud-detection.mdx
  • help/article/partner-commissions.mdx
📝 Walkthrough

Walkthrough

Updated two help articles: restructured the fraud event types table, replaced remote images with local paths, renamed and expanded the commissions review step into an "Associated commissions" subsection with actionable behaviors, and added "Single commission view" and "Editing commissions" documentation with internal cross-links.

Changes

Cohort / File(s) Summary
Fraud Detection Documentation
help/article/fraud-detection.mdx
Reformatted "Fraud event types" table to a compact "Event
Partner Commissions Documentation
help/article/partner-commissions.mdx
Simplified commissions table headers and clarified column descriptions; changed status help text to link #commission-statuses; added "Single commission view" and "Editing commissions" sections describing how to edit statuses (including Cancelling/Fraud) and update unpaid custom reward amounts; added internal links to commission-status anchors.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Poem

🐰 I hopped through docs with a nibble and cheer,
Tables trimmed tidy, screenshots now near,
Commissions got notes, links snug and true,
Bulk marks and edits — a streamlined view,
Happy hops — documentation renewed! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Fraud and commissions update' directly relates to the main changes in the pull request, which involve updates to both fraud detection documentation and partner commissions documentation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch commissions-update

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
Copy Markdown
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: 4

🤖 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/fraud-detection.mdx`:
- Line 33: Update the table row that currently reads "Partner's email matches a
customer's email and could be a self referral." (the row under "Matching
customer email") to use the hyphenated compound "self-referral" so the sentence
becomes "...could be a self-referral." Replace the unhyphenated phrase only,
preserving the rest of the row text and punctuation.
- Around line 107-109: The documentation contains typos and inconsistent status
spelling: correct "commmission" and "commmissions" to "commission" and
"commissions" in the lines that mention changing status to `Fraud` (the text
referencing the `⋯` button and **Edit commission**) and the line about `On hold`
commissions, and normalize the status label "Cancelled"/"Canceled" to the
project's canonical form (update the line currently using `Cancelled` to the
chosen spelling) so all references (e.g., `Fraud`, `Pending`, `On hold`,
`Cancelled`/`Canceled`) are spelled consistently across this article.

In `@help/article/partner-commissions.mdx`:
- Line 73: The sentence currently reads "a commission statuses" and should use
singular possessive; update the line that contains the text linking to
/help/article/partner-commissions#commission-status and
/help/article/partner-commissions#earnings-amount to read something like "You
can change a commission's status for all unpaid commissions, and edit the
earnings amount for custom commissions." Replace the plural "statuses" with the
singular possessive "commission's status" (or "a commission's status") and keep
the existing anchor links intact.
- Around line 102-113: Fix the user-facing text: change "edit commission model"
to "edit commission modal", change "of" to "or" in the phrase "Cancelled or
Fraud", and standardize the commission status spelling to be consistent across
this file (replace any `Canceled` occurrences with `Cancelled` so the status
strings match), updating the modal copy and the status references in the Edit
Commission text that include `Cancelled`/`Fraud`.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e27dd1af-1bff-4e1e-9fba-85f7d0314ea2

📥 Commits

Reviewing files that changed from the base of the PR and between 73554bb and 34bfec1.

⛔ Files ignored due to path filters (9)
  • images/dub-partners/bulk-edit-commission.png is excluded by !**/*.png
  • images/dub-partners/commission-single-view.png is excluded by !**/*.png
  • images/dub-partners/edit-commission-custom.png is excluded by !**/*.png
  • images/dub-partners/edit-commission-mark-all.png is excluded by !**/*.png
  • images/dub-partners/edit-commission-single.png is excluded by !**/*.png
  • images/dub-partners/edit-commission-table.png is excluded by !**/*.png
  • images/dub-partners/edit-commission.png is excluded by !**/*.png
  • images/dub-partners/fraud-event-commissions.png is excluded by !**/*.png
  • images/dub-partners/fraud-review.png is excluded by !**/*.png
📒 Files selected for processing (2)
  • help/article/fraud-detection.mdx
  • help/article/partner-commissions.mdx

steven-tey and others added 2 commits April 1, 2026 17:20
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
steven-tey and others added 2 commits April 1, 2026 17:21
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@steven-tey steven-tey merged commit a263892 into main Apr 2, 2026
2 checks passed
@steven-tey steven-tey deleted the commissions-update branch April 2, 2026 00:21
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.

2 participants