Commit Graph

182 Commits

Author SHA1 Message Date
github-actions
f8593e994f Import translations from android-l10n 2023-11-11 00:30:35 +00:00
github-actions
55addd420e Import translations from android-l10n 2023-10-30 00:26:47 +00:00
Lina Butler
2baad7c50e Bug 1859408 - Instrument the awesomebar to report visible suggestions.
This commit adds an `onVisibilityStateUpdated` callback to the
`AwesomeBar` composable. The new callback is invoked with the current
`AwesomeBar.VisibilityState` whenever the list of visible suggestions
changes.
2023-10-17 17:08:29 +00:00
github-actions
4341b9c1f5 Import translations from android-l10n 2023-10-02 01:31:08 +00:00
DreVla
4ee8243427 Bug 1812461 - Add compose test tags & ignore failing tests
Added needed test tags to compose elements. Ignored
`ContextualHintsTest` which seem to fail due to not finding
the compose elements.
2023-09-14 15:13:08 +00:00
DreVla
9ab08a358c Bug 1812461 - Add option to hide CFRPopup dismissal button
Since we migrated the `privateBrowsingRecommend` to CFRPopup,
this popup has a `No thanks` dismiss button, therefore not
requiring the classic X dismiss button. This change adds
a parameter with which we are able to control if we
want to show the X button or not in a CFRPopup.
2023-09-14 15:13:08 +00:00
DreVla
e36f3c5d83 Bug 1812461 - Migrate private browsing recommend PopupWindow to CFRPopup
Because previously the `privateBrowsingRecommend` Popup was using
PopupWindow from android widget, it could not be modified to
respect to PopupWindow behaviors. Therefore, we decided to migrate
it to the CFRPopup.
2023-09-14 15:13:08 +00:00
DreVla
c0f25a635d Bug 1812461 - Update CFR Popups to be sticky
CFRPopup default properties have been changed so a popup does not
dismiss anymore on a click outside or a back press.
Additionally, popups will reappear if the screen is rotated and
the popup was not dismissed.
2023-09-14 15:13:08 +00:00
mike a
dd3cf83610 Bug 1852328 – removed suggestion map upcasting from Awesomebar 2023-09-11 14:41:43 +00:00
mcarare
063c553913 Bug 1849833 - Replace deprecated compileSdkVersion.
This is replaced by defaultConfig compileSdk.
2023-09-11 06:36:20 +00:00
mcarare
235c47209f Bug 1849833 - Replace deprecated kotlinOptions method. 2023-09-11 06:36:20 +00:00
mcarare
5a7b24763d Bug 1849833 - Replace qualified name with import. 2023-09-11 06:36:20 +00:00
iorgamgabriel
47af2f06e2 Bug 1844960 - Bookmark suggestions should appear unconcerned with the search suggestions setting. 2023-09-08 07:57:42 +00:00
Alexandru2909
278794410b Bug 1849564 - Add support for CFR popup centered alignment 2023-08-30 08:14:25 +00:00
MatthewTighe
c87183c8b5 Bug 1843168 - Expose Mockito through test support component 2023-07-24 18:02:09 +00:00
github-actions
5ad818a6ce Import translations from android-l10n 2023-07-14 01:00:05 +00:00
Gabriel Luong
f8e7dcd258 Bug 1840210 - Rename mozac_ic_close_20 to mozac_ic_cross_20 2023-07-10 22:15:49 +00:00
Gabriel Luong
c21d65d68c Bug 1840210 - Rename mozac_ic_edit_suggestion to mozac_ic_append_up_24 2023-07-10 22:15:49 +00:00
Gabriel Luong
31806c234b Bug 1840210 - Rename mozac_ic_clear to mozac_ic_cross_circle_fill_24 2023-07-10 22:15:49 +00:00
Gabriel Luong
edc8c27961 Bug 1840210 - Rename mozac_ic_close to mozac_ic_cross_24 2023-07-10 22:15:49 +00:00
github-actions
671c33c1b3 Import translations from android-l10n 2023-07-04 00:29:41 +00:00
github-actions
570991db5c Import translations from android-l10n 2023-05-09 00:34:46 +00:00
github-actions
7ca3929415 Import translations from android-l10n 2023-05-07 00:36:22 +00:00
github-actions
59cf7ecc2e Import translations from android-l10n 2023-05-05 00:32:51 +00:00
github-actions
6fdbe40318 Import translations from android-l10n 2023-04-29 00:38:27 +00:00
Noah Bond
830d0e0cc1 Bug 1826457 - Update Compose version to 1.4.2 and Lifecycle version to 2.6.1 2023-04-27 03:17:17 +00:00
github-actions
cbcc2058d5 Import translations from android-l10n 2023-04-26 01:24:45 +00:00
github-actions
4f4b08518d Import translations from android-l10n 2023-04-22 01:15:02 +00:00
rahulsainani
42a1bace75 Bug 1827631 - Use debugImplementation for compose tooling 2023-04-20 07:11:42 +00:00
Geoff Brown
4b36c91e06 Bug 1825116 - Add license notice where missing (https://github.com/mozilla-mobile/firefox-android/pull/1637)
* Bug 1825116 - Add license notice where missing

* Bug 1825116 - Revert changes to strings.xml

* Bug 1825116 - Restore ic_cc*.xml
2023-04-19 21:08:15 +00:00
Geoff Brown
6561b2de2b Bug 1825116 - Resolve many black, isort, and file-whitespace lint issues 2023-04-12 14:04:29 +00:00
github-actions
8f0ac2dd65 Import translations from android-l10n 2023-04-03 00:36:25 +00:00
Alexandru2909
75c05e3866 Bug 1824648 - Upstream CFRPopup null window fix to A-C 2023-03-28 12:37:32 +00:00
github-actions
f20d8c91f6 Import translations from android-l10n 2023-03-24 00:36:18 +00:00
github-actions
13f166ef5e Import translations from android-l10n 2023-03-23 00:37:01 +00:00
github-actions
82de116f23 Import translations from android-l10n 2023-03-22 00:35:57 +00:00
Mugurell
de89572609 Bug 1819950 - Ensure a change of orientation on new Androids will dismiss CFRs
Seems like on Android 33 the current orientation detection calls do not report
valid results.
As such on newer Android versions we'll use another way to infer the current
rotation based on the configuration read from Resources.
2023-03-16 17:37:20 +00:00
github-actions
8b45c49747 Import translations from android-l10n 2023-03-09 20:35:59 -05:00
github-actions
f5ca4d2c8c Import translations from android-l10n 2023-03-09 00:54:00 +00:00
github-actions
e33d341c5a Import translations from android-l10n 2023-03-07 01:06:53 +00:00
Ryan VanderMeulen
0e5e70291c Bug 1820233 - Remove unneeded kotlin_stdlib inclusions and re-enable Werror in detekt build.gradle 2023-03-07 00:12:18 +00:00
t-p-white
194117d082 Bug 1809305 - Allow user to copy an image to the clipboard (https://github.com/mozilla-mobile/firefox-android/pull/948)
* Bug 1809305 - Allow user to copy an image to the clipboard

* Bug 1809305 - Update import & remove unnecessary gradle androidTestImplementation dependency

* Bug 1809305 - PR changes

* Bug 1819746 - Add explicit dependency to support-ktx

* Add buildconfig changes needed after adding support-ktx to componse-engine

---------

Co-authored-by: t-p-white <t-p-white>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-06 12:16:22 +00:00
github-actions
46ce2edb95 Import translations from android-l10n 2023-03-03 03:14:45 +00:00
t-p-white
1d8c0624e0 Bug 1819746 - Fix for possible NullPointerException on a potential nullable object reference in DisplayOrientationListener 2023-03-02 21:40:03 +00:00
mcarare
1f589a2e0b Bug 1802817 - Set namespace via DSL in gradle build files.
See https://developer.android.com/studio/build/configure-app-module#set-namespace
and https://issuetracker.google.com/issues/172361895
2023-03-02 17:13:09 +00:00
mcarare
922b5f6643 Bug 1802817 - Rename AC Dependencies to ComponentsDependencies.
This change is needed in order to avoid clashes with Dependencies class introduced
in Gradle from 7.6 version.
2023-03-02 17:13:09 +00:00
github-actions
24d0333c19 Import translations from android-l10n 2023-02-26 00:33:35 +00:00
github-actions
e3e6788043 Import translations from android-l10n 2023-02-13 07:57:07 -05:00
Mugurell
9c55c5d5bd Bug 1809592 - Update display orientation listener
In testing it was seen that the display orientation change could get reported
even without a screen rotation and because of the previous UNSPECIFIED default
this would trigger the "onDisplayRotationChanged" callback.
2023-02-08 15:09:56 +00:00
Mugurell
411fc55169 Bug 1809592 - Update positioning for the BODY_TO_ANCHOR_CENTER CFR
This was incorrectly adding the popup padding - invisible space allowing to
extend close button's touch interaction area.
Since it's an invisible space it should not affect placing.
2023-02-08 15:09:56 +00:00