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

bitECS: Clean up MediaImage/VideoLoaderData #6224

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

takahirox
Copy link
Contributor

This is a follow up PR to #6111 for clean up.

  • Treat MediaImage/VideoLoaderData as part of MediaLoader component data. Less problematic because their life cycles will be synched with MediaLoader component.
  • Remove dependency with entity and MediaImage/VideoLoaderData from loaders in src/utils. The loaders will be simpler.

@takahirox takahirox requested a review from keianhzo August 17, 2023 19:10
@takahirox takahirox added this to the New Loader Release milestone Aug 17, 2023
@takahirox takahirox added the P1 Address as quickly as possible label Aug 17, 2023
Copy link
Contributor

@keianhzo keianhzo left a comment

Choose a reason for hiding this comment

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

LGTM just a minor typo

eid: EntityID,
{ accessibleUrl, canonicalUrl, contentType, mediaType, thumbnail }: MediaInfo
) {
// Note: For Image, Video, and Audio, additonal parameters can be
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo: "additonal" -> "additional"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, updated

* Treat MediaImage/VideoLoaderData as part of MediaLoader
  component data. Less problematic because their life cycles
  will be synched with MediaLoader component.
* Remove dependency with entity and MediaImage/VideoLoaderData
  from loaders in src/utils. The loaders will be simpler.
@takahirox takahirox force-pushed the CleanupMediaVideoImageLoaderData branch from 231514a to f38b6ca Compare September 13, 2023 02:19
@takahirox takahirox merged commit ebabfdf into master Sep 13, 2023
9 of 11 checks passed
@takahirox takahirox deleted the CleanupMediaVideoImageLoaderData branch September 13, 2023 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-loader P1 Address as quickly as possible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants