1
0
Fork 0
Commit Graph

174 Commits (69a9aeebae193107ba122bf60e5b60386666d85b)

Author SHA1 Message Date
Sawyer Blatz 2896b36d14
No issue: Updates naming of launch links privately var (#5701)
The previous name was pretty confusing
2019-10-02 12:11:21 -07:00
Sawyer Blatz c8af16bd47
For #5679: Hides autoplay behind feature flag (#5685) 2019-09-30 12:01:04 -07:00
Sawyer Blatz 7f328a6dc4
For #1298: Adds adjustCampaignId to core ping (#5579) 2019-09-27 08:56:33 -07:00
Sawyer Blatz b6e6e36ccd For #561: Fix stutter of search icon & text when animating 2019-09-25 10:06:38 -07:00
Sawyer Blatz 75a25c9bd0 For #561: Fix linting issue 2019-09-25 10:06:38 -07:00
Jeff Boek c592a69aad For #561 - Fixes snackbar placement on homeview 2019-09-25 10:06:38 -07:00
Emily Kager 25e2a7abfc For #2765 - Run places maintenance daily (#5466) 2019-09-24 10:50:11 -07:00
Tiger Oakes 6c30a94081 Move settings classes to packages 2019-09-20 12:36:15 -07:00
Sawyer Blatz 6f3d7b4ee8 For #5396: Adds "always launch in private mode" to settings 2019-09-20 08:33:07 -07:00
Colin Lee 1aa4f5a519 For #255: Toggle Media Autoplay 2019-09-19 15:13:04 -07:00
Sawyer Blatz 2db2d9ceae For #1744: Adds tests for clipboard 2019-09-19 08:24:27 -07:00
Sawyer Blatz e961a9d63d For #1744: Adds clipboard provider to search engine screen 2019-09-19 08:24:27 -07:00
Tiger Oakes 1777b5a830 Use enum to simplify delete on quit code 2019-09-18 20:20:08 -07:00
Tiger Oakes 42bb3e1410 Change deleteAndQuit to take an activity 2019-09-15 20:03:04 -07:00
Emily Kager da37dedba3 For #5279 - Don't use runBlocking in delete and quit 2019-09-14 11:18:43 -07:00
Emily Kager e3209dcc84 For #3700 - Add Setting to Delete Data on "Quit" menu action 2019-09-11 16:06:18 -07:00
Emily Kager 418b1ba890 For #1749 - Use Strict ETP by default, use Feature Flag for Settings 2019-09-11 16:03:01 -07:00
Yeon Taek Jeong 2e2bac4ccd
For #419: Create launch icon for private browsing (#4948) 2019-09-11 10:52:33 -07:00
Emily Kager 4485b7f647 Add Tracking Protection Info Panel 2019-09-11 07:47:13 -07:00
Tiger Oakes 3c07cacf4d Use A-C preferences property delegates 2019-09-10 13:19:00 -07:00
Sawyer Blatz 2653b5966e
For #964: Adds ability to disable each suggestion provider (#5096)
* For #964: Adds ability to disable each suggestion provider

* Fix nit
2019-09-05 14:45:44 -07:00
Emily Kager 7b5ed2673b For #4863 - Remove delay in HomeFragment onPreDraw 2019-08-28 13:48:14 -04:00
Emily Kager 1cf8a40059 For #4295 - Adds Experiments Pref to Data Collection Settings (#4915) 2019-08-27 12:56:16 -07:00
Tiger Oakes 79e58250fc Make `Settings.instance` private 2019-08-22 08:14:08 -07:00
Tiger Oakes aab357845b No issue: Clean up preferences code (#4699) 2019-08-21 08:38:14 -07:00
Tiger Oakes 33f3b14c29 Adds setters and property delegates in `Settings` (#4809)
* Change Settings to use setters

* Add delegate for shared preferences
2019-08-20 10:47:55 -07:00
Mugurell ab6e7dc52b Fix 4827 - Use ktx doOnPreDraw() to restore HomeFragment's layout
The previous solution would result in a crash because the passed in
viewTreeObserver that would trigger onPreDraw would be invalid.
The proposed solution is simpler and ensures we'll always use the right
viewTreeObserver.

`FragmentPreDrawManager` is general enough that can be used by other Fragments
also, so I've added it to the `utils` package.
2019-08-20 13:45:55 +02:00
Yeon Taek Jeong 67f3b63ae5
For #4421: Add search widget attribute to Leanplum (#4694) 2019-08-14 12:00:29 -07:00
Sawyer Blatz 4566bd6fba Fixes feedback 2019-08-07 16:41:29 -07:00
Tiger Oakes 88c05a5f43 Use glide-like image loading function 2019-07-29 10:22:23 -07:00
Tiger Oakes c2e6e25bef Fixes #4005 - Move getColorFromAttr to Context 2019-07-26 16:44:11 -04:00
Tiger Oakes 5de1678e65 No issue: Use putCompoundDrawables helper (#3982) 2019-07-15 08:24:59 -07:00
Tiger Oakes ef8d9604ae No issue: Normalize license header comment (#3909) 2019-07-12 11:38:15 -07:00
Emily Kager bed926c317 For #3834 - Initialize job in init 2019-07-01 16:26:46 -07:00
Tiger Oakes 8cd1a0cb38 Move adapter Job setup code to helper class (#3407) 2019-07-01 13:34:25 -05:00
Tiger Oakes 30930cdc88 Import variables referred to by path 2019-06-25 13:57:34 -07:00
Tiger Oakes d01bb8c442 Use lifecycleScope for collections fragments 2019-06-25 13:56:15 -07:00
Denys M 6d6b240e48 Add unit tests for `Settings`.
Add unit tests for `Settings`.
2019-06-24 16:02:34 -07:00
Emily Kager b1102c2e76 For #3544 - Set SearchSuggestions preference value from settings 2019-06-18 16:56:34 -07:00
Grisha Kruglov fe3c163a20 Fix how we reflect FxA state in preference
This cleans up how we're displaying account state in the main preference UI.
Before when it worked, it worked mostly accidentally.
'launch' wrapper around "update ui" methods would trigger a race condition
between binding the account pref view holder and actually updating that view
with values. Sometimes the "update view with values" would happen after view
was bound, and the UI will be correct. Most of the time it would happen before,
and so there will be nothing to update and we'd get into an inconsistent state.

This also splits up the "accountpreference" into two: account is good,
and account needs re-auth. This greatly simplifies their management.
2019-06-05 14:38:06 -07:00
Jeff Boek a7d5cdcb9d For #2723 - Fixes theme manager 2019-05-30 16:38:31 -07:00
Sawyer Blatz b8c04e02e9 For #2327: Fixes nits 2019-05-30 11:45:39 -07:00
Sawyer Blatz fe50e88fc8 For #2327: Adds error state syncing 2019-05-30 11:45:39 -07:00
Grisha Kruglov 5f42a65c2a No issue: improve allowUndo
This patch fixes a few issues:
- it was an extension on a CoroutineScope, but that was quite misleading
since the Main dispatcher would be always used regardless of what dispatcher
the owning CoroutineScope was configured with.
- timing was reliant on exact value of the undocumented Snackbar.LENGTH_LONG duration
- coroutine cancellation relied on cooperation of the 'operation' suspend function,
which we can't depend on

New 'allowUndo' fully controls its timing, doesn't imply a dispatcher to its consumers,
and doesn't rely on cooperation of passed-in suspend blocks for cancellation to work.
2019-05-30 10:48:59 -07:00
Emily Kager 833290799e For #1286 - Add Automatic Font Sizing Preference 2019-05-24 09:42:05 -07:00
Emily Kager e00380960f Add Accessibility Fragment and Text Size Adjustment Setting 2019-05-16 22:26:54 -07:00
Jeff Boek 27d8c09def
Fixes #1735 - adds the ability to write code against the build channel (#2388) 2019-05-09 22:05:49 +00:00
Emily Kager 1c7f48be5b For #2214 - Use Settings + SharedPreferences for Private Mode (#2215)
* For #2214 - Use Settings + SharedPreferences for Private Mode

* Update other values to use SharedPreferences
2019-05-02 10:59:13 -05:00
Emily Kager 2953b54a84 For #1573 - Polish Collections UI Component (#2212)
* Adds Keyboard resuming, Snackbar verification, layout edits to collections

Adds Keyboard resuming, Snackbar verification, layout edits to collections

* Adds new strings for collections/tabs management

* Adds constraintsets, hides checkboxes, adds scrim

* Update strings to plurals
2019-05-02 10:53:40 -05:00
Mitchell Hentges 92b6d4a925 Moves release flavour to build type (#1693) 2019-04-22 11:02:39 -07:00
Sawyer Blatz 23edd2559d
For #933: Adds caching of sign in state (#1647) 2019-04-16 08:00:28 -07:00
Colin Lee 5d6112da05 No issue: Missing clear button in edit bookmarks UI 2019-04-15 13:17:41 -05:00
Emily Kager 068744eb96 For #1084 - Add Setting to enable/disable TP 2019-04-12 19:05:25 -05:00
Emily Kager 5f0fe216cb For #1375 - Suppress history suggestions in awesome bar via setting 2019-04-10 16:45:02 -05:00
Jeff Boek b306bc502a For #1430 - Adjust snackbar colors for darkmode 2019-04-10 09:58:00 -07:00
Jeff Boek cd75b28b8f No longer require a viewgroup to use FenixSnackbar 2019-04-10 09:58:00 -07:00
Arturo Mejia 5b2417826e Closes #1429: Updated site permissions ui for MVP 2019-04-08 10:47:00 -05:00
Jeff Boek 26fd32abed For #1430 - Moves magic numbers to constants 2019-04-05 14:50:54 -07:00
Jeff Boek 2ce72139e3 For #1430 - Replaces existing snackbar and adapts text size 2019-04-05 14:50:54 -07:00
Emily Kager 5d1738e011 For #208 - Dark Mode UX edits 2019-04-04 19:35:36 -07:00
Arturo Mejia 4489edd97b Closes #1165: Added Doorhanger to the toolbar. 2019-04-03 21:51:13 -05:00
Sawyer Blatz edc9d31729 Fixes #1219: Display crash reporter (without reporting) on all builds 2019-04-03 11:10:51 -05:00
Emily Kager a2200b6335 For #208 - Dark/Night Theme 2019-04-02 22:18:11 -05:00
Arturo Mejia 061b6f3cd5 Closes #1167: Added behavior for site permissions custom settings. 2019-03-29 23:28:10 -05:00
Arturo Mejia 289785be90 Closes #1166: Added behavior for site permissions recommended settings. 2019-03-29 10:19:23 -07:00
Colin Lee df40ec970e Simplify ItsNotBrokenSnack() and make resilient
Co-authored by: Emily Kager <ekager@mozilla.com>
2019-03-22 15:00:38 -05:00
Emily Kager 4963f7ccdb Add Snackbar to link testers to Github issue for features 2019-03-22 15:00:38 -05:00
ekager 80f386c411 Closes #120 - Add Preference for Remote Debugging
Co-authored-by: Emily Kager <ekager@mozilla.com>
2019-03-22 14:44:39 -05:00
Sawyer Blatz c44e378385
Closes #1062 & Closes #1121: Restyles crash reporter fragment (#1122) 2019-03-22 10:05:16 -07:00
Sawyer Blatz 6dcc026e04 For #1072: Adds accessibility support 2019-03-21 12:54:08 -05:00
Sawyer Blatz 486bfc2d68 For #1072: Adds cap to auto bounce 2019-03-21 12:54:08 -05:00
Emily Kager 8cfdae7973 Closes #1045 - Add crash reporting bool to settings 2019-03-17 02:29:04 -05:00
Jeff Boek dae42a7451 Fixes #945 - Ties leanplum to telemetry toggle 2019-03-11 11:46:11 -07:00
Emily Kager d15e4bb3fa Closes #877 - Add Search Engine Settings 2019-03-06 16:20:35 -08:00