Commit Graph
266 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
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 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
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
tapanmodh 4853839ca6 add custom filter button selector android 2023-10-11 15:39:56 +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 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 0053ecabfd Remove resources for cookie consent notices modal 2023-09-20 14:13:41 -04:00
AlexeyBarabash 0b104d7d3e SIWE - Android UI part, error flow 2023-09-13 09:10:51 -07:00
deeppandya 83bb3cc732 Add vbat userdrain tooltip layout 2023-09-08 13:17:19 -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
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 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 72e7ac2ebe Add image resources
Update existing changes
2023-09-05 09:54:00 -04:00
deeppandya 178298ca2d Add background resources for payout banner
Update UI in existing rewards panel
2023-09-05 09:53:55 -04:00
wchen342 4ade65e7e7 Review fixes 2023-09-01 18:33:15 +03:00
wchen342 a0499c1f74 Presubmit, gn and test fixes 2023-09-01 18:31:22 +03:00
Pavneet Singh a870f8c6ac Allow multiple network selection (#19959)
* Implement multi network selector and resolve conflicts

* Remove selected network

* Rename type to mode

* Fetch assets of selected networks

* Formatting

* Show selected networks and add close option

* Update network selector button

* Implement empty asset state

* Fix NFT empty and loading state

* Update colors

* Add divider

* Fix ups

* Add strings and clean up

* Minor review changes
2023-09-01 09:44:52 -04:00
Simone Arpe b060996654 Redesign Wallet navigation and merge assets and NFTs into single section (#19811) 2023-08-24 15:34:13 +02:00
deeppandya 1da35d62da Add zebpay icons
Update copy to make with brand name
2023-08-22 23:09:24 -04:00
deeppandya 2fe188561e Add changes for zebpay in rewards 2023-08-22 23:09:17 -04:00
Sujit d0e5a691a3 Accessibility Low contrast 2023-08-21 18:23:26 +05:30
Pavneet Singh 63d856e878 Show help centre (#19692)
* implement help center menu option

* Fix panel menu icon color

* Fix presubmit warnings
2023-08-16 10:40:30 -04:00
Simone Arpe 2662c68905 Redesign Brave Wallet main layout introducing latest material 2 components (#19650) 2023-08-15 15:24:40 +02:00
Anton Paymyshev 2869ec9e3f remove unused code (#19620) 2023-08-09 10:31:32 -04:00
Sujit 11158d91bc Brave Rewards manage ads 2023-07-25 00:22:48 +05:30
Sujit fa88bcc918 Rewards onBoarding 2023-07-05 20:08:23 +05:30
Pavneet Singh 7aee3ddf21 Add network selector in add asset dialog (#18982)
* add network selector in add asset dialog

* fix text and button colors

* fix button spacing

* clean up

* fix typo
2023-06-22 11:38:20 +05:30
Sujit 6c806d1a92 Update rewards verified icon 2023-06-15 14:20:47 +05:30
Simone Arpe 743e4fe207 (Wallet) Add market tab (#18691)
Implements new market tab section showing the first 250 assets.
Implements shimmer effect while loading.
2023-06-01 18:32:00 +02:00
Sujit 53c7b1d3e8 Implement Estimated Earnings indicator 2.0 2023-06-01 10:17:27 +05:30
wchen342 fee22de85a [Android] Remove legacy swap code 2023-05-25 09:31:12 +03:00
Sujit 8aee67bb70 Delete BraveRewardsDonationSentActivity 2023-05-19 22:01:23 +05:30
Simone Arpe 2a6b46f8c8 (Wallet) Add Filecoin support (#18144)
* Adds support for Filecoin when creating a new account.
* Includes Filecoin flag to Android feature list retrieved from Core. (Disabled by default)
* Handles creation, renaming, and import of Filecoin accounts.
2023-05-18 12:12:14 +02:00
Tapan Modh 87c07a9170 Merge pull request #17821 from brave/import_export_bookmarks_android
import export bookmarks android
2023-05-13 23:23:33 +05:30
Sujit Acharya cb6171363f p2p tipping banner 2023-05-13 15:20:54 +05:30
tapanmodh d4cfc48a90 import export bookmarks android 2023-05-11 01:13:41 +05:30
Tapan Modh e9c409cb29 Merge pull request #18253 from brave/brave_news_no_sources_card_android
[Android] brave news no sources card
2023-05-02 20:02:46 +05:30
tapanmodh 5bd8578a92 brave news no sources card android 2023-05-01 16:49:20 +05:30
Pavneet Singh 6ca2c1cb90 Show NFT discovery dialog (#18185)
* add strings and link constant

* add and update reusable strings

* add brave wallet alert dialog layout

* keep actionable strings together

* rename xml and formatting

* update position of buttons  and style

* show nft discovery dialog

* update null check

* add NFT auto discovery option in settings

* formatting

* fix tag length

* add NFT discovery summary

* update builder name, data type, and clean up

* - add learn more link of nft discovery in settings
- resolve conflicts
2023-04-26 19:04:20 +05:30