-
Notifications
You must be signed in to change notification settings - Fork 544
fix ignore of mimeTime set in mediaRenderer #5683
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 ignore of mimeTime set in mediaRenderer #5683
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
size-limit report 📦
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5683 +/- ##
==========================================
+ Coverage 51.27% 51.28% +0.01%
==========================================
Files 1092 1092
Lines 57346 57346
Branches 4685 4688 +3
==========================================
+ Hits 29404 29410 +6
+ Misses 27226 27220 -6
Partials 716 716
*This pull request uses carry forward flags. Click here to find out more.
|
Merge activity
|
## Problem solved CNCT-2634 <!-- start pr-codex --> --- ## PR-Codex overview This PR modifies the `isFetched` property in the `useResolvedMediaType.ts` file to include an additional condition for its value, enhancing the logic that determines whether media type data has been successfully fetched. ### Detailed summary - The `isFetched` property is updated to: - Use `resolvedMimeType.isFetched` or check if `mimeType` is truthy (`!!mimeType`). > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
9760615
to
d74127f
Compare
## Problem solved CNCT-2634 <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on updating the `isFetched` property in the `useResolvedMediaType.ts` file to include an additional condition based on `mimeType`. This change aims to enhance the logic determining if the media type has been successfully fetched. ### Detailed summary - Updated the `isFetched` property: - Changed from `resolvedMimeType.isFetched` to `resolvedMimeType.isFetched || !!mimeType`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
d74127f
to
f6dca69
Compare
Problem solved
CNCT-2634
PR-Codex overview
This PR modifies the return object in the
useResolvedMediaType.ts
file to enhance theisFetched
property by including a check formimeType
.Detailed summary
isFetched
property in the returned object.isFetched
fromresolvedMimeType.isFetched
toresolvedMimeType.isFetched || !!mimeType
.