Skip to content

Comments

fix: do not show share thread button if allow_threadsharing is set to false#2708

Merged
hayescode merged 2 commits intoChainlit:mainfrom
eiseleMichael:fix/thread_sharing
Dec 4, 2025
Merged

fix: do not show share thread button if allow_threadsharing is set to false#2708
hayescode merged 2 commits intoChainlit:mainfrom
eiseleMichael:fix/thread_sharing

Conversation

@eiseleMichael
Copy link
Contributor

@eiseleMichael eiseleMichael commented Dec 3, 2025

closes #2645

ps: formatting is from lint staged


Summary by cubic

Hide the “Share Thread” button in the sidebar when thread sharing is disabled or not ready, so users don’t see a non-working action. Only render the share action when both dataPersistence and threadSharingReady are true.

Written for commit 01445bd. Summary will update automatically on new commits.

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. frontend Pertains to the frontend. labels Dec 3, 2025
Copy link
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 1 file

@hayescode hayescode added this pull request to the merge queue Dec 4, 2025
github-merge-queue bot pushed a commit that referenced this pull request Dec 4, 2025
… false (#2708)

closes  #2645 

ps: formatting is from lint staged 



<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Hide the “Share Thread” button in the sidebar when thread sharing is
disabled or not ready, so users don’t see a non-working action. Only
render the share action when both dataPersistence and threadSharingReady
are true.

<sup>Written for commit 01445bd.
Summary will update automatically on new commits.</sup>

<!-- End of auto-generated description by cubic. -->

Co-authored-by: Josh Hayes <35790761+hayescode@users.noreply.github.com>
Merged via the queue into Chainlit:main with commit acacc6d Dec 4, 2025
23 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend Pertains to the frontend. size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Share thread menu entry allways appears

2 participants