Skip to content

fix: apply default branding and silence fetch toasts#6324

Merged
Pyatakov merged 1 commit into
developfrom
fix/branding-default-load-toast-spam
Jul 3, 2026
Merged

fix: apply default branding and silence fetch toasts#6324
Pyatakov merged 1 commit into
developfrom
fix/branding-default-load-toast-spam

Conversation

@Pyatakov

@Pyatakov Pyatakov commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Description

Closes #6323

  • Add a client-side default branding fallback (matching the server defaults) so the app applies branding on load even when GET /api/v1/branding is slow, errors, or returns no usable data.
  • Mark the branding fetch as a silent request so a failed branding call no longer triggers the global error interceptor's toast, eliminating the multiple error toasts shown when the backend is down.
  • Share a single in-flight branding request across the components that fetch it on startup, so overlapping calls no longer fire independently.

@Pyatakov Pyatakov requested review from a team as code owners July 2, 2026 18:01
@Pyatakov Pyatakov self-assigned this Jul 2, 2026
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Test Results

 32 files  +   29   64 suites   - 397   4m 14s ⏱️ + 4m 14s
 35 tests  - 2 067   33 ✅  - 2 069  0 💤 ±0  2 ❌ +2 
165 runs   - 1 945  163 ✅  - 1 947  0 💤 ±0  2 ❌ +2 

For more details on these failures, see this check.

Results for commit cbddba2. ± Comparison against base commit e36831b.

♻️ This comment has been updated with latest results.

@Pyatakov Pyatakov force-pushed the fix/branding-default-load-toast-spam branch from 4f5f063 to fdea614 Compare July 2, 2026 18:16
Add a client-side default branding fallback and mark the branding fetch silent so an unreachable backend no longer leaves the app unbranded or spams error toasts.
Share one in-flight request across the components that load branding on startup.

Signed-off-by: Alex Piatakov <alex.piatakov@swirldslabs.com>
@Pyatakov Pyatakov force-pushed the fix/branding-default-load-toast-spam branch from fdea614 to cbddba2 Compare July 2, 2026 18:17
@Pyatakov Pyatakov merged commit 7bd6f31 into develop Jul 3, 2026
15 of 17 checks passed
@Pyatakov Pyatakov deleted the fix/branding-default-load-toast-spam branch July 3, 2026 11:41
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