feat: Ability to lock the conversation to a single thread in API channels#10329
Merged
sojan-official merged 3 commits intochatwoot:developfrom Dec 9, 2024
Conversation
|
🐢 Turtley slow progress alert! This pull request has been idle for over 30 days. Can we please speed things up and either merge it or release it back into the wild? |
|
I think the implementation is really simple, as the lock is already possible in other kinds of inboxes. I hope this feature is merged soon! |
|
I am hoping that this PR will be merged soon. |
…rsation-to-single-thread-api
Member
|
@giquieu Appologies on the delay on this one. We are currently testing this and will have this merged. Thanks a lot for the help ! |
sojan-official
approved these changes
Dec 9, 2024
Member
sojan-official
left a comment
There was a problem hiding this comment.
- verified to be working
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Template
Description
Added the possibility to mark as a single conversation in the API type inbox. This allows the conversation builder to search for the last conversation.
I thought about searching for the last conversation with created_at: desc order, as is done in some channels... but I didn't change the way the conversation is searched.
Fixes # (issue)
#7726
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Added test case in conversation_builder_spec;
I started a new conversation via API, sent some messages and ended it.
I started another conversation in the same channel, and verified that the conversation remained the same.
Checklist: