1
0
Fork 0
Commit Graph

313 Commits (69a9aeebae193107ba122bf60e5b60386666d85b)

Author SHA1 Message Date
Tiger Oakes 981b6b5b02 For #4124 - Remove browser toolbar editing code 2019-07-18 15:40:33 -04:00
James Hugman 62850430b7 Closes AC#3695 - Add UI to open current page in external app 2019-07-18 15:33:31 -04:00
Emily Kager 9ab67557cf For #4078 - Request landscape mode when entering fullscreen 2019-07-17 16:06:37 -07:00
James Hugman 90dd0ab469 Closes #4114 - Re-enable app-links 2019-07-17 10:39:17 -07:00
Colin Lee 8855af2234
For #3615: Long pressing the address bar should not copy link (#4083) 2019-07-16 13:42:05 -05:00
Sebastian Kaspari 9b1e63224c Closes #4052: Remove pending intent workaround. (#4059)
Previously we needed to set a static launch function to be invoked when the find in page
integration should be launched. Now we can access the integration class directly and
can avoid the static property that caused issues when used by multiple activities.
2019-07-15 14:15:59 -05:00
Sebastian Kaspari e4e0d45c1b Closes #3996: Remove workaround for opening custom tab in browser.
`EngineView` now allows releasing the `Session` so that it can be rendered by an
other `EngineView` instance.
2019-07-15 10:52:57 +02:00
Tiger Oakes ef8d9604ae No issue: Normalize license header comment (#3909) 2019-07-12 11:38:15 -07:00
Emily Kager 21c75ca1bb For #3478 - Add Tab sent snackbar confirmation for device sharing 2019-07-10 14:13:10 -04:00
ekager 57ca75139b For #3201 - Update bookmark state when session selected 2019-07-03 11:38:14 -07:00
Emily Kager ce2d597af3 For #203 - Adds find in page and request desktop site to custom tab menu (#3835) 2019-07-02 14:41:29 -07:00
Sawyer Blatz ece0e30655
For #2054: Collapses quick action bar when opening find in page (#3837) 2019-07-02 08:22:34 -07:00
Sawyer Blatz 7e46e71d00 For #3005: Closes tabs when saving to collection (#3723) 2019-07-01 11:39:48 -05:00
ekager 7fa4cf4487 Use sessionId in FIP Integration, use pendingIntent for startActivity 2019-06-28 14:00:59 -07:00
ekager 6d0a4fdb4d Revert "For #3609 - Remove FIP Integration, Use FIP Feature"
This reverts commit 428643d598e938f58a2fe4abfee417c46edec167.
2019-06-28 14:00:59 -07:00
Sawyer Blatz 66eb4fd03b No issue: Fixes master compilation 2019-06-27 09:05:57 -07:00
Tiger Oakes d01bb8c442 Use lifecycleScope for collections fragments 2019-06-25 13:56:15 -07:00
Emily Kager 084fab77d4 For #3609 - Remove FIP Integration, Use FIP Feature (#3637) 2019-06-24 15:31:32 -07:00
Emily Kager ac5c4a0f79 Closes #3493 - Show tab saved to collection snackbar in BrowserFragment 2019-06-14 15:49:56 -07:00
Jeff Boek 7ebdfcc87b For #1116 - Uses alias link for help 2019-06-14 15:33:34 -07:00
Jeff Boek 5540230e3d For #1116 - Changes help link (#3491) 2019-06-14 15:29:10 -05:00
Colin Lee d5c5587a0c
For #3209: Disable shared element animations for crash temporarily (#3482) 2019-06-14 12:13:13 -05:00
Sawyer Blatz 381a5e6089 For #3403: Subscribes to tab collections in BrowserFragment 2019-06-12 16:44:35 -07:00
Colin Lee 66a836cf3a
For #3314: Toolbar and QAB unresponsive after Android 6 perms check (#3373) 2019-06-12 10:08:39 -05:00
Emily Kager 71f2b0bdaa For #2253 - Use toolbar as anchorView with fullscreen snackbar 2019-06-11 15:09:07 -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
jhugman 26d0ddda98 Fixes #3358 - disable feature-app-links (#3359) 2019-06-11 16:34:28 -05:00
Gabriel Luong f05eb032d4 For #2684: Add an extension function Session.toTab to map Session to Tab and clean up their usage 2019-06-11 13:14:23 -07:00
Sawyer Blatz decacbfc97 For #3323 Runs PublicSuffixList synchronously 2019-06-11 09:19:51 -07:00
Emily Kager 975975e789 For #3326 - Remove open image in tab from context menu (#3327) 2019-06-11 08:59:00 -05:00
Tiger Oakes 82d2a0661b Remove deprecatd support-ktx methods (#3305) 2019-06-10 09:12:11 -05:00
Emily Kager bf4916418a For #1998 - Removes stable flag in entering fullscreen navigation 2019-06-07 15:20:30 -07:00
Sawyer Blatz 45c509fbce
For #2648: Updates trimming of url hostname (#3191)
* For #2648: Updates trimming of url hostname

* For #2648: Fix nits
2019-06-07 09:33:07 -07:00
Colin Lee 1e6da54263 For #3238: fixes race condition crash, nav destination unknown 2019-06-06 15:46:34 -07:00
Jonathan Almeida 0a3b001abe For #3167: Show help page in browser menu (#3230) 2019-06-06 16:55:15 -05:00
Emily Kager 93a5456785 For #2253 - Shorten Fullscreen snackbar length (#3190) 2019-06-05 20:36:13 -05:00
Sawyer Blatz 0b3a8b7a54 For #2316: Adds confirmation dialog to delete bookmark 2019-06-04 14:47:11 -07:00
Emily Kager ef0618a3d1 For #3103 - Exit fullscreen on pause (#3112) 2019-06-04 10:36:16 -05:00
Colin Lee 04a759f0b0
For #2693: Launching Fenix via adb with URL crashes (#3099) 2019-06-03 16:24:37 -05:00
Tiger Oakes 94c4013810 Closes #3091 - Hide Pull to Refresh under flag (#3092)
This was merged in after feature freeze so we're pulling it out for
now. Pull to refresh will continue to work in debug mode so that the
design can be iterated on easily.
2019-06-03 14:10:53 -05:00
Colin Lee 04bbeb5ae6 For #3073 'Open in Firefox Preview' no longer opens in app
Saving and restoring the custom tab session ID fixed one problem while causing another. I added code to only restore the ID if the session has a customTabConfig associated.
2019-06-03 10:04:17 -07:00
ekager d285e799b9 Clean up logic to return margin pairs for readability 2019-06-03 10:00:00 -04:00
ekager 14fe356d62 For #2794 - Adjust engine margins when enter/exit fullscreen 2019-06-03 10:00:00 -04:00
ekager 98a40aabd7 For #2223 , For #371 - Replace Toolbar with FIP when opened 2019-06-01 10:24:55 -07:00
Colin Lee 532483498a
No issue: Store the Custom Tab Session ID to avoid a crash (#3062) 2019-05-31 17:03:58 -05:00
Emily Kager 0327b1146b For #2977 - Update add new collections flow (#2991)
* For #2977 - Update add new collections flow

* Rename shared elements to be more general

* Make tab list not clickable in other modes

* For #2577 - Stop Flickering in List

* Add extensions function for next step with collections list size
2019-05-31 12:59:51 -05:00
James Hugman 060cd646c8 Fixes #1570 - Enable app-links feature 2019-05-31 10:39:47 -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 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
Tiger Oakes 74dd2a5f23 Issue #103 - Pull to refresh (#3020) 2019-05-30 17:05:49 -05:00
Sawyer Blatz 9e0e5d95d9 For #2931: Show browser snackbar above quick action sheet 2019-05-30 14:52:09 -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
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 8181705b58 Init Toolbar in edit mode so we don't see the flash 2019-05-29 12:27:48 -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
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 b5d1d04d88 Closes #2900: Fix crash when trying to show site info panel with
a null session.
2019-05-28 15:05:49 -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 2ad6875f09 No issue: Correct material dependency and anchor snackbar above toolbar 2019-05-24 17:38:20 -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
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 074eec7006 For #2815 - Use RootView for displaying snackbar in browserfragment (#2816) 2019-05-23 23:35:05 -07:00
Emily Kager 40f2fe5166 For #1287 - Create animation for opening and closing tab from home 2019-05-23 13:41:00 -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
Sawyer Blatz 763c8be815 For #2689: Turns dynamic toolbar into fixed toolbar 2019-05-23 08:37:00 -07:00
Sawyer Blatz afbe397f94 For #1575: Enables adding tabs to existing collection 2019-05-21 09:39:55 -07:00
Emily Kager e534dad199 For #2028 - Pass Session ID for Custom Tab Prompts, Theme Dialogs 2019-05-20 19:24:48 -07:00
Jeff Boek b54628210b For #2414 - Fixes custom tab crash 2019-05-20 16:09:37 -07:00
Jonathan Almeida 2035be8cc6 Closes #2097: Stop video playback when custom tab closes 2019-05-17 16:24:40 -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
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
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
Emily Kager c2a3c844b8 For #2035 - Register Accessibility Manager Listener (#2462) 2019-05-14 14:34:01 -07:00
Emily Kager e0e7ba5a43 For #2302 - Listen to session to update QuickSettingsSheetDialogFragment 2019-05-14 13:49:59 -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
Emily Kager 4070941657 No issue: Refactor dialogs to use nav graph 2019-05-10 19:58:48 -07:00
Colin Lee ccbc14a71f For #1994: Re-architect state handling code (#2382) 2019-05-09 23:06:12 +00:00
Emily Kager 75ccce23dc For #2323 - Update theme for browsing if needed in onResume (#2360) 2019-05-09 16:09:34 +00: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
Emily Kager e6e3ac35e0 For #2068 - Create QAS initial state (#2298) 2019-05-06 16:38:32 -05: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
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 aa6d36dda9 For #2035 - Fixes a11y and loading toolbar behavior logic (#2243) 2019-05-02 16:28:57 -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 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
Colin Lee b931957426
For #1586: Behavior when adding a duplicate bookmark (#2195) 2019-05-01 12:21:28 -05:00
Emily Kager a07b6d8c0f Closes #2156 - Update theme for selected session in BrowserFragment (#2171) 2019-04-30 20:04:16 -05:00
Sawyer Blatz 70486039c0 Closes #2147: Refactors usage of openToBrowserAndLoad 2019-04-29 15:49:22 -07:00
Emily Kager 14c4d12e49 For #1573 - Add Browsing Menu Item Add To Collections 2019-04-29 12:28:52 -07:00
Sawyer Blatz d6879e2501 No issue: Sets BrowserFragment sessionId only in custom tabs 2019-04-29 09:45:46 -07:00
Emily Kager b11a7554c2 For #1836 - Update theme based on if session private (#2099) 2019-04-26 22:00:22 -07:00
Sawyer Blatz 66d76d3123
For #2074: Displays title only in custom tabs (#2075) 2019-04-26 11:35:27 -07:00
Emily Kager 99f979e86b For #1601 - Bookmark icon should change visually if page is bookmarked 2019-04-25 17:29:27 -07:00
Emily Kager bc10c65c52 For #2035 Add TouchExplorationStateChangeListener and adjust toolbar 2019-04-25 17:13:20 -07:00
Sawyer Blatz 46924544b6 For #1975 & #1627: Refactors getSessionById in BrowserFragment 2019-04-25 16:51:03 -07:00
Emily Kager 4ae40b35e0 No issue Null check accessibility manager 2019-04-25 16:00:46 -07:00
Emily Kager 9eaaedf4bd For #1658 Update preferredColorScheme in onResume for auto-theming 2019-04-25 16:00:32 -07:00
Emily Kager 1aee091485 For #2039 - Context check in setToolbarBehaviour (#2040) 2019-04-25 12:30:42 -07:00
Emily Kager 10517580cc No issue: Add back status/nav flags after fullscreen exit (#2003) 2019-04-25 07:39:14 -07:00
Emily Kager ec64286eac No issue: Only set toolbar behavior for non custom tab sessions (#2013) 2019-04-25 07:37:30 -07:00
Emily Kager 578a00a49b Closes #1993 - Set toolbar behavior in onStart for browser resumed case 2019-04-24 13:40:55 -07:00
Emily Kager 4dffd182b1 For #1206 - call fullScreenFeature onBackPressed 2019-04-24 13:40:01 -07:00
Sören Hentzschel 750ee266b0 For #2825: use FenixSnackbar for fullscreen notification 2019-04-24 13:39:36 -07:00
Sawyer Blatz 8a4995099f For #1205: Adds search term to EditToolbar 2019-04-23 09:59:48 -07:00
Emily Kager b80b90c07d Closes #1879 - Create toolbar background drawable instead of view 2019-04-22 14:22:28 -07:00
Emily Kager 23e2b51db2 For #1759 - Try to change copy URL to plainText (#1850) 2019-04-20 14:15:37 -07:00
ekager 4b59fc8939 Closes #1835 - Do not crash because of snackbar 2019-04-19 17:17:20 -05:00
Colin Lee 849764d23a For #974: Telemetry for Bookmarks 2019-04-17 15:58:58 -07:00
Emily Kager 01a181975d For #1084 - Add tracking protection toggle to quick settings dialog 2019-04-15 19:59:10 -05:00
Jeff Boek 658f6dcf23 For #1495 - Reverts editing translated string and creates a new string 2019-04-15 13:33:09 -05:00
Sawyer Blatz ec35283c9a For #668: Restyles custom tabs 2019-04-15 11:31:13 -07:00
Colin Lee 3b1f684cb0 For #1599: Crash creating a bookmark for a custom tab 2019-04-15 12:53:51 -05:00
Sawyer Blatz 29832c5e84 For #724: Consolidates colors 2019-04-15 12:22:03 -05:00
Emily Kager 4ba7527655 For #619 - Keep toolbar expanded while page is loading 2019-04-12 16:21:09 -07:00
Mugurell 070b7a397d Fix #1159 - Hide the QuickActionBar if fullscreen 2019-04-11 08:50:08 -07:00
Jeff Boek e67e57b7cc for #1430 - Copy BottomToolbarBehavior to customize snackbar position 2019-04-10 19:59:23 -07:00
Jeff Boek e98db8bfb8 For #1430 - Adds a changelog entry 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 22eba72f8f Closes #1170: Allow user to add a new site exception to site permissions 2019-04-10 11:48:43 -05:00
Jeff Boek 043a3bbe9c For #1068 - Adds the ability to quickly copy a URL 2019-04-09 17:13:30 -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
Arturo Mejia 5b2417826e Closes #1429: Updated site permissions ui for MVP 2019-04-08 10:47:00 -05:00
Jeff Boek e34d163034 Combines the Tab and Session component 2019-04-06 12:38:46 -05:00
Sawyer Blatz 5fc1e9227f
Closes #1195: Adds telemetry for quick action sheet (#1362) 2019-04-05 15:08:55 -07:00
Arturo Mejia 04f8a25bce Closes #1377: Fixed Doorhanger not shown when the toolbar padlock
is clicked.
2019-04-04 13:54:15 -05:00
Arturo Mejia 4489edd97b Closes #1165: Added Doorhanger to the toolbar. 2019-04-03 21:51:13 -05:00
Jeff Boek 4b4d172e2e Fixes #1024 - Adds metrics for browser menu items 2019-04-03 15:37:52 -07:00
Jeff Boek c678b5d7c5 For #1036 - Maps facts to events 2019-04-03 12:17:20 -05:00
Colin Lee bd81e72239 Fixes #916, fixes #917, fixes #920: Save, share, and delete bookmarks 2019-04-01 16:16:08 -05:00
Arturo Mejia 061b6f3cd5 Closes #1167: Added behavior for site permissions custom settings. 2019-03-29 23:28:10 -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
Arturo Mejia 289785be90 Closes #1166: Added behavior for site permissions recommended settings. 2019-03-29 10:19:23 -07:00
Jeff Boek b5bd9357fc For #986 - Adds support for opening Fenix with a link to telemetry 2019-03-22 17:14:35 -07:00
Jeff Boek 786592e8d0 For #959 - Adds telemetry for when the search bar is tapped 2019-03-22 17:14:35 -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