-
Notifications
You must be signed in to change notification settings - Fork 1.3k
For FNXV2-17067: always show home in background behind search dialog #20573
For FNXV2-17067: always show home in background behind search dialog #20573
Conversation
} | ||
|
||
@Test | ||
fun handleToolbarClick_useNewSearchExperience() { |
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 switched over to the "new" search experience a while ago, so this test is a dupe of the one above
dfd20ab
to
991fd61
Compare
This pull request has conflicts when rebasing. Could you fix it @eliserichards? 🙏 |
app/src/main/java/org/mozilla/fenix/home/recentbookmarks/view/RecentBookmarkItemViewHolder.kt
Outdated
Show resolved
Hide resolved
fd8dd3c
to
591acec
Compare
UI test: |
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.
Looks good! We need a quick profiling session though and be careful not to introduce a performance regression. See comment on the original fix below.
app/src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt
Outdated
Show resolved
Hide resolved
This pull request has conflicts when rebasing. Could you fix it @eliserichards? 🙏 |
591acec
to
8bec663
Compare
8bec663
to
3e13c78
Compare
Flaky UI tests:
Both ran fine locally ✅ |
3e13c78
to
41659b6
Compare
@@ -68,7 +68,7 @@ | |||
android:layout_height="match_parent" | |||
android:clipChildren="false" | |||
android:clipToPadding="false" | |||
android:layout_marginBottom="48dp" | |||
android:layout_marginBottom="88dp" |
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.
Allows collections to be seen on home behind the search dialog/toolbar
41659b6
to
5b048d2
Compare
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.
Did some manual testing again, and took another profile.
Looks good to 🚢 and gather some feedback. I think the follow-up to hide the keyboard while scrolling could be moved in soon. It will make this work better as we add more things to the home screen.
...src/test/java/org/mozilla/fenix/home/recentbookmarks/DefaultRecentBookmarksControllerTest.kt
Outdated
Show resolved
Hide resolved
app/src/androidTest/java/org/mozilla/fenix/ui/CollectionTest.kt
Outdated
Show resolved
Hide resolved
5b048d2
to
e63f03f
Compare
@Mergifyio rebase |
Update tests to show home behind search dialog. Remove unused test. Jump back in show all button is clickable behind search dialog Recently saved bookmarks show all button is clickable behind search dialog
Handle keyboard in controllers instead of viewholders. Update tests. Allow collections to be visible behind search dialog Dismiss keyboard and search dialog with navigateUp instead of just dismissing the keyboard Verify navigateUp in tests Adding ignore for flaky UI test Only resize home behind search dialog Add ignore for collection intermittent test Cleanup
Command
|
e63f03f
to
8c00ebf
Compare
…ozilla-mobile#20573) * Navigate to home on toolbar click. Handle back press from search dialog Update tests to show home behind search dialog. Remove unused test. Jump back in show all button is clickable behind search dialog Recently saved bookmarks show all button is clickable behind search dialog * Add feature flag * Past explorations show all button is clickable behind search dialog Handle keyboard in controllers instead of viewholders. Update tests. Allow collections to be visible behind search dialog Dismiss keyboard and search dialog with navigateUp instead of just dismissing the keyboard Verify navigateUp in tests Adding ignore for flaky UI test Only resize home behind search dialog Add ignore for collection intermittent test Cleanup
…ozilla-mobile#20573) * Navigate to home on toolbar click. Handle back press from search dialog Update tests to show home behind search dialog. Remove unused test. Jump back in show all button is clickable behind search dialog Recently saved bookmarks show all button is clickable behind search dialog * Add feature flag * Past explorations show all button is clickable behind search dialog Handle keyboard in controllers instead of viewholders. Update tests. Allow collections to be visible behind search dialog Dismiss keyboard and search dialog with navigateUp instead of just dismissing the keyboard Verify navigateUp in tests Adding ignore for flaky UI test Only resize home behind search dialog Add ignore for collection intermittent test Cleanup
For FNXV2-17067
POC for FNXV2-17191 spike
Question: will this have any effect on the search widget?
Screenshots
20210803_145214.mp4
20210803_145249.mp4
Pull Request checklist
To download an APK when reviewing a PR: