Commit Graph

116 Commits (a4d569db3467a3c6264e6022d3ce87093eea0cf3)

Author SHA1 Message Date
Michael Comella 12e7ad43c8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8803 - review: move forward metric expiration date.
We primarily want to determine if this is a problem area for us to
investigate rather than a long term measurement to keep so we should set
the expiration date accordingly. Furthermore, this code executes before
crash reporting is init so it's ideal to remove it sooner rather than
later.
4 years ago
Michael Comella 3556b5a10f [fenix] For https://github.com/mozilla-mobile/fenix/issues/8803: add StartupTimeline ping type and framework_start metrics. 4 years ago
Sawyer Blatz 92ea1cc5b3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9892: Set dynamicToolbarMaxHeigtht to 0 for PWAs (https://github.com/mozilla-mobile/fenix/pull/9893) 4 years ago
Gabriel Luong e754578cef [fenix] For https://github.com/mozilla-mobile/fenix/issues/6174 - Add telemetry for WebExtensions (https://github.com/mozilla-mobile/fenix/pull/8318) 4 years ago
ekager ea9add8d2b [fenix] For https://github.com/mozilla-mobile/fenix/issues/8125 - Send top sites count with metrics ping 4 years ago
Mihai Branescu 7c4db6a8af [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/9352 - changed capitalisation of 'Open in app' 4 years ago
Sawyer Blatz 3c3db7d3ba [fenix] For https://github.com/mozilla-mobile/fenix/issues/9136: Send all adjust properties to glean (https://github.com/mozilla-mobile/fenix/pull/9253) 4 years ago
Chris 0f35ca6081 [fenix] markdown formatting fixes 4 years ago
Chenxia Liu 8a9e9886d7 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/106 - Move Adjust documentation from wiki to docs/ 4 years ago
Jeff Boek ea819f9a9d [fenix] For https://github.com/mozilla-mobile/fenix/issues/4807 - Always navigate to settings after deleting data 4 years ago
Jeff Boek ef35bc2c24 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7295 - Adds more documentation for the installation metrics 4 years ago
codrut.topliceanu 30c7a2dee8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7295 - Updates auto-generated metrics.md 4 years ago
codrut.topliceanu 0c9efef83c [fenix] For https://github.com/mozilla-mobile/fenix/issues/7295 - Adds new custom ping: 'installation' 4 years ago
ekager fecc5376cf [fenix] For https://github.com/mozilla-mobile/fenix/issues/8126 - Adds default top sites 4 years ago
Mugurell e7a936910f [fenix] For https://github.com/mozilla-mobile/fenix/issues/6577 - Add `total_uri_count` to the Glean metrics ping
Re-apply the change for https://github.com/mozilla-mobile/fenix/issues/4456.
Keep `total_uri_count` as a CounterMetricType and let Glean manage it's
persistence and reset time (resets with each metrics ping sent).
4 years ago
Mugurell 0929ce5872 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6577 - Remove the `total_uri_count` Glean StringMetricType
This was added as a duplicate to an already existing `total_uri_count`
CounterMetricType in https://github.com/mozilla-mobile/fenix/issues/4456.
4 years ago
Jeff Boek 673fca0d49 [fenix] For mozilla-mobilehttps://github.com/mozilla-mobile/fenix/issues/8172: Add a new 'E_Fennec_To_Fenix_Migrated' Leanplum event
This new event will be sent when the user has successfully migrated from Fennec
to Fenix.
This event will only be sent to Leanplum and not to the other telemetry
services like Glean or Adjust.

Co-authored-by: ValentinTimisica <valentin.timisica@softvision.ro>
4 years ago
Jeff Boek 7d0ec138cd [fenix] For https://github.com/mozilla-mobile/fenix/issues/8172 - Adds mma docs 4 years ago
Emily Kager 100d019a67 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/8176 - Adds new string for add to top sites (https://github.com/mozilla-mobile/fenix/pull/8209) 4 years ago
Gabriel Luong aaf9c65f5d [fenix] Provide add-on support (https://github.com/mozilla-mobile/fenix/pull/8064)
Closes https://github.com/mozilla-mobile/fenix/issues/5630, https://github.com/mozilla-mobile/fenix/issues/6069, https://github.com/mozilla-mobile/fenix/issues/6092, https://github.com/mozilla-mobile/fenix/issues/6091, https://github.com/mozilla-mobile/fenix/issues/6124, and https://github.com/mozilla-mobile/fenix/issues/6147.

Co-authored-by: Simon Chae <chaesmn@gmail.com>
Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
4 years ago
ValentinTimisica bcc027e1f0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7289: Adds telemetry for selecting dark theme 4 years ago
ValentinTimisica 128ef37d5b [fenix] For https://github.com/mozilla-mobile/fenix/issues/6834: Adds telemetry for About page items
Didn't change the existing probe for 'whats new' item because we're already
collecting that info.
4 years ago
Gabriel Luong 1742d10b7e [fenix] For https://github.com/mozilla-mobile/fenix/issues/7525 - Add telemetry for opening a top site in normal and private mode and removing a top site 5 years ago
ekager 6377a946f8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5586 - Add telemetry for save logins setting 5 years ago
Kaaira Gupta 8547ba1a74 [fenix] For https://github.com/mozilla-mobile/fenix/issues/3813 - Create a save button for bookmark editing 5 years ago
Sawyer Blatz 1b6e2b2f2d [fenix] For https://github.com/mozilla-mobile/fenix/issues/6308: Remove unecessary telemetry & bump expiry date (https://github.com/mozilla-mobile/fenix/pull/7793)
* For https://github.com/mozilla-mobile/fenix/issues/6308: Remove unecessary telemetry

* For https://github.com/mozilla-mobile/fenix/issues/6308: Bump expiry date on telemetry
5 years ago
ValentinTimisica d4fa64f541 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7751: Remove 'SearchWithCustomEngine' telemetry event 5 years ago
ValentinTimisica a5e27570cb [fenix] For https://github.com/mozilla-mobile/fenix/issues/6556: Adds Telemetry counts for Search Access Points
Added two new sources to be counted ('widget' and 'shortcut') besides 'action' and
'suggestion'. Also modified/fixed some tests.
5 years ago
ValentinTimisica 8560ea17c2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5884: Adds user-specified search engines telemetry
Created events for adding and deleting a custom search engine and for searches
performed with a custom search engine.
5 years ago
Emma Malysz eb02fcfcd7 [fenix] For issue 7192: move unsetOpenLinksInAPrivateTabIfNecessary off main thread. (https://github.com/mozilla-mobile/fenix/pull/7246)
Move method to Settings. There are two instances when we want to call this method: either
processing an intent, or within DefaultBrowserPreference
5 years ago
Ryan Kelly b806b4c5fa [fenix] Use feature-accounts-push, which replaces feature-sendtab. 5 years ago
Michael Comella 60a9ccc2ed [fenix] No issue: correct glean links in telemetry.md (https://github.com/mozilla-mobile/fenix/pull/6488) 5 years ago
mcarare 7a289d1eb1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6070 Adds telemetry for enabling search suggestions in private 5 years ago
Mihai Branescu 6d8117f1ba [fenix] For https://github.com/mozilla-mobile/fenix/issues/6396 - Added metrics for tracking history/bookmarks account sync toggles (https://github.com/mozilla-mobile/fenix/pull/6601) 5 years ago
Sawyer Blatz 723d99864f [fenix] For https://github.com/mozilla-mobile/fenix/issues/5694 & https://github.com/mozilla-mobile/fenix/issues/6054: Allows users to change toolbar position (https://github.com/mozilla-mobile/fenix/pull/6608)
* For https://github.com/mozilla-mobile/fenix/issues/5694 & https://github.com/mozilla-mobile/fenix/issues/6054: Adds preference screen for toolbar

* For https://github.com/mozilla-mobile/fenix/issues/5694: Adds changing toolbar position functionality

* No issue: Updates telemetry links to actually work lol 😬

* For https://github.com/mozilla-mobile/fenix/issues/6054: Adds toolbar position to core ping
5 years ago
Gabriel Luong 23069b57af [fenix] For https://github.com/mozilla-mobile/fenix/issues/5583 - Adds telemetry for download notification (https://github.com/mozilla-mobile/fenix/pull/6554) 5 years ago
Gabriel 6314944213 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5705 - Adds telemetry for media state (https://github.com/mozilla-mobile/fenix/pull/6463) 5 years ago
Emily Kager 65fb429f90 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5586 - Adds Logins Telemetry (https://github.com/mozilla-mobile/fenix/pull/6352)
* For https://github.com/mozilla-mobile/fenix/issues/5586 - Adds Logins Telemetry

* Adds Logins Sync Telemetry to PreferenceToggled event
5 years ago
Severin Rudie 153923588f [fenix] For https://github.com/mozilla-mobile/fenix/issues/4281: fixed metrics.yaml for QAB removal (https://github.com/mozilla-mobile/fenix/pull/6555) 5 years ago
Severin Rudie 2e76d82c9a [fenix] 4281 remove qab (https://github.com/mozilla-mobile/fenix/pull/6310)
* For https://github.com/mozilla-mobile/fenix/issues/4281: small ToolbarMenu refactor

This makes it easier to see how items are ordered in the menuItems list

* For 4281: add QAB buttons to menu

* For 4281: removed menu back button per mocks

I double checked with UX, and we'll be relying on the hardware back button for its functionality

* For 4281: add content descriptions for bookmarking

* For 4281: updated BrowserToolbarController for new functionality

* For 4281: provided simple dependencies to browser controller

More complex changes will be in a following commit, for review readability

* For 4281: move toolbar controller dependencies up to BaseBrowserFragment

The functionality they control is being moved into the toolbar menu, which is shared by both normal tabs and custom ones

* For 4281: removed (now unused) code related to QAB

* For 4281: fix test compilation after QAB removal

Tests still need to be expanded to include added functionality

* For 4281: updated menu to show if url is bookmarked

This sloppy workaround is required because TwoStateButton requires that `isInPrimaryState` be a synchronous call, and checking whether or not the current site is bookmarked is quite slow (10-50 MS, in my tests).  After days of work and many attempted solutions, this was the least abhorrent among them.

https://github.com/mozilla-mobile/android-components/issues/4915 was opened against AC to evaluate potentially supporting async `isInPrimaryState` functions.
https://github.com/mozilla-mobile/fenix/issues/6370 was opened against Fenix to investigate the unexpectedly slow call to `BookmarkStorage`.

* For 4281: update reader mode switch

* For 4281: selectively show/hide menu items

* For 4281: add reader mode appearance

* For 4281: update bookmark button when it is clicked

* For 4281: removed unused QAB code

* For 4281: removed QAB robot, updated UI tests

* For 4281: removed QuickActionSheet metrics

Since this behavior now lives in the toolbar, it is tracked via Event.BrowserMenuItemTapped

* For 4281: fixed lint errors

* For 4281: add new strings for buttons added to menu

This is necessary because the location change (from QAB to toolbar menu) could affect the grammar in some languages

* For 4281: remove outdated TODOs

* For 4281: removed QAB container

* For 4281: removed back button reference from UI test

This button no longer exists

* For 4821: Fixes a visual defect (extra padding on top of toolbar)

* For 4281: update copy on reader mode

* For 4281: fixed review nits
5 years ago
Sawyer Blatz c6e952238d [fenix] For https://github.com/mozilla-mobile/fenix/issues/4456: Updates total_uri_count upload (https://github.com/mozilla-mobile/fenix/pull/6482) 5 years ago
ekager e709201056 [fenix] Use new API for ETP Exceptions 5 years ago
liuche 0eb5656020 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/6097 - Bump activation ping expiry date. (https://github.com/mozilla-mobile/fenix/pull/6309) 5 years ago
Sawyer Blatz 65fa1e255d [fenix] For https://github.com/mozilla-mobile/fenix/issues/5959 & https://github.com/mozilla-mobile/fenix/issues/5958: Integrates download feature into Fenix (https://github.com/mozilla-mobile/fenix/pull/6368) 5 years ago
Sawyer Blatz 506fdc79a8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4456: Adds total_uri_count to metrics core ping (https://github.com/mozilla-mobile/fenix/pull/6003) 5 years ago
Sawyer Blatz ed0d2c0c0c [fenix] For https://github.com/mozilla-mobile/fenix/issues/1298: Fixes issue with Adjust campaign not sending through Glean (https://github.com/mozilla-mobile/fenix/pull/5896) 5 years ago
Sawyer Blatz 8314b378d7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5737: Adds telemetry for open links in a private tab (https://github.com/mozilla-mobile/fenix/pull/5975) 5 years ago
Sawyer Blatz 893c08050f [fenix] No issue: Fixes string issues for l10n (https://github.com/mozilla-mobile/fenix/pull/6158)
Issues found here: https://github.com/mozilla-l10n/android-l10n/pull/89
5 years ago
Severin Rudie 86dc299949 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5799: document architecture choices (https://github.com/mozilla-mobile/fenix/pull/5800)
* For https://github.com/mozilla-mobile/fenix/issues/5799: add architecture document outline for review

* For 5799: update architecture doc outline

- Remove references to old architecture (Soon it will all have been replaced. No need for the additional cognitive load)
- Add some subheadings
- 'Simplified Example' seems like a good idea. Update the language to clarify that it will be done

* For 5799: add additional known limitations

* For 5799: wrote first draft for architecture 'overview' and 'important objects'

* For 5799: wrote first draft for arch doc 'important notes'

* For 5799: wrote arch doc 'known limitations' section

* For 5799: wrote example code for architecture doc

* For 5799: added example app wireframe for arch docs

* For 5799: update arch docs 'Simplified Example section'

* For 5799: improve formatting for architecture docs

* For 5799: minor tweaks to architecture docs

* For 5799: link 'simplified example' section to example code

* For 5799: update arch doc per review
5 years ago
MozLando 66e7638fb7 [fenix] Merge https://github.com/mozilla-mobile/fenix/pull/5633
5633: Add fxa/sync integration tests r=csadilek a=isabelrios

 Pull Request checklist
<!-- Before submitting the PR, please address each item -->
- [x] **Quality**: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
- [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](https://github.com/mozilla-mobile/shared-docs/blob/master/android/accessibility_guide.md) or does not include any user facing features

This PR tries to add new tests, sync integration tests, to check the sync process Desktop<->Fenix, first for Bookmarks and in the future for more.

Co-authored-by: Isabel Rios <isabelrios@mackbookirios.home>
Co-authored-by: isabelrios <isabelrios@gmail.com>
5 years ago