1
0
Fork 0
fenix/app/src/main/java/org/mozilla/fenix
Gabriel 56b21426eb
For #5574 - Migrate SessionControl to LibState (#6651)
* For #5574 - Part 1: Port TabAction.SaveTabGroup to TabSessionInteractor and SessionControlController. (#6651)

- Introduces the TabSessionInteractor, SessionControlInteractor and SessionControlController classes.
- Removes the TabAction.SaveTabGroup.

* For #5574 - Part 2: Port TabAction.PrivateBrowsingLearnMore to TabSessionInteractor and SessionControlController (#6651)

* For #5574 - Part 3: Port TabAction.ShareTabs to TabSessionInteractor and SessionControlController (#6651)

* For #5574 - Part 4: Remove unused TabAction.Share and TabItemMenu (#6651)

In #2205, the tab overflow button was removed which would have shown the
TabItemMenu when clicked. So, we can remove TabItemMenu since it is not
used and as a result, we can also remove TabAction.Share since there are
no consumers.

* For #5574 - Part 5: Port TabAction.PlayMedia and TabAction.PauseMedia to TabSessionInteractor and SessionControlController (#6651)

* For #5574 - Part 6: Port TabAction.Select to TabSessionInteractor and SessionControlController (#6651)

* For #5574 - Part 7: Port Onboarding.Finish to OnboardingInteractor and SessionControlController (#6651)

* For #5574 - Part 8: Port TabAction.Close and TabAction.CloseAll to TabSessionInteractor and SessionControlController (#6651)

- Removes TabAction

* For #5574 - Part 9: Port CollectionAction.Delete to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 10: Port CollectionAction.ShareTabs to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 11: Port CollectionAction.AddTab and CollectionAction.Rename to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 12: Port CollectionAction.RemoveTab to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 13: Port CollectionAction.OpenTab to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 14: Port CollectionAction.CloseTabs to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 15: Introduce a HomeFragmentStore (#6651)

- We will hook up the HomeFragmentStore in later parts.
- Removes List<Tab>.toSessionBundle(context: Context) since it is unused.

* For #5574 - Part 16: Port CollectionAction.Collapse and CollectionAction.Expand to CollectionInteractor and SessionControlController (#6651)

- We assume the store is hooked up to the SessionControlController in this part,
but this work will be done in a later part.
- Removes CollectionAction.

* For #5574 - Part 20: Remove the architecture module. (#6651)

* For #5574 - Part 17:  Remove duplicate subscribeToTabCollections in BrowserFragment.kt (#6651)

There is a duplicate call of subscribeToTabCollections() in both HomeFragment and BrowserFragment.
In this patch, we remove the call in BrowserFragment to avoid passing the HomeFragmentStore to
BrowserFragment in order to dispatch the CollectionsChange event.

* For #5574 - Part 18: Delete SessionControlComponent and fix TabCollection and Tab imports (#6651)

* For #5574 - Part 19: Use the new HomeFragmentStore in the HomeFragment (#6651)

- Renames SessionControlUIView to SessionControlView

* For #5574 - Part 21: Fix white screen on home fragment (#6651)

* For #5574 - Part 22: Fix formatting in SessionControlInteractor and replace See with @see in SessionControlController (#6651)

* For #5574 - Part 23: Move to metrics.track call to the beginning of handleCollectionRemoveTab (#6651)

This ensures that the metrics.track will be called immediately before the tab is removed from the collection.

* For #5574 - Part 24: Use the sessionManager getter in SessionControlController (#6651)

* For #5574 - Part 25: Use mapNotNull in List<Tab>.toSessionBundle (#6651)

* For #5574 - Part 26: Simplify closeTab and closeAllTabs functions by assigning a deletionJob constant (#6651)

* For #5574 - Part 27: Replace listOf() with emptyList() in removeAllTabsWithUndo (#6651)

* For #5574 - Part 28: Replace the Context parameter with the HomeActivity in SessionControlController (#6651)

