2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-15 18:12:54 +00:00
Commit Graph

2089 Commits

Author SHA1 Message Date
mcarare
8c0f86bd96 For #19213: Adjust synced tabs to properly show in RTL. 2021-04-27 22:26:34 +04:00
Mozilla L10n Automation Bot
4ee8f159da Import l10n. 2021-04-27 01:39:26 +00:00
Sebastian Kaspari
7d690219ea Issue #19040: Remove Leanplum (Nightly) 2021-04-26 19:08:10 +02:00
Mozilla L10n Automation Bot
eec64110ae Import l10n. 2021-04-26 00:32:02 +00:00
Mozilla L10n Automation Bot
088d5cc801 Import l10n. 2021-04-25 00:29:11 +00:00
Mozilla L10n Automation Bot
7a4e0cd016 Import l10n. 2021-04-24 00:29:05 +00:00
Mozilla L10n Automation Bot
d1951cc672 Import l10n. 2021-04-23 00:40:41 +00:00
Roger Yang
cd37f398f1
Closes #18816: Disable TabsTray FAB on accessibility enabled (#19170) 2021-04-22 12:48:10 -04:00
mcarare
ded686d533 For #19125: Move top site pin net to title. 2021-04-22 18:53:50 +03:00
Gabriel Luong
3b3e4c0243
No issue - Replace local photon colors with ui-colors (#19167) 2021-04-22 10:37:34 -04:00
mcarare
46784ecbfb For #19180: Fix tab counter not entirely visible on RTL layout. 2021-04-22 17:02:01 +03:00
mcarare
00744fa9e5 For #18267: Updates preferences visibility depending on creditCardsStore 2021-04-22 10:45:57 +03:00
Mozilla L10n Automation Bot
0bc5c22b63 Import l10n. 2021-04-22 00:30:11 +00:00
Elise Richards
688453f61f
Remove strings marked as deprecated that are no longer being used. (#19060) 2021-04-21 16:02:14 -05:00
mcarare
90c9e634af For #18240: Adjust preference screen to fit UX specs. 2021-04-20 19:32:14 +03:00
Christian Hernandez
f8af231582
For #18830 - Remove card nickname from credit card editor (#18891)
* Removed all views with regards to credit card nickname. Removed the TextInputLayout and TextInputEditText where information would be typed in. Also removed the credit card nickname title text view. I added a margin of 16 dp to the bottom ConstraintLayout that houses the delete, cancel, and save buttons as requested.

* #18830 - Removed all views with regards to credit card nickname. Removed the TextInputLayout and TextInputEditText where information would be typed in. Also removed the credit card nickname title text view. I added a margin of 16 dp to the bottom ConstraintLayout that houses the delete, cancel, and save buttons as requested.
2021-04-20 12:09:09 -04:00
Kate Glazko
1ca7d55b4a For #18745: Add Shadow To Shortcut Tiles 2021-04-19 11:01:08 -07:00
Mozilla L10n Automation Bot
1d80ece660 Import l10n. 2021-04-19 00:31:22 +00:00
Mozilla L10n Automation Bot
635eb8eab0 Import l10n. 2021-04-18 00:32:58 +00:00
Kate Glazko
ae157e5679 For #18520: Add Empty Tab State To Browser Tray List 2021-04-16 05:22:44 +04:00
Mozilla L10n Automation Bot
d0f8b3a64d Import l10n. 2021-04-16 00:29:09 +00:00
Jonathan Almeida
72c13f89f5 Issue #19030: Allow homescreen to be scrollable with extra content 2021-04-16 02:33:53 +04:00
Elise Richards
3d226429aa
For #18867: remove "signed in as" string in three-dot menu (#19035)
* Remove signed in as string from sync menu item

* Nav to sync account settings on click

For #18806: navigate to settings account page or sign in on clicking menu item.

* Confirm account exists and retrieve item title

* Remove string
2021-04-15 12:49:19 -05:00
Christian Sadilek
d036ba1338
Issue #18819: Hide Credit Card pref by default (for settings w/o icons) (#19058) 2021-04-15 13:29:22 -04:00
Gabriel Luong
f7c56ee6fa
For #18273 - [Edit card] Delete a saved credit card (#19029) 2021-04-15 11:18:29 -04:00
Roger Yang
bde54dc30f
Closes #19003: Add account setting to tabstray synced tab menu (#19034) 2021-04-15 00:46:26 -04:00
Mozilla L10n Automation Bot
afd007d741 Import l10n. 2021-04-15 00:36:37 +00:00
mcarare
80d2bec150 For #18376: Add experiment for set default browser settings card. 2021-04-14 19:28:38 +03:00
Gabriel Luong
6eb528f912
For #18272 - [Edit card] Display a saved card information in the Edit card screen (#18884) 2021-04-14 10:56:23 -04:00
MarcLeclair
990bfa7e6d
16900 make navgraph inflation asynchronous (#18889)
* For #16900: implement async navgraph inflation

For #16900: removed nav graph from xml

For #16900: inflate navGraph programatically

For #16900: Made NavGraph inflation asynchronous

For #16900: Changed to block with runBlocking

For #16900: Refactored blocking call into a function

For 16900: NavGraph inflation is now async

We now attach the nav graph (or check if its attached) on every nav call ( an extension function for NavController).
This is done by checking the value of the job stored in PerfNavController.map which keeps track of the job with the NavController as a Key.
If the job hasn't been completed, it will block the main thread until the job is done. The job itself is responsible for attaching the navgraph
to the navcontroller (and the inflation of the latter too)

For 16900: rebased upstream master

For 16900: Rebase on master

For #16900: Fixed Async Navgraph navigation per review comments.

1)The Asynchronous method is now found in NavGraphProvider.kt. It creates a job on the IO dispatcher
2)The Job is tracked through a WeakHashMap from Controller --> NavGraph
3)The Coroutine scope doesn't use MainScope() anymore
4)The Coroutine is cancelled if the Activity is destroyed
5)The tests mockk the blockForNavGraphInflation method through the FenixReoboelectricTestApplication instead of calling the mock every setup()

For #16900: inflateNavGraphAsync now takes navController

For #16900: Pass lifecycleScope to NavGraphProvider

For #16900: removed unused mock

For #16900: Added linter rules for navigate calls

We need linting rules to make sure no one calls the NavController.navigate() methods

For #16900: Added TestRule to help abstract the mocks in the code

For 16900: Fix linting problems

For #16900: Cleaned duplicated code in tests

For #16900: cleaned up NavGraphTestRule for finished test

For #16900: had to revert an accidentally edited file

For #16900: rebased master

* For #16900: Review nits for async navgraph

This is composed of squash commits, the original messages can be found below:

-> DisableNavGraphProviderAssertionRule + kdoc.

Use test rule in RobolectricApplication.

Fix failing CrashReporterControllerTest

Fix blame by -> navigate in tests.

This commit was generated by the following commands only:
```
find app/src/test -type f -exec sed -i '' "/import org.mozilla.fenix.ext.navigateBlockingForAsyncNavGraph/d" {} \;
find app/src/test -type f -exec sed -i "" "s/navigateBlockingForAsyncNavGraph/navigate/g" {} \;
git checkout app/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker
```

Fix various blame

This is expected to be squashed into the first commit so, if so, it'd
fix the blame.

Move test rule to helpers pkg.

add missing license header

Add import change I missed

fix unused imports

Replace robolectricTestrunner with test rule.

Improve navGraphProvider docs

Remove unnecessary rule as defined by robolectric.

add clarifying comment to robolectric

remove unnecessary space

* For #16900: nit fixes for MozillaNavigateCheck and lint fixes

3 squash commits:
 *Changed violation message and fixed the lint rule for MozillaNavigateCheck
 *Added suppression to NavController.kt
 *Fixed detekt violations

* For 16900: Fixed failing tests

Co-authored-by: Michael Comella <michael.l.comella@gmail.com>
2021-04-13 20:48:45 -04:00
Mozilla L10n Automation Bot
973c891c5e Import l10n. 2021-04-14 00:32:38 +00:00
mcarare
ba218e638b For #18375: Add experiment for set default browser New Tab card. 2021-04-13 17:25:51 +03:00
Mozilla L10n Automation Bot
6036bf035a Import l10n. 2021-04-13 00:55:06 +00:00
Jonathan Almeida
38a7921913 Close #18973: Fix references to info banner 2021-04-13 04:15:43 +04:00
Roger Yang
bc90e193a2 Closes #18522: Re-add call to action in tabs tray 2021-04-13 02:01:42 +04:00
Elise Richards
761d6babb9
For #18806: Show sync tabs or sync account sign in based on feature flag (#18859)
* Show sync tabs or sync account sign in based on feature flag. Sign in navigates to account settings on click.

