Skip to content

Add Mark all as canceled on risk review - #4793

Closed
steven-tey wants to merge 2 commits into
mainfrom
cursor/risk-review-cancel-status-9cca
Closed

steven-tey wants to merge 2 commits into
mainfrom
cursor/risk-review-cancel-status-9cca

Conversation

@steven-tey

Copy link
Copy Markdown
Collaborator

Summary

  • Adds a Mark all as canceled button next to Mark all as fraud on the risk event review sheet. It opens the same commission editor with the status preset to canceled, so held commissions can be canceled without changing the dropdown. The bulk commissions update already accepts that status.
  • Shows the partner's network status badge next to their name, and a Program status column with their program enrollment status.
  • Restores the partners and risk-review code removed in Simplify Dub. That sheet was no longer on main, so the button had nowhere to live.

Testing

  • tsc --noEmit in apps/web passes.
  • The review sheet needs a signed-in workspace with a risk event and held commissions, so this was not clicked through in a browser.
Open in Web Open in Cursor 

cursoragent and others added 2 commits October 27, 2026 02:19
This reverts commit 751c363.

Co-authored-by: Steven Tey <steven@dub.co>
Let reviewers mark held commissions as canceled from the risk sheet, and show the partner's network status and program enrollment status while they review the event.

Co-authored-by: Steven Tey <steven@dub.co>
@coderabbitai

coderabbitai Bot commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Walkthrough

Warning

Review details and warnings were omitted to fit the comment limit.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Comment on lines +13 to +33
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 8
- name: Install dependencies & build
run: pnpm --filter @dub/embed-core build

# - name: Deploy to Cloudflare Pages (https://www.dubcdn.com/embed/script.js)
# uses: cloudflare/wrangler-action@v3
# with:
# apiToken: ${{ secrets.CLOUDFLARE_PAGES_API_KEY }}
# accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
# command: pages deploy dist/embed/script.js --project-name=dub-cdn --commit-dirty=true
# workingDirectory: packages/embeds/core
# packageManager: pnpm
const stripeCustomerId = text.match(/cus_[a-zA-Z0-9]+/)?.[0];
if (
stripeCustomerId &&
(text.startsWith("cus_") || text.includes("stripe.com"))
const stripeCustomerId = query.match(STRIPE_CUSTOMER_ID_REGEX)?.[0];
if (
stripeCustomerId &&
(query.startsWith("cus_") || query.includes("stripe.com"))
@devkiran devkiran closed this Oct 27, 2026
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.

5 participants