* For #5574 - Part 29: Add test for HomeFragmentStore, DefaultSessionControlController and SessionControlInteractor (#6651)

* For #5574 - Removes running CI against the architecture debug build varient
2019-12-04 22:06:05 -05:00
..
browser For #5574 - Migrate SessionControl to LibState (#6651) 2019-12-04 22:06:05 -05:00
collections For #5574 - Migrate SessionControl to LibState (#6651) 2019-12-04 22:06:05 -05:00
components For #6855 - Filter out duplicated bundled search engines 2019-12-04 17:10:02 -08:00
crashes Add toolbar helpers (#6531) 2019-11-25 15:36:47 -05:00
customtabs For #6827, #6811 - Cast layoutParams to MarginLayoutParams 2019-12-02 14:52:31 +00:00
downloads For #6436: Adds snackbar for failed download (#6648) 2019-11-22 12:46:57 -08:00
exceptions Add toolbar helpers (#6531) 2019-11-25 15:36:47 -05:00
ext For #5574 - Migrate SessionControl to LibState (#6651) 2019-12-04 22:06:05 -05:00
home For #5574 - Migrate SessionControl to LibState (#6651) 2019-12-04 22:06:05 -05:00
lib Remove redundant super calls 2019-07-29 10:22:53 -07:00
library Closes #6731 - fixed BookmarkNode minus operator and deleteOperation 2019-12-02 16:18:48 +00:00
logins For #6791 - Inflate SavedLoginsListItemViewHolder layout explicitly 2019-12-02 10:40:58 -08:00
onboarding For #4824 - Fixes onboarding telemetry events from being sent a… (#6659) 2019-11-21 17:51:55 -08:00
search For #6070 Adds telemetry for enabling search suggestions in private 2019-12-04 16:44:01 -08:00
session For #6470 Remove actions from notification, keep just close private tabs 2019-11-27 10:08:00 -08:00
settings For #6848 - Sorts the search engine list without case sensitivity 2019-12-04 16:10:26 -08:00
share Add toolbar helpers (#6531) 2019-11-25 15:36:47 -05:00
shortcut Cleanup shortcut code 2019-10-18 10:57:51 -07:00
test For #5574 - Migrate SessionControl to LibState (#6651) 2019-12-04 22:06:05 -05:00
theme For 4780: add DefaultBrowsingModeManager tests 2019-10-08 15:13:17 -07:00
trackingprotection No Issue - Fixes warnings / compiler errors with A-C update 2019-11-28 12:45:45 +01:00
utils For #5694 & #6054: Allows users to change toolbar position (#6608) 2019-11-25 16:43:32 -08:00
whatsnew For #5656: Fixes nightly major version number crash 2019-09-27 15:06:57 -07:00
widget Closes #4711 - Extract VoiceSearchActivity (#5502) 2019-09-27 07:54:29 -07:00
AppRequestInterceptor.kt For #5540: updates error page copy when no internet is available (#6803) 2019-12-02 10:26:06 -08:00
BrowserDirection.kt For #5898: Default browser toggle sends user to SUMO on Android 5&6 (#5918) 2019-10-10 11:16:21 -07:00
Config.kt For #6441: Fix variant build type matching (#6462) 2019-11-05 12:28:14 -08:00
Experiments.kt FxA WebChannels integration 2019-09-16 19:44:13 -07:00
FeatureFlags.kt For #2477 - Removes the feature flag for Force Enable Zoom (#6646) 2019-11-20 10:32:38 -08:00
FenixApplication.kt Issue #5183: Initialize megazord asynchronously 2019-11-27 10:51:57 -08:00
GlobalDirections.kt For #4779 : Don't double navigate with global directions in HomeActivity 2019-08-23 12:01:28 -04:00
HomeActivity.kt No Issue - Fixes warnings / compiler errors with A-C update 2019-11-28 12:45:45 +01:00
IntentReceiverActivity.kt For #5972 - Fixes bugs when launching in private mode on Android 5 (#6702) 2019-11-26 14:53:03 -08:00