Commit Graph

2453 Commits (8296b3e9ffe5b0067a9551caf24513b185117306)

Author SHA1 Message Date
Michael Comella e25ee98d7d No issue: fix typo in Performance.instrumentColdStartup... (#7848) 5 years ago
mozilla-l10n-automation-bot cf63db20b4 Import l10n. (#7843) 5 years ago
Kaaira Gupta 08cce8cf58 for #7421 :removed collection from clear browsing history 5 years ago
Michael Comella ffc441f12a For perf-frontend-issues#50: instrument imperfect reportFullyDrawn.
We don't capture the second RV draw yet. Unfortunately, I don't know if
it's the best use of my time to capture that as well.
5 years ago
Chenxia Liu e5164e3670 For #6980 - Pre-land string changes to onboarding cards. 5 years ago
Mihai Carare cd853d0d8f For #7029: Navigate to Search Fragment when pressing Start browsing 5 years ago
Kaaira Gupta e291c6905c For #3813 - Create a save button for bookmark editing 5 years ago
Mozilla L10n Automation Bot db875ac929 Import l10n. 5 years ago
Severin Rudie 2dc5b397b6
For #7506: show highlight on home 3-dot button (#7665) 5 years ago
mcarare 8274ff6f2b For #7714: Align engine name to viewStart to support RTL layouts 5 years ago
Mihai Adrian 355cb35cb6 For #7574: Send toolbar position metrics in English. (#7712) 5 years ago
mozilla-l10n-automation-bot 5a429b99e9 Import l10n. (#7744) 5 years ago
Jonathan Almeida 02b4582c8d No issue: Update Migration UI with new API 5 years ago
Sebastian Kaspari af3726a505 Fennec home screen bookmarks: Select new tab. 5 years ago
Sebastian Kaspari 80eb19294b AboutFragment: Use SupportUtils.getWhatsNewUrl(). 5 years ago
Michael Comella ffb2e72b97 For #7423: remove unnecessary CoordinatorLayout in fragment_home.
Co-authored-by: Emma Malysz <emalysz@mozilla.com>
5 years ago
Michael Comella a1cbbba4ea For #7423: remove unnecessary wordmark_spacer view.
Co-authored-by: Emma Malysz <emalysz@mozilla.com>
5 years ago
ekager 053e5b8065 For #6396 For #6553 - Update sync engine checkboxes and send telemetry once 5 years ago
Kate Glazko dbf711e112 For #4904: Pressing back external link doesn't go back 5 years ago
Sawyer Blatz 509fa112d0 For #6308: Remove unecessary telemetry & bump expiry date (#7793)
* For #6308: Remove unecessary telemetry

* For #6308: Bump expiry date on telemetry
5 years ago
liuche 904098387a
Issue #7093 - Pre-land strings for new onboarding cards. (#7747) 5 years ago
Jeff Boek 6789df55a5 For #220 - Puts language picker behind a feature flag 5 years ago
ekager 60e3bb3126 Closes #5080 - Move site permissions strings for l10n 5 years ago
Jeff Boek ea22f6d69b For #1607 - Fixes SearchShortcutSelected to not leak any custom identifiers 5 years ago
Jonathan Almeida f4b583fc0b For #ac-5601: Lock migration UI screen orientation 5 years ago
Jonathan Almeida d29701d992 For #ac-5597: Fix unneeded dark theming in migration UI 5 years ago
Sebastian Kaspari eeb5b7b3a1 Android manifest: Export shortcut target activity. 5 years ago
ValentinTimisica c106d89285 For #7751: Remove 'SearchWithCustomEngine' telemetry event 5 years ago
Sebastian Kaspari 3a1292911d Update list of tabs after onboarding screen was dismissed. 5 years ago
ValentinTimisica 981d19de13 For #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
Grisha Kruglov 9c25d274d0 Enable firebase auto-init, force push renewal after migration 5 years ago
Jonathan Almeida 261a6162af Review comments, fix build failure and targetActivity 5 years ago
Jonathan Almeida b89afe7b7c For #7092: Add initial Migration UI 5 years ago
Sebastian Kaspari 29d9ba472c Always initialize glean. Set upload flag after migration. (#7717) 5 years ago
ekager 0777fb3bbe For #5545 For #5542 Closes #6696 Integrate logins API, adds Settings for Autofilling/Saving Logins 5 years ago
Alessio Placitelli f93437c509 Fix GleanMetricsService to use the new Glean APIs 5 years ago
Jonathan Almeida 61570b5238 Closes #7645: Disable push service when migrating 5 years ago
Mozilla L10n Automation Bot ee7f16b2b4 Import l10n. 5 years ago
salvatorep ceb155ec5c Added support for Intent.ACTION_SEARCH and Intent.ACTION_WEB_SEARCH actions 5 years ago
Marcin Wiącek 159644579e Doesn't allow for hint in URL bar on main page in two lines 5 years ago
daphliu 7034ad4be6 Modified onboarding card colors according to design 5 years ago
ValentinTimisica a952d0858c For #5884: Fixed Unit tests. 5 years ago
ValentinTimisica 7c5c9355ce For #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
Colin Lee cf220427d7
Fix #7649: Fix missing NOT in asFeatureWebChannelsDisabled check (#7650) 5 years ago
Colin Lee 7baf54f566
For #5182: Loading experiments on startup is slow, remove Fretboard (#7510)
This removes Fretboard. The goal is to reduce cold startup costs associated with loading the experiments on the main thread. We currently have two experiments frameworks in use and should only require one.
5 years ago
Sebastian Kaspari 6419d0cf13 Open "migration FAQ" when selecting "What's new" in a Fennec build. 5 years ago
Mozilla L10n Automation Bot 4fb8398a3b Import l10n. 5 years ago
Tiger Oakes 55c1b01d7b For #7431: Remove extra share button 5 years ago
ekager 913c50b59f Remove unused labels from nav_graph 5 years ago
mcarare 92305a725b For #7593 Set AboutFragment title just in onCreate 5 years ago
mcarare e9053fec57 For #7583 Align text in language title and subtitle to viewStart 5 years ago
ekager cf05840c0f Move experiments initialization and fix ktlint errors 5 years ago
Sebastian Kaspari 1f5bfff025 Issue #6898: Allow empty adjust token for fennecNightly builds. 5 years ago
ekager 47c13136f7 No issue: Fix dynamic theming to accommodate lazily inflated readerview 5 years ago
mcarare a72620ae07 For #7522 Catch IllegalArgumentException when validating search string 5 years ago
Sawyer Blatz a58decd708 For #6304 & #7577: Persist private mode between app launches 5 years ago
Mihai Adrian 0a412a1a6a For #6992 Always hide toolbar when showing find in page bar (#7567) 5 years ago
Mihai Adrian 666b3d9627 For #7343: Handle sharing to multiple devices (#7409)
* For #7343 Do not allow multiple share to same device

* For #7343 Check current destination before dismissing share
5 years ago
Sawyer Blatz 718c211a86
For #1718: Sets accessibility users to top toolbar by default (#7486) 5 years ago
Mugurell 6d44ceceda For #6836 - Limit Leanplum depending on current locale. 5 years ago
Josh Vocal 9f30a7e6eb Replace fixed dp with defined dp dimension 5 years ago
Josh Vocal 9449cb4437 Fix truncated tracking protection info text
* Allow tracking protection titles to wrap instead of being cut off
* Refactor view ids to match the layout
5 years ago
Sebastian Kaspari e3408b12b4 Update Mozilla Android Components to 28.0.0-SNAPSHOT. 5 years ago
Kaaira Gupta 109c13a126 Closes #7414 : changed AboutHeaderContentText color to primarytext color and removed futile code of aboutText color 5 years ago
Mihai Adrian 95d4de416d For #5722 Set adjustViewBounds to true to maintain original icon aspect (#7518) 5 years ago
Rushab Kumar e6791b5c08 For #7154 - Fix crash when tapping on "Blocked" in the site info panel (#7404) 5 years ago
Mozilla L10n Automation Bot 1e00b88e78 Import l10n. 5 years ago
mcarare 2bdde48986 For #7522 Ensure correct protocol is used in search string 5 years ago
mcarare 3ff7d4af4d For #7313 Set actionBar background color according to mocks. 5 years ago
Severin Rudie 569b7670d3 For 6832: update implementation/comment to align w existing AC code 5 years ago
Severin Rudie 65f5ff6b36 For #6832: fix unattached context crash in HomeFragment 5 years ago
mcarare b115a00589 For #7155 Align custom tabs overflow menu to original mocks
Reverse menu items order when toolbar position is top
5 years ago
mcarare 6aa8c98e00 For #7519 Navigate up from search fragment to handle all entry points 5 years ago
mawen7 a2e0af3194 Only close tab on back press if it has a parent tab 5 years ago
kglazko 8ed14ac062
Issue 5736 Improve pop behavior after deleting tabs in settings (#7478) 5 years ago
Emily Kager 7d613b72ae For #7181 - Adjust ETP onboarding for toolbar positions 5 years ago
Josh Vocal 31da69a311 For #7282 - Add more visibility to Turn On Sync card (#7284)
* Change background of card to make elevation more visible
* Change icon white fill to become transparent
5 years ago
Will Hawkins 9c28cb632c Issue #7425 (et al): Cache the list of installed browsers
Cache the list of installed browsers. Calling `Browsers.all`
the application directly redundantly recalculates the list.
Accessing the list of installed browsers through this cache
will reduce that overhead.
5 years ago
Mugurell 8454f208af For #4977: Migrate fennec shortcuts (#7251)
* For #4977 - Support opening Fennec pinned website shortcuts in Fenix

Fennec's pinned website shortcuts are set to open the BrowserApp activity.
So we need a new activity alias to actually catch such Intents. Otherwise they
would open "org.mozilla.firefox/.App" without any way to inform that this is
the result of the user clicking on a pinned shortcut.
For actually checking if the newly received Intent is of a Fennec pinned
shortcut we introduce a new FennecBookmarkShortcutsIntentProcessor which will
prepare the Intent to open the shortcut's URL in a new tab.

* For #4977 - Don't keep IntentReceiverActivity on the back stack

For successive Fennec pinned shortcuts to create a new IntentReceiverActivity
and be processed as normal we need to not keep this as our task root.

* For #4977 - Test the FennecBookmarkShortcutsIntentProcessor
5 years ago
Jeff Boek fdb1f505cc For #5552 - Reverts temporary fix for #5552 5 years ago
Tiger Oakes 75b87334fa
Change type for OnboardingAutomaticSignIn (#7474) 5 years ago
Michael Comella 4bab493487 No issue: remove useless @MenuRes annotation in History Fragment.
This annotation was not applied correctly and lint was unable to ensure
it was used properly: it declared an error in lint saying so but that
error was ignored. I did not know how to apply the annotation - and I
felt it had limited utility - so I removed it entirely in order to
permit the lint baseline file to be removed (it was the only error).
5 years ago
mcarare 8aa04c048e For #6851 Update text copy of option to add custom search engine 5 years ago
Mihai Branescu ea2411a88b Feature/#220 language menu (#7070)
* For #220
- Added advanced header + locale settings item in the settings fragment

* For #220
- Added locale selection page with lib state + handling of locale changes

* For #220
- Removed registering for locale changes in the manifest, allow system
to restart activity in that scenario

* For #220
- Added unit tests for locale settings page

* For #220: fixed an outdated unit test
ga-a

Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
5 years ago
Severin Rudie 9cbc3f7a4a
7410 remove rxjava (#7426)
* For #7410: rewrite updateBookmarkFromObservableInput with coroutines

* For 7410: remove RxJava from project. :(

* For 7410: converted updateBookmarkFromTextChanges to Flow per review
5 years ago
mozilla-l10n-automation-bot ab4f4bd4d8 Import l10n. (#7476) 5 years ago
Jonathan Almeida 0768fde945 No issue: Use SendTabFeature and FxaPushSupportFeature 5 years ago
Sawyer Blatz c7c4ad051a
For #6413: Adds more snackbar positioning logic (#7444)
* For #6413: Adds more snackbar positioning logic

* Refactor
5 years ago
Roger Yang f6e286fd9c
Closes #7346: Enable dynamic app links in Fenix (#7361) 5 years ago
Sawyer Blatz 3fb060f682
For #6413: Fixes snackbar positionining for bottom toolbar (#7415)
* For #6413: Fixes snackbar positionining for bottom toolbar

* For #6413: Cleans up snackbar usage
5 years ago
Emma Malysz 13f73c2d2c
For issue 7192: move unsetOpenLinksInAPrivateTabIfNecessary off main thread. (#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
Michael Comella cf143489e1 For #6464: Replace use of BuildConfig.DEBUG with ReleaseChannel.channel.isDebug.
This fixes performance issues where StrictMode would greatly slow down
startup in the forPerformanceTest variants.
5 years ago
Michael Comella ac97dd72b1 For #6464: Set "forPerformanceTest" to ReleaseChannel.FenixProduction.
This fixes a perf measurement issue where Sentry would capture an event when
using the forPerformanceTest variants.
5 years ago
Michael Comella f11ddf8038 For #6464: Add ReleaseChannel.isDebug. 5 years ago
Severin Rudie f562c81fb2 For 5334: test NotificationSessionObserver 5 years ago
Severin Rudie a8c47c8805 For #5334: disable notification for private custom tabs 5 years ago
Sawyer Blatz 9a693f6c11
For #7000: Fix inverted media telemetry (#7368) 5 years ago
Severin Rudie 26b7909214
For #7352: integrate highlightable browser menu changes (#7353)
* For #7352: integrate highlightable browser menu changes

* For 7352: invalidate menu when reader mode availability changes

* For 7352: removed highlight from reader mode appearance per UX
5 years ago
Sawyer Blatz faa4136685 For #7347: Fixes background of search field 5 years ago
Sawyer Blatz 4fd3eb53d1 For #6666: Adds back button to search screen 5 years ago
Mihai Adrian 4fa6edc86e For #7122 Fix icons for saved logins screen (#7268) 5 years ago
Suraj Shah 6344a8892d For #7041 - Respect current mode when opening library items (#7311)
* Fixes #7041
Consumes `browserMode` from home activity for tap method of bookmark

* Fixes spaces

* Cleaning tests

* Cleaning tests
5 years ago
mozilla-l10n-automation-bot a50d8552ac Import l10n. (#7009) 5 years ago
Roger Yang dd1433733a
Closes #7156: Update app links feature usage to include app links interceptor (#7275) 5 years ago
Josh 593981fa4b Fix parameterized message in search engine (#7302) 5 years ago
Jeff Boek 740572b6d9 For #5334 - Override custom tab styling in private mode (#7305) 5 years ago
Josh a40af5b134 Closes #7254 - Replace Anko applyConstraintSet (#7286)
* For #7254: Replace anko applyConstraintSet

* Anko has been deprecated and will not be continued

* Refactor ConstraintSet changes

* Replace applyConstraintSet in SearchLayouts

* Refactor HomeFragment ConstraintSet

* Define anonymous ConstraintSet
* Remove ConstraintSet prefix from PARENT_ID
5 years ago
Mihai Adrian c5a142aa14 For #6992, for #6897, for #6889: Disable multitouch in app (#6999) 5 years ago
Tiger Oakes b85673acac Clean up settings fragments 5 years ago
Josh Vocal 43354489a1 For #7253 - Replace anko setters 5 years ago
Mihai Adrian 33ac75d166 For #3574 Allow all screen readers to read onboarding items one-by one (#7292) 5 years ago
Tiger Oakes 76c83ba805
For #7085 - Remove anko px2dip (#7252) 5 years ago
Tiger Oakes 7c9a5c1f14
For #768 - Add PWA install option to menu (#6882) 5 years ago
mcarare 907d96e39f For #6709, for #6849 Handle default engine deletion and undo operation
Uninstall engine immediately and allow reinstall in onCancel.
Set previous list with default engine in onCancel.
Keep default engine change in operation and remove now unnecessary view refresh.
5 years ago
Tiger Oakes f439c8110e For #7183 - Fix bottom margin in PWAs 5 years ago
Rushab Kumar 562eb89356 For #7250 - Replace anko.dimen 5 years ago
Sebastian Kaspari e789d8ebe3 Issue #4978: Reuse widget package name of Fennec. 5 years ago
Emily Kager 5ac79f59a3 For #7219 - Polish Download Notification Dialog. (#7224)
* For #7219 - Use accent color for downloads dialog positive button

* For #7219 - Fixes gap beneath download notification dialog

* switch to setimageresource
5 years ago
Roger Yang 1a739db5b1 Closes #7260: Pass in GeckoView version information to MozillaSocorroservice 5 years ago
Grisha Kruglov 52334f9121 Closes #6937: Disable runStorageMaintenance during startup
This call will acquire a "write" lock at the storage layer (sqlite's reserved+),
which may interfere with migrations that run during startup as well (they need to
write to storage, and so also need to acquire a lock). If these operations clash,
we get a SQLITE_BUSY crash. For now, just disable the maintenance operation.
5 years ago
Tiger Oakes ea486d7c66
Split out CustomTabToolbarIntegration (#7107) 5 years ago
David Walsh b4e10965b7 Use localized strings in the quick settings panel (#7249) 5 years ago
Sebastian Kaspari 16b4680c06 Closes #4976: Use dynamic launcher entry in manifest. 5 years ago
Suraj Shah 6cb3879caf For #7048: Network info migration (#7091)
* Fixes #7048.
Adds extension function to check if online or not based on capabilities
Modified `buildDeviceList`
Modifies tests

* Fixing lint error for max length
Fixing test in AppRequestInterceptorTest.kt

* Adds suppression for deprecation
Moving away from using anko for ConnectivityManager instance

* Creates ConnectivityManager extension component

* Fixes #7180
Refactors test cases to fix static mocks
5 years ago
David Walsh e727ae5d7e Fix 5366 - Use VectorDrawableCompat for all imagery (#7221)
* Fix 5366 - Use VectorDrawableCompat for all imagery

* Fix detekt lint issues

* Restore previous comment contents
5 years ago
Severin Rudie cd53e9778a For 6795: expands toolbar whenever a new session is selected
This ensures that the bar is expanded when opening a link in a new tab
5 years ago
Jeff Boek 49f07554e7 No Issue - Removes some search engines 5 years ago
mcarare 90c77519a6 For #7194 Set snackbar anchor depending on browser toolbar position 5 years ago
Patrick Martin 71880705df For #5711 - Onboarding colours have contrast issues 5 years ago
Afzal Najam b9656a978e Hide add folder option when in Desktop Bookmarks folder 5 years ago
Ryan Kelly 31f2e80ab0 Use feature-accounts-push, which replaces feature-sendtab. 5 years ago
mcarare bc6b7725e9 For #6968 Close response stream to allow use of caching 5 years ago
mcarare d2abac78eb For #7075 Update passwords preference visibility and string
Set visibility for feature flags before settings screen it's displayed.
Change string for preference to match existing header string.
Update UI Tests
5 years ago
mcarare ef53e1ff8e Reverts #6925: Make home screen full screen 5 years ago
Will Hawkins 116f7b3d65 No Issue: Create a method to "finish onboarding" in CI
If the intent that starts the HomeActivity includes an extra
boolean flag named finishonboarding and it is set to true,
Fenix will "finish onboarding".
5 years ago
Emily Kager 686facffc6 For #6946 - Get engine margins without assuming top/bottom toolbar 5 years ago
Emily Kager dcb39b0a44 For #7124 - Match toolbar location for ETP/security panel gravity 5 years ago
Vlad Filippov a3f2f55548 Closes #5913: Add new sessionToken scope (#6155) 5 years ago
Tiger Oakes 32985af882 For #6830 - Fix "Open in" text size for custom tab (#7010) 5 years ago
ValentinTimisica b819cb11c9 For #4776: Added Unit tests for About Page. 5 years ago
ValentinTimisica c6c827f693 For #4776: Redesign and refactor the About Page
Added new items to be displayed.
5 years ago
mcarare 1c9c8f590a For #7066 Increase space below checkbox preference 5 years ago
Mihai Adrian bfc65e0614 For #6710 Update custom search engine images with better resolution (#7084) 5 years ago
Sawyer Blatz de6469e198 For #7073: Makes logo on about page not important for accessibi… (#7074) 5 years ago
Mihai Branescu c46bf84ac9 For #6330 Collections Numbering (#6453)
* For #6330 - Added logic for getting the recommended default collection name

* For #6330 - Added unit test for default collection number method
5 years ago
Tiger Oakes fe034226a3
For #5783 - Web Share with Fenix share sheet (#6883) 5 years ago
Mihai Adrian 6e9769a81b For #7031 - Hide progress bar when leaving DeleteBrowsingDataFragment (#7056) 5 years ago
Tiger Oakes 3f7205e3cb
Extract IntentProcessorType to its own file and add tests (#7012) 5 years ago
Severin Rudie 7477de83e9 For #4844: fix file prefix url shortening 5 years ago
Severin Rudie 957ed8aa88 For #5334: fix ETP shield coloring on custom private tabs 5 years ago
Mihai Adrian 45ae8cb35a For #6997 Avoid overwriting empty_search_string error (#6998)
Setting error twice also clips error message
5 years ago
Emily Kager 76e9200304 For #6922 - Check current destination is logins fragment before navigation (#6924) 5 years ago
Michael Comella 2a4aa24195 For perf-frontend-issues#33: Clarify VERBOSE logging motivation. 5 years ago
Michael Comella eef080a46c For perf-frontend-issues#33: Add HotStartPerformanceMonitorTest.
We really don't want our startup tests to subtlely change so I thought
it was worth writing some quick tests.
5 years ago
Michael Comella e60141e98d For perf-frontend-issues#33: Add HotStartPerformanceMonitor.
As mentioned in the class comment, we could use an alternative
implementation to measure perf from outside the application however
it's more complicated to set up and less consistent with our cold
startup methodology so we'll start with this.
5 years ago
ekager 1647e07481 For #5771 - Don't force landscape mode on fullscreen 5 years ago
mcarare b6ba1a1611 For #4107 Make home screen fullscreen.
Add/Remove fullscreen flags in home fragment's onResume / onPause
Change homeLayout padding to include system bars height (status&navigation).
Change homeMenu orientation to UP to properly display menu.
Change home bottomBar background to transparent.
5 years ago
mcarare 17731620e6 For #7026 Dispatch ModeChange on hideOnboarding 5 years ago
ekager e6d4c5b417 No issue: Remove unnecessary back slashes from curly apostrophe strings 5 years ago
Grisha Kruglov 42d6915699 Fennec migration: enable logins migration 5 years ago
Jeff Boek 45c6e3a784 For #1607 - Passes "custom" as the search engine identifier for custom engines 5 years ago
Severin Rudie dfea877fb7 No issue: small installedSearchEngineIdentifiers readability refactor 5 years ago
Severin Rudie 2aa80eff95 No issue: tests installedSearchEngineIdentifiers 5 years ago
Severin Rudie d3ff98816d No issue: begin moving FenixSearchEngineProvider into a testing harness 5 years ago
Severin Rudie 5f393bd5d4
For #5334: added private custom tab processor (#6845)
* For #5334: added private custom tab processor

* For #5334 - Fixes up IntentReceiverActivity for handling intents

* For 5334: update styling for private custom tabbs

* For 5334: update tests to account for new processors

Note that two are still failing. These appear to be true failures, and will be corrected in a later commit.

* For 5334: fixes bug introduced by changes to IntentReceiverActivity

RCA: intent className and extra were previously set based on which processors matched, not which successfully processed. This patch reintroduces that behavior.

* For 5334: add tests for custom tabs processing
5 years ago
Jeff Boek 4fb26a0601 For #4664 - Updates search_with string. (#6909) 5 years ago
Mozilla L10n Automation Bot 9feb0480bf Import l10n. 5 years ago
kglazko 300d8317e1
Issue 5366 Vector Drawable Compat (#6904) 5 years ago
Mihai Adrian 6998fc1cf8 Temporarily fix lint issues with bad translation of string (#6963) 5 years ago
mcarare 45b9ffd66e For #6917 Emit mode change only when new mode is different from current 5 years ago
Mihai Adrian 3283d6ed0b For #6910 Align shortcuts in private onboarding panel style to… (#6950)
Divider only shows when both panel and "Search with" are visible
5 years ago
Mihai Adrian cbdf83c12a For #6943 Hide supportActionBar in onResume, not onCreate (#6978) 5 years ago
Mozilla L10n Automation Bot 561ec5088b Import l10n. 5 years ago
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
5 years ago
Jeff Boek d4e3a2037f For #6855 - Filter out duplicated bundled search engines
Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
5 years ago
mcarare c3389dcdb5 For #6070 Adds telemetry for enabling search suggestions in private 5 years ago
Jeff Boek 781b141bc7 For #6849 - Properly select a new default search engine when you delete the current one
Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
5 years ago
Jeff Boek eb6e6b774f For #6848 - Sorts the search engine list without case sensitivity
Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
5 years ago
Jeff Boek 1cc496a683 For #6847 - Properly rebuilds the SearchEngineList on undo
Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
5 years ago
Emily Kager d1b134c2ff For #6908 - Set null anchors for snackbars with top toolbar (#6911) 5 years ago
Jeff Boek e8972bb47d For #6795 - Auto shows toolbar when loading a new URL (#6955)
Co-authored-by: Severin <Baron-Severin@users.noreply.github.com>
5 years ago
Sebastian Kaspari aa49ab1dfb Closes #4976: Reuse Fennec launcher entry in manifest.
With this patch Fennec users, who upgrade to Fenix, will not lose Firefox launcher icons they
have added to their home screen.

A side effect of this change is that the launcher entry for existing Fenix users may disappear
from the home screen for existing Firefox Preview users and they will have to re-add it.
Since the Preview audience is more accepting of breaking changes and since that group is
way smaller than the millions of Fennec users, I think that this is an acceptable breaking
change. I looked into supporting multiple launcher entries in parallel, but that got quite
complex with multiple build types and multiple manifest files. Especially if we decide
to keep a Firefox Preview build around (e.g. org.mozilla.fenix) then it would be good to
unify on a single launcher and do that as early as possible.
5 years ago
ekager 3df32edff0 No issue: Fix search suggestions strings 5 years ago
ekager f227acc9f0 For #6791 - Inflate SavedLoginsListItemViewHolder layout explicitly 5 years ago
ekager d8babadf7f For #6889 - Check current destination before navigating from settings 5 years ago
ekager f5cf0b7e2a For #6890 - Don't crash with no connection when adding custom search engine 5 years ago
Severin Rudie 2a95a82e32
For #5540: updates error page copy when no internet is available (#6803) 5 years ago
cesar 6cda430cdd nested loop removed 5 years ago
cesar 4422e3ed39 Closes #6731 - fixed BookmarkNode minus operator and deleteOperation 5 years ago
mcarare 05321dc504 For #6835 Align Home and Browser toolbar elements to perfectly overlap 5 years ago
mcarare 8257b145ad For #6401 Set false as default value for Open links in a private tab 5 years ago
mcarare 41ccb02933 For #6516 On browsing mode change empty tab list before displaying new list 5 years ago
Tiger Oakes a16aedb680 For #6827, #6811 - Cast layoutParams to MarginLayoutParams 5 years ago
Tiger Oakes d5e01384d8
Suppress upcoming deprecation (#6765) 5 years ago
Gabriel Luong 85111f538a For #6857 - Replace BackHandler with UserInteractionHandler in InflationAwareFeature and InflationAwareFeatureTest 5 years ago
Jeff Boek 1b1f9348dc No Issue - Fixes warnings / compiler errors with A-C update 5 years ago
mcarare c5f18e0f96 For #6629 Align Private Browsing mode to UX specs 5 years ago
ekager 7cd1d55e00 For #5586 - Track all login copy events 5 years ago
Mozilla L10n Automation Bot a1376ebade Import l10n. 5 years ago
Will Hawkins a69253cf22 Issue #5183: Initialize megazord asynchronously
Thanks to the work of the team at application-services, it is possible
to asynchronously initialize the Http client and logger used by megazord
Use that power to hide the time necessary to complete this initialization
within the time that it takes to warmup the gecko runtime.
5 years ago
cesar 9127505cc9 For #6769 - EditText moved to be above the gradient view 5 years ago
mcarare f69eb83141 For #4219 Set url view not important for accessibility
Talkback rectangle for url view selection will include parent view
5 years ago
mcarare bf20275a1a For #6470 Change notification icon
Used private browsing icon with compulsory white color for notifications
5 years ago
mcarare 373bd63c40 For #6470 Remove actions from notification, keep just close private tabs
Removed NotificationsIntentProcessor because notifications no longer open app
Added new strings
5 years ago
Mihai Branescu 7cf71c8ef3
For #6396 - Added metrics for tracking history/bookmarks account sync toggles (#6601) 5 years ago
Mihai Adrian cc216d0a6f
For #6748 Move Add search engine to search engine preference category. (#6749) 5 years ago
Mihai Adrian 4fd3aa8649
For #2570: Hide 3-dots menu for all library items when in select mode. (#6736)
notifyDataSetChanged to avoid not displayed but created items not being redrawn
5 years ago
Mihai Adrian 531f7e7a67
For #5497 Align text to viewStart to keep consistency in RTL (#6778) 5 years ago
Jeff Boek 5f7b3bd4d7
For #5972 - Fixes bugs when launching in private mode on Android 5 (#6702) 5 years ago
Sawyer Blatz db02fc6ef8
For #6821: Fixes issues with custom tabs and dynamic toolbar (#6822) 5 years ago
Mihai Adrian 33b49ff7fd For #6430 Private browsing hint width should not exceed screen dimensions (#6786)
Renamed ambiguous pop-up window name.
Adjusted code to match max line length.
5 years ago
Sawyer Blatz 769c1e422d For #5694 & #6054: Allows users to change toolbar position (#6608)
* For #5694 & #6054: Adds preference screen for toolbar

* For #5694: Adds changing toolbar position functionality

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

* For #6054: Adds toolbar position to core ping
5 years ago
Tiger Oakes 422faaf7c0 Add toolbar helpers (#6531) 5 years ago
Tiger Oakes 7e8f079269
Use ShareData with ShareFragment (#6698) 5 years ago
Christian Sadilek 8271f0f55a Fix for A-C 23.0.0: onDownloadCompleted renamed to onDownloadStopped 5 years ago
Tiger Oakes cd3e077bc9 For #6763 - Fix early view access 5 years ago
Daphne Liu 4cfbaf2dc4 Switched to AC string extensions (#6258)
* Switched to AC string extensions

* Clean up imports
5 years ago
ekager 77334b6108 For #6628 - Remove required for biometric manifest 5 years ago
ekager 45071d6fc1 For #6573 - Fixes anchor view for tab switching snackbar 5 years ago
Sawyer Blatz bcf80d0e0b
For #6436: Adds snackbar for failed download (#6648) 5 years ago
Mozilla L10n Automation Bot 5cc1ea951c Import l10n. 5 years ago
David Walsh bc56ae194a Fix 6048 - Improve alignment in Edit Bookmark screen 5 years ago
Tiger Oakes a5e9439c6e Clean up tracking protection fragment (#6532)
* Clean up exceptions fragment

* Clean up tracking protection fragment

* Move saved logins to list adapter
5 years ago
Sebastian Kaspari 8a330d413c Closes #4982: Migrate Gecko files before initializing engine. (#6738) 5 years ago
Mozilla L10n Automation Bot c5d496a35d Import l10n. 5 years ago
Stephen Tsimicalis 9869408fb4 For #4824 - Fixes onboarding telemetry events from being sent a… (#6659) 5 years ago
Mozilla L10n Automation Bot f6cc5b9387 Import l10n. 5 years ago
Mihai Adrian e07d09afb8 Update app/src/main/java/org/mozilla/fenix/home/HomeMenu.kt
Co-Authored-By: Tiger Oakes <contact@tigeroakes.com>
5 years ago
mcarare 9258df2c69 For #3523 Add Firefox Sync error states also to Settings in Home menu 5 years ago
Matt McKenna c71fa11d45 Add Mozilla licensing header to gradient 5 years ago
Matt McKenna d1f70e908e Add a simple gradient to collection creation 5 years ago
matthewcmckenna afac413c98 Add ETP accessibility labels 5 years ago
Tiger Oakes 0a86676563 For #6523 - Remove close button in library 5 years ago
Patrick Martin 3e436f59e2 For #2294 - History URL is cut with a large font set (#6724)
* For #2294 - History URL is cut with a large font se

* Update HistoryRobot.kt
5 years ago
mcarare 1d36098878 For #1019 Add onboarding search suggestion hint panel 5 years ago
mcarare 5543f3272d For #1019 Add option to enable search suggestions in private mode 5 years ago
mcarare ef3c3de8a1 For #6625 Fix back navigation in search mode from browser 5 years ago
Tiger Oakes bd475d54e5 Extract TP onboarding popup (#6700) 5 years ago
Arturo Mejia 0d6ea08de7
No issue: Remove download file provider. (#6699) 5 years ago
Grisha Kruglov f099552ae3 Enable encryption of persisted FxA account state 5 years ago
Jeff Boek 54773afb68
For #2477 - Removes the feature flag for Force Enable Zoom (#6646)
* For #2477 - Removes the feature flag for Force Enable Zoom

* For #2477 - Fixes bug where zoom preference doesnt persist between launches
5 years ago
ekager 81ab082c1c For #6707 #6708 - Fix UI Tests for new Search Engine Behavior 5 years ago
Jeff Boek 607c3d4c87
Adds custom search engines (#6551)
* For #5577 - Adds button to add a new search engine

* For #5577 - Adds custom engine store

* For #5577 - Creates a custom SearchEngineProvider

* For #5577 - Gives the ability to delete search engines

* For #5577 - Adds the UI to add a custom search engine

* For #5577 - Adds form to create a custom search engine

* For #5577 - Adds the ability to add a custom search engine

*  For #5577 - Adds the ability to delete custom search engines

* For #5577 - Selects the first element on the add custom search engine screen

* For #5577 - Prevents adding a search engine that already exists

* For #5577 - Styles the add search engine preference

* For #5577 - Makes the name check case-insensitive

* For #5577 - Fix bug where home screen doesnt see new search engines

* For #5577 - Moves Search URL validation to its own type

* For #5577 - Fixes linting errors

* For #5577 - Adds the ability to edit a custom search engine

* For #5577 - Allows the user to edit a serach engine even when it is the last item in the list

* For #5577 - Adds an undo snackbar when deleting a search engine

* For #5577 - Moves all of the strings to be translated

* For #5577 - Fixes bug when deleting your default search engine

* For #5577 - Puts adding search engines behind a feature flag

* For #5577 - Navigate to custom search engine SUMO article when tapping learn more

* For #5577 - Fixes nits

* For #5577 - Uses concept-fetch to validate search string

* For #5577 - Adds string resources for the cannot reach error state
5 years ago
Patrick Martin 8abf580579 For #2294 - History URL is cut with a large font se 5 years ago
Mozilla L10n Automation Bot ce74a49a22 Import l10n. 5 years ago
mawen7 1e813a9609 Jump to tab overview if closed tab has no parent session 5 years ago
cesar 560fa7a5b5 For #6594 - Trigger keyboard automatically when creating a bookmark folder 5 years ago
cesar 063115b215 For #6593 - Hide keyboard when quitting add bookmark folder flow 5 years ago
ekager ab93779369 For #6621 - Add Secure Flag to Window in Logins Fragments 5 years ago
Jeff Boek 871604f37d For #2271 - Fixes colors on dark theme 5 years ago
David Walsh 8016eb56aa Provide top padding to URL 5 years ago
David Walsh 6bd6e3035d Implement a more dynamic layout height 5 years ago
David Walsh c69e72bdba Fix 3809 - Show entire URL in security info view 5 years ago
Mozilla L10n Automation Bot ee7ea8cebf Import l10n. 5 years ago
Sawyer Blatz 6f4de48428 For #6434: Fixes downloadCompleted for paused downloads 5 years ago
Roger Yang f3fc532e0e Closes #6440 Integrate Web Notifications Feature 5 years ago
Mihai Adrian 55a200907a For #2570: Hide 3-dots menu for all library items when in select mode. (#6321)
Used notifyItemRangeChanged to redraw already drawn items.
5 years ago
Severin Rudie 8d68317388
4844 fix url elision (#6588)
* For #4844: add test cases for url elision

* For 4844: implement toShortUrl to pass test cases

* For 4844: update plumbing to use toShortUrl

* For 4844: adds/handles suggested url elision test case
5 years ago
Gabriel Luong c6562bff98 For #5583 - Adds telemetry for download notification (#6554) 5 years ago
Patrick Martin 5eb5cdf361 For #1695 - Detect HTML mime type for clipboard URL (#6612)
* For #1695 - Detect HTML mime type for clipboard URL
5 years ago
MozLando 204ead0827 Merge #6513
6513: For #5295 [A11y] Unable to tap snackbar r=kglazko a=kglazko



Co-authored-by: Kate Glazko <katglazko@gmail.com>
5 years ago
Will Hawkins 7173bdf0b1 Issue #6196: Make initialization of Glean metrics faster
setStartupMetrics is very expensive and does not need to be
done synchronously at the time the Glean Metrics Service is
initialized.
5 years ago
Emily Kager ddd484387d No issue: Check destination before popping logins fragments 5 years ago
Tiger Oakes fdd7400ccc Use ViewModel for share fragment 5 years ago
Tiger Oakes 333ff8c941 Fixes #4528 - Prevent share menu from jumping
Plus a bunch of docs and refactoring
5 years ago
Mozilla L10n Automation Bot 6b9a0d027f Import l10n. 5 years ago
ekager d85ed27a3d Add override for Core val in test 5 years ago
Emily Kager c43f96096e For #5074 - Sync Logins, Uses KeySharedPreferences for Passwords Encryption Key 5 years ago
Kate Glazko e038e0c41d 5 years ago
Tiger Oakes ee4e1c8f39
Fixes #5085 - Use CustomTabWindowFeature (#6603)
Opens _blank links in new custom tab
5 years ago
mozilla-l10n-automation-bot 4ae60f2cce Import l10n. (#6530) 5 years ago
Gabriel ebdfe8184e For #5705 - Adds telemetry for media state (#6463) 5 years ago
David Walsh 9d5c03c067 Use consistent verbiage with regard to opened tabs (#6550) 5 years ago
Emily Kager cc318021cc For #5586 - Adds Logins Telemetry (#6352)
* For #5586 - Adds Logins Telemetry

* Adds Logins Sync Telemetry to PreferenceToggled event
5 years ago
mcarare f6a66562dd For #4487 Set activity title only once in Bookmark fragment
Removed label from nav_graph that caused label to be set for each navigation
Removed title setting in onCreate() called for each navigation
Changed logic for checking current root when setting UI for normal mode
5 years ago
Arturo Mejia 0275ca0693 No issue: Do not prevent trackers duplication in the tracking
protection panel.
5 years ago
mcarare 13637c59a2 For #6543 Hide keyboard when saving a new bookmarks folder 5 years ago
Severin Rudie 6909a76bcb
4281 remove qab (#6310)
* For #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
mcarare 11ad1010a9 For #6323 Creating 1st collection from tab shows Name collection screen
Added a check for existence of at least a collection to select from.
5 years ago
Sawyer Blatz d6aeeb2dec
For #5958: Adds in app download notifications (#6506) 5 years ago
Mozilla L10n Automation Bot 79a9722e76 Import l10n. 5 years ago
Mihai Adrian 1388156953 For #1211 Hide the keyboard when scrolling through engine suggestions (#6474) 5 years ago
RAJESH KUMAR ARUMUGAM 6ee59322b5 Added Vibration Effect On Scanning QR Code (#6129)
* Added Vibration Effect On Scanning QR Code

Added Vibration Feature for the new feature Request
Vibrate phone upon successful pairing #2928

* Added Vibration Effect On Scanning QR Code

Added Vibration Feature for the new feature Request
Vibrate phone upon successful pairing #2928

* Update PairFragment.kt

Removed unwanted blank lines

* Update PairFragment.kt

Removed the Casting with !!
5 years ago
Emily Kager d9615108ee For #6354 - Removes ETP Experiment, Removes Feature Flags, Sets Strict Default 5 years ago
mcarare 1ff5a1934e For #5709 Do not animate switch for ETP panel 5 years ago
ValentinTimisica e1f3611fdd Fixes #6408: Pop stack to homeFragment when opening bookmarks from homeFragment
When bookmark fragment is opened from homeFragment, libraryFragment does not
exists so the popBackStack(R.id.libraryFragment, true) would have failed. So
the solution for this was to pop back stack to homeFragment when the
bookmarks/history fragments are opened from homeFragment.
5 years ago
Grisha Kruglov 40047315c2 For #6490 - track abnormal FxA behaviour via Sentry 5 years ago
Emily Kager ef7a23c875 Adds webAppShortcutManager argument 5 years ago
Tiger Oakes afda836f1f Use ManifestUpdateFeature 5 years ago
Sawyer Blatz 4183dea591 For #5547: Reuse biometricPrompt when authenticating
This fixes an issue with Samsung devices where an invisible DeviceCredentialHandler because the executor was "null" (it wasn't actually)

You *must* reuse the biometric object instead of creating a new one.
5 years ago
Emily Kager 3e2b88cc91 For #5547 - Add top level auth when accessing passwords 5 years ago
Sawyer Blatz 284f3cf0f5 For #4456: Updates total_uri_count upload (#6482) 5 years ago
Mihai Branescu 8f50e2af5d For #6269 Rtl-wrong-search-positioning (#6400)
* For #6269
- Added start/end margin for rtl support in shortcuts label

* For #6269
- Refactored search fragment xml, extracted dimens + added styles
5 years ago
Sawyer Blatz a4ad2116ae
For #6390: Fixes textColor on download prompt (#6468) 5 years ago
Sawyer Blatz 0d5fb67303 For #6284: Fixes SearchShortcut button functionality when in a session
This makes it so searchShortcuts button works when going from browser -> search
5 years ago
Mihai Branescu 2b955c1a1a For #6087
- added engine hashmap so that we create each type of search provider once
(previously the providers to be added were checked by id, but since the id
is a UUID, it was always unique -> bug with multiple providers with same engine
but different id
- refactored update() flow so that it's more understandable + remove complex
method warning
5 years ago
Mozilla L10n Automation Bot 7ab6b64dcc Import l10n. 5 years ago
ekager 18c0525ff6 Use new API for ETP Exceptions 5 years ago
Emily Kager ca8ba57635 For #6441: Fix variant build type matching (#6462) 5 years ago
mozilla-l10n-automation-bot eabf206588 Import l10n. (#6414) 5 years ago
Emily Kager 1ee0703bc3 For #6441 - Only enable experiments for Beta/Prod 5 years ago
Emily Kager 52ad5dafe2 Closes #6369 - Use padding set from style for protection settings 5 years ago
Jeffrey Starke f1d52ce2da Use vector compat in TrackingProtectionPanelView (#6376) 5 years ago
Christian Sadilek a7e139da8e Use new WindowFeature API after browser-state migration 5 years ago
Mugurell c5739df969 For #4126 - Add tests for the new classes resulting from refactoring
Used runBlocking to ensure we wait for the code using coroutines to execute
instead of runBlockingTest and join() since this last option led to failed
tests in CI because of
"java.lang.IllegalStateException: This job has not completed yet".
5 years ago
Mugurell 9f56624788 For #4126 - Document the newly introduced public APIs
Now that the code should be in a ready-to-ship form it would be nice to have
all the major functionalities properly documented.
5 years ago
Mugurell d70afcaa90 For #4126 - Handle all business logic with Interactors and a Controller
Combined all Stores into one for all Views shown in on Fragment.
Used a static `createStore()` which will build the initial state residing
inside the Store and not in the Fragment as to decouple the Fragment from the
business logic needed to build all the needed initial States.
Added Interactors that handle a MVI View's business logic for
TrackingProtectionView and WebsitePermissionsView.
WebsiteInfoView doesn't register any user input events and does not have any
reason to change while it is displayed so it does not have an Interactor.
The two Interactors will delegate Fragment's QuickSettingsController for
complex Android interactions, communication with other app features or for
Store updates.
Also refactored the stubs from the previous commit so that with this commit the
the quicksettings feature should all be working now based on lib-state.
5 years ago
Mugurell f1f74bc3d6 For #4126 - Refactor Views and layouts
Refactored `fragment_quick_settings_dialog_sheet` to now be composed of of
FrameLayouts placeholders in which each independent View will inflate itself.
Refactored the QuickSettingsUIView and Component to 3 standalone Views with
their own lib-state components: Store, State, Actions, Reducer.
5 years ago
mozilla-l10n-automation-bot 5cca5d7a70 Import strings from android-l10n (#6359) 5 years ago
ValentinTimisica 1e13e70cd0 Fixes #5917: Show snackbar when URL is copied (#6210)
Show a snackbar to the user for him to know that the URL was copied to
clipboard.
5 years ago
Tiger Oakes 9456998f9f For #6153 - Add powered by notification 5 years ago
ValentinTimisica 34959a434f Fixes #6341: Initialize 'selectedTabs' based on opened/selected tabs.
The problem was that the parameter 'selectedTabIds' was not taken into account
when initializing the variable 'selectedTabs'. So I made the initialization
based on both the selected tab and the number of open tabs.
5 years ago
ValentinTimisica da521bc37c Fixes #6268: Change drawableTint from style to appcompat version.
The property android:drawableTint doesn't work on older Android devices,
so I switched to the appcompat version (app:drawableTint).
5 years ago
mcarare 349c0193d9 For #6342 Clicking add tab button from home screen finishes onboarding 5 years ago
Sawyer Blatz e62407e766
For #5959 & #5958: Integrates download feature into Fenix (#6368) 5 years ago
mcarare 41c9b9e958 For #1487 Add "my library" menu category and items to home 3-dot menu 5 years ago
Artur Dryomov 05e871dd0c No issue: Refactor errors to risk level conversion. (#5710) 5 years ago
Sawyer Blatz 8549b80272 For #4456: Adds total_uri_count to metrics core ping (#6003) 5 years ago
Sawyer Blatz fd22c43f9d
Fixes #6344: Adds null check for adjust campaign (#6348) 5 years ago
Chenxia Liu 41ee8a4efb For #6294 - When only one tab is being saved to collection, add it to selected tabs. 5 years ago
Sawyer Blatz 2a358db561
For #1298: Fixes issue with Adjust campaign not sending through Glean (#5896) 5 years ago
Mozilla L10n Automation Bot 905c7856fb Import l10n. 5 years ago
Mozilla L10n Automation Bot 11c07e6b3a Import l10n. 5 years ago
ValentinTimisica d7973587fc Fixes #5128: Changed history_empty_view to match constraints.
The bug occurred because the activity/fragment is not recreated on
orientation change. A simple fix was to just set width and height to 0dp
to let it match constraints.
5 years ago
Christian Sadilek ee3871cd7c Closes #5678: Selected session may render in ExternalAppBrowserActivity 5 years ago
Mihai Branescu 432d5fbff4 For #5848 Wrong toolbar colour - edit bookmark fragment (#6047)
- Moved toolbar coloring to extension method
- Refactored classes using it
- Removed selection mode colouring for EditBookmarkFragment toolbar,
making it only black and white (normal mode)
5 years ago
Mihai Branescu 4efc661db8 For #5733 - Private mode notification - wrong home screen (#6188)
- added PRIVATE MODE intent extra to the notification action
 (could use also the OPEN_FROM_NOTIFICATION, but I considered this one to
 be more explicit. Kept the old one in case other checks will be done
 filtering for it)
- added intent? param to the getPrivateModeFromIntent method, because
onNewIntent() method does not set the activities intent, and it was needed
to be used both in onCreate() and onNewIntent()
5 years ago
ValentinTimisica 27cac54d53 For #5104: Cleanup - Use match_constraint instead of match_parent.
Google officially recommends using match_constraint (equivalent to 0dp)
instead of match_parent when the view is contained in a ConstraintLayout.
https://developer.android.com/reference/android/support/constraint/ConstraintLayout#widgets-dimension-constraints
5 years ago
ValentinTimisica c09a3d1620 Fixes #5104: Changed empty_exception_container to match constraints.
This bug occurs because the activity/fragment is not recreated on
orientation change. A simple fix was to just set width and height to 0dp
to let it match constraints.
5 years ago
ekager fb17ae2258 For #6229 - Remove all tab options from custom tab context menu 5 years ago
Emily Kager 6435a503ca For #6219 - Reset default setting if user opts out of experiments 5 years ago
Mozilla L10n Automation Bot 0242b40ce2 Import l10n. 5 years ago
Mihai Branescu 9d91108f4e For #6179 - Changed positioning of private mode icons in tab he… (#6189) 5 years ago
Jonathan Almeida 59c0fb504e Revert "For #373 - Integrate leanplum-fcm"
This reverts commit ed239ec250.

We're choosing to revert LeanPlum push messaging integration since we believe
that this has introduced a crash in Firebase push messaging. To verify
this assumption we're reverting this change, and when confirmed, we can
re-introduce Leamplum in a safer manner.

See #6250 and #6251 for related info.
5 years ago
Mozilla L10n Automation Bot e26f4a9a6e Import l10n. 5 years ago
Daphne Liu 4cbffc4989 Add intent-filter to support nfc tags (#6257) 5 years ago
Sawyer Blatz 4359c215e6 For #5737: Adds telemetry for open links in a private tab (#5975) 5 years ago
Denys M 6290c0c826 Closes #2441. Update LeakCanary to `2.0-beta-3` version. 5 years ago
wpanas 7ab534705a Closes #6236: Fix padding lint issues (#6240) 5 years ago
mcarare 4e816ccd77 For #5497 Improve sync title/summary settings to support RTL 5 years ago
ekager 4aeea36dc7 No issue: Sign in button style should be ThemeIndependentMaterialGreyButton 5 years ago
ekager f49331de55 For #5544: Bare Minimum Logins UI 5 years ago
Mozilla L10n Automation Bot 6f5fba7718 Import l10n. 5 years ago
RaviGarbuja 8c876b5b16 Closes #6237: Change android:text to tools:text (#6246) 5 years ago
Tiger Oakes 97433dc145
Use tools:listitem with collection creation (#6140) 5 years ago
obarzpaw f7840498ed Closes mozilla-mobile#4558 Change height of bookmark linearlayout 5 years ago
Ardlan Khalili eb4150db2a Closes 6168: Globe icon for exceptions 5 years ago
ValentinTimisica bdb2fa71fc For #6145: Switch drawableTint to app compat version. (#6151)
The property android:drawableTint doesn't work on older Android devices,
so I switched to the appcompat version (app:drawableTint).
5 years ago
Jeff Boek 6de7b7d733 For #2477 - Adjust padding to be visually consistent with the separator 5 years ago
Jeff Boek d1643b785e For #2477 - Adds accessibility setting to force enable zoom 5 years ago