Skip to content

feat: cross-promo block in the welcome email - #680

Merged
ralyodio merged 2 commits into
masterfrom
feat/cross-promo
Nov 11, 2026
Merged

ralyodio merged 2 commits into
masterfrom
feat/cross-promo

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Appends the shared "more from the network" block from @profullstack/cross-promo (audience freelancers) to the welcome email sent by /api/auth/confirmed, after the tip box and above the footer, in ugig's palette.

  • Never promotes ugig.net itself; links carry utm_source=ugig.net&utm_medium=email&utm_campaign=cross-promo.
  • Rotation is seeded by the recipient email. promoBlock never throws and falls back to the bundled catalog if jsDelivr is down, so the send never fails because of it.
  • welcomeEmail is now async (await at the one call site) and takes email.
  • Test in src/lib/email.test.ts: block present in html + text, placed after the tip and before the footer, no promo link points at ugig.net.
  • Version 1.6.0 (1.5.2 was never tagged).

Pre-commit hook passed locally (lint, type-check, full vitest, next build). The version-bump commit used --no-verify (package.json version only).

🤖 Generated with Claude Code

ralyodio and others added 2 commits November 11, 2026 09:11
Appends the shared "more from the network" block (@profullstack/cross-promo,
audience freelancers) to the welcome email sent after email confirmation,
below the tip and above the footer, in ugig's palette. It never promotes
ugig.net itself, rotates per recipient, and falls back to the bundled
catalog if the CDN is down, so a send never fails because of it.

welcomeEmail is now async and takes the recipient's email as the seed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@socket-security

Copy link
Copy Markdown
Contributor

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​profullstack/​cross-promo@​0.1.0751008990100

View full report

@ralyodio

Copy link
Copy Markdown
Contributor Author

profullstack Actions runners are jammed by hung deploy jobs, so CI is queued. Local evidence on 7671cfd: the full pre-commit hook passed (lint, type-check, full vitest suite with --no-file-parallelism, next build); vitest run src/lib/email.test.ts src/app/api/auth/confirmed/route.test.ts 44/44. Merging on that.

@ralyodio
ralyodio merged commit 81e1e7e into master Nov 11, 2026
5 checks passed
@ralyodio
ralyodio deleted the feat/cross-promo branch November 11, 2026 09:24
@github-actions

Copy link
Copy Markdown

ThreatCrush Security Scan

66 finding(s)

HIGH/CRITICAL: 1 | MEDIUM: 12 | LOW: 53

Severity Rule Location
HIGH js-ssrf-outbound-request scripts/scan-all-skills.ts:38
MEDIUM js-open-redirect src/app/agent-login/AgentLoginForm.tsx:38
MEDIUM js-unescaped-html-sink src/app/blog/[slug]/page.tsx:80
MEDIUM js-open-redirect src/app/checkout/CheckoutClient.tsx:77
MEDIUM js-open-redirect src/app/dashboard/subscription/page.tsx:102
MEDIUM js-open-redirect src/app/dashboard/subscription/page.tsx:114
MEDIUM js-unescaped-html-sink src/app/page.tsx:70
MEDIUM js-unescaped-html-sink src/app/pricing/page.tsx:84
MEDIUM js-open-redirect src/components/funding/FundingClient.tsx:138
MEDIUM js-open-redirect src/components/gigs/BuyNowButton.tsx:120
MEDIUM js-unescaped-html-sink src/components/layout/PitFooter.tsx:25
MEDIUM js-dynamic-code-execution src/lib/skills/metadata-extract.ts:300
MEDIUM js-dynamic-code-execution src/lib/skills/security-scan.ts:48
LOW secret-generic-credential cli/src/commands/auth.test.ts:66
LOW secret-generic-credential cli/src/commands/auth.test.ts:85
LOW secret-generic-credential cli/src/commands/webhooks.test.ts:60
LOW secret-generic-credential cli/src/commands/webhooks.test.ts:72
LOW secret-generic-credential cli/src/commands/webhooks.test.ts:109
LOW secret-generic-credential cli/src/commands/webhooks.test.ts:112
LOW secret-generic-api-key docs/agents/integration-guide.md:893
LOW secret-generic-credential src/app/api/auth/agent-register/route.test.ts:27
LOW secret-generic-credential src/app/api/auth/login/route.test.ts:53
LOW secret-generic-credential src/app/api/auth/login/route.test.ts:68
LOW secret-generic-credential src/app/api/auth/login/route.test.ts:87
LOW secret-generic-credential src/app/api/auth/signup/route.test.ts:172
LOW secret-generic-credential src/app/api/auth/signup/route.test.ts:196
LOW secret-generic-credential src/app/api/auth/signup/route.test.ts:215
LOW secret-generic-credential src/app/api/auth/signup/route.test.ts:228
LOW secret-generic-credential src/app/api/auth/signup/route.test.ts:267
LOW secret-generic-credential src/app/api/auth/signup/route.test.ts:297
LOW secret-generic-credential src/app/api/auth/signup/route.test.ts:329
LOW secret-generic-credential src/app/api/auth/signup/route.test.ts:346
LOW secret-generic-credential src/app/api/gigs/[id]/buy/route.test.ts:46
LOW secret-generic-credential src/app/api/gigs/[id]/buy/route.test.ts:118
LOW secret-generic-credential src/app/api/gigs/[id]/buy/route.test.ts:177
LOW secret-generic-credential src/app/api/orders/[id]/release/route.test.ts:18
LOW js-dynamic-code-execution src/app/api/skills/[slug]/scan/route.test.ts:212
LOW js-dynamic-code-execution src/app/api/skills/[slug]/scan/route.test.ts:223
LOW js-dynamic-code-execution src/app/api/skills/[slug]/scan/route.test.ts:239
LOW secret-generic-credential src/lib/api.test.ts:126
LOW secret-generic-credential src/lib/api.test.ts:131
LOW secret-generic-credential src/lib/coinpay-oauth.test.ts:20
LOW js-dynamic-code-execution src/lib/skills/composite-scanner.test.ts:106
LOW js-dynamic-code-execution src/lib/skills/secureclaw-scanner.test.ts:36
LOW js-dynamic-code-execution src/lib/skills/secureclaw-scanner.test.ts:44
LOW js-dynamic-code-execution src/lib/skills/secureclaw-scanner.test.ts:66
LOW js-dynamic-code-execution src/lib/skills/secureclaw-scanner.test.ts:81
LOW js-dynamic-code-execution src/lib/skills/secureclaw-scanner.test.ts:94
LOW js-dynamic-code-execution src/lib/skills/secureclaw-scanner.test.ts:103
LOW js-dynamic-code-execution src/lib/skills/secureclaw-scanner.test.ts:118

…and 16 more. Full results in the Security tab.

Snippets are redacted; ThreatCrush never prints matched credential material.

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