PM-4275 Integrate engagement description auto rewrite#1738
Merged
himaniraghav3 merged 3 commits intodevelopfrom Mar 12, 2026
Merged
PM-4275 Integrate engagement description auto rewrite#1738himaniraghav3 merged 3 commits intodevelopfrom
himaniraghav3 merged 3 commits intodevelopfrom
Conversation
| } | ||
|
|
||
| const handleAIAutowrite = async () => { | ||
| if (isGeneratingDescription) return |
There was a problem hiding this comment.
[performance]
Consider adding a debounce mechanism to the handleAIAutowrite function to prevent multiple rapid clicks from triggering multiple requests. This can help reduce unnecessary API calls and improve performance.
Collaborator
Author
There was a problem hiding this comment.
We are disabling the button when it generates description so multiple clicks cannot be made
kkartunov
requested changes
Mar 12, 2026
| TC_FINANCE_API_URL: process.env.TC_FINANCE_API_URL || `${API_V6}/finance`, | ||
| TC_AI_API_BASE_URL: process.env.TC_AI_API_BASE_URL || `${API_V6}/ai`, | ||
| TC_AI_SKILLS_EXTRACTION_WORKFLOW_ID: process.env.TC_AI_SKILLS_EXTRACTION_WORKFLOW_ID || 'skillExtractionWorkflow', | ||
| TC_AI_AUTOWRITE_WORKFLOW_ID: process.env.TC_AI_AUTOWRITE_WORKFLOW_ID || 'jdAutowriteWorkflow', |
Contributor
There was a problem hiding this comment.
Please add this also to production config.
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Rewrites and updates the engagement description using jdAutowriteWorkflow
Editor is disabled while description is being generated
Button is disabled when there's no description