1
0
Fork 0
Commit Graph

272 Commits (c119070e213ac2f835967f045d13bca36db972b9)

Author SHA1 Message Date
Sebastian Kaspari ba05d21657 Fix ktlint MaxLineLength issues. 2019-09-03 10:09:06 -07:00
Sebastian Kaspari 38d97fda8b Stores: Reduce visibility of reducer functions. 2019-09-03 10:09:06 -07:00
Sebastian Kaspari ac32a88d45 Rename BrowserStore/State/Action to BrowserFragmentStore/State/Action. 2019-09-03 10:09:06 -07:00
mihai-adrian fc8fc2b33d Fixes #4997: Changed navigation to ShareFragment
Added global navigation action to share fragment in navigation graph
Changed share action to use global navigation to ShareFragment
2019-09-03 07:08:08 -10:00
Tiger Oakes f740d4382a Closes #773 - Add shortcuts to homescreen (#4925) 2019-08-29 14:45:11 -05:00
Sebastian Kaspari 8608375eac Use Mozilla Android Components 10.0.1. 2019-08-28 15:31:25 +02:00
Tiger Oakes d1964d6536 Fixes #4771 - Add method for sessions of type (#4782)
Fixes share tabs to use the new method
2019-08-27 13:04:03 -07:00
Tiger Oakes 66e14959ba Add custom tab fragment 2019-08-23 16:12:19 -04:00
ekager b07df9698a For #4868 - Update content description of tabs button with number of tabs 2019-08-23 09:21:32 -07:00
Tiger Oakes c475bc87cf Move classes out of top-level package 2019-08-21 13:52:30 -07:00
Jeff Boek 68f5d211d3 For #4326 - Updates codebase to support latest version of detekt 2019-08-21 13:50:51 -07:00
Mihai Adrian df3e1bf9d3 Fixes #4795 fixed requestDesktopStateProvider value from private to desktopMode (#4810)
RequestDesktopStateProvider was taken from private instead of desktopMode
2019-08-21 09:10:06 -07:00
Tiger Oakes ac6c1ec2ee Closes #2690 - Clean up CreateCollection viewmodel (#4731) 2019-08-20 10:45:41 -07:00
Emily Kager 7d02354f4f For #4799 #4790 - Don't use passed in sessions in BrowserToolbarController (#4800) 2019-08-18 20:36:40 -05:00
Colin Lee d1aed157dd
For #4686: Fix potential security issue (#4764) 2019-08-16 16:50:54 -05: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
Tiger Oakes 52542708aa Consodilate private browsing code 2019-08-09 11:00:41 -07:00
Colin Lee ef97173cd9
For #4529, #4427: Resuming after restoring instance state breaks UI (#4571)
* For #4529, #4427: Resuming after restoring instance state breaks UI

* Clear up warnings
2019-08-08 11:05:01 -05:00
Sawyer Blatz ff6e9bccb7
For #4451: Adds tests for DefaultBrowserToolbarController (#4493)
* For #4451: Adds tests for DefaultBrowserToolbarController

* Continue working

* Large refactoring of test

* Mock analytics

* Fix merge conflicts
2019-08-08 09:02:42 -07:00
Emily Kager 0b98d43c23 Closes #4602 - Add back transitions 2019-08-07 16:56:21 -07:00
Sawyer Blatz 969d17b4a9
For #969: Adds more telemetry for collections (#4539) 2019-08-07 16:05:20 -07:00
Sawyer Blatz da06b0fb15
For #4508: Treats warnings as errors (#4543) 2019-08-07 14:00:53 -07:00
Sawyer Blatz 29f089c414 For #2203: Polishes BrowserToolbarMenu 2019-08-02 13:40:50 -04:00
Sawyer Blatz 97f7d5ba87 For #2267: Fixes telemetry for reader view (#4328) 2019-07-31 17:58:37 -07:00
Sawyer Blatz 2e7a61860a For #969: Adds more telemetry for collections (#4358) 2019-07-31 17:07:41 -07:00
Sawyer Blatz 6fa022c2f8
For #4124: Migrate BrowserToolbar to Libstate (#4279)
* For #4124: Migrate BrowserToolbar to Libstate

* Restores QuickActionSheetReducer

* Improve tests

* Make QuickActionSheetController

* Finalize tests

* Breaks out QuickActionSheetState

* Fix comments

* Adds BrowserStoreTest
2019-07-29 12:39:36 -07:00
Tiger Oakes 87d8f3b037 Remove redundant super calls 2019-07-29 10:22:53 -07:00
Tiger Oakes c2e6e25bef Fixes #4005 - Move getColorFromAttr to Context 2019-07-26 16:44:11 -04:00
Nikit Bhandari f110ba2861 use synthetic binding instead of findviewbyid 2019-07-19 16:51:26 -04:00
Tiger Oakes 981b6b5b02 For #4124 - Remove browser toolbar editing code 2019-07-18 15:40:33 -04:00
Colin Lee 8855af2234
For #3615: Long pressing the address bar should not copy link (#4083) 2019-07-16 13:42:05 -05:00
Tiger Oakes ef8d9604ae No issue: Normalize license header comment (#3909) 2019-07-12 11:38:15 -07:00
Sawyer Blatz 83312b38aa
For #3175: Correctly grabs focus in search fragment (#3938) 2019-07-08 14:44:30 -07:00
Tiger Oakes 9901514766 Replace deprecated pxToDp (#3932) 2019-07-08 14:45:07 -05:00
Emily Kager f60536b13c For #3829 - Add pop up to nav_graph to browser to home nav 2019-07-03 11:29:49 -07:00
Sawyer Blatz 309014139d For #3488: Cleans up edit mode calls (#3689) 2019-06-26 15:40:07 -05:00
Colin Lee d5c5587a0c
For #3209: Disable shared element animations for crash temporarily (#3482) 2019-06-14 12:13:13 -05:00
Jonathan Almeida 986bc91347 For #3401: Update toolbar tab counter when view is attached
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2019-06-13 16:12:19 -07:00
Sawyer Blatz 7bcc8d576e For #2219: Inflates toolbar menu from bottom (#3389) 2019-06-12 11:17:33 -05:00
Sawyer Blatz b2ca77269b
For #3251: Fixes shortcut typing (#3271) 2019-06-07 15:07:46 -07:00
Colin Lee 1e6da54263 For #3238: fixes race condition crash, nav destination unknown 2019-06-06 15:46:34 -07:00
Denys M 605a552f16 For #1366. Update toolbar search state when typing. (#2908) 2019-06-06 08:16:22 -07:00
Emily Kager 33eb26861d For #3141 For #3142 Do not try to fade BrowserFragment in transitions (#3195) 2019-06-05 20:37:58 -05: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
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
Emily Kager c589e4d4c3 For #2938 - Remove save to collection from PB browsing menu 2019-05-30 08:42:20 -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
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
Tiger Oakes 9b69f9f5db Fixes #654 - Update refresh/stop toolbar buttons (#2702)
(Also back and forward)
2019-05-23 10:46:22 -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
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
Colin Lee 49ac62ab85 Fix ViewModel States (#2457)
Co-authored-by: Jeff Boek <jeff@jeffboek.com>
2019-05-14 13:49:02 -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 ccbc14a71f For #1994: Re-architect state handling code (#2382) 2019-05-09 23:06:12 +00:00
Vlad Filippov 62ae2bca11 Update the deprecated BitmapDrawable constructor (#2308) 2019-05-06 21:32:08 +00:00
Emily Kager 30ffc9fee2 For #2225 - Don't pass click events under find in page bar 2019-05-02 13:33:07 -07: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
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 48191fd376 Closes #2176 - Removes divider after library in browsing menu 2019-04-30 14:33:30 -07:00
Emily Kager 583889cac0 Revert "For #1751 - Add Delete Button to Private Toolbar"
This reverts commit c8061bd9af.
2019-04-29 15:59:59 -07:00
Emily Kager 14c4d12e49 For #1573 - Add Browsing Menu Item Add To Collections 2019-04-29 12:28:52 -07:00
Emily Kager e76c618c2a For #1541 - set padding dynamically for tab counter (#2103) 2019-04-26 22:01:08 -07:00
Sawyer Blatz 4945805e37
For #1954: Resolves QR scanner back press and keyboard issues (#2036) 2019-04-25 12:31:17 -07:00
Sawyer Blatz eadce68e52
Closes #1972: Sets search term on browserToolbar (#1990) 2019-04-24 11:28:31 -07:00
Emily Kager 25c157ceb0 No issue: Use setting to show history autocomplete suggestion 2019-04-24 10:32:12 -07:00
Emily Kager b431e57dce Closes #1855 - Remove haptic feedback on tabs button 2019-04-23 17:47:21 -05:00
Emily Kager 7f5f96b41b Closes #1914 - Removes incomplete actions from Custom Tab Menu 2019-04-23 17:46:55 -05:00
Emily Kager df6230182c Closes #469 - Changes Library String 2019-04-23 17:41:38 -05:00
Sawyer Blatz 8a4995099f For #1205: Adds search term to EditToolbar 2019-04-23 09:59:48 -07:00
Emily Kager c8061bd9af For #1751 - Add Delete Button to Private Toolbar 2019-04-18 11:24:05 -07:00
Sawyer Blatz f48e2b072e No issue: Cleans up SearchShortcut changes 2019-04-17 11:20:59 -05:00
Emily Kager bc07da91a2 Closes #1644 - Correct progress bar gravity 2019-04-16 14:22:25 -07:00
Sawyer Blatz ec35283c9a For #668: Restyles custom tabs 2019-04-15 11:31:13 -07:00
Sawyer Blatz 29832c5e84 For #724: Consolidates colors 2019-04-15 12:22:03 -05:00
Vlad Baicu b3977a5785 Fixes #1517 - Filter private sessions when updating the tab counter 2019-04-10 09:48:53 -07:00
Jeff Boek 043a3bbe9c For #1068 - Adds the ability to quickly copy a URL 2019-04-09 17:13:30 -07:00
Emily Kager 9f1ec5e2b0 For #904 -Add tab counter to tab icon 2019-04-07 21:43:56 -07:00
Sawyer Blatz 1bb65a9243
Fixes #496: Adds new content description to tabs icon (#1357) 2019-04-03 14:12:10 -07: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
Sawyer Blatz 994d88542e For #1072: Adds basic view 2019-03-21 12:54:08 -05:00
Sawyer Blatz 8620b78d6a
Closes #832 & For #222: Adds basic custom tab integration (#1026) 2019-03-15 10:51:04 -07:00
Emily Kager 8c2f80a3ef Closes #654 - Use new two state button for menu toolbar buttons 2019-03-13 13:52:45 -07:00
Sawyer Blatz 9d18bbad12
Closes #847: Implement onCancelEditing to handle keyboard backPress (#929) 2019-03-13 11:12:58 -07:00
Sawyer Blatz 33b83fb0e3
Closes #832: Adds custom tabs menu (#944) 2019-03-13 09:47:23 -07:00
Sawyer Blatz 78c3db1fc8
Fixes #992: Updates account implementation for a-c 47.0 (#995) 2019-03-13 09:23:55 -07:00
Emily Kager 65fa904a21 No issue: remove breaking AC change params (#878) 2019-03-06 11:48:09 -08: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 e57aa67d60
Closes #664 & Closes #665: Refactors load to respect private mode (#667) 2019-02-28 09:25:37 -08:00
Jeff Boek 5ab49ff7cf For #507 - Leaves a comment to explain the current state 2019-02-21 11:29:13 -08:00
Jeff Boek bacf84678d For #507 - Moves the loading of the URL to the fragment 2019-02-21 11:29:13 -08:00
Jeff Boek b03266fca3 For #507 - Use just the presenter over the feature 2019-02-21 11:29:13 -08:00
Sawyer Blatz 797d1cc423 Fixes #566: Clears search on new tab 2019-02-20 15:32:24 -06:00
Colin Lee 66ebb652a6 Fixes #568: Crash on custom tabs menu if no other tabs are open 2019-02-17 23:29:14 -08:00
Colin Lee 870621b958 BrowserToolbar UrlCommitListener requires Boolean return 2019-02-16 17:28:38 -06:00
Sawyer Blatz 9bf0354d02 Closes #530: Adds private keyboard support 2019-02-15 14:37:57 -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 fe74df8b7f Closes #508 - Use Default Component Text Size for Toolbar 2019-02-14 20:34:51 -06: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
Jeff Boek 4873d989a0 Moves the shared toolbar component to the components package 2019-02-12 16:25:40 -08:00
Jeff Boek 98a1ae578e For #355 - Present the Library when the menu item is tapped 2019-02-07 15:41:15 -08:00
Jonathan Almeida 21508f49ca WIP: Integrate feature-customtabs component 2019-02-05 17:30:51 -08:00
Jeff Boek a6004fea20 Closes #146 & Closes #147: Integrates find in page
Co-authored-by: Sawyer Blatz <sdblatz@gmail.com>
2019-02-01 23:00:37 -08:00
Emily Kager 3db9f2cb6a No issue: Hook up browser menu items Settings and temporary Share 2019-02-01 16:14:59 -08:00
Colin Lee 273f33b244 Fixes #290: Integrate new Fenix architecture 2019-01-30 13:44:58 -06:00
Colin Lee b2b6a530d0 Make ktlint and detekt style changes 2019-01-30 11:08:25 -06:00
Emily Kager 2e15efafe0 Part of #131 - Add Background to URL View Toolbar 2019-01-29 16:28:45 -06:00
Grisha Kruglov 0e3965632a Closes #270: Integrate browser-storage-sync for history storage and toolbar autocompletion 2019-01-29 14:40:59 -06:00
Sawyer Blatz edcdd05c68 Closes #135: Adds accessibility support to Browser UI 2019-01-28 14:01:36 -06:00
Emily Kager 5903cefa6b Closes #133 - Create Browser Menu UI 2019-01-28 09:50:31 -08:00
Emily Kager 5a3fc1325f Adds toolbar with autocomplete and menu to BrowserFragment 2019-01-24 14:39:51 -08:00
Jeff Boek 3e0ed05c0e Adds missing licenses 2019-01-24 14:13:28 -08:00
Jeff Boek 480ae93a72 For #141 - Adds autocomplete ot the search screen
- Adds convenience extensions to Context and Fragment
- Imports more components from Android Components
2019-01-24 14:13:28 -08:00