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

fix(FEC-13719): [Transcript Plugins]: Add Events (used by kava analytics) #180

Merged
merged 2 commits into from
Mar 11, 2024

Conversation

JonathanTGold
Copy link
Contributor

@JonathanTGold JonathanTGold commented Mar 6, 2024

@JonathanTGold JonathanTGold requested review from a team and MosheMaorKaltura March 6, 2024 13:56
@JonathanTGold JonathanTGold self-assigned this Mar 6, 2024
this.ready.then(() => {
this.sidePanelsManager?.activateItem(this._transcriptPanel);
this._pluginState = PluginStates.OPENED;
this.upperBarManager?.update(this._transcriptIcon);
this.dispatchEvent(TranscriptEvents.TRANSCRIPT_OPEN, {auto: isFirstOpen});
});
};

private _deactivatePlugin = () => {
this.ready.then(() => {
this.sidePanelsManager?.deactivateItem(this._transcriptPanel);
this.upperBarManager?.update(this._transcriptIcon);
Copy link
Contributor

Choose a reason for hiding this comment

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

If we deactivated the plugin, should we not set the state to this._pluginState = PluginStates.CLOSED ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it seems that you are right, i guess @semarche-kaltura is most familiar with this plugin
anyway from experience... we rather not touch things unrelated directly to the original ticket

@JonathanTGold JonathanTGold merged commit 7fdf771 into master Mar 11, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants