-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[RNMobile] Add paused media state handlers to Android bridge code #57476
Closed
derekblank
wants to merge
42
commits into
rnmobile/media-upload-progress-connection-subscription
from
rnmobile/android-media-paused
Closed
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
573d7f0
Fix incorrect heading level in Editor curation docs (#57409)
ndiego 970e925
NumberControl: Make increment and decrement buttons keyboard accessib…
afercia 9c8001a
DataViews: update names for `DropdownMenuRadioItemCustom` (#57416)
oandregal 3f6c738
Navigation Block: Use dom.focus for focus control (#57362)
t-hamano ec2c51d
DataViews: hide actions menu upon selecting a layout (#57418)
oandregal 1f9b753
Server directive processing: Stop processing non-interactive blocks (…
cbravobernal 1c79fd8
Performance: Avoid extra `useMarkPersistent` dispatch calls (#57435)
ntsekouras 36396cc
Font Library: remove "has_font_mime_type" function (#57364)
HrithikDalal 10facf1
Update modal description and button label (#57368)
HrithikDalal 663916f
Update tutorial based on user feedback. (#57403)
ndiego 83e1a2c
Change the slug for the theme.json doc to avoid conflicts (#57410)
ndiego 6f6b083
Migrate 'allowed patterns' e2e tests to Playwright (#57399)
Mamaduka 3591f4d
DataViews: fallback to `(no title)` if there's no rendered title (#57…
oandregal b85da47
DataViews: make fields dependant on view.type (#57450)
oandregal af8c530
DataViews: prevent unnecessary re-renders (#57452)
oandregal 2888084
Docs/tutorial: Fix opposite condition for content generation in rende…
atachibana 2dbd8a5
DataViews: prevent unnecessary renders for Pagination (#57454)
oandregal 0d2bf01
Make the Replace featured image button perceivable by assistive techn…
afercia 9431114
DataViews: memoize onSetSelection (#57458)
oandregal 63a6321
Fix Template preview menu item accessibility. (#57456)
afercia fc36077
Migrate 'preferences' e2e tests to Playwright (#57446)
Mamaduka a87f24e
Migrate remaining 'publish panel' e2e tests to Playwright (#57432)
Mamaduka 06b5fa5
Core Data: Pass the 'options' argument to data action shortcuts (#57383)
Mamaduka 4eb3b74
Editor: Unify the DocumentTools component (#57214)
youknowriad 18dd101
Avoid using a memoized selector without dependencies (#57257)
youknowriad 1014dc6
Quality: avoid React warning when changing rendering mode (#57413)
t-hamano 31e67ea
Global style revisions: move change summary code and tests to block e…
ramonjd 5831320
Adding padding to entity save panel header (#57471)
ramonjd 3c80f02
use a classname instead of the element in case a strong element is pa…
ramonjd f70554c
Passed progress values to failed media uploads and add paused media h…
derekblank 2d43054
Migrate 'sidebar' e2e tests to Playwright (#57448)
Mamaduka 0aabb54
Add onMediaFileSavePaused handler
derekblank f364b68
[RNMobile] Auto-scroll upon block insertion (#57273)
fluiddot 9e0747e
Add individual headings to the elements translations (#57472)
ramonjd 7ebb55c
DataViews: Use in patterns page (#57333)
ntsekouras 1ed7ba2
[Mobile] Unselect blocks using the hardware back button (Android) (#5…
50a8314
Remove deprecated `behaviors` syntax (#57165)
michalczaplinski 60bf21e
Add `compact` size variant to InputControl-based components (#57398)
mirka 1b2dac7
Block editor: give iframe fallback background color (#57330)
ramonjd 45dc4b1
Background image block support: Add tests for size and repeat output …
andrewserong 78f28c1
Update paused handlers from merge
derekblank a33a090
Merge branch 'rnmobile/media-upload-progress-connection-subscription'…
derekblank File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add onMediaFileSavePaused handler
- Loading branch information
commit 0aabb54e931fb4652bbe22d1fc03764dc69b55c2
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Were the
float progress
additions in the name of consistency? I noted the Android implementation has a dedicated progress event/method.gutenberg/packages/react-native-bridge/android/react-native-bridge/src/main/java/org/wordpress/mobile/WPAndroidGlue/WPAndroidGlueCode.java
Lines 1145 to 1147 in 0aabb54
I.e., I wondered if Android is currently implemented in a way that negates the need to pass progress to the other methods. Should we avoid adding these
float progress
?iOS is implemented very differently and does not have a dedicated progress event/method. iOS relies upon a enum state that is passed to a single media observer method with a switch statement that communicates different states/progresses to the JavaScript app. The single method can receive a progress event with a value.