Close #26150: Do not show sync tabs in home when sync open tabs setting is disabled
Pull Request checklist
- [x] Tests: This PR includes thorough tests or an explanation of why it does not
- [ ] Screenshots: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not
- [ ] Accessibility: The code in this PR follows accessibility best practices or does not include any user facing features. In addition, it includes a screenshot of a successful accessibility scan to ensure no new defects are added to the product.
QA
- [x] QA Needed
To download an APK when reviewing a PR (after all CI tasks finished running):
- Click on
Checksat the top of the PR page. - Click on the
firefoxci-taskclustergroup on the left to expand all tasks. - Click on the
build-debugtask. - Click on
View task in Taskclusterin the newDETAILSsection. - The APK links should be on the right side of the screen, named for each CPU architecture.
GitHub Automation
Fixes #26150
@sarah541 FYI, I think this touches some of the files you are also currently working on
Seeing some issues while testing. This PR will need an update before landing.
LGTM, but @MatthewTighe might want to take a quick look at it before it lands as well since he has the most up-to-date context. 🙂
Putting this on hold. From some discussions we might have a better fix that will fix all the place holder problems.
This latest push looks like it reintroduces the original issue. If I have a synced tab available and disable tabs syncing in settings then the tab will still be visible when I return to home. It looks like the code to check the engines storage was removed, so the
AppStorewill never be updated with new state.
Yes, it stays until the next time the user starts the app. I was looking for a simple change that remove the problem with blank sync tab card but not more. Do you think we have to hide the sync tab if we already have it in memory?
Yes, it stays until the next time the user starts the app. I was looking for a simple change that remove the problem with blank sync tab card but not more. Do you think we have to hide the sync tab if we already have it in memory?
I think in general if a user disables tab syncing it is probably with the intent that synced tabs are no longer available on their device, so they might be surprised to see it still on their home screen. That case can be handled in a follow-up though
I think in general if a user disables tab syncing it is probably with the intent that synced tabs are no longer available on their device, so they might be surprised to see it still on their home screen. That case can be handled in a follow-up though
Sure, I'll restore the part where we check if the tab sync is off. Thanks