-
Notifications
You must be signed in to change notification settings - Fork 1.3k
For #15362: Remove swipe to delete for bookmarks #16646
For #15362: Remove swipe to delete for bookmarks #16646
Conversation
No Taskcluster jobs started for this pull requestThe `allowPullRequests` configuration for this repository (in `.taskcluster.yml` on the
default branch) does not allow starting tasks for this pull request. |
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.
Thank you for helping with this @kleinph!
There is still a little bit of cleanup to do around
- the
onStartSwipingItem
,onStopSwipingItem
methods from BookmarkView/Interactor/Controller- also the tests for these methods
- and the code related to
isSwipeToRefreshEnabled
inBookmarkFragmentStore
.- also the related tests
@Mugurell should I do the missing pieces in extra commits or can I amend the original commit? |
To me a single commit is fine - I see all changes related and all for code cleanup. |
ee148ba
to
1b29ca2
Compare
Thank you @kleinph for the prompt changes! After deleting the Looking at the implementation of these two Controller methods I see that their intent was to enable / disable the pull down to refresh functionality while the user does a horizontal swipe, something that was implemented in #12831. If you need any help with this please say. I understand it can be a bit more complex than it appeared at a first look. |
1b29ca2
to
3aeb8a0
Compare
Also remove now obsolete feature flag and tests. Closes mozilla-mobile#15362
3aeb8a0
to
76ccb79
Compare
Sorry, I missed the part about building and the pre push hooks in the Readme, because I followed the link to the contributing guide and never returned. Will fix this and run tests for all commits locally from now on.
Yes, I also think so.
That's no problem, it just makes it more interesting :-)
I now fixed the failing tests and also removed an obsolete import the linter spotted. Cleanup of dead code will follow soon. |
…okmarkFragmentState Also adapt tests and remove obsolete ones.
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.
This looks awesome!
Thank you!
bors try |
tryBuild succeeded: |
bors r+ |
16646: For #15362: Remove swipe to delete for bookmarks r=Mugurell a=kleinph Closes #15362 ### Pull Request checklist <!-- Before submitting the PR, please address each item --> - [x] **Tests**: This PR includes thorough tests or an explanation of why it does not This PR does remove a feature and its tests. - [x] **Screenshots**: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not ![no-swipe-delete-bookmarks](https://user-images.githubusercontent.com/566413/99639340-c6b92880-2a47-11eb-9686-604f09c07842.gif) - [x] **Accessibility**: The code in this PR follows [accessibility best practices](https://github.com/mozilla-mobile/shared-docs/blob/master/android/accessibility_guide.md) or does not include any user facing features. In addition, it includes a screenshot of a successful [accessibility scan](https://play.google.com/store/apps/details?id=com.google.android.apps.accessibility.auditor&hl=en_US) to ensure no new defects are added to the product. A feature was removed, so accessibility should not change. ### To download an APK when reviewing a PR: 1. click on Show All Checks, 2. click Details next to "Taskcluster (pull_request)" after it appears and then finishes with a green checkmark, 3. click on the "Fenix - assemble" task, then click "Run Artifacts". 4. the APK links should be on the left side of the screen, named for each CPU architecture Co-authored-by: Philipp Klein <philipptheklein@gmail.com>
Sorry that this took so long @kleinph . |
…la-mobile#16646) Removed now obsolete feature flag and tests. Removed obsolete swipe refresh state from BookmarkFragmentState Also adapted tests and remove obsolete ones.
Closes #15362
Pull Request checklist
This PR does remove a feature and its tests.
A feature was removed, so accessibility should not change.
To download an APK when reviewing a PR: