-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Posts & Pages: Minor fixes and improvements #21958
Conversation
📲 You can test the changes from this Pull Request in WordPress Alpha by scanning the QR code below to install the corresponding build.
|
📲 You can test the changes from this Pull Request in Jetpack Alpha by scanning the QR code below to install the corresponding build.
|
b729cdc
to
a20ec03
Compare
@@ -91,11 +89,6 @@ extension PageListViewController: InteractivePostViewDelegate { | |||
} | |||
|
|||
private func trashPage(_ page: Page) { | |||
guard ReachabilityUtils.isInternetReachable() else { | |||
ReachabilityUtils.showNoInternetConnectionNotice(message: Strings.offlineMessage) |
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.
Let's remove the offline message string as well
@@ -466,12 +462,6 @@ class PageListViewController: AbstractPostListViewController, UIViewControllerRe | |||
} | |||
|
|||
private func handleTrashPage(_ post: AbstractPost) { |
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.
We can remove this entire method. Apologies for not doing this in the context menu PR!
@@ -85,7 +80,7 @@ final class PageMenuViewModelTests: CoreDataTestCase { | |||
let expectedButtons: [[AbstractPostButton]] = [ | |||
[.view], |
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.
Let's remove [.view] from this test case to make it pass
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.
Left a few comments - looks good otherwise!
All addressed, thank you! |
8f3ca13
to
1e701e2
Compare
Regression Notes
PR submission checklist:
RELEASE-NOTES.txt
if necessary.UI Changes testing checklist: