Commit Graph
1071 Commits
Author SHA1 Message Date
AlexeyBarabash bcb5018842 Cleanup sync v1 migration (#20906)
* Removed Sync V1 => V2 migration code
* Moved obsolete sync prefs registration to RegisterProfilePrefsForMigration
2023-11-09 22:11:49 +02:00
AlexeyBarabash 00d2e6eab1 Untie from Android System Auto Sync settings (#20854)
* Removed code which checked Android System Auto Sync settings and shown informer/additional button
2023-11-07 13:43:17 +02:00
Jocelyn Liu fdf1bf2c89 [Android] Share the registration of wallet data files component with Desktop
- The timing of registration is controlled by core backend
- Remove RegisterWalletDataFilesComponentOnDemand in Android
- Remove wallet_data_files_installer_android_util

Authored by @AlexeyBarabash:
- Added Android onboaring page fragment
- Removed unused staff around Android's percentage progress while download Wallet component
2023-11-03 20:13:40 -07:00
Arthur Edelstein 4870753f46 Hide Aggressive Fingerprinting Protection behind a flag (#20316) 2023-11-01 10:27:10 -07:00
Tapan Modh a6733568c1 Merge pull request #20696 from brave/create_custom_filters_android
[Android] create custom filters
2023-11-01 17:08:53 +05:30
Artem Samoilenko 7aad89554d [Android] Define new colors for Private tabs 2023-10-30 08:13:04 -04:00
Artem Samoilenko ff0709ce40 [Android] Enabled private tabs lock with UI changes 2023-10-30 08:12:59 -04:00
tapanmodh 6207573cc3 create custom filters android 2023-10-30 12:59:35 +05:30
Arthur Edelstein bccdc83254 Remove HTTPS Everywhere (#19779) 2023-10-28 01:29:39 -04:00
Artem Samoilenko 1d74347abc [Android] Fix for private tab badge padding
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/37d04b2089c15cb152a8a559887a7d10c66572be

[APS] Update tooltip visibility and remove hover highlight for StatusView

- Remove tooltip when StatusIconView is not visible.
- remove hover highlight when StatusIconView is not visible(e.g. default engine is not Google).
- remove hover highlight when VerboseStatusText is visible(e.g. offline).

demo(default engine not Google): https://drive.google.com/file/d/1DPIhHtWN4RnjPvkysyCSfV_gd73ZMjPb/view?usp=sharing

demo(offline)
https://drive.google.com/file/d/1-1Y_t59i8AcxFv6sLpBE-kG2tsSGoi4s/view?usp=sharing

TODO: relocate the logic in StatusView to StatusViewBinder or StatusProperties.

Bug: 1476816, 1476802
2023-10-24 17:07:08 -04:00
deeppandya 430ce62112 Add path with host
Remove query from url
2023-10-19 16:15:21 -04:00
deeppandya 0f62d731ce Add expandable text view for url
Add textview with scroll
2023-10-19 16:15:12 -04:00
deeppandya 8b9c0d677c Remove userdrain tooltip 2023-10-16 12:46:52 -04:00
Serg 88dd443003 Adds Reset Leo data preference on Android 2023-10-13 11:47:11 -04:00
Tapan Modh 42dae6f7ba Merge pull request #20387 from brave/add_custom_filter_button_selector_android
[Android] add custom filter button selector
2023-10-11 17:31:59 +05:30
tapanmodh 4853839ca6 add custom filter button selector android 2023-10-11 15:39:56 +05:30
tapanmodh 7394b52557 display bookmark export file path android 2023-10-11 12:17:32 +05:30
Simone Arpe ec75711c56 (Wallet) Improve Wallet dark theme (#20465)
* Tweak primary text color and action bar background color

* Tweak chip selector colors

* Optimize text color attributes

* Network selector icon size

* Tweak Assets text view

* Apply new Wallet background color

* Tweak Wallet background color and toolbar background color

* Add divider lines below toolbar and above navigation bar

* Tweak bottom navigation view style and minor improvements

* Apply code formatting

* Remove duplicated style
2023-10-10 18:40:52 +02:00
Sujit 8f405437af Rewards tipping tablet UI 2023-10-05 18:16:31 +05:30
Pavneet Singh 5cc1421d7f Siwe android UI updates (#20293)
* Update error dialog to 2.0 design

* Update account and error dialog per 2.0

* Fix error dialog UI
2023-09-28 09:50:15 +05:30
Pavneet Singh 1de9f42545 Siwe 2.0 Sign panel and details dialog (#20168)
* implement SIWE 2.0 sign dialog

* Implement SIWE details section

* Use domain models

* Show origin

* Implement SIWE details dialog and formatting

* Update layout design

* Clean up

* Minor review changes

* Add spacing

* Add missing SIWE detail fields

* Fix item spacing

* Show resources and host in details dialog

* Fix formatting

* Remove host field
2023-09-25 19:33:05 +09:00
deeppandya 224fcbc5ad Add functions to get subscription values
Update subscription value to filter out free trial
2023-09-21 17:18:06 -04:00
deeppandya 0053ecabfd Remove resources for cookie consent notices modal 2023-09-20 14:13:41 -04:00
deeppandya 3dabeb93de Refactor end connection to InAppPurchaseWrapper only 2023-09-19 19:13:28 -04:00
Sujit Acharya 89c0151cb9 Merge pull request #20149 from brave/32964_adjust_margin_earnings_so_far
Adjust estimated right margin
2023-09-14 11:56:09 +05:30
Anthony Tseng 0f85f8b040 Merge pull request #19443 from brave/siwe-eip-4361
Sign-In with Ethereum
2023-09-13 14:01:56 -07:00
Sujit 245b2569c6 Adjust estimated right margin 2023-09-13 23:13:53 +05:30
AlexeyBarabash 961a275d58 Fixed codereview notice - new line at the end 2023-09-13 09:10:52 -07:00
AlexeyBarabash 8ac80cf04d Fixed codereview notices around fragment_sign_message_error.xml 2023-09-13 09:10:52 -07:00
AlexeyBarabash 0b104d7d3e SIWE - Android UI part, error flow 2023-09-13 09:10:51 -07:00
tapanmodh e6863eb2e8 default filter list settings android 2023-09-13 13:42:04 +05:30
deeppandya 6a045730ad Update tooltip UI 2023-09-08 13:17:30 -04:00
deeppandya d01114a1ab Add native function for grandfather user
Update existing logic
2023-09-08 13:17:25 -04:00
deeppandya 5e4059b841 Add string copy 2023-09-08 13:17:22 -04:00
deeppandya 83bb3cc732 Add vbat userdrain tooltip layout 2023-09-08 13:17:19 -04:00
deeppandya 99f2449a24 Update livedata behavior for connection
Update plan UI

Update vpn state with connection state
2023-09-08 02:04:02 -04:00
Serg e642dcaa03 Merge pull request #20023 from brave/android_ai
Expose AI chat flag on Android
2023-09-07 11:09:31 -04:00
wchen342 22d3592a82 Merge pull request #18958 from brave/android_widevine_support
[Android] Enable system Widevine support
2023-09-06 19:56:20 +00:00
Serg aef53a8cb7 Enables AI chat on Android 2023-09-06 15:53:16 -04:00
Deep Pandya f117b90fd3 Merge pull request #20015 from brave/add_rewards_onboarding_tos_disclaimer_android
Add rewards onboarding tos disclaimer android
2023-09-06 15:11:03 -04:00
Max Karolinskiy 04ef97c9a3 Merge pull request #19398 from brave/cr117
Upgrade from Chromium 116 to Chromium 117
2023-09-06 14:21:54 -04:00
wchen342 3f88038b20 Fixes 2023-09-06 21:14:38 +03:00
Simone Arpe 6f5591994d Tweak portfolio UI and add option to show hidden NFTs (#19990) 2023-09-06 13:43:02 +02:00
Artem Samoilenko a0ad3c094b [Android] [Empty States] Add tablet illustration to recent tab
Chromium change:
https://github.com/brave/chromium/commit/6c891621562a604a4081d2279ab182297d68e4f1

[Empty States] Add tablet illustration to recent tab
Tablet: https://screenshot.googleplex.com/3irSZPrQihe4Aes
Phone: https://screenshot.googleplex.com/5uYdnTStBGA6Xre

Bug: 1468426
2023-09-06 12:38:50 +01:00
Artem Samoilenko 4d7af65e5c [Android] New dialogs for empty states
There are new dialogs that are shown when there are no items to show
(eg. no tabs to show, no history, no downdoaded items etc.). Design team
provided new icons for those dialogs.

Chromium changes:
https://github.com/brave/chromium/commit/29065911522b05a09c397504c8ca4f932c6a77af

Reland "[Empty States] Add empty state illustrations to tab switcher UI"
This is a reland of commit e108b3c

- Previously we rely solely on mModel to determine whether tab switcher is in empty state, however, mModel gets reset to null every time in a postHidingCleanup and thus caused the empty view to show up unexpectedly after ~30s of closing tab switcher. To address this issue, we used a     boolean mIsTabSwitcherShowing in TabListEmptyCoordinator. We set the boolean to true from TabListCoordinator.prepareTabSwitcherView() and set it to false from TabListCoordinator.postHiding. That way, we would know whether the mModel signal is from the actual tab switcher usage or from a cleanup.

Phone demo: https://drive.google.com/file/d/15tmY9gKVocYcUSzC40CCOkuiLX3KoCra/view?usp=sharing

Tablet demo:
https://drive.google.com/file/d/15vT6d-lRE8b2p3XJIhZawb7mmTKTeq9J/view?usp=sharing

Bug: 1431589, 1431588

Original change's description:
> [Empty States] Add empty state illustrations to tab switcher UI
>
> - Add TabListEmptyCoordinator class to initialize empty state resources and use ListObserver to observe mModel to decide when to add /remove empty view.
>     - Add empty view when user close a tab and tab count drops to 0.
>     - Remove empty state view when user add tab
>
> - Apply phone_tab_switcher_empty_state_illustration.xml to icon image view when form factor is phone.
> - Apply tablet_tab_switcher_empty_state_illustration.xml to icon image view when form factor is tablet.
>
> Phone demo: https://drive.google.com/file/d/17deVSRomQUQ1wj5Ml04FTM3tJ0ZXXKZo/view?usp=sharing
> Tablet demo: https://drive.google.com/file/d/1012QQcwxmBoqx7TUjOun7BlO6z2sP4o6/view?usp=sharing
>
> Change-Id: I43b89866ae612a05912b0256790cd538b38417f5
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4531843
> Reviewed-by: Theresa Sullivan <twellington@chromium.org>
> Commit-Queue: Theresa Sullivan <twellington@chromium.org>
> Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com>
> Cr-Commit-Position: refs/heads/main@{#1147331}

Change-Id: I0126b9a34bca7f0194b2f08c39495c19020cb618

https://github.com/brave/chromium/commit/8128eb6222ea1d237fc2ac0393e40c8ac2de4f1c

[Empty States] Add empty state illustration to Download page
- Add empty state vector drawable and layout.
  - Added downloads_empty_state_illustration.xml
  - Added downloads_empty_state_view.xml (switch to this new layout when FF is enabled)

- Use GM3 Material colors for empty state icon.
  - Since we currently can only use GM3 tokens to get Material dynamic colors in v31 or above, we have to define some not pre-existing GM3 baseline colors with values in color_palette.xml for pre-v31.
  - GM3 Material dynamic colors defined in (need google3 MaterialComponent dependency):  components/browser_ui/styles/android/java/res/values-v31/colors.xml
  - GM3 Material baseline colors defined in: ui/android/java/res/values/color_palette.xml

- Add Download empty state text strings
  - IDS_DOWNLOAD_MANAGER_NO_DOWNLOADS_EMPTY_STATE
  - IDS_DOWNLOAD_MANAGER_NO_DOWNLOADS_VIEW_OFFLINE_OR_SHARE

Tablet demo:
https://drive.google.com/file/d/1MAtvIlV5sw5U9-zSBmhvfZerqt8jpXfr/view?usp=sharing
Phone demo:
https://drive.google.com/file/d/11TchlrDojWS1XKr6pHtw5ihH_cKdXnT8/view?usp=sharing

Spec: https://www.figma.com/file/wuV3Cx7zhj5O9Hydi7Qxaz/clank-empty-states?node-id=0-1&t=XSFbBmuUjClfkrkH-0

Bug: 1431575

https://github.com/brave/chromium/commit/35223bcab6b70ebf9d01a92715fa3d63965d98d5

[Empty States] Add empty state illustration to History page
- Add empty state vector drawable and layout.
  - Added history_empty_state_illustration.xml
  - Added history_empty_state_view.xml

- In HistoryManager.java, call #mSelectableListLayout.initializeEmptyStateView when Empty State FF is enabled.

- Use ViewStub as Empty State view holder in SelectableListLayout.xml and inflate layout in SelectableListLayout.java when Empty State FF is enabled.

- Add History empty state text strings
  - IDS_HISTORY_MANAGER_EMPTY_STATE
  - IDS_HISTORY_MANAGER_EMPTY_STATE_VIEW_OR_CLEAR_PAGE_VISITED

Phone Demo: https://drive.google.com/file/d/13FUM_x9ooStyZfo6gi4ZtniQdf2Sv4oD/view?usp=sharing
Tablet Demo: https://drive.google.com/file/d/1M8kyncAFdbkY-uCXeoQZlphIOd11zf8a/view?usp=sharing

Bug: 1431575

https://github.com/brave/chromium/commit/f45eef2ccb48048ce510318e17804c9f3155a9e4

[Empty States] Add empty state illustration to Bookmark & Reading lis…
…t pages

- Add bookmark_empty_state_illustration.xml & reading_list_empty_state_illustration.xml
- Initialize Empty State view in BookmarkManagerCoordinator
- Set string and image resources in BookmarkManagerMediator depending  on if we are in bookmark or reading list folder

Phone demo: https://drive.google.com/file/d/11CBTJz4g9mI-X27C8chmdKFJg6WMgwMQ/view?usp=sharing
Tablet demo: https://drive.google.com/file/d/12-8oYox0g806mB3TFJqpzps4u1mMNLl7/view?usp=sharing

Bug: 1431572, 1431580
2023-09-06 12:38:48 +01:00
Artem Samoilenko dedafca97d [Android] Fix for conflicting string error 2023-09-06 12:38:46 +01:00
Artem Samoilenko eb0580e5a3 [Android] Rename baseline neutral colors
Chromium change:
https://chromium.googlesource.com/chromium/src/+/5c79b41d11275a26499f6969fbb21dd9f4c19de9

[GMNext] Rename baseline neutral colors

This CL updates the baseline neutral colors to align with the new GM3
tonal palette names, i.e. 0 to 1000 with 1000 being black to 0 to 100
with 100 being white.

Bug: 1441952
2023-09-06 12:38:45 +01:00
deeppandya 9b81691128 Add terms of service on rewards onboarding 2023-09-06 03:24:56 -04:00
deeppandya 72e7ac2ebe Add image resources
Update existing changes
2023-09-05 09:54:00 -04:00
deeppandya 605647d888 Update payout logic with UI
Add string resources for payout status
2023-09-05 09:53:58 -04:00