extensions menu: Introduce pinning preference
This change adds `EXTENSIONS_MENU_ICON_PINNED` preference, which will
keep track of the user's preference to display or not display the puzzle
piece icon.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Thanks Masa! Is there a reason why we don't want to have this preference in `ExtensionPrefs` (C++)? ExtensionsPrefs is the single source of truth for all extension-related logic. It allows for sync across devices, and I believe it should sync for Android devices too. Is it preferred to have android-only preferences in Java? Does `ChromePreferenceKeys` sync across devices?
We may wanna open a thread in the AL-CRX chat
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Thanks Masa! Is there a reason why we don't want to have this preference in `ExtensionPrefs` (C++)? ExtensionsPrefs is the single source of truth for all extension-related logic. It allows for sync across devices, and I believe it should sync for Android devices too. Is it preferred to have android-only preferences in Java? Does `ChromePreferenceKeys` sync across devices?
We may wanna open a thread in the AL-CRX chat
My thinking was that this preference was closer to other Java UI settings, e.g. whether to show the bookmarks bar, which are considered local preferences and don't sync across devices on Clank. Also, since this settings is specific to Android, it doesn't feel right to store it in `ExtensionPrefs` that sync across all platforms. WDYT?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Masa FujitaThanks Masa! Is there a reason why we don't want to have this preference in `ExtensionPrefs` (C++)? ExtensionsPrefs is the single source of truth for all extension-related logic. It allows for sync across devices, and I believe it should sync for Android devices too. Is it preferred to have android-only preferences in Java? Does `ChromePreferenceKeys` sync across devices?
We may wanna open a thread in the AL-CRX chat
My thinking was that this preference was closer to other Java UI settings, e.g. whether to show the bookmarks bar, which are considered local preferences and don't sync across devices on Clank. Also, since this settings is specific to Android, it doesn't feel right to store it in `ExtensionPrefs` that sync across all platforms. WDYT?
On a second thought, it might make sense to keep this in the extensions prefs if this has the possibility of being ported to as a feature for Desktop too... let's ask AL-CRX
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Masa FujitaThanks Masa! Is there a reason why we don't want to have this preference in `ExtensionPrefs` (C++)? ExtensionsPrefs is the single source of truth for all extension-related logic. It allows for sync across devices, and I believe it should sync for Android devices too. Is it preferred to have android-only preferences in Java? Does `ChromePreferenceKeys` sync across devices?
We may wanna open a thread in the AL-CRX chat
Masa FujitaMy thinking was that this preference was closer to other Java UI settings, e.g. whether to show the bookmarks bar, which are considered local preferences and don't sync across devices on Clank. Also, since this settings is specific to Android, it doesn't feel right to store it in `ExtensionPrefs` that sync across all platforms. WDYT?
On a second thought, it might make sense to keep this in the extensions prefs if this has the possibility of being ported to as a feature for Desktop too... let's ask AL-CRX
Based on AL-CRX chat, we wanna use extensions prefs (or general pref)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Masa FujitaThanks Masa! Is there a reason why we don't want to have this preference in `ExtensionPrefs` (C++)? ExtensionsPrefs is the single source of truth for all extension-related logic. It allows for sync across devices, and I believe it should sync for Android devices too. Is it preferred to have android-only preferences in Java? Does `ChromePreferenceKeys` sync across devices?
We may wanna open a thread in the AL-CRX chat
Masa FujitaMy thinking was that this preference was closer to other Java UI settings, e.g. whether to show the bookmarks bar, which are considered local preferences and don't sync across devices on Clank. Also, since this settings is specific to Android, it doesn't feel right to store it in `ExtensionPrefs` that sync across all platforms. WDYT?
Emilia PazOn a second thought, it might make sense to keep this in the extensions prefs if this has the possibility of being ported to as a feature for Desktop too... let's ask AL-CRX
Based on AL-CRX chat, we wanna use extensions prefs (or general pref)
Yep, I'm whipping up the CL right now - thank you so much for pointing it out!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |