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

[FEATURE] Resources: List of available languages for videos #358

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

FaithDaka
Copy link
Collaborator

Description

Github Issue: #346

To list available languages for videos, a select dropdown has been implemented

Discussion

Videos currently lack language data to support this feature
Next Steps: Aggregate necessary data for the video meta-data

Preview

Link to app preview if relevant

Screenshots

@FaithDaka FaithDaka linked an issue Feb 4, 2025 that may be closed by this pull request
@github-actions github-actions bot added the Tool: Resources Updates related to Resources tool label Feb 4, 2025
Copy link

nx-cloud bot commented Feb 4, 2025

View your CI Pipeline Execution ↗ for commit 46ab0ab.

Command Status Duration Result
nx build ✅ Succeeded 1m 43s View ↗
nx run-many --target=lint ✅ Succeeded 5s View ↗

☁️ Nx Cloud last updated this comment at 2025-02-04 08:40:49 UTC

@@ -25,6 +25,8 @@ export interface IResourceBase_v0 {
priority?: number;
/** additional metadata populated for specific resource types */
meta?: any;
/** Languages the resource is available in */
languages?: string[];
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

In order to accommodate the list of languages a resource video is available in, I added a languages array to the schema. Any comments on this? @chrismclarke

@FaithDaka FaithDaka self-assigned this Feb 4, 2025
@chrismclarke
Copy link
Collaborator

From the call

  1. Focus on farmer tool first
  2. Look at data from libs\data\resources\videos\picsaSteps.ts
  3. Consider implementing select in apps\picsa-tools\farmer-content\src\app\pages\module-home\components\step-video\step-video.component.ts
  4. Language data lookup in libs\data\deployments\locales.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tool: Resources Updates related to Resources tool
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

feat(resources): show list of available languages for videos
2 participants