Skip to content

[codex] Add custom open-to-work contact email#75

Open
B-EtterDigital wants to merge 1 commit into
sculptdotfun:mainfrom
B-EtterDigital:feature/open-to-work-custom-email-2026-06-18
Open

[codex] Add custom open-to-work contact email#75
B-EtterDigital wants to merge 1 commit into
sculptdotfun:mainfrom
B-EtterDigital:feature/open-to-work-custom-email-2026-06-18

Conversation

@B-EtterDigital

@B-EtterDigital B-EtterDigital commented Jun 18, 2026

Copy link
Copy Markdown

Summary

  • Add an optional custom contact email to open-to-work profiles.
  • Validate/normalize the email in a shared helper and API route.
  • Store the email in a nullable profiles.open_to_work_email column and clear it when opting out.
  • Show email contact actions on /hire when an opted-in engineer has saved an email, falling back to GitHub contact otherwise.
  • Harden mailto: links against query/header injection and encode mailto components.
  • Add an accessible label to the owner contact email input.

Migration

  • Adds supabase/migrations/005_open_to_work_email.sql with nullable open_to_work_email, an email-format check constraint, and a DB invariant that email is only stored when open_to_work is true.
  • supabase db push was attempted locally but blocked because this checkout is not linked to a Supabase project ref: Cannot find project ref. Have you run supabase link?

Validation

Scope

Feature-only PR. It intentionally does not include PR #72 bug fixes, PR #73 expandable model list changes, or PR #74 rank presentation changes.

@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

@B-EtterDigital is attempting to deploy a commit to the sculpt Team on Vercel.

A member of the Team first needs to authorize it.

@B-EtterDigital
B-EtterDigital force-pushed the feature/open-to-work-custom-email-2026-06-18 branch from 8c2b248 to 8b10f73 Compare June 18, 2026 14:34
@B-EtterDigital
B-EtterDigital force-pushed the feature/open-to-work-custom-email-2026-06-18 branch from 8b10f73 to 936cdf1 Compare June 18, 2026 14:47
@B-EtterDigital
B-EtterDigital marked this pull request as ready for review June 18, 2026 14:53
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