Skip to content

fix(tarko): preserve logo param in session routing#1471

Merged
ulivz merged 2 commits intomainfrom
fix/preserve-logo-param-in-session-routing
Sep 11, 2025
Merged

fix(tarko): preserve logo param in session routing#1471
ulivz merged 2 commits intomainfrom
fix/preserve-logo-param-in-session-routing

Conversation

@ulivz
Copy link
Member

@ulivz ulivz commented Sep 11, 2025

Summary

Fixes the issue where ?logo=space parameter gets lost during session routing. The logoType in Navbar.tsx was only computed once on mount:

image

Now updates reactively when URL changes

Checklist

  • Added or updated necessary tests (Optional).
  • Updated documentation to align with changes (Optional).
  • Verified no breaking changes, or prepared solutions for any occurring breaking changes (Optional).
  • My change does not involve the above items.

@netlify
Copy link

netlify bot commented Sep 11, 2025

Deploy Preview for agent-tars-docs ready!

Name Link
🔨 Latest commit 486178c
🔍 Latest deploy log https://app.netlify.com/projects/agent-tars-docs/deploys/68c2442d2c99fe0008bdd109
😎 Deploy Preview https://deploy-preview-1471--agent-tars-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ulivz ulivz force-pushed the fix/preserve-logo-param-in-session-routing branch from c817164 to b9e1c55 Compare September 11, 2025 03:34
Create reusable hook for logo type management with
automatic URL parameter persistence to localStorage.
@ulivz ulivz force-pushed the fix/preserve-logo-param-in-session-routing branch from b9e1c55 to c7aea40 Compare September 11, 2025 03:36
Reduce from 50 lines to 15 lines, remove redundant code.
@ulivz ulivz merged commit 9bff541 into main Sep 11, 2025
9 checks passed
@ulivz ulivz deleted the fix/preserve-logo-param-in-session-routing branch September 11, 2025 03: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

Comments