1
0
Fork 0
Commit Graph

976 Commits (5b10badc00696f615601e4bf23da3511e2a45158)

Author SHA1 Message Date
Sawyer Blatz 35a745d67d For #2836: Fixes custom tab close button color 2019-05-31 09:50:46 -07:00
Jeff Boek 301984733a For #225 - Adds completion snackbar 2019-05-31 09:42:44 -07:00
Jeff Boek eda70ab74c Fixes #3037 - Unchecks boxes after deletion 2019-05-31 09:42:44 -07:00
Jeff Boek 0036938312 For #225 - Fixes crash by moving GeckoView calls t othe main thread 2019-05-31 09:42:44 -07:00
Emily Kager 1bb4d72fd1 For #3027, For #2858 Pass in Fenix Snackbar for Context Menu Candidate (#3028) 2019-05-31 10:16:08 -05:00
Jonathan Almeida ab39a5088a For #2052: Fix BrowserToolbar overlapping web content 2019-05-30 20:40:56 -04:00
Jeff Boek 209b50016e For #2723 - Cleans up code formatting 2019-05-30 16:38:31 -07:00
Jeff Boek f9d70dbc92 For #2723 - Creates callbacks to wire up the mode and theme manager together 2019-05-30 16:38:31 -07:00
Jeff Boek a7d5cdcb9d For #2723 - Fixes theme manager 2019-05-30 16:38:31 -07:00
Emily Kager 18cd9e58f9 Fixes Crash: Pop up to Browser Fragment if exists when coming from Search 2019-05-30 16:30:06 -07:00
Emily Kager 8dbed67f7f No issue: Simplify and speed up shared element transitions 2019-05-30 16:30:06 -07:00
Emily Kager 43a961fe73 For #1973 - Toggle QR button on deny permissions, fix engineView crashes 2019-05-30 16:06:37 -07:00
Colin Lee 72c5cb304c
For #2893, #2673, #2916, #2314: Fix race condition navigating to browser (#3023)
Since the Navigation library restores the fragment after memory eviction, if we're already on the BrowserFragment and we deep link navigate to the BrowserFragment, we briefly get two of them. This crashes GeckoView.
2019-05-30 17:43:32 -05:00
Emily Kager 4c970a545d For #2230 - Fix theme selection radio button for Android 6 (#3019) 2019-05-30 17:06:46 -05:00
Tiger Oakes 74dd2a5f23 Issue #103 - Pull to refresh (#3020) 2019-05-30 17:05:49 -05:00
Sawyer Blatz cd19f36b96 For #2227: Fixes issue with bookmark selection (#3021) 2019-05-30 17:01:51 -05:00
Sawyer Blatz 9e0e5d95d9 For #2931: Show browser snackbar above quick action sheet 2019-05-30 14:52:09 -07:00
Sawyer Blatz 5e0771a6f0 For #2327: Fix early return from displayAccountError 2019-05-30 13:45:56 -07:00
Sawyer Blatz 7fff475fd8 For #1679: Pause media playback when backgrounded 2019-05-30 13:06:37 -07:00
Jeff Boek 0054e017ea For #255 - Moves all deletion operations to the same coroutine 2019-05-30 13:05:51 -07:00
Christian Sadilek 0b00c0ce9b No issue: ClipboardProvider no longer needs to be added/removed based on input 2019-05-30 13:03:50 -07:00
Emily Kager 3685b05586 For #3011 - Size EngineView for Custom Tab Fixed Toolbar 2019-05-30 12:40:54 -07:00
Emily Kager c027feecd0 For #3011 - Size EngineView for Custom Tab Fixed Toolbar 2019-05-30 12:40:54 -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
Emily Kager caa36c31cd For #2979 - Prevent double navigation to Create Collection Fragment 2019-05-30 10:58:56 -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 3560e1793c For #2980 - Pop to home if no session exists in Browser Fragment 2019-05-30 09:05:10 -07:00
Emily Kager c589e4d4c3 For #2938 - Remove save to collection from PB browsing menu 2019-05-30 08:42:20 -07:00
Emily Kager e61cebf38d No issue: Check search engine icon exists before setting drawable 2019-05-30 08:33:30 -07:00
Denys M 8bed44819d Fixes #2254/#2709. Observe browser sessions changes on `HomeFragment`. 2019-05-29 15:13:15 -07:00
Jeff Boek 6527e05405 For #2738 - Re-throws exceptions to send better data into the crash reporters 2019-05-29 13:33:36 -07:00
Emily Kager f142be8c92 Refactor new param to startInEditMode 2019-05-29 12:27:48 -07:00
Emily Kager d6c1f65d72 Start MotionLayout animation to end while navigating to search fragment 2019-05-29 12:27:48 -07:00
Emily Kager 8181705b58 Init Toolbar in edit mode so we don't see the flash 2019-05-29 12:27:48 -07:00
ekager dee3c059dc Adds Shared Transition between Home and Search 2019-05-29 12:27:48 -07:00
Jeff Boek 3920cda693 For #2419 - Adds a deletion state to the history component 2019-05-29 12:20:19 -07:00
Denys M 39df4c8522 For #747. Improve `HistoryFragment` readability. 2019-05-29 10:21:48 -07:00
Denys M 13f144f212 For #747. Fix coroutines leaks in `HistoryFragment`. 2019-05-29 10:21:48 -07:00
Jonathan Almeida b05e9ab14b Closes #2968: Specify the activity name in the share item 2019-05-29 13:12:46 -04:00
Grisha Kruglov 70453ef2d5 No issue: increase likelyhood of notification showing up as 'heads-up' 2019-05-29 09:52:35 -07:00
Grisha Kruglov fda0f1de97 No issue: sync and refresh device state on foreground 2019-05-29 09:52:35 -07:00
Emily Kager 039990f608 For #2972 - Call session feature back press before custom tab back press 2019-05-29 09:40:52 -07:00
Grisha Kruglov 9e7269214c Closes #2835: Do not assume bookmarks fragment is attached while processing operations
This is mostly necessary when we're running stuff in a coroutine, so the patch likely goes
overboard a bit with the nullability checks... but it shouldn't hurt.
2019-05-29 09:19:03 -07:00
Sawyer Blatz 6a53127ef9 For #2948: Adds menu button add tab to collection 2019-05-29 09:08:11 -07:00
Sawyer Blatz 3fd831cc4d Fixes #2942: Updates strings for l10n (#2950) 2019-05-29 10:47:19 -05:00
Emily Kager 1ef85433b4 For #2891 - Make checkbox invisible so text isn't cut off 2019-05-28 20:57:02 -07:00
Emily Kager 6290d7b890 For #2110 - Pressing back on external link should close the tab 2019-05-28 17:55:17 -07:00
Emily Kager cae95c0ee1 For #2952 - Delete All Tabs should run on Main Thread 2019-05-28 16:25:39 -07:00
Arturo Mejia b2e27d26dc Closes #2903: Fixed crash when trying to rate the app on a devices without
the play store app.
2019-05-28 15:14:56 -07:00
Jonathan Almeida 540b0939d2 Closes #2878: Cleanup with card-like styling 2019-05-28 15:11:41 -07:00
Arturo Mejia b5d1d04d88 Closes #2900: Fix crash when trying to show site info panel with
a null session.
2019-05-28 15:05:49 -07:00
Jonathan Almeida 3da6cfd98a For #2886: Fix sending multiple tabs to another device (#2923)
* For #2886: Fix sending multiple tabs to another device

