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

6257 Commits

Author SHA1 Message Date
Gabriel Luong
ada3da59ec For #22022 - Update SelectableChip button background colors 2021-10-21 00:15:19 +00:00
xlog-null
edd1fd9f2c For #22032 - Fix horizontal margin on private home screen 2021-10-20 23:49:22 +00:00
Gabriel Luong
07a6a386f8 For #21753 - Refactor Pocket out of sessioncontrol 2021-10-20 23:08:14 +00:00
Noah Bond
826249497a
MR2 Inactive tabs telemetry (#21908)
* For #21903 - Added telemetry for interacting with inactive tabs

* For #21903 - Added missing inactive tab delete count event to delete all event

* For #21903 - Added PR numbers to metrics

* For #21903 - Updated broken unit tests. Resolved critical lint warning.

* For #21903 - Fixed inactive tabs setting toggle metric

* For #21903 - Updated FenixApp unit test

* For #21903 - Updated newline character in Metrics. Set inactive tab metrics' lifetime to default. Updated expiration to Nov 2022. Refactored inactive tabs metric to be a single metric.

* PR: addendum for last commit that missed a file

* For #21903 - Changed logic check for reporting inactive tab count

* PR: fixed merge conflict

* For #21903 - Removed tab close tracking when the user closes ALL inactive tabs

* For #21903 - Removed individual tab close metric verify from CLOSE ALL test

* For #21903 - Updated inactive tabs toggle setting expiration to match the expiration of the other events

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-10-20 22:30:59 +00:00
Gabriel Luong
af48553418 For #21935 - Use photonBlue40 in place of #0090ED 2021-10-20 20:11:52 +00:00
Gabriel Luong
8b3d39f0c0 For #21935 - Use photonDarkGrey20 in place of #4A4A55 2021-10-20 20:11:52 +00:00
Gabriel Luong
541ed5cec6 For #21935 - Use photonPink30 in place of #FF6BBA 2021-10-20 20:11:52 +00:00
Gabriel Luong
5a5ba1c095 For #21935 - Use photonBlue30 in place of #00B3F4 2021-10-20 20:11:52 +00:00
Gabriel Luong
a81912bd98 For #21935 - Use photonViolet30 in place of #C689FF 2021-10-20 20:11:52 +00:00
Gabriel Luong
475d59b781 For #21935 - Use photonYellow90 in place of #960E18 2021-10-20 20:11:52 +00:00
Gabriel Luong
5a7890497f For #21935 - Use photonRed40 in place of #FF6A75 2021-10-20 20:11:52 +00:00
Gabriel Luong
dfd9f7c1ea For #21935 - Use photonDarkGrey50 in place oof #32313C 2021-10-20 20:11:52 +00:00
Gabriel Luong
6010767da7 For #21935 - Use photonBlue50 in place of #0060DF 2021-10-20 20:11:52 +00:00
Gabriel Luong
0e8b797014 For #21935 - Use photonGreen70 in place of #.008787 2021-10-20 20:11:52 +00:00
Gabriel Luong
c379d75c7f For #21935 - Use photonInk20 in place of #312A64 2021-10-20 20:11:52 +00:00
Gabriel Luong
4d61277e88 For #21935 - Use photonViolet50 in place of #9059ff 2021-10-20 20:11:52 +00:00
Gabriel Luong
a31d638191 For #21935 - Use photonYellow70 in place of #C45A27 2021-10-20 20:11:52 +00:00
Gabriel Luong
a02d58dd48 For #21935 - Use photonYellow60 in place of #E27F2E 2021-10-20 20:11:52 +00:00
Gabriel Luong
cd6bcb3d47 For #21935 - Use photonGreen60 in place of #2AC3A2 2021-10-20 20:11:52 +00:00
Gabriel Luong
9048af04be For #21935 - Use photonPink60 in place of #E31587 2021-10-20 20:11:52 +00:00
Gabriel Luong
bd7ced5867 For #21935 - Use photonDarkGrey90 in place of #15141A 2021-10-20 20:11:52 +00:00
Gabriel Luong
e119b8b590 For #21935 - Use photonViolet40 in place of #AB71FF 2021-10-20 20:11:52 +00:00
Gabriel Luong
ff829f9f25 For #21935 - Use photonBlue60 in place of #0250BB 2021-10-20 20:11:52 +00:00
Gabriel Luong
26920baf47 For #21935 - Use photonRed70 in place of #C50042 2021-10-20 20:11:52 +00:00
Gabriel Luong
624afa9e53 For #21935 - Use photonPurple50 in place of #B833E1 2021-10-20 20:11:52 +00:00
Gabriel Luong
8d27963ace For #21935 - Use photonViolet60 in place of #7542E5 2021-10-20 20:11:52 +00:00
Gabriel Luong
20ddedd118 For #21935 - Use photonWhite in place of #FFFFFF 2021-10-20 20:11:52 +00:00
Gabriel Luong
a673305643 For #21935 - Use photonBlack in place of #FF000000 2021-10-20 20:11:52 +00:00
Gabriel Luong
0ae8e36248 For #21935 - Use photonBlue30 in place of #00B3F4 2021-10-20 20:11:52 +00:00
Mugurell
c54e75edec For #22005 - Ensure deleted items are removed from the list 2021-10-20 07:59:35 +00:00
Mozilla L10n Automation Bot
f2d5da4e91 Import l10n. 2021-10-20 00:39:06 +00:00
Mugurell
d3df7369e0
CI for 21827 (#22004)
* Remove redundant calls to setHasOptionsMenu(false)

Fix memory leaks for credit card and login fragments

* Fixes:

Add link to issue tracker
Use activity?.invalidateOptionsMenu() instead of setHasOptionsMenu(false)
Move it inside of 'if' statement to avoid unintended issues when called improperly
Revert changes to AddLoginFragment.kt

* Fix call invocation to redirectToReAuth() from AddLoginFragment.kt
Fix 'when' statement in redirectToReAuth() to use AddLoginFragment

Co-authored-by: Vitaly V. Pinchuk <vetal.978@gmail.com>
2021-10-19 10:52:01 +00:00
Mozilla L10n Automation Bot
4743146ac4 Import l10n. 2021-10-19 01:25:27 +00:00
Arturo Mejia
846aefc0f4 For #21723 Align the default value of the custom cookie setting with the UI 2021-10-19 00:40:55 +00:00
AndiAJ
9a3e94eb31 Improve tabsSettingsMenuItemsTest UI test coverage 2021-10-18 14:45:27 +00:00
Mozilla L10n Automation Bot
c56214453a Import l10n. 2021-10-18 00:37:31 +00:00
Mozilla L10n Automation Bot
91b719ed75 Import l10n. 2021-10-17 00:36:57 +00:00
Mozilla L10n Automation Bot
1c73fc8e20 Import l10n. 2021-10-16 00:34:46 +00:00
Roger Yang
60f7f766da Issue #21893: Keep search group when second to last search term tab is removed 2021-10-15 17:48:23 +00:00
Mozilla L10n Automation Bot
31a0d676ee Import l10n. 2021-10-15 00:35:47 +00:00
Christian Sadilek
c3ef16de61 Closes #21944: Top sites rendered slowly on first load of HomeFragment 2021-10-14 18:04:17 -04:00
Marc Leclair
8d5c6f6082 For #21700: linting fixes
For #21700: nit fixes
2021-10-14 21:03:05 +00:00
Marc Leclair
27cd609d0f For #21700: Added option to open in browser instead of automatically doing it 2021-10-14 21:03:05 +00:00
Marc Leclair
c5accf6b32 For #21700: fixed comments 2021-10-14 21:03:05 +00:00
Marc Leclair
c527decda1 For #21700: Created benchmark script runner and edited benchmark gradle file 2021-10-14 21:03:05 +00:00
Jonathan Almeida
625233f664 Close #21910: Fix intermittent failures in SelectTabUseCaseWrapperTest 2021-10-14 18:52:47 +00:00
Grisha Kruglov
0b5b1a738a Do less work while navigating Logins views
Fetching a set of logins from the store is quite expensive. This commit
avoids doing that while navigating back and forth between the list and
detail views:

- retain processes logins state when navigating into detail view
- use the `get` storage api to obtain specific login, instead of
  `list().filter {...}`
- avoid re-sorting retained logins when navigating back into the list
  view
2021-10-14 17:34:20 +00:00
Grisha Kruglov
97d93eb564 Make linters happy 2021-10-14 17:34:20 +00:00
Ben Dean-Kawamura
cc247c407f Register the logins key provider
This is required for sync to work
2021-10-14 17:34:20 +00:00
Ben Dean-Kawamura
34ec442961 Updating Fenix to work with the new logins API
Switched to always using `Login` instead of the `SavedPassword` alias.

Made `MasterPasswordTipProvider.saveLogins()` call
`importLoginsAsync()`.  This is needed because it's the only method that
inputs a `Login` rather than a `LoginEntry`.

Moved the `SavedLoginsStorageController.kt.syncAndUpdateList` call
to inside `add()` and `update()`.  This simplifies the error handling a
bit.

Refactored dupe-checking code to use findLoginToUpdate()

Refactored `AddLoginFragment` / `EditLoginFragment` to put the username
error handling code all in 1 method.  I think it's easier to follow the
logic of showing/hiding the error labels when it's all in one place.
This fixes issues #24103 and #24104.  I would love to address #24102,
but I'm not sure what the correct behavior is there so I just kept that
the same.
2021-10-14 17:34:20 +00:00
Arturo Mejia
25c784b684 For #21906 ⁃ Remove old copy form inactive tabs section 2021-10-14 16:01:59 +00:00
AndiAJ
db2946c78a Fix for ambiguous tabstray_title and with text matcher for audio page 2021-10-14 14:21:08 +00:00
AndiAJ
198f407dd2 For #21769 fix flaky tabMediaControlButtonTest Ui test 2021-10-14 14:21:08 +00:00
Jonathan Almeida
9780dac846 No issue: Always show Make inactive for debug builds 2021-10-14 07:52:39 +00:00
Gabriel Luong
e0991f0fe6 For #21887 - Update Home background color to LightGrey20 2021-10-14 03:40:40 +00:00
Roger Yang
4a8f01beea Close #21573: Add shadow to recent bookmarks section 2021-10-14 02:53:35 +00:00
Mozilla L10n Automation Bot
f4d026d906 Import l10n. 2021-10-14 00:38:56 +00:00
Roger Yang
2b92860966 Close #21917: Update pocket stories card elevation to match other cards 2021-10-13 22:53:56 +00:00
Jonathan Almeida
c554152fba Issue #21707: Correct search grouping logic in extensions
At this moment, we have two extension methods that have duplicate
functionality to construct search term groupings. One on `List<Tab>` and
one on `List<TabSessionState>`. The former is used for everything
related to tabs piped through the `TabsFeature` and the latter is for
consumers of `BrowserState` directly.

The bug occurs because our implementation of search groupings was
updated only on the former extension, but the `HeaderBinding`, that
observes the BrowserState and updates the title visibility, was using
the latter.

Ideally, we remove this duplication when we no longer have separate data
classes for consumers of `TabsFeature`, but this intermediary fix should
suffice.
2021-10-13 22:01:07 +00:00
Gabriel Luong
0b17b443dc For #21760 - Remove some unused resources 2021-10-13 20:42:49 +00:00
Grisha Kruglov
2967513083 Fix up HistoryMetadataController tests 2021-10-13 15:45:00 -04:00
Grisha Kruglov
233f0a8a1d Closes #21871 - Eagerly update UI state after search group removal
Before this patch, this was the behavior - 'remove' button is clicked, we'd ask
the storage to remove metadata (on its IO thread), then navigate to Home
Screen.

This resulted in a race we could end-up on the Home Screen before delete
finishes, so the search groups do not appear to be removed (but,
refreshing the Home Screen again shows that they are removed).

This also resulted in an unnecessary navigation which felt very janky
(screen will "scroll" to the top) and was way more work than necessary.

After this patch, we:
 - dispatch two actions (on browserstore, on homefragmentstore) which
   remove the search groups from any relevant in-memory state; any UI bound to
   this state will be automatically "refreshed"
 - no longer navigate as part of the remove action, so the UI doesn't
   move and removal happens "in-place"
2021-10-13 15:45:00 -04:00
Christian Sadilek
88fbcc05b7 Handle new OptimizedLoadUrlAction in history metadata middleware
Upgrades to A-C 95.0.20211013154351
2021-10-13 15:45:00 -04:00
Jonathan Almeida
722ab9f3ca Issue #21794: Remove rotation; rely on state activated
It seems like we no longer need to use rotation for the chevron, since
we are now using two different icons within the `ic_chevon` that change
depending on the `state_activated`.
2021-10-13 19:27:49 +00:00
sunil9211
05d0bca6a3 For #17393: Dead code removed around Delete downloads 2021-10-13 15:08:07 +00:00
AndiAJ
671dfa59c2 For #21540 fix and re-enable editCustomSearchEngineTest 2021-10-13 14:01:02 +00:00
Arturo Mejia
08256ac68c For #21791 Adds tab auto-close prompt 2021-10-13 12:08:59 +00:00
AndiAJ
58e12b18e6 Disable editCustomSearchEngineTest UI test 2021-10-13 06:37:00 +00:00
Arturo Mejia
9439a65e1e For #21838 wait until experiments have been completely opt-out on the nimbus SDK. 2021-10-12 19:31:35 -04:00
AndiAJ
979d99342b For #21620 fix for disabled toggleSearchSuggestions UI test 2021-10-12 16:06:09 +00:00
AndiAJ
64d010dcc8 For #19016 re-enable changeThemeSetting Ui test 2021-10-12 15:14:19 +00:00
Mugurell
e578226f7f For #21861 - Ignore the UnusedResources lint check for localized strings 2021-10-12 14:48:47 +00:00
AndiAJ
c3fdf35c6d For #21540 fix disabled editCustomSearchEngineTest 2021-10-12 14:23:33 +00:00
Oana Horvath
e3266ca6e0 For #21006 & #21005: fixed ETP status info display 2021-10-12 06:26:44 +00:00
Elise Richards
4bd140a0f5 For #21522: Wrap section titles on home 2021-10-09 04:16:40 +00:00
Elise Richards
7e12bd3238 For #21313: Renew fission metrics expiring in December 2021-10-09 03:42:00 +00:00
Roger Yang
4ad494075a Issue #21686: Stop using internally stored tabs list in adapters 2021-10-09 02:43:26 +00:00
Mugurell
abcc9dfc67 For #21806 - Set 1dp elevation for ListItemTabLarge
To get smaller shadows.
2021-10-08 23:22:44 +00:00
Mugurell
79a4873843 For #21733 - Simplify test to not depend on store updates. 2021-10-08 18:45:30 -04:00
Mugurell
4d5bd9eca4 For #21733 - Replace mock of an interface with mock of a fake. 2021-10-08 18:45:30 -04:00
Christian Sadilek
4cd67eaef5 Issue #21437: Fix default of start_on_home setting in UI 2021-10-08 18:33:55 -04:00
Gabriel Luong
d0bb77fc2b For #21809 - Adjust the padding between the Pocket section 2021-10-08 20:37:56 +00:00
Jonathan Almeida
bcc40e8e46 Issue #21794: Reverse chevron for inactive tabs 2021-10-08 20:04:40 +00:00
MickeyMoz
1cbdb6e684 Update Android Components version to 95.0.20211008105820. 2021-10-08 14:17:27 +00:00
AndiAJ
2eae152beb Remove openNewTabAndEnterToBrowser() and replace it with enterURLAndEnterToBrowser() in the UI tests 2021-10-08 11:16:54 +00:00
AndiAJ
19c4186f0a Remove closeTabViaXButton() and replace it with closeTab() in the UI tests 2021-10-08 11:16:54 +00:00
AndiAJ
c9ca6f01b5 Fix for ambiguous mozac_browser_tabstray_close and with content description 2021-10-08 11:16:54 +00:00
AndiAJ
66ac309d40 Fix for ambiguous tabstray_title and with text 2021-10-08 11:16:54 +00:00
AndiAJ
8d7e5dd4b7 Fix for ambiguous tabstray_close 2021-10-08 11:16:54 +00:00
AndiAJ
681fc216ac Fix for ambiguous tab_item 2021-10-08 11:16:54 +00:00
codrut.topliceanu
6edd989152 For #20992 - Speculative fix for TopSitesPagerAdapter crash 2021-10-08 07:59:42 +00:00
Jonathan Almeida
74fd043290 Issue #21686: Move submitList calls into TabsAdapter
Co-authored-by: Roger Yang <royang@mozilla.com>
2021-10-08 05:36:48 +00:00
Noah Bond
8c1a64a5e8 For #21773 - Updated "customize homepage" button to go to the new Homepage submenu in Settings 2021-10-07 23:45:43 +00:00
Christian Sadilek
1b463a5c17 Enable pocket stories in CA 2021-10-07 21:57:56 +00:00
Arturo Mejia
3f9d277566 Prepare nimbus features default values for release 95 2021-10-07 20:44:44 +00:00
Rohan Maity
a77091dc5b For #20579: Fix the normal browing tab re-used unexpectedly when open links in private tab enabled or same tab is already avaialble in normal browsing mode 2021-10-07 19:48:16 +00:00
Arturo Mejia
5843fafbb6 For #21765 only activate pocket by default for the right audience 2021-10-07 15:30:18 +00:00
Mugurell
507801e5d5 For #21623 - Pocket recommended stories telemetry 2021-10-07 08:36:00 +00:00
Michael Comella
2c528391da Closes #21424: add marker for StrictMode.resetAfter.
This helps identify file IO. Unfortunately, with this marker, it's
difficult to separate code we own from code we don't own. However, I
wasn't sure what the best implementation would be to address that
(e.g. ideally, we would ignore violations in code we don't own rather than
annotate the markers) so I thought we can land it this simple way and
improve it incrementally.
2021-10-07 07:39:51 +00:00
Gabriel Luong
04e75ace19 For #21756 - Refactor TopSites out of home.sessioncontrol 2021-10-06 21:47:36 +00:00