Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chat: Fix chat panel titles #2345

Merged
merged 2 commits into from
Dec 13, 2023
Merged

Chat: Fix chat panel titles #2345

merged 2 commits into from
Dec 13, 2023

Conversation

umpox
Copy link
Contributor

@umpox umpox commented Dec 13, 2023

Description

closes #2260

Fixes the title of reopened chat panels.

We were using the chatId by accident before, due to a mistake when calling this function

Note

We could just not pass the chatId but we have two implementations of the ChatPanelProvider right now. One relies on the chatId and one doesn't. Will start a thread on Slack to discuss this as it can be quite confusing to debug!

Before

image

After

image

Test plan

  1. Create a chat and ask a question
  2. Close the chat
  3. Reopen the chat by selecting it from the chat history in the sidebar
  4. Inspect the title

@umpox umpox requested review from a team December 13, 2023 15:10
@umpox umpox enabled auto-merge (squash) December 13, 2023 15:19
Copy link
Contributor

@philipp-spiess philipp-spiess left a comment

Choose a reason for hiding this comment

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

BLISS

@umpox umpox merged commit e96fcfa into main Dec 13, 2023
13 checks passed
@umpox umpox deleted the tr/fix-panel-title branch December 13, 2023 15:23
@deepak2431
Copy link
Contributor

Thanks for making this PR, Tom. I just made a push to my branch, and was trying to create a PR but saw it is fixed :)

This was a very small fix, but took some time for me to debug, haha!

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.

bug: Individual chat panel titles don't match the titles in the chat list
3 participants