Skip to content

[dev] [tofikwest] tofik/fix-trust-portal-branding#2913

Closed
github-actions[bot] wants to merge 1 commit into
mainfrom
tofik/fix-trust-portal-branding
Closed

[dev] [tofikwest] tofik/fix-trust-portal-branding#2913
github-actions[bot] wants to merge 1 commit into
mainfrom
tofik/fix-trust-portal-branding

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 22, 2026

This is an automated pull request to merge tofik/fix-trust-portal-branding into dev.
It was created by the [Auto Pull Request] action.


Summary by cubic

Allow clearing the Trust Portal primary brand color to reset branding to the default theme. Updates validation and autosave so empty input persists as a reset and invalid hex values are ignored.

  • Bug Fixes
    • Treat empty input as a reset: normalize returns null for empty, undefined for invalid; valid hex is uppercased.
    • Autosave/blur skip invalid values and persist resets by sending primaryColor: '' to the settings API; callbacks receive null.
    • Input shows blank when unset instead of forcing a default color.
    • Added a test to verify reset behavior and navigation refresh.

Written for commit a8166b3. Summary will update on new commits. Review in cubic

@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:40pm
comp-framework-editor Ready Ready Preview, Comment May 22, 2026 2:40pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
portal Skipped Skipped May 22, 2026 2:40pm

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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant