1
0
Fork 0
Commit Graph

42 Commits (88ed1e48156684f7d192e40598c2cfa2f25ccb79)

Author SHA1 Message Date
David Walsh 88ed1e4815 For #7207 - Use accessible color for about links in dark mode 2020-02-07 15:50:08 -08:00
Severin Rudie 6909a76bcb
4281 remove qab (#6310)
* For #4281: small ToolbarMenu refactor

This makes it easier to see how items are ordered in the menuItems list

* For 4281: add QAB buttons to menu

* For 4281: removed menu back button per mocks

I double checked with UX, and we'll be relying on the hardware back button for its functionality

* For 4281: add content descriptions for bookmarking

* For 4281: updated BrowserToolbarController for new functionality

* For 4281: provided simple dependencies to browser controller

More complex changes will be in a following commit, for review readability

* For 4281: move toolbar controller dependencies up to BaseBrowserFragment

The functionality they control is being moved into the toolbar menu, which is shared by both normal tabs and custom ones

* For 4281: removed (now unused) code related to QAB

* For 4281: fix test compilation after QAB removal

Tests still need to be expanded to include added functionality

* For 4281: updated menu to show if url is bookmarked

This sloppy workaround is required because TwoStateButton requires that `isInPrimaryState` be a synchronous call, and checking whether or not the current site is bookmarked is quite slow (10-50 MS, in my tests).  After days of work and many attempted solutions, this was the least abhorrent among them.

https://github.com/mozilla-mobile/android-components/issues/4915 was opened against AC to evaluate potentially supporting async `isInPrimaryState` functions.
https://github.com/mozilla-mobile/fenix/issues/6370 was opened against Fenix to investigate the unexpectedly slow call to `BookmarkStorage`.

* For 4281: update reader mode switch

* For 4281: selectively show/hide menu items

* For 4281: add reader mode appearance

* For 4281: update bookmark button when it is clicked

* For 4281: removed unused QAB code

* For 4281: removed QAB robot, updated UI tests

* For 4281: removed QuickActionSheet metrics

Since this behavior now lives in the toolbar, it is tracked via Event.BrowserMenuItemTapped

* For 4281: fixed lint errors

* For 4281: add new strings for buttons added to menu

This is necessary because the location change (from QAB to toolbar menu) could affect the grammar in some languages

* For 4281: remove outdated TODOs

* For 4281: removed QAB container

* For 4281: removed back button reference from UI test

This button no longer exists

* For 4821: Fixes a visual defect (extra padding on top of toolbar)

* For 4281: update copy on reader mode

* For 4281: fixed review nits
2019-11-11 17:10:14 -08:00
mcarare 41c9b9e958 For #1487 Add "my library" menu category and items to home 3-dot menu 2019-10-31 11:29:49 -07:00
Sawyer Blatz 2f0d8d8243 For #5712: Updates text color for fill link from clipboard 2019-10-01 16:29:39 -07:00
Jeff Boek 5c092c1ef1 For #561 - Adds shadow/highlightto the bottom bar 2019-09-25 10:06:38 -07:00
Emily Kager bafbea1512 No issue: Set color for toolbar divider (#5221) 2019-09-11 11:46:00 -07:00
Emily Kager 4485b7f647 Add Tracking Protection Info Panel 2019-09-11 07:47:13 -07:00
Colin Lee 5b4a441bcb For #1667: Screen reader can't reach other UI items when QAB expanded (#4695) 2019-08-14 09:56:29 -07:00
Sawyer Blatz 437ecfbca8
For #1750: Adds gradient to private BrowserToolbar (#4361)
Also updates the color of quickActionSheet ot be "above" attribute
2019-07-30 09:19:48 -07:00
Sawyer Blatz 28eb5c541a
For #1944 & #1750: Updates private & night mode colors (#4232) 2019-07-23 09:35:24 -07:00
Sawyer Blatz becdb88f4b Revert "For #1944 & #1750: Updates private & night mode colors (#4162)"
This reverts commit 2c95bb614a.
2019-07-18 19:55:56 -04:00
Sawyer Blatz 2c95bb614a
For #1944 & #1750: Updates private & night mode colors (#4162) 2019-07-18 11:22:07 -07:00
Emily Kager a941b875b4 For #3439 - Clean up where accent colors didn't work with dark theming 2019-06-13 22:39:00 -07: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
Jeff Boek 3006b21508 For #225 - Adds list items for delete browsing data 2019-05-24 17:16:03 -07:00
Emily Kager d347f73e69 For #2389 - Create Theme Onboarding Card 2019-05-20 11:10:20 -07:00
Jeff Boek 5c45064fbb For #1843 - Fixes color for dialog overlay 2019-04-24 14:29:23 -07:00
Sawyer Blatz 41e8acf05f For #724: Adds contrastText color for buttons using accent backgrounds 2019-04-23 09:57:54 -07:00
Sawyer Blatz 0f367a018a For #724: Corrects colors for all themes 2019-04-19 13:46:43 -07:00
Sawyer Blatz 29832c5e84 For #724: Consolidates colors 2019-04-15 12:22:03 -05:00
Colin Lee bc1b7e0b43 For #1539: Add bookmark multi-select features 2019-04-12 13:35:28 -05:00
Jeff Boek b306bc502a For #1430 - Adjust snackbar colors for darkmode 2019-04-10 09:58:00 -07:00
Colin Lee b54d4d1d58 Closes #1312, #1236, #1237, #1238, #1239: Creating, Editing, and Deleting Bookmarks and Bookmark Folders 2019-04-08 14:48:36 -05:00
Emily Kager 5d1738e011 For #208 - Dark Mode UX edits 2019-04-04 19:35:36 -07:00
Emily Kager 16127c31a8 For #1049 - Add photon gradient drawable for progressbar 2019-04-03 19:10:27 -05:00
Emily Kager a2200b6335 For #208 - Dark/Night Theme 2019-04-02 22:18:11 -05:00
Sawyer Blatz 36af5107c6
Closes #875: Adds search shortcuts (#882)
* Closes #875: Adds shortcuts

* Refactor and clean up

* Remove TODO

* Removes local

* Fix nits

* Refactors to add ShortcutEngineManager
2019-03-29 13:49:50 -07:00
Emily Kager 5a839167fc No issue: Tune Home and Library UI from Updated Mocks 2019-03-21 23:28:52 -05:00
Sawyer Blatz 05353ee2e1 For #1072: Fixes theming 2019-03-21 12:54:08 -05:00
Emily Kager 8c2f80a3ef Closes #654 - Use new two state button for menu toolbar buttons 2019-03-13 13:52:45 -07:00
Emily Kager dc257a09aa Closes #873 - Themes History Fragment colors 2019-03-12 10:20:10 -07:00
Sawyer Blatz 000a2236a2
Closes #505: Themes autocomplete highlight (#582)
* Closes #505: Themes autocomplete highlight

* Add Autocomplete highlight color

* Re-add getView fun which is used elsewhere in master

* Remove Test imports that aren't found
2019-03-04 09:04:40 -08:00
Sawyer Blatz 2f13c3f9f2
Closes #630: Polishes tab UI (#686) 2019-02-28 08:36:45 -08:00
ekager 7baafe2c37 Closes #647 - Private Mode Inherit from Dark Theme 2019-02-25 11:18:46 -08:00
Sawyer Blatz e5fe80f928
Closes #347: Adds private browsing logic (#506)
* For #347: Adds private browsing logic

*  For #347: Adds private session explainer

* Adds persistence
2019-02-15 09:31:03 -08:00
Emily Kager 06890d0837 Closes #487 - Replace home toolbar icon with tabs icon 2019-02-13 15:33:55 -08:00
Sawyer Blatz 7531bc56f2 Closes #476: Adds browserToolbarMenuIcon theming 2019-02-13 12:56:04 -06:00
Emily Kager ffd3049d99 Closes #463 - Add attr for home divider color for private mode theming 2019-02-12 17:14:27 -08:00
Sawyer Blatz d543d776b1 Closes #438: Adds dynamic nav bar color 2019-02-12 13:56:43 -06:00
Sawyer Blatz 8347c82030
Fixes #433: Corrects URL text field color (#437) 2019-02-11 14:24:51 -08:00
Sawyer Blatz d09dc149ed
Closes #363 & Closes #364: Adds private browsing theme (#405)
* For #345 #346 - Adds private browsing theme

Co-authored-by: Sawyer Blatz <sdblatz@gmail.com>

* Abstracts theme management

* Theme browser toolbar

* Remove unused imports

* Begin work on sharedPreferences

* fix lint

* #346 - Refactors ThemeManager to take a callback

* Adds clean status bar and nav bar

* lint

* Themes settings icons better

* Small clean up
2019-02-08 09:43:17 -08:00
Emily Kager 4f3c0ee8ad Closes #378 - Creates Library Fragment UI and adds resources 2019-02-06 08:04:04 -08:00