* lint and nits
2021-04-12 16:01:33 -05:00
Roger Yang
b3f5e557cc
Closes #18899: Update content description string for synced tabs icon (#18963) 2021-04-12 15:16:38 -04:00
Gabriel Luong
c5e78f69ed
For #18940 - Remove reserved icon spacing for "Nimbus Experiments" setting preference (#18949)
Co-authored-by: Sören Hentzschel <kontakt@agenedia.com>
2021-04-12 12:32:55 -04:00
Mozilla L10n Automation Bot
d7f7f817c9 Import l10n. 2021-04-12 00:38:10 +00:00
Mozilla L10n Automation Bot
5a2a61330d Import l10n. 2021-04-11 00:25:07 +00:00
Mozilla L10n Automation Bot
aa4d0b84db Import l10n. 2021-04-10 00:31:18 +00:00
Jonathan Almeida
d702af5a53
For #15372 - Correct one more instance of the onboarding string (#18906) 2021-04-09 15:21:26 -04:00
Gabriel Luong
7cc4a8a4d8
For #18742 - Resize the top site item sizes (#18751) 2021-04-09 11:47:35 -04:00
mcarare
c30d0f9240 For #18829: Adjust bookmark item color to UX specs. 2021-04-09 10:32:33 +03:00
Mozilla L10n Automation Bot
d6652785e9 Import l10n. 2021-04-09 00:27:10 +00:00
Gabriel Luong
37b6079d83
For #18268, #18269 - [Saved cards] Display a list of Saved cards fetched from the credit card storage (#18808) 2021-04-08 12:09:57 -04:00
rxu
efdb30483a Add domestic China FxA service for Mozilla Online builds
China fxa related string

Add switch preference in settings to use local/global fxa server

inherit fennec FxA settings

Present or hide fxa switch according to isMozillaonline

Allow China fxa server auto login during migration
2021-04-07 23:40:59 -07:00
Mozilla L10n Automation Bot
cb62f98717 Import l10n. 2021-04-08 00:39:56 +00:00
codrut.topliceanu
9219a1b35b For #18515 - Added Icon and sync functionality
Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
2021-04-08 02:45:16 +04:00
Gabriel Luong
c31d507e19
For #18743 - Change the top sites label colour and size (#18752) 2021-04-07 17:39:11 -04:00
Mozilla L10n Automation Bot
ae5ab1c6fa Import l10n. 2021-04-07 00:26:52 +00:00
Gabriel Luong
db993196c6
For #18819 - Hide the Credit Card preference by default (#18820) 2021-04-06 13:43:51 -04:00
Mozilla L10n Automation Bot
568bad0f48 Import l10n. 2021-04-06 17:28:45 +00:00
Kate Glazko
841dacb69e For 17798: Sync Menu Item 2021-04-05 14:34:34 -07:00
VaishnaviShri
3260cbd986 For #8545: Fix unnecessary scroll in home screen
Changed the height of the recycler view inside the home fragment
to ‘wrap_content’ to avoid scrolling if the viewport is not filled
with elements.

