Skip to content

PSVAMB-85314 -> Support SignLanguage ratio display in the partner cat… #13371

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

Open
wants to merge 1 commit into
base: Ursa-21.18.0
Choose a base branch
from

Conversation

TalDubovKaltura
Copy link
Contributor

…alog item list also

@TalDubovKaltura TalDubovKaltura requested a review from hilak June 16, 2025 08:26
Copy link

@github-copilot suggest

@@ -59,8 +59,16 @@
else
echo null;?>
</td>
<td><?php if (isset($catalogItem->outputFormat))
echo $this->enumTranslate('Kaltura_Client_Reach_Enum_VendorCatalogItemOutputFormat', $catalogItem->outputFormat);
<td><?php if (isset($catalogItem->outputFormat)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why isn't VendorCatalogItemSignLanguageOutputFormat an extension of VendorCatalogItemOutputFormat
This would remove the need if this if and will make much more sense

Copy link
Contributor Author

Choose a reason for hiding this comment

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

But the values for both VendorCatalogItemSignLanguageOutputFormat and VendorCatalogItemOutputFormat are the same, the only difference is the view in the KAC
image
For example in catalog item list:
image

Copy link
Collaborator

@yossipapi yossipapi Jun 25, 2025

Choose a reason for hiding this comment

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

This implements base enum
image

Whereas it could extend this:
image

That way you dont need this if

Copy link
Contributor

Choose a reason for hiding this comment

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

@yossipapi I think it's better to eliminate KalturaVendorSignLanguageFormat, and add the 2 new values to the base enum, since this is part of the base reach capability anyway. Keeping the enum and making it extend the base class risks overlap of enum values in the future.

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