Commit Graph

6388 Commits (16d9866024bfc109c300a8e90c6666d8a1d844b8)

Author SHA1 Message Date
Mozilla L10n Automation Bot d9711497dc Import l10n. 3 years ago
Mozilla L10n Automation Bot 9c10f7abb6 Import l10n. 3 years ago
Mozilla L10n Automation Bot c91be63240 Import l10n. 3 years ago
Mozilla L10n Automation Bot 4d0203c60c Import l10n. 3 years ago
Mozilla L10n Automation Bot e7d64d886e Import l10n. 3 years ago
mike a 46b5dd2706 Closes #10737: Searching a language/saved password displays a misplaced "x".
Setting max width for the search view in language settings and saved logins screens. Removed SyncAuthClosed event from LocaleSettingsFragment, an apparent copy-paste.
3 years ago
Mozilla L10n Automation Bot acc21f9f7f Import l10n. 3 years ago
Gabriel Luong c8e2fd3847 For #22973 - Remove @color/contrast_text_light_theme redirection 3 years ago
Gabriel Luong 794823c5ec For #22983 - Remove @color/destructive_button_text_color redirection 3 years ago
TasosB 05e6ba40b4 For #21483 - Remove light theme tinting of folder icon in the Bookmark view 3 years ago
TasosB 54ffe7db03 For #21483 - Use primaryText attribute for download icons fill color 3 years ago
Gabriel Luong 4078bf7863 For #22971 - Remove @color/above_dark_theme redirection 3 years ago
Mozilla L10n Automation Bot 716e1194a0 Import l10n. 3 years ago
Mozilla L10n Automation Bot fa377bf0d6 Import l10n. 3 years ago
Mozilla L10n Automation Bot ec9cf0338e Import l10n. 3 years ago
rxu 2203ebf923 Pass distribution_id to Socorro crash report 3 years ago
Mozilla L10n Automation Bot 00d18125b2 Import l10n. 3 years ago
Gabriel Luong c50073f7e4 For #22965 - Add Form On, Form Off, Indicator Active, Indicator Inactive color tokens 3 years ago
Gabriel Luong 3ffece2b87 For #22965 - Remove Control Active color token 3 years ago
Gabriel Luong 38c55dbbc0 For #22965 - Update description of Layer Accent color token 3 years ago
Gabriel Luong a7e78a19d0 For #22965 - Update description of Text Inverted color token 3 years ago
Gabriel Luong c9cb55cf3f For #22965 - Remove Control Dark design color token 3 years ago
Gabriel Luong 945dde72e3 For #22965 - Rename Action Disabled to Form Disabled for the design color tokens 3 years ago
Gabriel Luong 97c42ca84e For #22965 - Update Control to Form Surface design colors 3 years ago
Gabriel Luong 5bea4554ad For #22965 - Add Form Selected design color token 3 years ago
Gabriel Luong c9bc38d67c For #22965 - Update Action Teritary to Form Default design colors 3 years ago
Gabriel Luong 1cf91a2ef4 For #22965 - Change Pill button to Chip for Action Secondary design color token description 3 years ago
Gabriel Luong 16bf150fb9 For #22965 - Remove Toolbar background from the description of Layer 3 design color token 3 years ago
Roger Yang 0b0f69ab4e Closes #22754: Customize home button should work on fresh install 3 years ago
Arturo Mejia 27def6fd0c For #22851: Optimize wallpaper testing images. 3 years ago
Roger Yang b9b2bc3c7d Issue #22561: Fix tab group titles colour when in private mode 3 years ago
mcarare 03f1aa3d8b For #22415: Remove element type from content descriptions.
Adding the type to content description is not advised according to a11y guidelines.
3 years ago
Gabriel Luong dc576a2ad7 Revert "For #22777 - Replace about_link_normal_theme with fx_mobile_text_color_action"
This reverts commit 986a48b1db.
3 years ago
mavduevskiy 89f5e96d73
For #18160: Show a prompt when trying to leave private browsing with active downloads (#22912)
Co-authored-by: mike a <mavduevskiy@gmail.com>
3 years ago
Mozilla L10n Automation Bot 105a2e5fc6 Import l10n. 3 years ago
Grisha Kruglov 5bbfd49e1d Refactor History types to eliminate nullability
This introduces a separate HistoryDB type at the PagedHistoryProvider
layer, that doesn't need to deal with positions. Positioning logic in
HistoryDataSource becomes a type conversion between the new type and an
existing History type that UI and ItemKeyedDataSource API is written against.

With this refactor, we entirely eliminate nullability from these types.
3 years ago
Grisha Kruglov 836ff1151b Closes #22764: Convert History.id to an Int position
We were converting Long timestamps into Ints (and getting negative
numbers back), and treating that as, basically, a position for the
paging API; the paging API would pass us back the obscure negative
number back as an offset, and we'll mishandle it resulting in an
infinite loop.

This patch removes all of the Long -> Int conversions, and introduces an
explicit 'position' that is calculated once we have a full page of
results completed.
3 years ago
Mugurell 34c0a17b4d For #22852 - Add a new "Storage access" permission 3 years ago
Arturo Mejia cf31bc408a For #22931 Only enable wallpapers on normal mode 3 years ago
mcarare 00280d3b65 For #20513: Use UrlMetricType for search engine submission url. 3 years ago
Roger Yang 22bcdeafe0 Closes #22736: Do not remove focus from toolbar when scrolling 3 years ago
Arturo Mejia 7a44412619 For #22851 toggle wallpapers when tap on the Firefox logo 3 years ago
rxu 073fd89390 Add default topsite MeiTuan for MozillaOnline builds 3 years ago
Mozilla L10n Automation Bot ee34b07ecc Import l10n. 3 years ago
Mozilla L10n Automation Bot 606f2eb100 Import l10n. 3 years ago
Mozilla L10n Automation Bot dd64d92b12 Import l10n. 3 years ago
Matt Tighe db71d8dfe7 fixes #22889: add bottom spacer to onboarding adapter 3 years ago
Mugurell eb2ec677ca For #22508 - Increase menu height to avoid it become scrollable
Compose enforces a DropdownMenuItem having at least a 64dp height
(48 dp height + 8dp vertical padding) so we need to ensure the parent
doesn't hardcode a smaller height.
3 years ago
Roger Yang 26198330e9 Closes #22671: Show correct time groups header in history 3 years ago
mcarare bbf0ccca54 For #22450: Replace quit icon with AC one. 3 years ago
Mozilla L10n Automation Bot 1c34db22f4 Import l10n. 3 years ago
Grisha Kruglov 33af7d8729 Fix breaking change in KeyProvider
`key` was renamed to `getOrGenerateKey` and is now a `suspend`.
3 years ago
Grisha Kruglov 8de4c0b4db For #22569: Remove allopen plugin and Mockable annotations 3 years ago
rxu b41542dc5e Modify strings for Privacy notice for MozillaOnline builds 3 years ago
Mozilla L10n Automation Bot b96dda5c89 Import l10n. 3 years ago
Gabriel Luong 9e647fd821 For #22858 - Set all @color/tab_tray_item_media_stroke usages to @color/photonWhite 3 years ago
Matt Tighe edcccc2f4c fixes #20833: move home recycler bottom margin into standalone item 3 years ago
Gabriel Luong 59a17894f2 For #22842 - Use gradient color tokens for Reader mode gradient 3 years ago
Gabriel Luong 2c22622edb For #22836 - Replace primary_text_private_theme with fx_mobile_private_text_color_primary color token 3 years ago
Noah Bond 8ca1a7e271 For #22832 - Added parameters to base Text composables 3 years ago
Arturo Mejia 0ac2899570 For #22851 add wallpapers feature flag 3 years ago
Gabriel Luong cd83cfdda7 For #22839 - Remove unused tabTrayHeadingIcon and tabTrayHeadingIconInactive attributes 3 years ago
Gabriel Luong 07828aa979 For #22839 - Remove @color/tab_tray_heading_icon_inactive_dark_theme redirection 3 years ago
Gabriel Luong d45c092f11 For #22839 - Remove @color/tab_tray_heading_icon_dark_theme redirection 3 years ago
Mozilla L10n Automation Bot 6669363ed9 Import l10n. 3 years ago
Gabriel Luong b8bc14c0ff For #22808 - Add private theme design tokens 3 years ago
Gabriel Luong da0cb197ac For #22809 - Use the design tokens for the Scrim Start/End colors 3 years ago
Gabriel Luong d457050da2 For #22812 - Remove unused shadow attribute 3 years ago
Gabriel Luong 9dd3f58241 For #22800 - Remove unused tabTrayToolbarBackground attribute 3 years ago
Gabriel Luong 8fee873d40 For #22800 - Remove unused tabTrayItemSelectedBackground attribute 3 years ago
Gabriel Luong 0a9590cb23 For #22800 - Remove unused tabTrayItemBackground attribute 3 years ago
Mozilla L10n Automation Bot f7d0c2831a Import l10n. 3 years ago
Mozilla L10n Automation Bot 6cfe332e18 Import l10n. 3 years ago
Gabriel Luong 41fd47fc06 For #22793 - Update the colors for Scrim Start/End design tokens 3 years ago
Gabriel Luong 35454ec674 For #22793 - Swap the colors for Gradient Start/End design tokens 3 years ago
Gabriel Luong 29fc9c4ea5 For #22793 - Add Icon Gradient Start/End color tokens 3 years ago
Gabriel Luong 543f2000af For #22793 - Rename fx_mobile_icon_color_notice color token to fx_mobile_icon_color_information 3 years ago
Matt Tighe fee26e62a8 Fixes #22688: remove inactive_tabs_recently_closed probe 3 years ago
Gabriel Luong 986a48b1db For #22777 - Replace about_link_normal_theme with fx_mobile_text_color_action 3 years ago
Gabriel Luong d6091c9ea4 For #22779 - Remove @color/inset_light_theme redirection 3 years ago
mcarare b4bf7abfb3 For #22784: Show collection snackbar only if fragment is still attached. 3 years ago
mcarare 0cb4059b12 For #17130: Replace hardcoded strings with string resources. 3 years ago
Mozilla L10n Automation Bot 3058f52578 Import l10n. 3 years ago
aime Soriano Pastor 9bfc94b793 For #9294: Add option to clear current site data in quick settings dialog. 3 years ago
Gabriel Luong e150f6118b For #22694 - Remove primary_text_dark_theme usage 3 years ago
MickeyMoz 07d43971c0 Update Android Components version to 97.0.20211208143435. 3 years ago
Mozilla L10n Automation Bot c3cf4ae9e0 Import l10n. 3 years ago
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.
3 years ago
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>
3 years ago
Christian Sadilek f919e97445 Closes #21759: Do not render home fragment when launching to tab
Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
3 years ago
Mozilla L10n Automation Bot 910a425cc3 Import l10n. 3 years ago
Gabriel Luong 378f19eb59 For #22741 - Remove all unused strings marked moz:removedIn <= 94 3 years ago
Christian Sadilek 229c410437 Introduce timeout for capturing thumbnail in BrowserAnimator 3 years ago
Christian Sadilek ae0dba29b1 Prevent flash when navigating to home 3 years ago
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.
3 years ago
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.
3 years ago
Gabriel Luong 67fb033f1b For #22729 - Tag unused strings for removal 3 years ago
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>
3 years ago
Mozilla L10n Automation Bot e6d1c9a564 Import l10n. 3 years ago
Gabriel Luong 6a28296be7 For #22702 - Replace home_show_all_button_text with fx_mobile_text_color_action color token 3 years ago