Android-components: Sync Tabs: Rename RemoteTabsFeature to SyncTabsFeature

Created on 10 Dec 2019  路  6Comments  路  Source: mozilla-mobile/android-components

"Remote" was an internal component name and probably shouldn't change the feature name.

Things to change:

  • RemoteTabsFeature -> SyncedTabsFeature.
  • RemoteTabsStorageSuggestionProvider -> SyncedTabsStorageSuggestionProvider.
  • mozilla.components.feature.remotetabs -> mozilla.components.feature.syncedtabs.
  • Component README.
  • Project README.
<sync-tabs> good first issue 鈱笍 code

All 6 comments

This has potential for a good first bug, but will wait for comment from @eoger to see how they feel about this.

Minus nit would be synced versus sync, but yeah I'm ok with the rename!

I can do this.

@eoger @jonalmeida Should I also change mozilla.appservices.remotetabs.RemoteTab and mozilla.components.browser.storage.sync.RemoteTabsStorage?

The mozilla.appservices.remotetabs namespace lives in the app services project, and the RemoteTabsStorage is the entry point for that dependency into the a-c FxaAccounts which is the naming convention that's followed there, so let's leave those as is. SyncTabs is the feature that it supports, which was my internal reasoning for renaming the feature (which I forgot to document). 馃檪

Was this page helpful?
0 / 5 - 0 ratings