Commit Graph

7834 Commits

Author SHA1 Message Date
MickeyMoz
0a5061d3c0 Update Android Components version to 97.0.20211213190046. 2021-12-14 20:40:08 +00:00
Gabriel Luong
2c22622edb For #22836 - Replace primary_text_private_theme with fx_mobile_private_text_color_primary color token 2021-12-14 19:30:00 +00:00
Noah Bond
8ca1a7e271 For #22832 - Added parameters to base Text composables 2021-12-14 18:59:09 +00:00
Arturo Mejia
0ac2899570 For #22851 add wallpapers feature flag 2021-12-14 18:20:43 +00:00
Gabriel Luong
cd83cfdda7 For #22839 - Remove unused tabTrayHeadingIcon and tabTrayHeadingIconInactive attributes 2021-12-14 17:07:43 +00:00
Gabriel Luong
07828aa979 For #22839 - Remove @color/tab_tray_heading_icon_inactive_dark_theme redirection 2021-12-14 17:07:43 +00:00
Gabriel Luong
d45c092f11 For #22839 - Remove @color/tab_tray_heading_icon_dark_theme redirection 2021-12-14 17:07:43 +00:00
Mozilla L10n Automation Bot
6669363ed9 Import l10n. 2021-12-14 10:23:24 +00:00
Heitor Neiva
8092b0399d Change beetmover destination paths to match firefox 2021-12-13 21:17:42 +00:00
Gabriel Luong
b8bc14c0ff For #22808 - Add private theme design tokens 2021-12-13 20:05:38 +00:00
MickeyMoz
d703fe3a08 Update Android Components version to 97.0.20211213151530. 2021-12-13 18:43:57 +00:00
Gabriel Luong
da0cb197ac For #22809 - Use the design tokens for the Scrim Start/End colors 2021-12-13 17:13:24 +00:00
Gabriel Luong
d457050da2 For #22812 - Remove unused shadow attribute 2021-12-13 16:46:07 +00:00
Gabriel Luong
9dd3f58241 For #22800 - Remove unused tabTrayToolbarBackground attribute 2021-12-13 16:12:23 +00:00
Gabriel Luong
8fee873d40 For #22800 - Remove unused tabTrayItemSelectedBackground attribute 2021-12-13 16:12:23 +00:00
Gabriel Luong
0a9590cb23 For #22800 - Remove unused tabTrayItemBackground attribute 2021-12-13 16:12:23 +00:00
Mozilla L10n Automation Bot
f7d0c2831a Import l10n. 2021-12-13 00:35:55 +00:00
MickeyMoz
eb7046ac0c Update Android Components version to 97.0.20211212143206. 2021-12-12 16:55:44 +00:00
Mozilla L10n Automation Bot
6cfe332e18 Import l10n. 2021-12-12 00:33:02 +00:00
MickeyMoz
4a7d5b82be Update Android Components version to 97.0.20211211143136. 2021-12-11 16:38:37 +00:00
Gabriel Luong
41fd47fc06 For #22793 - Update the colors for Scrim Start/End design tokens 2021-12-11 01:51:26 +00:00
Gabriel Luong
35454ec674 For #22793 - Swap the colors for Gradient Start/End design tokens 2021-12-11 01:51:26 +00:00
Gabriel Luong
29fc9c4ea5 For #22793 - Add Icon Gradient Start/End color tokens 2021-12-11 01:51:26 +00:00
Gabriel Luong
543f2000af For #22793 - Rename fx_mobile_icon_color_notice color token to fx_mobile_icon_color_information 2021-12-11 01:51:26 +00:00
Matt Tighe
fee26e62a8 Fixes #22688: remove inactive_tabs_recently_closed probe 2021-12-10 23:20:26 +00:00
Gabriel Luong
986a48b1db For #22777 - Replace about_link_normal_theme with fx_mobile_text_color_action 2021-12-10 17:31:52 +00:00
Heitor Neiva
37635293ba Fix Beetmover paths 2021-12-10 16:56:47 +00:00
Gabriel Luong
d6091c9ea4 For #22779 - Remove @color/inset_light_theme redirection 2021-12-10 15:53:50 +00:00
mcarare
b4bf7abfb3 For #22784: Show collection snackbar only if fragment is still attached. 2021-12-10 15:09:04 +00:00
mcarare
0cb4059b12 For #17130: Replace hardcoded strings with string resources. 2021-12-10 14:44:39 +00:00
MickeyMoz
ef9f3e3d61 Update Android Components version to 97.0.20211209143429. 2021-12-10 12:30:29 +00:00
Mozilla L10n Automation Bot
3058f52578 Import l10n. 2021-12-10 02:12:25 +00:00
Arturo Mejia
5940bc99e5 Update recyclerview version 2021-12-10 00:20:12 +00:00
aime Soriano Pastor
9bfc94b793 For #9294: Add option to clear current site data in quick settings dialog. 2021-12-09 23:08:08 +00:00
Gabriel Luong
e150f6118b For #22694 - Remove primary_text_dark_theme usage 2021-12-09 21:13:35 +00:00
Andrew Halberstadt
e6cae9b800 RELENG-489 - Add Beetmover functionality
Bug 1614763 - [ci] Create beetmover tasks to publish release artifacts

Added TODO

Added head_tag to try_task_config

Change locale to multi and fix beetmover URL destinations

Bump version

Adjust beetmover kind and add beta + format task label

Allow all build types for beetmover

Bump version

Adjust beetmover destination URL + minor mods

Try task config - nightly

Change try release to beta

Remove try_task_config
2021-12-09 16:07:48 +00:00
MickeyMoz
07d43971c0 Update Android Components version to 97.0.20211208143435. 2021-12-09 11:41:37 +00:00
Mozilla L10n Automation Bot
c3cf4ae9e0 Import l10n. 2021-12-09 00:36:22 +00:00
Jonathan Almeida
01ba8959ce Issue #22757: Check the parent cast to AbstractBrowserTrayList first
We re-use the same ViewHolders in search term groups, so when we need to
cast to a AbstractBrowserTrayList for tab reordering, we need to check
our parent correctly first.
2021-12-08 23:54:46 +00:00
Christian Sadilek
6637f61088
Support tab movement/reordering (#22751)
* Adds basic support for tab reordering via drag-and-drop selected tabs

* ktlint/detekt formatting

* Use defaultTabsFilter (now not private) instead of getter

* Convert from position+filter API to target+placeAfter
Unfortunately I still need the filter passed around a bit

* Handle inactive tabs' holder being children of the RecyclerView of the normal tabs
Don't go through LayoutManager needlessly

* Non-working use tabID the whole way. Does not compile.

* Fix to do direct tab ID and use grid setting directly

* Remove non-null assertion. Now fully works for "other" tabs.

* Prevent grouped tabs from being dragged

* Remove unused import

* Add/fix comments

* Do API version check and use deprecated startDrag if too old.

* Build process fails: both outdated and too new, so reverting to just too new

* Use deprecated function and suppress warning

* fix space

* Suppress "TooManyFunctions" on DefaultTabsTrayController

* Repeatedly update tab movement during drag

* Remove multi-tab movement, only allow dragging if tab groups disabled, fix tab positioning during movement
I'm forced to suppress LongParameterList to get the settings information where it needs to go though

* Remove settings argument and corresponding long args suppression: instead get settings from parent AbstractBrowserTrayList's context

* New UI: Select a tab and then, while holding down, start dragging

* Revert to using before/after boolean to accomodate delays
Move drag transparency to start of drag

* Use new BlankDragShadowBuilder and DraggableItemAnimator to handle tab movement

* Replace Pair<>s with data classes

* Only drag if exactly 1 tab selected, don't consume drag event if not used

* Auto-scroll tab tray while dragging near top/bottom edge

* Remove unexpected scrolling on tab bind (triggered when tab is selected)

* Fix broken scroll behavior during dragging

* Cleanup for ktlint/detekt

* Constantly set elevation during drag in case of update
Clean code at drag start

* Add custom drag start behavior

* Add drag distance constant, do all touch-drag behavior in OnTouchListener

* Disable parent vertical scrolling on drag start, fix detekt ComplexCondition

* Minor cleanup/comments

* Revert removal of scroll on bind, this was related to something different

* Correction to prepareForDrop to match documentation- doesn't seem to have any effect

* Simplify via unchecked typecast, use ViewCompat

* Use ViewConfiguration.scaledTouchSlop instead of arbitrary 30px

* Added tabReorderingFeature flag, split drag interactor to separate function to satisfy complexity requirement

Co-authored-by: Steven Knipe <ssk97@case.edu>
Co-authored-by: ssk97 <knipesteven@gmail.com>
Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
2021-12-08 16:36:49 +00:00
Christian Sadilek
f919e97445 Closes #21759: Do not render home fragment when launching to tab
Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
2021-12-08 10:51:06 +00:00
Mozilla L10n Automation Bot
910a425cc3 Import l10n. 2021-12-08 01:36:35 +00:00
Gabriel Luong
378f19eb59 For #22741 - Remove all unused strings marked moz:removedIn <= 94 2021-12-07 23:02:57 +00:00
Christian Sadilek
229c410437 Introduce timeout for capturing thumbnail in BrowserAnimator 2021-12-07 22:28:44 +00:00
Christian Sadilek
ae0dba29b1 Prevent flash when navigating to home 2021-12-07 22:28:44 +00:00
Christian Sadilek
28222df29c Fix BrowserRobot.goToHomescreen to wait for home screen to be rendered
It was previously just waiting for the application to be idle, which
is not a reliable check in case the navigation to home is triggered
on completion of an async operation i.e., the app / main thread may
be idle, but the navigation to home hasn't completed yet.

goToHomeScreen further needs to wait for the browser fragment's
home button to exist before clicking it.
2021-12-07 22:28:44 +00:00
Gabriel Luong
84c6f88154 Update version.txt to 97.0.0-beta.1 2021-12-07 17:57:09 +00:00
Mugurell
604f188970 For #22445 - Improve the scrolling behavior for Recently visited
One important issue was that the items are smaller that the width of the
screen and so a bit of the next column would be showing also and user could
interact with this only peaking items and a long press would open a dropdown
menu with no place to anchor it.
To mitigate this:
- the items will now snap to the next position when scrolling so that we'll
always show at least one column in it's entirety.
- menus are enabled only if more than half of the item is visible effectively
disabling clicks on that peaking area of neighbour columns.

This patch also updates the divider for history groups which previously wasn't
showing.
2021-12-07 16:23:55 +00:00
Gabriel Luong
67fb033f1b For #22729 - Tag unused strings for removal 2021-12-07 15:38:15 +00:00
Andrei Joltan
ee9eab0d8c
[UI Smoke Tests] New undoDeleteBookmarkFolderTest UI test and Improve coverage for deleteNonEmptyBookmarkFolderTest UI test (#22587)
* New undoDeleteBookmarkFolderTest smoke UI test

* Improve coverage for deleteNonEmptyBookmarkFolderTest UI smoke test

Co-authored-by: AndiAJ <andiaj@users.noreply.github.com>
2021-12-07 13:54:05 +00:00