* Update share methods to use new API
2019-05-28 15:05:16 -07:00
Arturo Mejia ba6bb916e4 Closes #2789: Custom tabs is not covering the full screen size. 2019-05-28 15:01:18 -07:00
Emily Kager bfc0fa36b1 For #2133 - Add destructive text color to delete history button 2019-05-28 14:59:21 -07:00
Emily Kager 506f332b85 For #2919 - Invoke Pending Delete Jobs in onPause 2019-05-28 14:59:05 -07:00
Emily Kager a6a72885d2 For #2898 - Adds Deselect All in Collection Creation Select Tabs Step 2019-05-28 14:58:16 -07:00
Emily Kager e0ceb195ff For #2337 - Open Report Site in Browser from Custom Tab 2019-05-28 14:56:01 -07:00
Emily Kager 7d65e21b83 For #2941 - Creates delete dialog style 2019-05-28 13:41:38 -07:00
Emily Kager 250548a72f For #2823 - Invoke pending jobs with context on switch to private mode 2019-05-28 12:48:02 -07:00
Jonathan Almeida 06bf7a4da7 For #2890: Sending tab from another device shows empty title 2019-05-27 16:39:56 -04:00
Jonathan Almeida d825011fc0 Fixes #2872: Send tab notification never dismisses (#2889) 2019-05-27 19:31:59 +02:00
Harsh Shandilya 7d9c8726c5 treewide: Resolve compilation warnings (#2859)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-27 19:04:17 +02:00
Jonathan Almeida db2eba9762 For #2876: Fix crash on sync now button clicked 2019-05-27 12:38:11 -04:00
Jeff Boek d24aa8a772 For #927 - Adds build type to glean to report the channel 2019-05-24 17:43:24 -07:00
Sawyer Blatz 9aa4f48e77 For #1190: Adds additional telemetry for FxA login 2019-05-24 17:39:19 -07:00
Sawyer Blatz 62bed0cd06 For #1190: Adds telemetry for FxA login 2019-05-24 17:39:19 -07:00
Emily Kager 2ad6875f09 No issue: Correct material dependency and anchor snackbar above toolbar 2019-05-24 17:38:20 -07:00
Jeff Boek e3031378bc For #225 - Address small nits, changes default color of ic_delete 2019-05-24 17:16:03 -07:00
Jeff Boek 0cbaeaffdc For #225 - Properly delete collections 2019-05-24 17:16:03 -07:00
Jeff Boek 51451ff002 For #225 - Deletes data on button press 2019-05-24 17:16:03 -07:00
Jeff Boek 3cf91fc303 For #225 - Adds button to delete browsing data 2019-05-24 17:16:03 -07:00
Jeff Boek 072ef5785d For #225 -Adds checkbox listener to data items 2019-05-24 17:16:03 -07:00
Jeff Boek e9c7943fe8 For #225 - Adds icons for list items 2019-05-24 17:16:03 -07:00
Jeff Boek 3006b21508 For #225 - Adds list items for delete browsing data 2019-05-24 17:16:03 -07:00
Jeff Boek 182bbdf359 For #225 - Adds delete browsing data fragment 2019-05-24 17:16:03 -07:00
Emily Kager 01c9317be0 For #2843 - Improve Collections UI and UX (#2851) 2019-05-24 17:06:17 -07:00
Jonathan Almeida 1de2e58644 No issue: Add device name to account page 2019-05-24 15:29:34 -07:00
Tiger Oakes 207a8d6772 Use a ListAdapter for SessionControl 2019-05-24 13:13:52 -07:00
Jonathan Almeida 2fd91daa5b No issue: Fix NotificationManager icon color 2019-05-24 11:32:55 -07:00
Sawyer Blatz 36f4b97712 For #658: Adds your rights page link 2019-05-24 11:32:27 -07:00
Emily Kager 09588dfda6 For #2529 - Remove "Delete Collection" button from private browsing 2019-05-24 10:53:15 -07:00
Emily Kager 4e13de3ffd No issue: Register observers with owner view 2019-05-24 10:53:05 -07:00
Emily Kager a676e964b5 For #966 - Preserve CustomTab history when opening in browser 2019-05-24 10:50:20 -07:00
Sawyer Blatz 549292d06e For #2732: Removes view model usage from collection creation 2019-05-24 10:40:32 -07:00
ekager 2f46345954 Cancel pending findBookmarkJob if another is started 2019-05-24 09:42:22 -07:00
Emily Kager 4b7c8a7db1 For #2228 - Update Bookmark Status in onUrlChanged 2019-05-24 09:42:22 -07:00
Emily Kager 833290799e For #1286 - Add Automatic Font Sizing Preference 2019-05-24 09:42:05 -07:00
Emily Kager 074eec7006 For #2815 - Use RootView for displaying snackbar in browserfragment (#2816) 2019-05-23 23:35:05 -07:00
Emily Kager 0c8ad3ef6e For #2721 - Reorder onboarding theme settings (#2817) 2019-05-23 23:34:11 -07:00
Emily Kager c6ac791609 No issues: Set ThemeFragment title in onResume (#2801) 2019-05-23 21:30:29 -07:00
Emily Kager a80053547e For #2806 - navigate up from SearchFragment instead of activity back press (#2812) 2019-05-23 21:30:05 -07:00
Emily Kager 7951a5f5df No issue: Update Account UI and visibility in onCreate so it doesn't flash (#2804) 2019-05-23 16:52:31 -07:00
Jonathan Almeida 3c84807474 Add connect another device dialog (#2803) 2019-05-23 19:51:25 -04:00
Grisha Kruglov 2ad3a72f6f Closes #2252: Show "Desktop Bookmarks" in the Bookmarks library (#2797)
This patch adds in a virtual "Desktop Bookmarks" folder to the top
of the mobile root child list, and makes sure to change internal
bookmark root names to user friendly labels.
2019-05-23 19:33:06 -04:00
Jonathan Almeida 8fbbcceb21 Adds send tab functionality to UI (#2790)
* Closes #2782: Hide send tab when no devices available

* For #2752: Enabled send tab for debug and nightly builds

* For #2753: Add Send Tab functionality to UI
2019-05-23 18:38:03 -04:00
Denys M 6b8938e47e Fixes #2739. Update sign-in preference visibility when screen is resumed. 2019-05-23 15:34:29 -07:00
Emily Kager f51e221a99 Remove unused import 2019-05-23 13:41:00 -07:00
Emily Kager 895ba021e7 Hide toolbar in activity and remove label from home fragment 2019-05-23 13:41:00 -07:00
Emily Kager c7af502db7 Restore progress 2019-05-23 13:41:00 -07:00
ekager 0e64ead75c Try to pop up to home if it exists on stack from browserfragment 2019-05-23 13:41:00 -07:00
Emily Kager 40f2fe5166 For #1287 - Create animation for opening and closing tab from home 2019-05-23 13:41:00 -07:00
Grisha Kruglov 6a8d0f324e Closes #2770: Allow receiving tabs from FxA devices (#2772)
* Closes #2770: Allow receiving tabs from FxA devices

Now that we're on a-c 0.54, we can land this since it supports device
capability migration.

This patch adds a SEND_TAB device capability, making Fenix a valid target
in the Send Tab device list on Desktop Firefox.

Additionally, it adds a notification manager which manages notification
channels and knows how to display "received tabs" notifications".

* Post: remove unusued test file that's causing issues
2019-05-23 13:13:27 -07:00
Sawyer Blatz 832fd71afc For #2784: Removes undo from collection deletion (#2786) 2019-05-23 12:16:40 -07:00
Jonathan Almeida eb7646f073 Add custom share sheet and send tab support (#2757)
* Closes #2751: Add custom app share sheet

* Closes #2753: Add send tab devices to share sheet

* Closes #2752: Add build flag for send tab

* Replace Context.share with ShareFragment
2019-05-23 10:48:22 -07:00
Sawyer Blatz 87df0a8103 For #2728 & #2729: Uses view model selected tabs for collection creation (#2748) 2019-05-23 10:46:54 -07:00
Tiger Oakes 9b69f9f5db Fixes #654 - Update refresh/stop toolbar buttons (#2702)
(Also back and forward)
2019-05-23 10:46:22 -07:00
Jeff Boek bf28462c47 For #2717 - Hides onboarding card when signed into a firefox account 2019-05-23 10:26:55 -07:00
Jeff Boek ab590df18b For #2717 - Adds auto signed in state to the accounts onboarding card 2019-05-23 10:26:55 -07:00
Grisha Kruglov f4f35bdde0 Closes #2713: Weave in "onboarding state" and split adapter items accordingly
we're ensuring that it has been initialized.

I wonder if we could just make background services load eagerly (they're lazy init now), instead.
2019-05-23 10:26:55 -07:00
Sawyer Blatz 763c8be815 For #2689: Turns dynamic toolbar into fixed toolbar 2019-05-23 08:37:00 -07:00
Emily Kager 7492de321d For #2530 - Show report site issue and TP off globally in quick settings 2019-05-23 08:34:24 -07:00
Sawyer Blatz 220a843534 For #2205: Updates collection title constraints 2019-05-23 08:33:42 -07:00
Sawyer Blatz 9509ce1b12 For #911: Adds reader mode notification on first launch 2019-05-23 08:27:07 -07:00
Sören Hentzschel 04e28096b2 fixed wrongly named variable 2019-05-23 08:22:34 -07:00
Sören Hentzschel 56dec1ebfb fixed linting issues 2019-05-23 08:22:34 -07:00
Sören Hentzschel cc03aeb9f0 For #2435 - adds URL to bookmarks in library 2019-05-23 08:22:34 -07:00
Sawyer Blatz a1d32127ab For #2655: Adds undo snackbar for closing all tabs 2019-05-23 07:26:00 -07:00
Jeff Boek f5a993a027 For #2762 - Prevents crash when a device has a font scale other than 1.0 2019-05-22 18:38:20 -07:00
Emily Kager 36cf9817d9 For #1286 - Dynamically set fontsizefactor and reload current session 2019-05-22 14:07:11 -07:00
Jeff Boek 5ec783f6e5 For #2719 - Fixes crash by registering to observer with a lifecycle owner 2019-05-21 21:43:33 -07:00
Emily Kager 851f066a2a For #2377 - Added ability to share multiple history items 2019-05-21 21:35:34 -07:00
Jeff Boek 16b3309053 For #2531 - Adds privacy notice to settings 2019-05-21 21:34:06 -07:00
Sawyer Blatz e7ecd49353 For #1578: Adds delete collection with undo 2019-05-21 14:02:56 -07:00
Emily Kager c2339e9669 Closes #2699 - Removes Feedback from Settings 2019-05-21 13:37:00 -07:00
Sawyer Blatz 22ca1b88a0 For #2688: Corrects extra key of library selected item telemetry 2019-05-21 13:36:52 -07:00
Emily Kager 394a207fea Revert "For #1578: Adds delete collection with undo"
This reverts commit 63a4567521.
2019-05-21 13:04:47 -07:00
Sawyer Blatz 63a4567521 For #1578: Adds delete collection with undo 2019-05-21 11:03:44 -07:00
Arturo Mejia b2294483a8 Updated tracking protectionPolicy to the recommend one. 2019-05-21 10:51:30 -07:00
Sawyer Blatz 93d0982a6f For #1576: Adds tab collection renaming 2019-05-21 10:34:42 -07:00
Sawyer Blatz f73bb22955 No issue: Removes usage of COLLECTIONS_ENABLED flag 2019-05-21 10:34:30 -07:00
Emily Kager 0c022f6646 For #1826 - Create ViewModel for Restoring Home Scroll Position 2019-05-21 10:29:15 -07:00
Emily Kager 4b186eb86d No issue: Save/Restore State in HomeFragment 2019-05-21 10:29:15 -07:00
Sawyer Blatz aa9e5c46ae For #1242: Adds telemetry for error pages 2019-05-21 10:12:52 -07:00
Sawyer Blatz 0080e7d701 For #2584: Adds opening a single tab from tab collection 2019-05-21 09:42:40 -07:00
Sawyer Blatz a3f25b9f77 For #2584: Adds opening tab collections 2019-05-21 09:42:40 -07:00
Sawyer Blatz afbe397f94 For #1575: Enables adding tabs to existing collection 2019-05-21 09:39:55 -07:00
Sawyer Blatz 7e7edc8b7a For #2377: Adds share to tabs and tab collections 2019-05-21 09:37:04 -07:00
Jeff Boek 1cd50ba9cb No Issue - Fixes nits in #2669 2019-05-20 23:32:58 -07:00
Jeff Boek a041d9ef74 For #2391 - Dismiss tour when navigating to search or settings 2019-05-20 23:32:58 -07:00
Jeff Boek 479c00bc5f No Issue - Always complete motionLayout transition on restore 2019-05-20 23:32:58 -07:00
Jeff Boek 41e5d5cf28 No Issue - Remove debugging code for onboarding 2019-05-20 23:32:58 -07:00
Jeff Boek 692724be2f For #2395 - Navigates to turn on sync on button press 2019-05-20 23:32:58 -07:00
Jeff Boek 9a76c11dae For #2389 - Save state on homeview when switching themes 2019-05-20 23:32:58 -07:00
Jeff Boek b3650cacff For #2399 - Wires up tracking protection onboarding card 2019-05-20 23:32:58 -07:00
Jeff Boek a2a4524e51 For #982 - Opens privacy policy in a custom tab 2019-05-20 23:32:58 -07:00
Jeff Boek 591f367806 For #2392 - Adds icon to private browsing onboarding card 2019-05-20 23:32:58 -07:00
Jeff Boek 2dc76dda6a For #2392 - Centers private browsing icon 2019-05-20 23:32:58 -07:00
Tiger Oakes cfca683a14 Use UpdateTrackingProtectionUseCase
mozilla-mobile/android-components#2746
2019-05-20 19:39:20 -07:00
Emily Kager 40f8e3b6af No issue: Use ExcludeTypes instead of filtering after retrieving 2019-05-20 19:37:35 -07:00
Sebastian Kaspari 291df48c4e Install the "icons" WebExtension to automatically load icons for every visited website. 2019-05-20 19:34:49 -07:00
Sawyer Blatz c334c77bbe For #976: Adds telemetry for library 2019-05-20 19:30:29 -07:00
Emily Kager ba790c5dd3 No issue: remove unused restore state code 2019-05-20 19:29:28 -07:00
Emily Kager e534dad199 For #2028 - Pass Session ID for Custom Tab Prompts, Theme Dialogs 2019-05-20 19:24:48 -07:00
Emily Kager 028c6cad70 For #2025 - Create and theme Dialog for deleting all history 2019-05-20 19:24:48 -07:00
Emily Kager fd4de3509d For #1249 - Create Empty History State 2019-05-20 19:23:14 -07:00
Jeff Boek b54628210b For #2414 - Fixes custom tab crash 2019-05-20 16:09:37 -07:00
Sawyer Blatz ec1a0e6c34 Revert #2533: Removes feature flag for tab collections 2019-05-20 15:22:45 -07:00
Sawyer Blatz 3619f1417d For #1574: Cleans up unused code and refactors 2019-05-20 14:31:17 -07:00
Sawyer Blatz 7861a80715 For #2205: Truncates tab collection titles 2019-05-20 14:31:17 -07:00
Sawyer Blatz 4e6f9b9ef1 For #1574: Displays previous tab collections when creating 2019-05-20 14:31:17 -07:00
Sawyer Blatz 60e5f8a626 For #2351: Fixes backspace key ignored in collections 2019-05-20 14:31:17 -07:00
Sawyer Blatz 30a643720f For #1574: Adds tab collection creation 2019-05-20 14:31:17 -07:00
Emily Kager d347f73e69 For #2389 - Create Theme Onboarding Card 2019-05-20 11:10:20 -07:00
ekager 42d1491976 Closes #2635 - Save settings changes to new Shared Preferences file 2019-05-20 08:58:45 -07:00
Sawyer Blatz f912621bc3 No issue: Fixes home crash if url host is malformed 2019-05-20 08:52:37 -07:00
Jonathan Almeida 2035be8cc6 Closes #2097: Stop video playback when custom tab closes 2019-05-17 16:24:40 -07:00
Sawyer Blatz 9e50b55340 For #1857: Adds telemetry for QR scanner 2019-05-17 10:46:53 -07:00
Sören Hentzschel 6bc577eecd For #1800 - "report site issue" should open in a new tab 2019-05-16 22:28:02 -07:00
Emily Kager a44322b120 Update mapping to represent steps of 5 from 50-200 2019-05-16 22:26:54 -07:00
Emily Kager e00380960f Add Accessibility Fragment and Text Size Adjustment Setting 2019-05-16 22:26:54 -07:00
Emily Kager 855acd5fe2 Closes #2528 - Fixes Dialog navigation 2019-05-16 22:24:09 -07:00
Sebastian Kaspari 6942767dfe Remove feature-session-bundling component. 2019-05-16 22:23:23 -07:00
Sawyer Blatz 72d29c2a43
For #2205 & #1578: Integrates tab collection storage (#2478)
* For #2205: Adds TabCollectionStorage

* For #1578: Adds delete to TabCollection
2019-05-16 14:02:24 -07:00
Emily Kager 43843b0fb3 For #2561 - Dynamically set EngineView behavior in BrowserFragment 2019-05-16 11:22:14 -07:00
Jeff Boek 7ac26f5b20 For #2390 - Adds local feature flag for onboarding 2019-05-15 23:18:37 -07:00
Jeff Boek 95af2ddcc6 For #2390 - Adds the start browser button 2019-05-15 23:18:37 -07:00
Jeff Boek b2e6b59e91 For #2390 - Adds views for every onboarding card 2019-05-15 23:18:37 -07:00
Jeff Boek 8928b19079 For #2390 - Adds a theme picker card
- applies generic styling to cards
- adds margins to headers and onboarding cards
2019-05-15 23:18:37 -07:00
Jeff Boek fe16810ddb For #2390 - Adds onboarding section headers 2019-05-15 23:18:37 -07:00
Jeff Boek dfe14e1751 For #2390 - Adds the onboarding welcome message 2019-05-15 23:18:37 -07:00
Jeff Boek b14d0fa80c For #2390 - Applies onboarding mode on start 2019-05-15 23:18:37 -07:00
Jeff Boek b3a3c94169
Small refactor before we add onboarding cards (#2541)
* For #2390 - Cleans up the toAdapterList method before we add onboarding

* For #2514 - Hide tabs menu when no tabs are open
2019-05-15 17:06:49 -07:00
Michael Droettboom c34946b88f 1551700: Enable custom pings from debug dashboard (#2516)
Fix re-enabling of telemetry
2019-05-15 14:51:55 -07:00
Jeff Boek 014de10b29 Fixes #2533 - Adds the feature flag to the menu item to create a collection 2019-05-15 13:32:37 -07:00
Sebastian Kaspari f84b7f10dd Issue #2458: Use correct Socorro product name. 2019-05-15 11:53:41 -07:00
Sawyer Blatz 334868c283 For #2224: Removes select bookmark and fixes crash 2019-05-15 11:46:46 -07:00
Vlad Filippov e52157d358 Closes #2518 - Fix back button in PairFragment 2019-05-15 11:46:34 -07:00
Sawyer Blatz 0b7df74731
For #2315 & For #2494: Adds scrolling to custom tabs (#2521) 2019-05-15 09:37:05 -07:00
Jeff Boek c5e5ef4b25
Teases apart ViewModel dependencies (#2499)
* No Issue - pulls render outside of the viewmodel

* No Issue - Properly subscribes to the changesObservable

* No Issue - Fixes ViewModel tests
2019-05-14 23:16:48 -07:00
ekager 0143c54817 Suppress ComplexMethod error for openToBrowser 2019-05-14 22:48:40 -07:00
ekager ecdbdda94e Added BrowserDirection values for New Fragments 2019-05-14 22:48:40 -07:00
Emily Kager ffc8037a08 Fix navigation for pairing 2019-05-14 22:48:40 -07:00
Vlad Filippov 66a0cd5f9c Add FxA Pairing feature to "Turn On Sync" 2019-05-14 22:48:40 -07:00
ekager a078f9e48b For #2422 If TP disabled globally disable quicksettings TP exception toggle 2019-05-14 15:38:39 -07:00
Emily Kager 573e215577 For #2101 - Set status bar color to black in light mode for API 21-22 (#2461) 2019-05-14 14:35:09 -07:00
Emily Kager c2a3c844b8 For #2035 - Register Accessibility Manager Listener (#2462) 2019-05-14 14:34:01 -07:00
Emily Kager 92ad00debc For #2460 - Announce "Syncing" for a11y feedback when "Sync Now" pressed (#2463) 2019-05-14 14:32:45 -07:00
Sawyer Blatz 03ca975795 For #2315: Hides URL bar when scrolling in custom tab (#2485) 2019-05-14 14:32:28 -07:00
Emily Kager e0e7ba5a43 For #2302 - Listen to session to update QuickSettingsSheetDialogFragment 2019-05-14 13:49:59 -07:00
Colin Lee 49ac62ab85 Fix ViewModel States (#2457)
Co-authored-by: Jeff Boek <jeff@jeffboek.com>
2019-05-14 13:49:02 -07:00
Emily Kager a739d5a9e5 For #2336 - Pass EngineSession to TP adjustment fun 2019-05-14 13:08:25 -07:00
Sawyer Blatz 43a4b1b77c
For #563: Restyles history favicons (#2455) 2019-05-14 08:41:45 -07:00
Sawyer Blatz b71eeb9fb3
For #2245: Updates quick action bar state and animation (#2451)
* Revert quick action changes

* For #2245: Updates quick action bar state and animation
2019-05-14 08:14:41 -07:00
Colin Lee 917399d897
For #2436: TransactionTooLargeException saving many tabs (#2453) 2019-05-13 21:03:51 -05:00
Colin Lee 155353f0ee
For #2449: App crashes when switching themes (#2450) 2019-05-13 10:59:05 -05:00
Denys M e68d594bbb For #747. Fix possible memory leak on `HomeActivity`. (#2440) 2019-05-13 02:07:30 -05:00
Denys M 24f15c8b77 Closes #1083. Don't print sensitive data to logs in the production app. (#2437) 2019-05-11 22:01:41 -07:00
Emily Kager 4070941657 No issue: Refactor dialogs to use nav graph 2019-05-10 19:58:48 -07:00
Emily Kager 0df12a588d For #1876 - Correct Navigation Bar Color Logic (#2427) 2019-05-10 20:26:44 -05:00
Denys M fd56b1fef3 Closes #2340. Set navigation icon color on library screen. (#2415)
Applying color filter to `toolbar.navigationIcon`.
2019-05-10 20:24:56 -05:00
Arturo Mejia 744f1be0a9 Closes #1411: Added disabled style for permissions site info panel. (#2354) 2019-05-10 20:23:18 -05:00
Colin Lee cfccb997fd For #1909: Tabs disappear intermittently (#2426) 2019-05-10 15:20:45 -07:00
Sawyer Blatz e1cdeffe8c
For #563: Restyles history management (#2378) 2019-05-10 09:58:54 -07:00
Colin Lee ccbc14a71f For #1994: Re-architect state handling code (#2382) 2019-05-09 23:06:12 +00: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 e4b4934f53 For #2393 - SearchTermsTapped even on URL should search (#2398) 2019-05-09 16:21:33 -05:00
Emily Kager 75ccce23dc For #2323 - Update theme for browsing if needed in onResume (#2360) 2019-05-09 16:09:34 +00:00
Emily Kager 5904a916d8 No issue: Update Androidx dependencies 5-8-2019 (#2350)
* No issue: Update Androidx dependencies 5-8-2019

* Update TrackingProtectionPreference
2019-05-08 14:16:51 -05:00
Sawyer Blatz d64f5a2064
For #2205: Modifies styling of collections and tabs (#2328)
* For #2205: Modifies styling of collections and tabs

* Change bounding box
2019-05-08 11:12:41 -07:00
Emily Kager eb4e159101 For #2329 , For #2332: Invoke pending delete session job on navigate (#2333) 2019-05-08 12:27:38 -05:00
Jeff Boek f1665f12ed For #2260 - Sends valid keys to the labeled counter (#2330) 2019-05-08 12:15:19 -05:00
Christian Sadilek 0c1b43d7b6 Upgrade to GV 68.0.20190508111321 and fixes for latest A-C 0.52.0 (#2348)
Closes #2342, Closes #2297
2019-05-08 11:04:06 -05:00
Colin Lee 96b68948b5
For #1710: Create scaffolding for Robolectric tests (#2282) 2019-05-07 16:36:37 -05:00
Arturo Mejia b735cc9693 Closes #1311: Enable downloads in custom tabs. (#2311) 2019-05-07 15:30:13 -05:00
Emily Kager 84a7430e57 For #1745 - Allow trackers from Allow List (#2310) 2019-05-07 15:28:38 -05:00
Arturo Mejia 583b954c5a Closes #1320: Customize site info panel dialog for custom tabs. (#2304) 2019-05-07 11:40:46 -05:00
Jeff Boek c2704c3fec No Issue - Uses non-deprecated API to fetch version code (#2307) 2019-05-06 16:40:01 -05:00
Emily Kager 37bae3bb38 For #2289 - Null out pending job on undo (#2303) 2019-05-06 16:38:53 -05:00
Emily Kager e6e3ac35e0 For #2068 - Create QAS initial state (#2298) 2019-05-06 16:38:32 -05:00
Vlad Filippov 62ae2bca11 Update the deprecated BitmapDrawable constructor (#2308) 2019-05-06 21:32:08 +00:00
Sawyer Blatz 7d577e5953
For #2205: Adds collections view to home fragment (#2249)
* For #1574: Adds collections to home view

* Adds colored icons and expansion

* Adds state change

* Adds more styling

* Adds ItsNotBrokenSnacks

* Adds chevron

* Improves styling of swipe to delete and adds delete action

* Fix nits

* Try to add real saving
2019-05-06 11:20:19 -07:00
Emily Kager 0000d6a782 For #2277 - Clean up threading for session control with undo (#2281) 2019-05-05 09:54:45 -05:00
Christian Sadilek 9b0422b062 Issue #910: Integrate feature-readerview component (#2269)
Closes #908, Closes #910, Closes #911, Closes #912

Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
2019-05-03 21:01:45 +00:00
Emily Kager e5e448ac8f For #1694 - Show Snackbar with Undo When Tab is Closed (#2246) 2019-05-03 09:41:44 -05:00
Alessio Placitelli 0d82431195 Generate the `activation` ping and send it with Glean (#1707)
This fetches the Google Advertising ID, salts it and
then applies hashing before sending a ping with it,
at startup. Hashing and salting are used in order
to prevent ourselves to correlate advertising IDs
from the same user running different products we
own off a single device. We will never send the
client_id and the Google Advertising ID in the same
ping.
2019-05-03 09:40:21 -05:00
vladikoff e067ffbbf6 Initial view for the "Turn on Sync" fragment
UX: https://mozilla.invisionapp.com/share/QSR2F8UD4PN#/screens/357470308
2019-05-02 15:05:40 -07:00
Emily Kager aa6d36dda9 For #2035 - Fixes a11y and loading toolbar behavior logic (#2243) 2019-05-02 16:28:57 -05:00
Emily Kager 7ab19a71fc Closes #1720 - Dismiss QuickSettings when report a problem invoked (#2242) 2019-05-02 16:27:56 -05:00
Colin Lee 85eef5796a
No issue: Fix QAB handle lingering onscreen (#2244) 2019-05-02 16:25:17 -05:00
Emily Kager 30ffc9fee2 For #2225 - Don't pass click events under find in page bar 2019-05-02 13:33:07 -07:00
Emily Kager 73de0cd2e8 Closes #2239 - emit session changes in onstart (#2240) 2019-05-02 15:13:59 -05:00
Colin Lee 39eb107335
For #2206: Quick Action Bar fixes, do not hide, add shadow, peek initially (#2238) 2019-05-02 15:08:49 -05:00
Emily Kager 2d568b8d80 Closes #2183 - Pass view's parent to Tab Counter SessionManager observer (#2237) 2019-05-02 14:36:22 -05:00
Emily Kager 8fd937669b Closes #2182 - Do not invoke sessionmanager callbacks (#2236) 2019-05-02 14:35:38 -05:00
Emily Kager 2397b22d09 For #2230 - Persist Theme Through RadioButtonPreference (#2235) 2019-05-02 14:34:48 -05:00
Emily Kager 7dda013ad1 No issue: Remove plurals strings (#2234) 2019-05-02 14:32:49 -05:00
jhugman 34bd6513b6 Fixes 1689 - Add sessionManager and sessionId to custom tabs menu and toolbar. (#2229) 2019-05-02 14:32:04 -05: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