Closes #8545
2021-04-05 09:15:06 +03:00
Mozilla L10n Automation Bot
8916e567bc Import l10n. 2021-04-05 00:28:16 +00:00
Mozilla L10n Automation Bot
10d2623bb6 Import l10n. 2021-04-04 00:29:06 +00:00
Gabriel Luong
fe06d88e7e
Use photon colors from ui-color (#18760) 2021-04-03 10:26:53 -04:00
Gabriel Luong
1f320fd2ad
No issue - Remove generic strings for more specificity (#18769) 2021-04-02 15:24:28 -04:00
Gabriel Luong
1008ca2b4a
For #18265 - [Add card] Integrate the credit card storage and handle adding a new credit card (#18719) 2021-04-02 10:40:44 -04:00
Gabriel Luong
3f21a63c3c
For #18729 - Use consistent string naming for generic strings (#18730) 2021-03-31 18:20:04 -04:00
mcarare
2687092f90 For #18717: Use normal theme color for tab tray synced tabs. 2021-03-31 18:30:05 +04:00
mcarare
6f17e329c4 For #17797: Add bookmarks menu item. 2021-03-31 11:12:58 +03:00
Mihai Adrian Carare
ccfb275b03
For #17800 - Request desktop site from home screen. (#18653) 2021-03-30 16:12:46 -04:00
Roger Yang
caf8ac8207
Closes #18514: Re-add tab counter in tabs tray (#18659) 2021-03-30 15:43:07 -04:00
Jonathan Almeida
d167bc7b67 Issue #14117: Add Synced Tabs as a page in the tabs tray 2021-03-30 19:09:50 +04:00
Gabriel Luong
46a267a494 For #18243 - Add a credit card editor screen 2021-03-29 21:37:03 -04:00
yichiehc
7c46f5e74f
For #16830: Increase the Show in private sessions option in Search Preferences Settings (#18689)
* For #18242 - Wire up "Sync cards across devices" preference with SyncPreferenceView (#18605)

* For #16830: Increase the Show in private sessions option in Search Preferences Settings

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
2021-03-29 17:06:29 -05:00
Arturo Mejia
367413cd20 For #15372 Improve Onboarding strings 2021-03-27 08:48:13 -04:00
Gabriel Luong
5d0af34537
For #17291 - Display a list of all active Nimbus experiments (#17515) 2021-03-26 13:58:30 -04:00
rxumoz
46af52d254
Update top sites to add PDD for MozillaOnline builds (#18615) 2021-03-26 12:18:46 -04:00
Mozilla L10n Automation Bot
cc0fdd1109 Import l10n. 2021-03-26 11:39:00 +00:00
Arturo Mejia
869c99afaa For #15372 Optimize the order and messages of onboarding cards 2021-03-24 22:16:00 -04:00
Mozilla L10n Automation Bot
cd0efaca40 Import l10n. 2021-03-24 00:25:33 +00:00
Gabriel Luong
3b11b9a700
For #18242 - Wire up "Sync cards across devices" preference with SyncPreferenceView (#18605) 2021-03-23 16:00:41 -04:00
Gabriel Luong
578d6b5205
For #18240 - Add a Credit Card preference screen (#18410)
- Removes an unused preference key "pref_key_credit_cards_addresses"
2021-03-23 11:59:32 -04:00
Arturo Mejia
54db8f3fde Revert "For #17805 - Fix adjustResize deprecation (#18252)"
This reverts commit 38f906a6
2021-03-22 16:32:20 -04:00
Mozilla L10n Automation Bot
975f97df46 Import l10n. 2021-03-22 00:31:33 +00:00
Mozilla L10n Automation Bot
a3ef6b552b Import l10n. 2021-03-21 00:30:53 +00:00
Mozilla L10n Automation Bot
17fe128939 Import l10n. 2021-03-20 00:30:36 +00:00
Mozilla L10n Automation Bot
10af28c977 Import l10n. 2021-03-19 00:31:23 +00:00
Roger Yang
8a7c50bbef
For #17644: Always update add-on's telemetry values before sending metric ping (#18529) 2021-03-18 13:18:14 -04:00
Codrut Topliceanu
38f906a685
For #17805 - Fix adjustResize deprecation (#18252)
* For #17805 - Fix adjustResize deprecation

To handle the deprecation of `adjustResize` I've moved it from `styles.xml` and `AndroidManifest.xml` to `Activity.kt` as a fallback for devices with Android < 11. For Android 11 and up `setDecorFitsSystemWindows(false)` and `OnApplyWindowInsetsListener` will be used to handle app insets. Normal use activities should call `enableSystemInsetsHandling` in `onCreate` as to properly display system bars and for proper keyboard handling.
2021-03-18 10:05:54 +02:00
Mozilla L10n Automation Bot
51cbcf373a Import l10n. 2021-03-18 00:54:20 +00:00
Mozilla L10n Automation Bot
d2e6dc8f8d Import l10n. 2021-03-17 00:34:04 +00:00
Jonathan Almeida
05aa948dc7 Issue #17822: Create a tabs tray layout and fragment
Co-authored-by: Kate Glazko <kglazko@Kates-MacBook-Pro.local>
2021-03-17 03:16:10 +04:00
Mozilla L10n Automation Bot
8f70072d5e Import l10n. 2021-03-16 00:26:32 +00:00
Arturo Mejia
ec52c56ed9 For issue #18132 remove icons from Settings screen 2021-03-15 09:53:08 -04:00
Mozilla L10n Automation Bot
31f939c916 Import l10n. 2021-03-15 00:37:52 +00:00
Mozilla L10n Automation Bot
3f679136de Import l10n. 2021-03-14 00:32:08 +00:00
Mozilla L10n Automation Bot
a20e23bca8 Import l10n. 2021-03-13 00:29:42 +00:00
Mozilla L10n Automation Bot
f0b771eb4d Import l10n. 2021-03-12 00:55:35 +00:00
Mozilla L10n Automation Bot
c361b518e8 Import l10n. 2021-03-11 00:38:54 +00:00
Mozilla L10n Automation Bot
b661c83c8c Import l10n. 2021-03-10 00:26:33 +00:00
Mozilla L10n Automation Bot
ee17fc75d0 Import l10n. 2021-03-09 01:00:19 +00:00
Mozilla L10n Automation Bot
94425d22ac Import l10n. 2021-03-08 18:52:52 +00:00
Mihai Adrian Carare
5c7a01ba6f
For #17971: Add Reader view appearance controls in three-dot main menu. (#18340) 2021-03-08 11:24:27 -06:00
Mozilla L10n Automation Bot
6e2d3b7085 Import l10n. 2021-03-08 00:28:18 +00:00
Mozilla L10n Automation Bot
726cc3f466 Import l10n. 2021-03-07 00:27:43 +00:00
Mozilla L10n Automation Bot
71edc96832 Import l10n. 2021-03-06 00:27:55 +00:00