-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Delete subscriber #21989
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
Merged
Merged
Delete subscriber #21989
Changes from 29 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
11804b2
Created shell for adding subscribers
nbradbury 49a1656
Fleshed out shell for adding subscribers
nbradbury 91118dc
Fleshed out shell for adding subscribers (again)
nbradbury a7db1f4
Fixed broken text field
nbradbury b1f58b3
Changed result type of addSubscribers fun
nbradbury 3bff7bc
Added progress
nbradbury 318f1d9
Simplified layout
nbradbury c09b977
Fixed positioning in layout
nbradbury d18c101
Don't use onError when adding subscribers
nbradbury 92d5e0b
Separate screens in SubscribersActivity
nbradbury e4b0068
Moved adding subscribers to its own view model
nbradbury 6abbd66
Update WordPress/src/main/res/values/strings.xml
nbradbury 50511d5
Update WordPress/src/main/java/org/wordpress/android/ui/subscribers/A…
nbradbury 56da02e
Update WordPress/src/main/java/org/wordpress/android/ui/subscribers/A…
nbradbury d8fb9b4
Let view model handle success/failure
nbradbury b9f58f7
First pass at deleting subscriber
nbradbury 84a4278
Added confirmation dialog for deletion
nbradbury 8be7a50
Refresh list after successful deletion
nbradbury 02ac3ac
Update WordPress/src/main/java/org/wordpress/android/ui/subscribers/A…
nbradbury f109165
Merge branch 'trunk' into feature/delete-subscriber
nbradbury 9e3d04e
Use rememberSavable for the button state
nbradbury 10c5b75
Update WordPress/src/main/java/org/wordpress/android/ui/subscribers/S…
nbradbury fbd7292
Use ioDispatcher for all network requests
nbradbury 3bac5d9
First pass at using event observer for deleting subscriber
nbradbury 6af224a
Clear uiEvent after handling
nbradbury 188e700
Merge branch 'trunk' into feature/delete-subscriber
nbradbury dd455ab
Added a couple of comments
nbradbury 257d866
Use SingleLiveEvent to simplify event observation and clearing
nbradbury 5d4b534
Merge branch 'trunk' into feature/delete-subscriber
nbradbury a9c7f4e
Updated WP-rs version
nbradbury dc4a0a3
Merge remote-tracking branch 'origin/feature/delete-subscriber' into …
nbradbury cb92499
Reverted SingleLiveEvent due to state loss during configuration change
nbradbury b0241d4
Clear the event after setting it
nbradbury 5edf421
Moved clearing the event to its own fun (again)
nbradbury c79619b
Use runCatching when deleting
nbradbury ddb5853
Use runCatching when adding a subscriber
nbradbury 26282b1
Updated wordpress-rs hash
nbradbury f2330aa
Added a delay to deletion
nbradbury 3013bf1
Remove local subscriber on successful deletion
nbradbury ad9a52f
Updated wordpress-rs version
nbradbury dd83cb5
Merge branch 'trunk' into feature/delete-subscriber
nbradbury e99baa0
Show deletion success dialog
nbradbury dda07ee
Merge branch 'trunk' into feature/delete-subscriber
nbradbury 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
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
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.
This comment was marked as resolved.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.