1
0
Fork 0
Commit Graph

297 Commits (372b1e7f0eb16677c809aaf4534526aa26674760)

Author SHA1 Message Date
ekager dee3c059dc Adds Shared Transition between Home and Search 2019-05-29 12:27:48 -07:00
Sawyer Blatz 6a53127ef9 For #2948: Adds menu button add tab to collection 2019-05-29 09:08:11 -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
Emily Kager 506f332b85 For #2919 - Invoke Pending Delete Jobs in onPause 2019-05-28 14:59:05 -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
Tiger Oakes 207a8d6772 Use a ListAdapter for SessionControl 2019-05-24 13:13:52 -07:00
Emily Kager 4e13de3ffd No issue: Register observers with owner view 2019-05-24 10:53:05 -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
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
Jeff Boek bf28462c47 For #2717 - Hides onboarding card when signed into a firefox account 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 a1d32127ab For #2655: Adds undo snackbar for closing all tabs 2019-05-23 07:26:00 -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
Sawyer Blatz e7ecd49353 For #1578: Adds delete collection with undo 2019-05-21 14:02:56 -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
Sawyer Blatz 93d0982a6f For #1576: Adds tab collection renaming 2019-05-21 10:34:42 -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 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 9a76c11dae For #2389 - Save state on homeview when switching themes 2019-05-20 23:32:58 -07:00
Emily Kager ba790c5dd3 No issue: remove unused restore state code 2019-05-20 19:29:28 -07:00
Sawyer Blatz 3619f1417d For #1574: Cleans up unused code and refactors 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 30a643720f For #1574: Adds tab collection creation 2019-05-20 14:31:17 -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 95af2ddcc6 For #2390 - Adds the start browser button 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 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
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
Emily Kager 4070941657 No issue: Refactor dialogs to use nav graph 2019-05-10 19:58:48 -07:00
Colin Lee cfccb997fd For #1909: Tabs disappear intermittently (#2426) 2019-05-10 15:20:45 -07:00
Colin Lee ccbc14a71f For #1994: Re-architect state handling code (#2382) 2019-05-09 23:06:12 +00:00
Emily Kager eb4e159101 For #2329 , For #2332: Invoke pending delete session job on navigate (#2333) 2019-05-08 12:27:38 -05:00
Emily Kager 37bae3bb38 For #2289 - Null out pending job on undo (#2303) 2019-05-06 16:38:53 -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
Emily Kager 0000d6a782 For #2277 - Clean up threading for session control with undo (#2281) 2019-05-05 09:54:45 -05:00
Emily Kager e5e448ac8f For #1694 - Show Snackbar with Undo When Tab is Closed (#2246) 2019-05-03 09:41:44 -05:00
Emily Kager 73de0cd2e8 Closes #2239 - emit session changes in onstart (#2240) 2019-05-02 15:13:59 -05:00
Emily Kager 8fd937669b Closes #2182 - Do not invoke sessionmanager callbacks (#2236) 2019-05-02 14:35:38 -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
Will Hawkins 0bcff089d6 Feature #2088: Async load the default search engine icon at startup (#2113) 2019-04-30 19:45:56 -05:00
Sawyer Blatz 70486039c0 Closes #2147: Refactors usage of openToBrowserAndLoad 2019-04-29 15:49:22 -07:00
Emily Kager 0e44921e08 For #1573 - Update tabs header menu (#2141) 2019-04-29 17:03:40 -05:00
Emily Kager 1041500869 For #1573 - Long pressing tab selects that tab in save collections 2019-04-29 12:57:34 -07:00
Sawyer Blatz 46924544b6 For #1975 & #1627: Refactors getSessionById in BrowserFragment 2019-04-25 16:51:03 -07:00
Jeff Boek d39c15402e For #1843 - Adds a better theme for the creation fragment 2019-04-24 14:29:23 -07:00
Jeff Boek ba90b58d32 For #1843 - Displays tabs on the tab selection screen 2019-04-24 14:29:23 -07:00
Jeff Boek 63574cc359 For #1843 - Adds a create collections fragment and navigates to it 2019-04-24 14:29:23 -07:00
Sawyer Blatz e2198f19ad
Fixes #1868: Corrects private browsing myths link (#1930) 2019-04-23 14:26:56 -07:00
Emily Kager 534d88f629 Closes #1894 - Fixes Help Page Navigation 2019-04-23 00:22:46 -05:00
Jeff Boek f19a773ab9
Merge pull request #1842 from boek/i1840-collections_featureflag
For #1840 - Adds a save tab group button and puts it behind a feature  flag
2019-04-20 14:15:18 -07:00
Jeff Boek 4ea54252b0 For #1830 - Adds the ability to share a tab 2019-04-19 15:31:12 -07:00
Jeff Boek 774c5c0e0c For #1830 - Updates the tab visual style 2019-04-19 15:31:12 -07:00
Jeff Boek 5ca9040702 For #1696 - Removes sessions from session control 2019-04-17 22:41:59 -07:00
Jeff Boek 6183e82264 For #1696 - Removes sessions from the bottomsheetfragment 2019-04-17 22:41:59 -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 e98db8bfb8 For #1430 - Adds a changelog entry 2019-04-10 09:58:00 -07:00
Jeff Boek 5acd386ecd For #1430 - Handle more text in a more graceful way 2019-04-10 09:58:00 -07:00
Jeff Boek b306bc502a For #1430 - Adjust snackbar colors for darkmode 2019-04-10 09:58:00 -07:00
Jeff Boek 9434f01b42 Fixes #1204 - Fixes the home screen animation 2019-04-08 16:16:28 -05:00
Jeff Boek e34d163034 Combines the Tab and Session component 2019-04-06 12:38:46 -05:00
Jeff Boek 4a385068e0 Updates ConstraintLayout to alpha4 2019-04-05 10:09:02 -07:00
Jeff Boek 756634bc6c For #1181 - Use appName in string locations 2019-03-26 14:32:53 -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
Emily Kager bb3ebbdbe2 Closes #932 - Home Page UI polish 2019-03-20 19:55:29 -05:00
Colin Lee 0ac3e5369d Fixes #1050: Fenix sessions save and close upon opening 2019-03-18 08:21:30 -07:00
Colin Lee 6e1655e935 Fix #1032: Crash altering sessions DB on main thread 2019-03-15 10:41:02 -07:00
Sawyer Blatz 463ab8bf79 No issue: Fixes compilation errors with a-c 47.0 2019-03-14 09:49:35 -07:00
Emily Kager 8d442c062d Closes #884 - Set and use default search engine 2019-03-12 11:11:24 -07:00
Jeff Boek 79395631d7 Fixes #870 - Fixes logic for the session bottom sheet fragment for private mode
Also fixes #871
2019-03-11 16:02:06 -07:00
Sawyer Blatz b1d0233b04 Closes #814: Scrolls to top after session restore 2019-03-08 12:55:52 -08:00
Sawyer Blatz d6ebd88186
Closes #804: Adds disable private browsing content description (#851) 2019-03-08 08:37:35 -08:00
Emily Kager d15e4bb3fa Closes #877 - Add Search Engine Settings 2019-03-06 16:20:35 -08:00
Sawyer Blatz a79134fdc3
Closes #823 & Closes #835: Refactors openToBrowserAndLoad to include fromFragment (#833) 2019-03-06 14:53:49 -08:00
Emily Kager 58b32e944b Revert "Closes #811 - Clear stack after switching to private browsing" (#876)
This reverts commit 8b793cd43e.
2019-03-06 11:48:00 -08:00
Emily Kager 8b793cd43e Closes #811 - Clear stack after switching to private browsing 2019-03-05 14:34:56 -08:00
Jeff Boek d413b7228f Fixes compiler error for new version of A-C 2019-03-05 09:34:49 -08:00
Colin Lee 9d3ef76929 For #747: Fix memory leak with HomeMenu 2019-03-04 09:02:20 -08:00
Jeff Boek 27c5570b43 For #673 - Dismiss bottom sheet on archive. Remove boolean logic 2019-03-01 08:03:51 -06:00
Jeff Boek e05f0894e8 For #673 - Modifies Session Bottom Sheet to work for current and archived sessions 2019-02-28 18:46:46 -06:00
Jeff Boek 22c915b5a4 For #673 - Trigger session overflow menu on session item menu 2019-02-28 18:46:46 -06:00
Jeff Boek 1aa3d7e1ad For #673 - Pulls out the session overflow action 2019-02-28 18:46:46 -06:00
Sawyer Blatz e9e74122b5 Closes #736 & Closes #722: Adds delete session button to private browsing 2019-02-28 14:00:01 -08:00
Jeff Boek 77189a00a0 Fixes #741 - Dont show the current session in the previous session list 2019-02-28 14:51:31 -06:00
Sawyer Blatz 84a2b24554 Closes #510: Adds private browsing myths SUMO link 2019-02-28 13:38:08 -06:00
Jeff Boek 1d4be1b665 For #633 - Remove only normal sessions, add a11y for glyphs 2019-02-27 15:21:55 -08:00
Jeff Boek 416382c3ad For #633 - Gives the user the ability to save their session 2019-02-27 15:21:55 -08:00
Jeff Boek 000d5a2e54 Fixes #672 - Moves private browsing description out of sessions 2019-02-27 09:57:50 -08:00
Sawyer Blatz 57a0d97114 Fixes #678: Hides sessionsComponent in private mode 2019-02-27 09:36:42 -08:00
Jeff Boek d5aeec417b For #636 - Allow a user to delete a session 2019-02-25 17:28:54 -08:00
Jeff Boek 2ac2f9a9da For #635 - Restores a session 2019-02-25 17:28:54 -08:00
Jeff Boek 8379c3d2cb For #631 - Puts tabs and sessions into a nested scrollview 2019-02-25 17:28:54 -08:00
Jeff Boek d62d41b46a For #631 - Passes data into the sessions component and render a list 2019-02-25 17:28:54 -08:00
Emily Kager 5b8d40e6e0 Closes #655 - Show/Hide toolbar in onResume 2019-02-25 11:45:59 -08:00
Sawyer Blatz 53f391de60
Closes #537: Refactors private sessions (#629) 2019-02-22 09:49:02 -08:00
Colin Lee 291f21aa8e Handle listener state bugs as onViewCreated isn't always called 2019-02-19 09:08:25 -08:00
Colin Lee b42a512b87 Fixes #557: Selected tab should appear with selected theme 2019-02-16 20:55:44 -08:00
Colin Lee 6d71faa44d Fixes #541: Crash on Home Screen
The Android Lifecycle Architecture component does not have fine-grained enough lifecycle event callbacks to safely manage Rx subscriptions in Fragment lifecycles. Added autodispose to simplify.
2019-02-16 19:40:39 -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
Colin Lee ee229c9709 Fixes #354: Overflow menu for multitasking in current session 2019-02-14 10:14:57 -06:00
Jeff Boek 5addcca524 For #456 - Adds popover menu to menu button 2019-02-12 16:25:40 -08:00
Jeff Boek df3eaa2ca7 For #456 - Moves out KeyTrigger into its own file 2019-02-12 16:25:40 -08:00
Colin Lee 83f637e386 Fixes #431: Scroll-down on the home screen messes up everything 2019-02-12 16:14:46 -06:00
Sawyer Blatz d543d776b1 Closes #438: Adds dynamic nav bar color 2019-02-12 13:56:43 -06:00
Colin Lee f09dc2453f Fixes #351 Create home screen component for multitasking 2019-02-09 15:52:10 -06:00
Emily Kager 77883c0f30 Closes #403 Use Fragments for Navigation, Add Toolbar to HomeActivity 2019-02-08 12:57:38 -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
Jeff Boek 88a54b7b30 Fixes #362 - Downgrade to ConstraintLayout 2.0.0-alpha2
There is currently an issue with visibility changes in ConstraintLayout 2.0.0-alpha3
https://issuetracker.google.com/issues/122090772
For now we're going to manually implement KeyTriggers.
2019-02-01 16:26:37 -08:00
Emily Kager 8368f4fbb2 Part of #288 - Set up basic settings menu 2019-01-30 14:29:17 -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
Colin Lee e7ebd712c6 Fix MotionLayout animation the proper way 2019-01-29 19:49:08 -08:00
Jeff Boek ebb5da7f4e For #141 - Cleans up search UI 2019-01-29 21:08:07 -06:00
Jeff Boek 0e9c77b036 Cleans up animation between search bar states 2019-01-29 10:32:30 -08:00
Jeff Boek 9e76498eed Cleans up the elevation transition for the search bar on the homescreen 2019-01-29 10:32:30 -08:00
Jeff Boek 3079af1d36 Adds search engine icon to searchbar 2019-01-29 10:32:30 -08:00
Colin Lee 69e9617272 Fixes #127: Add architecture classes 2019-01-28 15:07:48 -06:00
Jeff Boek 4179a8ff78 For #139 - Adds the sessions placeholder 2019-01-25 09:11:44 -08:00
Jeff Boek 38431dac41 Hides icons that arent currently used 2019-01-25 09:11:44 -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
Emily Kager 19572d474a Closes #134 - Collapse/show the toolbar based on browser scrolling 2019-01-23 13:23:40 -08:00
Jeff Boek 4c4f344a97 For #131 - Loads mozilla.org in the browser fragment 2019-01-18 15:47:19 -08:00
Emily Kager 4421adecbb Implement Navigation, Add Search Fragment, Add Browser Fragment 2019-01-15 14:08:37 -08:00
Jeff Boek cefa12224f Fixes nits in mozilla-mobile/fenix#158 2019-01-12 17:09:28 -06:00
Jeff Boek a800d33620 For #139 - Adds session placeholder with motionlayout 2019-01-12 17:09:28 -06:00
Jeff Boek da939bba50 For #150 - Adds more style to the urlbar 2019-01-12 17:09:28 -06:00
Jeff Boek 3378ee4209 For #150 - Adds the search bar 2019-01-12 17:09:28 -06:00
Jeff Boek c1500fe0bc For #150 - Adds a home fragment 2019-01-12 17:09:28 -06:00