Skip to content

Commit

Permalink
Merge pull request #20400 from wordpress-mobile/gutenberg/remove/stor…
Browse files Browse the repository at this point in the history
…y-block

[Gutenberg] Remove code associated to Story block
  • Loading branch information
fluiddot authored Mar 5, 2024
2 parents b5bc0de + 2145a7b commit 0f40125
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

24.5
-----

* [*] [internal] Block editor: Remove code associated to Story block [https://github.com/wordpress-mobile/WordPress-Android/pull/20400]

24.4
-----
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ext {
automatticAboutVersion = '1.4.0'
automatticRestVersion = '1.0.8'
automatticTracksVersion = '3.4.0'
gutenbergMobileVersion = 'v1.114.0'
gutenbergMobileVersion = 'v1.115.0-alpha1'
wordPressAztecVersion = 'v2.0'
wordPressFluxCVersion = '2.70.0'
wordPressLoginVersion = '1.14.1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
import org.wordpress.mobile.WPAndroidGlue.WPAndroidGlueCode.OnGutenbergDidRequestUnsupportedBlockFallbackListener;
import org.wordpress.mobile.WPAndroidGlue.WPAndroidGlueCode.OnGutenbergDidSendButtonPressedActionListener;
import org.wordpress.mobile.WPAndroidGlue.WPAndroidGlueCode.OnImageFullscreenPreviewListener;
import org.wordpress.mobile.WPAndroidGlue.WPAndroidGlueCode.OnReattachMediaSavingQueryListener;
import org.wordpress.mobile.WPAndroidGlue.WPAndroidGlueCode.OnReattachMediaUploadQueryListener;
import org.wordpress.mobile.WPAndroidGlue.WPAndroidGlueCode.OnFocalPointPickerTooltipShownEventListener;
import org.wordpress.mobile.WPAndroidGlue.WPAndroidGlueCode.OnMediaEditorListener;
Expand Down Expand Up @@ -72,7 +71,6 @@ public boolean hasReceivedAnyContent() {

public void attachToContainer(ViewGroup viewGroup, OnMediaLibraryButtonListener onMediaLibraryButtonListener,
OnReattachMediaUploadQueryListener onReattachQueryListener,
OnReattachMediaSavingQueryListener onStorySavingReattachQueryListener,
OnSetFeaturedImageListener onSetFeaturedImageListener,
OnEditorMountListener onEditorMountListener,
OnEditorAutosaveListener onEditorAutosaveListener,
Expand Down Expand Up @@ -102,7 +100,6 @@ public void attachToContainer(ViewGroup viewGroup, OnMediaLibraryButtonListener
viewGroup,
onMediaLibraryButtonListener,
onReattachQueryListener,
onStorySavingReattachQueryListener,
onSetFeaturedImageListener,
onEditorMountListener,
onEditorAutosaveListener,
Expand All @@ -114,7 +111,6 @@ public void attachToContainer(ViewGroup viewGroup, OnMediaLibraryButtonListener
onGutenbergDidRequestEmbedFullscreenPreviewListener,
onGutenbergDidSendButtonPressedActionListener,
showSuggestionsUtil,
null,
onFPPTooltipShownEventListener,
onGutenbergDidRequestPreviewListener,
onBlockTypeImpressionsListener,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
import org.wordpress.mobile.WPAndroidGlue.WPAndroidGlueCode.OnGutenbergDidRequestUnsupportedBlockFallbackListener;
import org.wordpress.mobile.WPAndroidGlue.WPAndroidGlueCode.OnGutenbergDidSendButtonPressedActionListener;
import org.wordpress.mobile.WPAndroidGlue.WPAndroidGlueCode.OnMediaLibraryButtonListener;
import org.wordpress.mobile.WPAndroidGlue.WPAndroidGlueCode.OnReattachMediaSavingQueryListener;
import org.wordpress.mobile.WPAndroidGlue.WPAndroidGlueCode.OnReattachMediaUploadQueryListener;
import org.wordpress.mobile.WPAndroidGlue.WPAndroidGlueCode.OnSetFeaturedImageListener;

Expand Down Expand Up @@ -362,14 +361,6 @@ public void onQueryCurrentProgressForUploadingMedia() {
updateMediaProgress();
}
},
new OnReattachMediaSavingQueryListener() {
@Override public void onQueryCurrentProgressForSavingMedia() {
// TODO: probably go through mFailedMediaIds, and see if any block in the post content
// has these mediaFIleIds. If there's a match, mark such a block in FAILED state.
updateFailedMediaState();
updateMediaProgress();
}
},
new OnSetFeaturedImageListener() {
@Override
public void onSetFeaturedImageButtonClicked(int mediaId) {
Expand Down

0 comments on commit 0f40125

Please sign in to comment.