Skip to content

feat: show claiming org info for domains in domain health admin#695

Merged
bokelley merged 1 commit into
mainfrom
bokelley/auto-domain-linking
Jan 10, 2026
Merged

feat: show claiming org info for domains in domain health admin#695
bokelley merged 1 commit into
mainfrom
bokelley/auto-domain-linking

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

  • When viewing "Organizations Without Verified Domains" in the admin domain health page, domains that are claimed by another organization now show which org claims them
  • Claimed domains display an amber tag with a clickable link to the claiming org's admin page
  • Personal email domains (gmail, yahoo, etc.) show a gray "personal" tag
  • This helps admins understand why a domain can't be automatically linked and navigate to investigate/resolve conflicts

Changes

  • server/src/routes/admin/domains.ts: Updated SQL query to return claiming org details (name, id) instead of just domain names
  • server/public/admin-domain-health.html: Updated UI to show claimed domains with org info and added CSS styles using design system variables

Test plan

  • TypeScript compiles successfully
  • All tests pass
  • Manual browser testing via Vibium (page loads correctly)
  • Test with production data to see claiming org tags in action

🤖 Generated with Claude Code

When viewing "Organizations Without Verified Domains", domains that are
claimed by another organization now show which org claims them with a
clickable link. This helps admins understand why a domain can't be
automatically linked and navigate to investigate/resolve conflicts.

Changes:
- Update SQL query to return claiming org details (name, id) instead of
  just domain names
- Update UI to show claimed domains with an amber tag linking to the
  claiming org's admin page
- Add "personal" tag for personal email domains
- Use design system CSS variables for styling

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit b74388e into main Jan 10, 2026
6 checks passed
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