Skip to content

fix(app): allow clearing brand color and remove background check label#2914

Merged
tofikwest merged 2 commits into
mainfrom
tofik/fix-clear-trust-brand-color
May 22, 2026
Merged

fix(app): allow clearing brand color and remove background check label#2914
tofikwest merged 2 commits into
mainfrom
tofik/fix-clear-trust-brand-color

Conversation

@tofikwest
Copy link
Copy Markdown
Contributor

@tofikwest tofikwest commented May 22, 2026

Summary:

  • allow empty trust portal brand color to save as a reset to default branding
  • keep invalid partial hex colors blocked from persistence
  • remove the background-check card label: Logs a compliance exception
  • add regression coverage for clearing/invalid brand colors and the removed background-check label

Verification:

  • bunx vitest run 'src/app/(app)/[orgId]/trust/portal-settings/components/BrandSettings.test.tsx'
  • bunx vitest run 'src/app/(app)/[orgId]/trust/portal-settings/components'
  • bunx vitest run 'src/app/(app)/[orgId]/people/[employeeId]/components/EmployeeBackgroundCheck.test.tsx'
  • bunx vitest run 'src/app/(app)/[orgId]/people/[employeeId]/components/EmployeeBackgroundCheck.test.tsx' 'src/app/(app)/[orgId]/trust/portal-settings/components/BrandSettings.test.tsx'
  • git diff --check

@vercel
Copy link
Copy Markdown

vercel Bot commented May 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
app Ready Ready Preview, Comment May 22, 2026 2:56pm
comp-framework-editor Ready Ready Preview, Comment May 22, 2026 2:56pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
portal Skipped Skipped May 22, 2026 2:56pm

Request Review

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

@vercel vercel Bot temporarily deployed to Preview – portal May 22, 2026 14:53 Inactive
@tofikwest tofikwest changed the title fix(trust): allow clearing brand color fix(app): allow clearing brand color and remove background check label May 22, 2026
@tofikwest tofikwest merged commit b82b3c9 into main May 22, 2026
11 checks passed
@tofikwest tofikwest deleted the tofik/fix-clear-trust-brand-color branch May 22, 2026 15:15
@claudfuen
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.63.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants