2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-09 19:10:42 +00:00
Commit Graph

7847 Commits

Author SHA1 Message Date
Gabriel Luong
861609816d [fenix] For https://github.com/mozilla-mobile/fenix/issues/22777 - Replace about_link_normal_theme with fx_mobile_text_color_action 2021-12-10 17:31:52 +00:00
Heitor Neiva
45cbac7371 [fenix] Fix Beetmover paths 2021-12-10 16:56:47 +00:00
Gabriel Luong
257c8a0f13 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22779 - Remove @color/inset_light_theme redirection 2021-12-10 15:53:50 +00:00
mcarare
7b2460a2e5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22784: Show collection snackbar only if fragment is still attached. 2021-12-10 15:09:04 +00:00
mcarare
01c4bf049a [fenix] For https://github.com/mozilla-mobile/fenix/issues/17130: Replace hardcoded strings with string resources. 2021-12-10 14:44:39 +00:00
MickeyMoz
06acec4c9d [fenix] Update Android Components version to 97.0.20211209143429. 2021-12-10 12:30:29 +00:00
Mozilla L10n Automation Bot
9d53193299 [fenix] Import l10n. 2021-12-10 02:12:25 +00:00
Arturo Mejia
5bb39cae23 [fenix] Update recyclerview version 2021-12-10 00:20:12 +00:00
aime Soriano Pastor
37ec88478e [fenix] For https://github.com/mozilla-mobile/fenix/issues/9294: Add option to clear current site data in quick settings dialog. 2021-12-09 23:08:08 +00:00
Gabriel Luong
433ae3f6c5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22694 - Remove primary_text_dark_theme usage 2021-12-09 21:13:35 +00:00
Andrew Halberstadt
b306367a1c [fenix] 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
4b3e25dcf6 [fenix] Update Android Components version to 97.0.20211208143435. 2021-12-09 11:41:37 +00:00
Mozilla L10n Automation Bot
ab220e2995 [fenix] Import l10n. 2021-12-09 00:36:22 +00:00
Jonathan Almeida
4d889b852a [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/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
f32aab496e [fenix] Support tab movement/reordering (https://github.com/mozilla-mobile/fenix/pull/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
5daf8934ca [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/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
43c3c127aa [fenix] Import l10n. 2021-12-08 01:36:35 +00:00
Gabriel Luong
4a932557ec [fenix] For https://github.com/mozilla-mobile/fenix/issues/22741 - Remove all unused strings marked moz:removedIn <= 94 2021-12-07 23:02:57 +00:00
Christian Sadilek
6b9dc4c958 [fenix] Introduce timeout for capturing thumbnail in BrowserAnimator 2021-12-07 22:28:44 +00:00
Christian Sadilek
9150d8061b [fenix] Prevent flash when navigating to home 2021-12-07 22:28:44 +00:00
Christian Sadilek
57f46aa08e [fenix] 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
3efc227bb7 [fenix] Update version.txt to 97.0.0-beta.1 2021-12-07 17:57:09 +00:00
Mugurell
bc4f92afd1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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
96b41c0003 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22729 - Tag unused strings for removal 2021-12-07 15:38:15 +00:00
Andrei Joltan
edd33f2685 [fenix] [UI Smoke Tests] New undoDeleteBookmarkFolderTest UI test and Improve coverage for deleteNonEmptyBookmarkFolderTest UI test (https://github.com/mozilla-mobile/fenix/pull/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
Mozilla L10n Automation Bot
87203e4afb [fenix] Import l10n. 2021-12-07 01:04:32 +00:00
Gabriel Luong
206074a45e [fenix] For https://github.com/mozilla-mobile/fenix/issues/22702 - Replace home_show_all_button_text with fx_mobile_text_color_action color token 2021-12-07 00:36:29 +00:00
Gabriel Luong
c467be006e [fenix] For https://github.com/mozilla-mobile/fenix/issues/22725 - Regenerate lint-baselint.xml 2021-12-06 23:53:08 +00:00
Gabriel Luong
e7f3dd478a [fenix] For https://github.com/mozilla-mobile/fenix/issues/22701 - Replace whats_new_notification_color with fx_mobile_icon_color_notice color token 2021-12-06 21:46:44 +00:00
Gabriel Luong
2400e44396 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22712 - Remove unused menuCategoryText attribute 2021-12-06 20:56:43 +00:00
Gabriel Luong
2989b4385d [fenix] For https://github.com/mozilla-mobile/fenix/issues/22696 - Remove unused tab_header.xml resource 2021-12-06 20:16:43 +00:00
Gabriel Luong
2c3f13900f [fenix] For https://github.com/mozilla-mobile/fenix/issues/22708 - Remove unused syncedTabsSeparator attribute 2021-12-06 19:37:52 +00:00
Sarah Khan
202b3bf08f [fenix] For https://github.com/mozilla-mobile/fenix/issues/22495 - Disable inactive tabs survey 2021-12-06 18:43:28 +00:00
Aaron Train
c30c775870 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22710 - Disable run-ui in build-contributor-pr workflow (https://github.com/mozilla-mobile/fenix/pull/22720)
* Disable run-ui in build-contributor-pr workflow

Unfortunately the problem with INSTALL_FAILED_INSUFFICIENT_STORAGE is still showcasing itself on v2.21.0 – I'm not aware of any workaround at this moment in time, so I'm disabling this step of the workflow again.

* Update build-contributor-pr.yml
2021-12-06 18:12:55 +00:00
Gabriel Luong
7ee3adbe81 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22698 - Remove unused mozac_browser_menu_item_switch.xml resource 2021-12-06 13:37:32 +00:00
Mozilla L10n Automation Bot
519b761344 [fenix] Import l10n. 2021-12-06 00:43:07 +00:00
MickeyMoz
89e4460387 [fenix] Update Android Components version to 96.0.20211204190107. 2021-12-05 16:37:48 +00:00
Mozilla L10n Automation Bot
106b8a60ec [fenix] Import l10n. 2021-12-05 00:38:09 +00:00
Mozilla L10n Automation Bot
196ccab368 [fenix] Import l10n. 2021-12-04 00:31:57 +00:00
Noah Bond
563c1f8610 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22691 - Add Composables for Primary and Secondary text 2021-12-03 23:46:51 +00:00
Aaron Train
5d1146ad11 [fenix] Re-enable contributor UI test job
Trying out @v2.21.0 to see if INSTALL_FAILED_INSUFFICIENT_STORAGE is resolved
2021-12-03 20:15:37 +00:00
Gabriel Luong
ab52526074 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22676 - Replace top_site_title_text with fx_mobile_text_color_primary color token 2021-12-03 18:33:48 +00:00
MickeyMoz
2b50fbb923 [fenix] Update Android Components version to 96.0.20211203041618. 2021-12-03 17:02:31 +00:00
Oana Horvath
a776cabd2b [fenix] For https://github.com/mozilla-mobile/fenix/issues/21002: Add testETPOffGlobally UI smoke test 2021-12-03 15:17:47 +00:00
Gabriel Luong
9c7e54ea87 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22654 - Add new color tokens provided by the design systems to colors.xml 2021-12-03 03:34:11 +00:00
Gabriel Luong
175a230b50 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22637 - Add new color tokens provided by the mobile styles to FirefoxTheme 2021-12-03 03:34:11 +00:00
Mozilla L10n Automation Bot
a1b0dd184a [fenix] Import l10n. 2021-12-03 00:35:55 +00:00
Noah Bond
a13e904d34 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22516 - Fixed alignment of "Show all" buttons on the homescreen (https://github.com/mozilla-mobile/fenix/pull/22650)
* For https://github.com/mozilla-mobile/fenix/issues/22516 - Fixed show all button alignment with section headers on the Homepage

* For https://github.com/mozilla-mobile/fenix/issues/22516 - Added correct content description back in for recently visited show all button

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-12-02 23:00:33 +00:00
Christian Sadilek
33e5a1ee35 [fenix] Refactor: Move historymetadata classes in separate package 2021-12-02 22:28:58 +00:00
AndiAJ
5959b0a309 [fenix] Refactor recently closed tabs UI smoke tests 2021-12-02 19:44:16 +00:00