Commit Graph

31 Commits

Author SHA1 Message Date
Gabriel Luong
ad95f950bb For #24252 - Rename contrastText attribute to textOnColorPrimary 2022-03-14 22:08:08 +00:00
Gabriel Luong
a59d319eb0 For #24252 - Rename disabled attribute to textDisabled 2022-03-14 22:08:08 +00:00
Gabriel Luong
331dc3a8ec For #24252 - Rename secondaryText attribute to textSecondary 2022-03-14 22:08:08 +00:00
Gabriel Luong
f1e7b49425 For #24252 - Rename primaryText attribute to textPrimary 2022-03-14 22:08:08 +00:00
Gabriel Luong
b61830e680 For #23317 - Update inactive tab tray icon color to @color/fx_mobile_icon_color_primary_inactive 2022-01-20 22:21:53 +00:00
Gabriel Luong
69f4988a9a For #23317 - Update selected tab tray icon color to @color/fx_mobile_icon_color_active 2022-01-20 22:21:53 +00:00
Gabriel Luong
d8d1826b86 For #23281 - Replace @color/top_site_pager_dot_selected with @color/fx_mobile_action_color_indicator_active 2022-01-19 22:49:14 +00:00
Gabriel Luong
c3b126056c For #23281 - Replace @color/top_site_pager_dot with @color/fx_mobile_action_color_indicator_inactive 2022-01-19 22:49:14 +00:00
Gabriel Luong
b78fb3b2bd For #23263 - Replace @color/tab_tray_heading_icon_normal_theme with @color/accent_normal_theme 2022-01-18 21:48:21 +00:00
Gabriel Luong
2c22622edb For #22836 - Replace primary_text_private_theme with fx_mobile_private_text_color_primary color token 2021-12-14 19:30:00 +00:00
Elise Richards
9bfe9b0787
For FNX-22339: Recently saved bookmarks (#19835)
* Title and button for home screen recently saved bookmarks section

Create bookmark item view with favicon and title

* View holders and interactors for recently saved bookmarks

Recent bookmark item view holder binding

Create adapter for recent bookmarks. Implement controller methods. Implement view holder bindings for items

Top level adapter for recent bookmarks section

Retrieve list of recent bookmarks on home

View holders and interactors for recently saved bookmarks

Recent bookmark item view holder binding

Create adapter for recent bookmarks. Implement controller methods. Implement view holder bindings for items

Top level adapter for recent bookmarks section

Retrieve list of recent bookmarks on home

Update list on app start and when bookmarks are added

View holders and interactors for recently saved bookmarks

Recent bookmark item view holder binding

Create adapter for recent bookmarks. Implement controller methods. Implement view holder bindings for items

Top level adapter for recent bookmarks section

Retrieve list of recent bookmarks on home

Update list on app start and when bookmarks are added

Make a use case for retrieving and updating the list of recently saved bookmarks

Add adapter items and define header viewholder binding

Use session interactor for header button clicks. Bind in the adapter

* Retrieve list of bookmarks asynchronously on home

Interactor and controller tests

Address review comments

Split up tests for recent bookmarks

Update to new interactors

Dark mode and light mode styles

Refactor bookmarks home stuff

* Add RecentBookmarksFeature to home

Move interactor to SessionControlInteractor

Clean up lint, styles, and dimens.

* Bookmarks use case tests for retrieving recently saved bookmarks. Linting.

* View holder tests

* Match ux to designs for colors, margins, and scrolling

* Clean up clean up

* Tests for the view bound feature

* Controller test

* Clean up: check state of store in feature tests; ellipsize textviews for bookmark item; remove unused attr; format

Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
2021-07-09 19:36:20 +00:00
Elise Richards
e373f507a1
For FNX-22339: UI components for recently added bookmarks (#19953)
* Top level layout with recyclerview for recent bookmarks

* Add layout for recent bookmarked item, including strings and styles.

* Header layout for recently saved bookmarks

* Address review comments

* Include the header for recent bookmarks in the component layout

* Add dark theme colors for button and title styles

* Recent bookmark card title text color for dark mode/light mode
2021-06-11 15:03:58 -05:00
Priyanka
05c38d911e
For #19273 - Ensure a new line at the EOF is available in all xml files (#19295) 2021-04-29 15:06:46 -04:00
Gabriel Luong
04dcfa5cab
For #8312 - Show Top Sites in a ViewPager (#14116) 2020-08-24 19:52:33 -04:00
Elise Richards
023a4983fa
For #10173: login duplicates and save (#11208)
* Extract controller into it's own class. Implement find dupes and filter based on username.

Create edit login controller. Add text watchers and check for duplicates.

Edit controller test

* Find duplicates and save to store

* Retrieve duplicates from AC and check list on username text changed

Move duplicates logic into the controller

* Add glean pings for delete and edit. Move logic for login manipulation into the datastore.

* Use correct threads in controller. Enable save button when applicable.

Save enabled in datastore.

Move login data to datastore

Rebase with password error states

Update metrics to be more specific for edit

* Create logins controller for AC calls

* Interactor and controller methods for edit login. Add edit view to separate out some layout manipulation.

Inflate view in edit fragment. Double layout showing up.

Edit view

Controller tests

Controller tests passing

Interactor tests

Lint and detekt cleanup

* Remove datastore and use storage controller for all logins calls to password storage.

Addressed comments

Lint
:

Rebase - 1
2020-07-16 17:08:04 -05:00
Elise Richards
137d66a511
For 10172: Set edit text listeners (#11196)
* Set edit text listeners

* Set clearable icons and change with error states

* Clear text buttons show and hide

* Move error checks to afterTextChanged. Refactor. Remove unused color.
2020-06-10 16:52:47 -05:00
Jeff Boek
91402f9b38 For #10848 - Fixes icon colors and missing divider 2020-05-30 10:38:48 -07:00
David Walsh
56de4c4c65 reduce opacity of inactive non-private/private icon in light mode 2020-05-30 10:38:48 -07:00
David Walsh
b9370640a2 Update multi-task, private, 3-dot icon and hairline in light mode to ink_20 (#312A65) and in dark mode to violet_50 (#9059FF) 2020-05-30 10:38:48 -07:00
Jeff Boek
a674c5dfe7 For #10504 - cleans up tabLayout colors 2020-05-21 15:17:20 -07:00
Mihai Branescu
dd843b4989 For #10501 - use theme instead of tint to support older APIs 2020-05-11 19:22:00 +03:00
Mihai Branescu
18b6c29b4a For #8643 and #7606 - added new svgs for onboarding illustrations
RTL for toolbar are still missing
2020-05-06 09:18:27 +03:00
Mihai Branescu
a23bcebb5d For #8972 Replaced purple colors to match the rest of the app 2020-03-25 00:13:59 +02:00
Mihai Adrian
4eb71ce235
For #6980: Update ETP onboarding card (#7958) 2020-02-03 21:03:15 -08:00
Emily Kager
f698bdfcb5 For #5270 - Adds state list color for delete browsing checkboxes 2019-09-12 13:27:27 -07:00
Sawyer Blatz
28eb5c541a
For #1944 & #1750: Updates private & night mode colors (#4232) 2019-07-23 09:35:24 -07:00
Christian Sadilek
ccc7c70967 For #3252: Reader mode appearance buttons are not visible in PB
Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
Co-authored-by: Sawyer Blatz <sdblatz@gmail.com>
2019-06-11 18:02:29 -04:00
Emily Kager
9624964bc3 For #3087 - Adds disabled color attr (#3192)
* For #3087 - Adds disabled color attr

* Change alpha to 40%
2019-06-05 20:37:16 -05:00
Arturo Mejia
744f1be0a9 Closes #1411: Added disabled style for permissions site info panel. (#2354) 2019-05-10 20:23:18 -05:00
Sawyer Blatz
29832c5e84 For #724: Consolidates colors 2019-04-15 12:22:03 -05:00
Emily Kager
9cb252da40 For #1421 - Fix Shortcut ToggleButton states 2019-04-05 16:29:36 -07:00