Tim C
e828ae5ced
Bug 1948662 - Consolidate new toolbar colors and map to AcornTheme tokens r=android-reviewers,007
...
Differential Revision: https://phabricator.services.mozilla.com/D246686
2025-05-15 09:28:01 +00:00
Mugurell
423baf3cf0
Bug 1962168 - part 8 - Finalize integration of the Origin composable in Fenix r=android-reviewers,android-l10n-reviewers,delphine,tchoh
...
This fully configures showing the URL and handling all user interactions
with the URL when browsing.
Differential Revision: https://phabricator.services.mozilla.com/D247910
2025-05-12 10:43:07 +00:00
Mugurell
80ac1d6c7c
Bug 1962168 - part 6 - Update the Origin composable to not use Views anymore r=android-reviewers,tchoh
...
Differential Revision: https://phabricator.services.mozilla.com/D247465
2025-05-12 10:43:00 +00:00
Mugurell
9df80a872b
Bug 1962168 - part 4 - Use the new composable popup in the toolbar composable r=android-reviewers,tchoh
...
Differential Revision: https://phabricator.services.mozilla.com/D247463
2025-05-12 10:42:53 +00:00
Mugurell
0832c0ebd6
Bug 1962168 - part 2 - Rename the AC TabCounter to TabCounterView r=android-reviewers,Roger
...
This will free the name for the composable version.
Needed as a separate commit to distinguish the changes, otherwise it
will be like the composable code modified the View code.
Differential Revision: https://phabricator.services.mozilla.com/D247461
2025-05-12 10:42:46 +00:00
Mugurell
4eb4001853
Bug 1948677 - part 2 - Allow integrators to configure highlighting toolbar buttons r=android-reviewers,tchoh
...
Differential Revision: https://phabricator.services.mozilla.com/D245757
2025-05-07 15:47:01 +00:00
Mugurell
daa5142437
Bug 1948654 - Use BrowserActionsEndUpdated instead of AddBrowserAction and UpdateBrowserActions r=android-reviewers,tchoh
...
Also rename `browserActions` to `browserActionsEnd` to conform to the
toolbar buttons structure.
Differential Revision: https://phabricator.services.mozilla.com/D245956
2025-04-23 17:55:47 +00:00
Mugurell
9a7f6d0dfc
Bug 1948653 - Rename pageActions to pageActionsEnd r=android-reviewers,tchoh
...
Differential Revision: https://phabricator.services.mozilla.com/D245955
2025-04-23 17:55:47 +00:00
Mugurell
f9ba1adec4
Bug 1948633 - part 4 - Use pageOrigin in samples and Fenix r=android-reviewers,tchoh
...
Differential Revision: https://phabricator.services.mozilla.com/D245954
2025-04-23 17:55:46 +00:00
Mugurell
b7c528df3b
Bug 1948633 - part 3 - Render pageOrigin from the state r=android-reviewers,android-l10n-reviewers,delphine,tchoh
...
Because of a Jetpack Compose bug which prevents properly anchoring
Dropdowns to the bottom of the screen in order to support showing
the long press menu from a bottom toolbar I had to use a View for
the origin instead of a Composable.
Implementation is to change after Google fixes the Compose bug.
Differential Revision: https://phabricator.services.mozilla.com/D245953
2025-04-23 17:55:46 +00:00
Mugurell
8534019a5c
Bug 1948629 - part 2 - Use pageActionsStart in the toolbar sample r=android-reviewers,tchoh
...
Differential Revision: https://phabricator.services.mozilla.com/D245950
2025-04-23 17:55:45 +00:00
Mugurell
9b9d48fd93
Bug 1948629 - part 1 - Render pageActionsStart from the state r=android-reviewers,tchoh
...
Differential Revision: https://phabricator.services.mozilla.com/D245949
2025-04-23 17:55:45 +00:00
Mugurell
099a8e5fe4
Bug 1948628 - part 2 - Use browserActionsStart in the toolbar sample r=android-reviewers,tchoh
...
Differential Revision: https://phabricator.services.mozilla.com/D245948
2025-04-23 17:55:45 +00:00
Mugurell
d1c8208e8a
Bug 1948628 - part 1 - Render browserActionsStart from the state r=android-reviewers,tchoh
...
This is mostly a rename of `navigationActions` to `browserActionsStart`
as an effort to have a more generic API though with a clear structure of
actions and get closer to the MDN documentation / desktop naming.
Differential Revision: https://phabricator.services.mozilla.com/D245947
2025-04-23 17:55:45 +00:00
Mugurell
e1a6dd09d0
Bug 1948655 - part 3 - Integrate the progress bar in the toolbar sample r=android-reviewers,tchoh
...
Differential Revision: https://phabricator.services.mozilla.com/D245720
2025-04-21 20:40:43 +00:00
Mugurell
c1a4206a2d
Bug 1948750 - part 6 - Add a long press menu for the tabs counter from the browser toolbar r=android-reviewers,tchoh
...
Differential Revision: https://phabricator.services.mozilla.com/D244955
2025-04-21 20:40:42 +00:00
Sanchaai
f86b558f6d
Bug 1948609 - Remove the "custom tab" mode of the new BrowserToolbar composable. r=petru,android-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D245378
2025-04-15 16:03:51 +00:00
Jonathan Almeida
80aeec1aa7
Bug 1872229 - Fix minor lint check failures in android-components r=android-reviewers,mcarare,webcompat-reviewers,twisniewski
...
We have moved more lint checks upstream to AC and these failures are
trivial to solve, rather than try to suppress.
Differential Revision: https://phabricator.services.mozilla.com/D236392
2025-04-11 04:37:30 +00:00
smolnar
aaed8aeb2c
Backed out 2 changesets (bug 1872229) for causing toolchain failures CLOSED TREE
...
Backed out changeset 2fd0c027ec2c (bug 1872229)
Backed out changeset 7efbd8e4381d (bug 1872229)
2025-04-10 03:38:28 +03:00
Jonathan Almeida
9956a54ab3
Bug 1872229 - Fix minor lint check failures in android-components r=android-reviewers,mcarare,webcompat-reviewers,twisniewski
...
We have moved more lint checks upstream to AC and these failures are
trivial to solve, rather than try to suppress.
Differential Revision: https://phabricator.services.mozilla.com/D236392
2025-04-09 22:32:23 +00:00
Ryan VanderMeulen
826c53eaed
Bug 1956344 - Clean up some unnecessary AC lint.xml files and rules. r=android-reviewers,adhingra
...
Differential Revision: https://phabricator.services.mozilla.com/D242999
2025-03-25 21:16:25 +00:00
Mugurell
8d75211e5f
Bug 1950628 - Update ActionButton to remove the onClick closure r=android-reviewers,tchoh
...
Click interactions can now either either dispatch an event to the store or
displaying a popup menu.
Also added support for optionally handling long clicks through similarly
dispatching an event to the store or displaying a popup menu.
Differential Revision: https://phabricator.services.mozilla.com/D239785
2025-03-25 19:08:56 +00:00
Mugurell
038929a15a
Bug 1948621 - Integrate the TabCounter composable in the toolbar sample r=android-reviewers,gl
...
Differential Revision: https://phabricator.services.mozilla.com/D239782
2025-03-25 19:08:56 +00:00
Mugurell
d3e075161a
Bug 1949514 - Update IconButton and LongPressIconButton with haptics support r=android-reviewers,tchoh
...
Overcome missing support from Compose upstream.
Differential Revision: https://phabricator.services.mozilla.com/D239359
2025-03-25 19:08:55 +00:00
Mugurell
73818dd05a
Bug 1948618 - Integrate the refactored SearchSelector in the toolbar sample r=android-reviewers,gl
...
Offering an overview of it's setup and UX.
Differential Revision: https://phabricator.services.mozilla.com/D238986
2025-03-25 19:08:55 +00:00
Mugurell
5a05bb314f
Bug 1948618 - Allow the SearchSelector be instantiated with either of a drawable or resource r=android-reviewers,tchoh
...
Differential Revision: https://phabricator.services.mozilla.com/D240363
2025-03-25 19:08:55 +00:00
Mugurell
7fa78bcec3
Bug 1948618 - Refactor the SearchSelector composable to be driven from state r=android-reviewers,gl
...
SearchSelector will have it's entire UX configured through plain data and will
hoist user interactions through a standardized
> onInteraction: (BrowserToolbarEvent) -> Unit
call.
Differential Revision: https://phabricator.services.mozilla.com/D238984
2025-03-25 19:08:54 +00:00
Ryan VanderMeulen
d4312b4ad4
Bug 1955985 - Remove space-assignment usage in Gradle files. r=geckoview-reviewers,android-reviewers,webcompat-reviewers,twisniewski,adhingra,ohall
...
Differential Revision: https://phabricator.services.mozilla.com/D242727
2025-03-24 15:55:48 +00:00
Ryan VanderMeulen
1b7c05831c
Bug 1897958 - Update Gradle files for Kotlin 2.x and Compose Compiler changes. r=geckoview-reviewers,android-reviewers,tthibaud,owlish
...
Differential Revision: https://phabricator.services.mozilla.com/D213832
2025-03-06 23:24:14 +00:00
Nicholas Poon
57d1086512
Bug 1920085 - Part 2: Show page_portrait icon as site icon when displaying a local PDF r=android-reviewers,rsainani,android-l10n-reviewers,delphine
...
Differential Revision: https://phabricator.services.mozilla.com/D226690
2025-03-05 19:55:03 +00:00
Aaditya Dhingra
5f9d749a96
Bug 1949260 - Part 2 - Replace DependenciesPlugin with gradle version catalog. r=geckoview-reviewers,android-reviewers,webcompat-reviewers,nalexander,twisniewski,owlish,jonalmeida,tthibaud
...
Differential Revision: https://phabricator.services.mozilla.com/D238804
2025-03-03 17:12:25 +00:00
Mugurell
5f8b9ac891
Bug 1947735 - Allow building 'compose-browser' and 'toolbar' sample projects from root r=android-reviewers,jonalmeida
...
These were recently modified to showcase the composable toolbar integration.
Differential Revision: https://phabricator.services.mozilla.com/D237882
2025-02-19 03:24:31 +00:00
Gabriel Luong
9905e0b47c
Bug 1940636 - Add an initial custom tab toolbar implementation r=android-reviewers,jonalmeida
...
Differential Revision: https://phabricator.services.mozilla.com/D233612
2025-02-19 03:24:30 +00:00
Gabriel Luong
d399af8eef
Bug 1940634 - Add navigation, page and browser actions handling to BrowserDisplayToolbar r=android-reviewers,petru
...
Differential Revision: https://phabricator.services.mozilla.com/D233611
2025-02-19 03:24:30 +00:00
Gabriel Luong
dadaab8aa0
Bug 1940630 - Add search selector toolbar action as a custom toolbar action r=android-reviewers,petru
...
- Add a CustomAction to the toolbar action concept to allow for displaying a provided composable content.
- Add a SearchSelector toolbar action that can display a menu.
- Provide an usage example in sample-toolbar
Differential Revision: https://phabricator.services.mozilla.com/D233608
2025-02-19 03:24:29 +00:00
Gabriel Luong
7a79aaa63e
Bug 1940628 - Add an URL background to BrowserEditToolbar r=android-reviewers,petru
...
- Adds a customizable URL background color to BrowserEditToolbar
Differential Revision: https://phabricator.services.mozilla.com/D233606
2025-02-19 03:24:28 +00:00
Gabriel Luong
ada5444ba8
Bug 1940625 - Show compose-browser-toolbar as an option in samples-toolbar r=android-reviewers,petru
...
Differential Revision: https://phabricator.services.mozilla.com/D233603
2025-02-19 03:24:27 +00:00
mcarare
cf6fef3493
Bug 1900776 - Replace 'Enum.values()' with 'Enum.entries' r=android-reviewers,gl
...
'Enum.values()' is recommended to be replaced by 'Enum.entries' since Kotlin 1.9
Differential Revision: https://phabricator.services.mozilla.com/D219759
2024-08-21 16:18:34 +00:00
Ryan VanderMeulen
64a83627d2
Bug 1892162 - Explicitly declare AndroidX Core as a dependency in projects that use it. r=android-reviewers,amejiamarmol
...
This is effectively a no-op because we're already picking it up implicitly
from other AC modules, but it's better to be explicit to avoid unexpected
problems down the road if that situation happens to change.
Differential Revision: https://phabricator.services.mozilla.com/D208009
2024-04-24 12:47:09 +00:00
mcarare
06ab2382da
Bug 1849833 - Replace deprecated compileSdkVersion.
...
This is replaced by defaultConfig compileSdk.
2023-09-21 13:28:28 +00:00
Gabriel Luong
573533651e
Bug 1840210 - Rename mozac_ic_share to mozac_ic_share_android_24
2023-07-10 22:15:49 +00:00
Gabriel Luong
df0a8bcb71
Bug 1840210 - Rename mozac_ic_search to mozac_ic_search_24
2023-07-10 22:15:49 +00:00
Gabriel Luong
306637a196
Bug 1840210 - Rename mozac_ic_refresh to mozac_ic_arrow_clockwise_24
2023-07-10 22:15:49 +00:00
Gabriel Luong
d3b0e47be5
Bug 1840210 - Rename mozac_ic_info to mozac_ic_information_fill_24
2023-07-10 22:15:49 +00:00
Gabriel Luong
6eb3873250
Bug 1840210 - Rename mozac_ic_forward to mozac_ic_forward_24
2023-07-10 22:15:49 +00:00
Gabriel Luong
4d231b86f3
Bug 1840210 - Rename mozac_ic_back to mozac_ic_back_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
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
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
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