feat(ccwidgets): Real Time Transcript Widget Implementation#653
feat(ccwidgets): Real Time Transcript Widget Implementation#653Kesari3008 wants to merge 1 commit intowebex:nextfrom
Conversation
|
This pull request is automatically being deployed by Amplify Hosting (learn more). |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e0b5f701a7
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| role="tab" | ||
| aria-selected={activeTab === 'ivr'} | ||
| className={`task-transcript__tab ${activeTab === 'ivr' ? 'task-transcript__tab--active' : ''}`.trim()} | ||
| onClick={() => onTabChange?.('ivr')} |
There was a problem hiding this comment.
Persist transcript tab selection on tab click
The tab buttons only invoke onTabChange and never update any internal state, while activeTab is defaulted to 'live'. In the default widget flow (TaskTranscript + useTaskTranscript), this means clicking “IVR transcript” does not actually switch the rendered content unless the host app builds its own controlled-state loop; for typical usage (especially plain web-component embedding), the IVR tab is effectively unusable.
Useful? React with 👍 / 👎.
COMPLETES #https://jira-eng-sjc12.cisco.com/jira/browse/WXCC-13856
This pull request addresses
by making the following changes
Change Type
The following scenarios were tested
< ENUMERATE TESTS PERFORMED, WHETHER MANUAL OR AUTOMATED >
The GAI Coding Policy And Copyright Annotation Best Practices
Checklist before merging
Make sure to have followed the contributing guidelines before submitting.