codrut.topliceanu
1e510d2772
[components] For https://github.com/mozilla-mobile/android-components/issues/10624 - Adds recoverable param to RemoveAllTabsAction
...
...to be used by UndoMiddleware.kt to prevent closed tabs from being recoverable
2021-07-19 14:49:23 +00:00
Mugurell
4e14471fa6
[components] For https://github.com/mozilla-mobile/android-components/issues/10470 - Persist and restore lastMediaAccess of TabSessionState
2021-07-08 17:08:25 +00:00
Mugurell
11b0ca6e98
[components] For https://github.com/mozilla-mobile/android-components/issues/10470 - Add a new lastMediaAccess property for TabSessionState
...
This new property will be a timestamp of the last time media started playing in
the current page or be 0 if media hadn't started playing or another page loaded
in this tab so media was stopped.
To observe the media changes and update this property LastMediaAccessMiddleware
will have to be set on BrowserStore.
2021-07-08 17:08:25 +00:00
Grisha Kruglov
ccb0a5014b
[components] Extension functions for converting URLs to search terms
2021-06-17 19:36:48 +00:00
Christian Sadilek
ad14e1fdd2
[components] Add findNormalTab and selectedNormalTab extensions
2021-06-16 14:14:46 +00:00
mcarare
636adaf2a9
[components] For https://github.com/mozilla-mobile/android-components/issues/10404 : Remove deprecated kotlin-android-extensions plugin
...
(cherry picked from commit d99621583ceb11e7d91ebe284e40aec145793e48)
2021-06-15 08:32:26 +00:00
Christian Sadilek
4dfb6d92c1
[components] Revert "For https://github.com/mozilla-mobile/android-components/issues/10404 : Remove deprecated kotlin-android-extensions plugin"
...
This reverts commit d99621583ceb11e7d91ebe284e40aec145793e48.
2021-06-14 18:09:24 +00:00
mcarare
17c2336fde
[components] For https://github.com/mozilla-mobile/android-components/issues/10404 : Remove deprecated kotlin-android-extensions plugin
2021-06-14 10:05:57 +00:00
Sebastian Kaspari
b16e52cecb
[components] CreateEngineSessionMiddleware: Lookup custom tabs too.
2021-06-10 16:34:36 +02:00
Christian Sadilek
f8a8f07f81
[components] Make sure crash state is updated before unlinking engine state
...
This makes sure observers see the crashed state of a tab update
before the engine session is set to null. This is important so
observers can react to crashes and won't immediately request a
new engine session.
2021-06-09 14:45:57 +00:00
Sebastian Kaspari
b7d77a521d
[components] Complete migration from browser-session to browser-state.
...
* Issue https://github.com/mozilla-mobile/android-components/issues/10197 : Move EngineObserver and EngineMiddleware to browser-state and refactor SessionManager dependency away.
* Issue https://github.com/mozilla-mobile/android-components/issues/3532 : Migrate TabsUseCases to use BrowserStore exclusively.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Migrate SessionUseCases to use BrowserStore exclusively.
* Issue https://github.com/mozilla-mobile/android-components/issues/3532 , https://github.com/mozilla-mobile/android-components/issues/10209 : Migrate components to use new UseCase APIs.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Migrate UndoMiddleware to use BrowserStore.
* Issue https://github.com/mozilla-mobile/android-components/issues/3532 : Migrate CustomTabsUseCases to use BrowserStore.
* Issue https://github.com/mozilla-mobile/android-components/issues/10211 : Migrate sample-browser to not depend on browser-session.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Remove browser-session dependency.
* Issue https://github.com/mozilla-mobile/android-components/issues/3532 : feature-tabs: Remove browser-session dependency.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Fix UndoMiddlewareTest
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Refactor SessionUseCasesTest to not use SessionManager.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Fix SessionFeatureTest.
* Refactor support-migration tests to not use SessionManager.
* Fix tests in feature-contextmenu.
* Refactor feature-recentlyclosed tests to not use SessionManager
* Refactor browser-session-storage tests to not use SessionManager
* Refactor feature-intent tests to not use SessionManager
* Refactor feature-tabs tests to not use SessionManager pt. 1
* Refactor feature-customtabs tests to not depend on browser-session.
* Make sure initial load url flags are correct
* Refactor feature-tabs tests to not use SessionManager pt. 2
* Refactor browser-state tests to not depend on browser-session.
* SearchUseCasesTest: Use addTab use case instead of addPrivateTab.
* Samples Browser: Remove unused drawable.
* Fix feature-pwa tests
* Remove browser-session.
* Make sure engine session is linked for window requests
* Make sure engine session is linked when provided with tab
* Make sure engine session is linked when provided with tab pt. 2
* Prevent engine session from being created multiple times
* Prevent engine session from being created multiple times pt. 2
* Prevent engine session from being created multiple times pt. 3
* Part 4: REFACTOR ALL THE THINGS
* Update tests.
* Add additional test for multiple CreateEngineSessionAction dispatching.
* Refactor, some docs and tests
* Fix CustomTabs tests...
2021-06-08 14:44:09 +00:00
Sebastian Kaspari
ff784931ec
[components] Revert "Complete migration from browser-session to browser-state."
...
This reverts commit c5474f00085cf5011e06e3826f611831c50c95b0.
2021-06-07 13:14:34 -04:00
Sebastian Kaspari
230c3e8a4b
[components] Complete migration from browser-session to browser-state.
...
* Issue https://github.com/mozilla-mobile/android-components/issues/10197 : Move EngineObserver and EngineMiddleware to browser-state and refactor SessionManager dependency away.
* Issue https://github.com/mozilla-mobile/android-components/issues/3532 : Migrate TabsUseCases to use BrowserStore exclusively.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Migrate SessionUseCases to use BrowserStore exclusively.
* Issue https://github.com/mozilla-mobile/android-components/issues/3532 , https://github.com/mozilla-mobile/android-components/issues/10209 : Migrate components to use new UseCase APIs.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Migrate UndoMiddleware to use BrowserStore.
* Issue https://github.com/mozilla-mobile/android-components/issues/3532 : Migrate CustomTabsUseCases to use BrowserStore.
* Issue https://github.com/mozilla-mobile/android-components/issues/10211 : Migrate sample-browser to not depend on browser-session.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Remove browser-session dependency.
* Issue https://github.com/mozilla-mobile/android-components/issues/3532 : feature-tabs: Remove browser-session dependency.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Fix UndoMiddlewareTest
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Refactor SessionUseCasesTest to not use SessionManager.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209 : Fix SessionFeatureTest.
* Refactor support-migration tests to not use SessionManager.
* Fix tests in feature-contextmenu.
* Refactor feature-recentlyclosed tests to not use SessionManager
* Refactor browser-session-storage tests to not use SessionManager
* Refactor feature-intent tests to not use SessionManager
* Refactor feature-tabs tests to not use SessionManager pt. 1
* Refactor feature-customtabs tests to not depend on browser-session.
* Make sure initial load url flags are correct
* Refactor feature-tabs tests to not use SessionManager pt. 2
* Refactor browser-state tests to not depend on browser-session.
* SearchUseCasesTest: Use addTab use case instead of addPrivateTab.
* Samples Browser: Remove unused drawable.
* Fix feature-pwa tests
* Remove browser-session.
* Make sure engine session is linked for window requests
* Make sure engine session is linked when provided with tab
* Make sure engine session is linked when provided with tab pt. 2
* Prevent engine session from being created multiple times
* Prevent engine session from being created multiple times pt. 2
* Prevent engine session from being created multiple times pt. 3
* Part 4: REFACTOR ALL THE THINGS
* Update tests.
* Add additional test for multiple CreateEngineSessionAction dispatching.
* Refactor, some docs and tests
* Fix CustomTabs tests...
2021-06-07 15:29:14 +00:00
Mugurell
5fc28020ea
[components] For https://github.com/mozilla-mobile/android-components/issues/8989 - Support multiple prompts in the same Session
...
Following crash reports it was seen that it is possible for multiple prompts to
be shown at the same time with an edgecase being that one prompt request comes
after the user interacted with a previous prompt but before the consume call
completing in AC / GV time at which this code will try to use the new prompt,
not the one the user interacted with.
Having support for multiple prompt requests in ContentState and tightly
coupling a PromptDialogFragment with it's PromptRequest ensures any action
consuming a PromptDialogFragment will always consume the PromptRequest for
which that dialog was shown irrespective of the number of prompts or which is
currently shown on top.
2021-06-02 12:04:17 +00:00
Christian Sadilek
5e611f396b
[components] Persist history metadata tab state
2021-06-01 21:02:36 +00:00
Christian Sadilek
8d7180a53b
[components] Add HistoryMetadata state, action, and reducer
...
Co-authored-by: Grisha Kruglov <gkruglov@mozilla.com>
2021-06-01 21:02:36 +00:00
Sebastian Kaspari
98ab7b1b5f
[components] Fix or suppress warnings from new detekt version.
2021-05-25 15:22:17 +00:00
Christian Sadilek
431a1d1ce6
[components] Allow setting initial load flags when creating tabs
2021-05-06 15:39:49 +00:00
Christian Sadilek
d826836562
[components] Update KDocs for crashed engine state
2021-04-21 15:20:33 +00:00
Elise Richards
2a94964ca4
[components] Closes https://github.com/mozilla-mobile/android-components/issues/9754 : add locale to browser state ( https://github.com/mozilla-mobile/android-components/pull/9779 )
...
* Add locale to our browser state. Create an action for updating this state.
* Observe changes to locale in the service and dispatch changes in the locale manager
* Separate the building of the notification so it can be reused
* Create a use case for local updates to be used in the locale manager
Add channel id so that the existing notification can be accessed and updated
Send notification id instead of tag
Locale use cases test
Put locale action in sealed action class
Test locale scope
* Add refresh functionality to the service
Add locale actions and reducer for restoring state
Restore state for locale use case. Make getters for ids in notification service
Test locale use case notification in the locale manager
Test covering all locale use cases
* Add locale middleware to handle restore from disk
* Middleware tests for locale
* Locale action tests
* Locale state reducer tests
* Changelog
* Lint and cleanup
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-03-22 16:59:29 +00:00
Arturo Mejia
72635c4665
[components] Closes https://github.com/mozilla-mobile/android-components/issues/9806 Refactor close download response to be in the DownloadMiddleware
2021-03-08 21:19:09 +00:00
Arturo Mejia
971a797bb5
[components] Closes https://github.com/mozilla-mobile/android-components/issues/9757 Remove downloads notification when private tabs are closed
2021-02-25 01:51:58 +00:00
Sebastian Kaspari
3601d384d0
[components] Search: Remember and restore order of search engine list for user's region.
2021-02-22 14:52:09 +00:00
Sebastian Kaspari
282f5e3aef
[components] Remove old media APIs.
2021-02-10 13:02:22 +00:00
Michael Comella
84d0339bb2
[components] For https://github.com/mozilla-mobile/android-components/issues/9638 : name Store threads.
...
I omitted naming the MigrationStore to avoid touching the migration code but
that code is touched indirectly by inheriting from the Store super-class.
2021-02-10 00:35:59 +00:00
Sebastian Kaspari
e9b345e5a8
[components] Issue https://github.com/mozilla-mobile/android-components/issues/9366 : Create dedicated BrowserAction for "engine session killed" and track engine session lifetime.
...
* Once we link an `EngineSession` to a `Session` we track the time.
* The separate `BrowserAction` allows us to write a Middleware for this event.
* I was unhappy with SystemClock requiring the Android stdlib and therefore making mocking a pain, or
requiring the slow Robolectric test runner. I ended up with this wrapper class, that seems to work
well in Fenix when writing unit tests.
The next step is to write a Middleware in Fenix that looks at those events and records metrics in Glean.
I will open a PR for that soon.
2021-02-09 09:56:17 +00:00
Mugurell
b55384ba67
[components] For https://github.com/mozilla-mobile/android-components/pull/9417 - Add support for sharing actual website images ( https://github.com/mozilla-mobile/android-components/pull/9420 )
...
Prior to this when the user selected to share an image from the contextual menu
the apps would only share the URL, not the actual resource.
This patch adds a new `ShareDownloadFeature` that will listen for
`AddShareAction` and download, cache locally and then share the Internet
resource contained in Action's state.
Giving the time needed to actually download these resources this feature is
only used for image sharing, not for other types of potentially bigger
resource types.
This is a breaking change with clients expected to create and register a new
instance of the this new feature otherwise the "Share image" from the
browser contextual menu will do nothing.
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-02-01 15:43:51 +00:00
Christian Sadilek
fd0f335c4f
[components] Fix KDocs of AllowedInPrivateBrowsingAction
2021-01-15 14:57:03 +00:00
Christian Sadilek
d314d0e375
[components] Closes https://github.com/mozilla-mobile/android-components/issues/7884 : Move active web extension tab state to store
2021-01-15 14:57:03 +00:00
Sebastian Kaspari
370f706a6a
[components] Closes https://github.com/mozilla-mobile/android-components/issues/4257 : Migrate feature-customtabs from browser-session to browser-state.
2021-01-14 17:37:15 +00:00
Arturo Mejia
f48f395695
[components] Closes https://github.com/mozilla-mobile/android-components/issues/9176 Add support for site specific autoplay permissions.
2021-01-12 16:27:55 +00:00
Sebastian Kaspari
13adbd833c
[components] Migrate feature-recentlyclosed to use BrowserStore exclusively and replace ClosedTab with RecoverableTab.
2021-01-11 14:37:04 +00:00
Christian Sadilek
a6cbe64761
[components] Closes https://github.com/mozilla-mobile/android-components/issues/8913 : Migrate feature-app-links to browser-state
2021-01-08 17:22:48 +00:00
mawen7
202c403aa8
[components] Use file separator
2020-12-14 15:41:05 +00:00
Arturo Mejia
c89fa9273f
[components] Closes https://github.com/mozilla-mobile/android-components/issues/9131 : Add site permission indicators
...
in the toolbar.
2020-12-10 10:46:28 +00:00
Sebastian Kaspari
2191eda94e
[components] Closes https://github.com/mozilla-mobile/android-components/issues/4571 : Introduce API to purge (back/forward) history of tabs.
...
* For `PurgeHistoryUseCase` I decided to not introduce a "tab ID" parameter and instead have
it purge the history of all tabs. It seems like this is what we need and individual tab
history removal is not needed for now.
* Some tabs may not have an `EngineSession` assigned. Creating one just to call purgeHistory()
seems excessive. Instead I am dropping an attached `EngineSessionState` which will cause
those tabs to just reload the URL with not back/forward history when they get restored.
2020-12-08 19:43:08 +00:00
Christian Sadilek
de36351126
[components] Closes https://github.com/mozilla-mobile/android-components/issues/9157 : Move desktopMode state from Session to Store
2020-12-08 17:14:59 +00:00
Sebastian Kaspari
d2600f3328
[components] Closes https://github.com/mozilla-mobile/android-components/issues/9151 : Refactor feature-pwa to not depend on browser-session anymore.
...
Again, multiple things in this PR:
* Migrated WebAppIntentProcessor and TrustedWebActivityIntentProcessor to use TabsUseCases instead of
SessionManager directly.
* Migrated one LoadUrlUseCase to take a session ID instead of a `Session` instance as parameter
* Extended TabsUseCases to optionally accept a CustomTabConfig and/or WebAppManifest
I think with that we may even be able to remove WebAppManifest from `Session`. I'll look into this next.
2020-12-08 15:47:51 +00:00
Emilio Cobos Álvarez
41d375b7d9
[components] ktlint: Add missing newlines.
...
Running ./gradlew ktlint locally reports a lot of stuff like:
/home/emilio/src/moz/android-components/components/support/migration/src/test/java/mozilla/components/support/migration/MigrationIntentProcessorTest.kt:1:1: File must end with a newline (\n)
This fixes it with:
for f in $(cat files | cut -d : -f 1); do echo "" >> $f; done
Making ./gradlew ktlint pass.
2020-12-03 17:24:44 +00:00
Sebastian Kaspari
7b8f79a1b3
[components] Closes https://github.com/mozilla-mobile/android-components/issues/9096 : Move recording devices from Session to ContentState and turn RecordingDevicesNotificationFeature into middleware.
2020-12-03 16:45:02 +00:00
Sebastian Kaspari
300e7440ba
[components] Issue https://github.com/mozilla-mobile/android-components/issues/8879 : feature-recentlyclosed: Replace InitializeRecentlyClosedState with generic init action.
2020-12-03 10:41:33 +00:00
Sebastian Kaspari
4772e5b779
[components] Issue https://github.com/mozilla-mobile/android-components/issues/8879 : feature-containers: Replace InitializeContainerState with generic init action.
2020-12-02 10:25:57 +00:00
Roger Yang
d5392af1e7
[components] Closes https://github.com/mozilla-mobile/android-components/issues/8743 , closes https://github.com/mozilla-mobile/android-components/issues/8886 : Use MediaSesssion API in Media Notification
2020-11-18 11:09:19 +00:00
Arturo Mejia
f04a6913d5
[components] Closes https://github.com/mozilla-mobile/android-components/issues/8943 refactor SwipeRefreshFeature to not use EngineSession.Observer
2020-11-12 19:36:50 +00:00
Sebastian Kaspari
39cb5fa192
[components] Issue https://github.com/mozilla-mobile/android-components/issues/8744 : Save search engine ID and name when user selects search engine.
...
There are two reasons why we need the name in addition to the ID:
* When the user switches to a new "home" region then the previously selected search engine ID may no longer be in the
list. However there may be a different version of that search engine with a different ID for this region. In this
case we want to select that search engine - since for the user there's no visible difference. A famous example of
that is "Google", which may have different IDs / search plugins depending on region.
* Fenix saves the search engine name and we need to import that.
Fenix (as well as Fennec) already used the name, so it should be safe to pick the selected search engine based on
the name of the search engine.
2020-11-03 08:45:55 +00:00
ekager
02a1023025
[components] For https://github.com/mozilla-mobile/android-components/issues/8831 - Adds ability to remove (and restore) a list of tabs
2020-11-02 22:46:29 +00:00
Sebastian Kaspari
5804da97e9
[components] Issue https://github.com/mozilla-mobile/android-components/issues/8744 : Search: Add ability to load additional search engines that users can choose from.
2020-11-02 11:36:49 +00:00
codrut.topliceanu
c84123dfb8
[components] For https://github.com/mozilla-mobile/android-components/issues/8554 - Migrate permissionFeature to KotlinFlow
2020-10-28 19:47:01 +00:00
Sebastian Kaspari
529eab44fd
[components] Issue https://github.com/mozilla-mobile/android-components/issues/8744 : Update search terminology.
...
The term "default" is somewhat overloaded and can mean multiple things. With this patch I introduce the
term "selected search engine" (similar to tabs) to indicate a search engine that was explicitly selected
by the user as their default. This will hopefully make it less ambigious.
2020-10-28 11:01:15 +00:00
Arturo Mejia
bc2387d7bf
[components] Closes https://github.com/mozilla-mobile/android-components/issues/8784 Create download directory when
...
it doesn't exists.
2020-10-26 18:30:47 +00:00
Sebastian Kaspari
b9af450479
[components] Issue https://github.com/mozilla-mobile/android-components/issues/8702 : Add actions and storage for showing/hiding bundled search engines.
2020-10-22 10:11:14 +00:00
Sebastian Kaspari
d4ba7918c1
[components] Issue https://github.com/mozilla-mobile/android-components/issues/8744 : SearchMiddleware: Load all data in one action and set 'complete' flag.
2020-10-20 18:13:25 +00:00
Christian Sadilek
6f338f2999
[components] Closes https://github.com/mozilla-mobile/android-components/issues/8697 : Move Session.loadRequestMetadata to browser state
2020-10-15 13:41:06 +00:00
Sebastian Kaspari
9981f05aa2
[components] Issue https://github.com/mozilla-mobile/android-components/issues/7864 : Add RegionMiddleware and SearchMiddleware to sample browser.
2020-10-12 12:44:05 +00:00
Sebastian Kaspari
292a3e87df
[components] Issue https://github.com/mozilla-mobile/android-components/issues/7863 : Reorganized SearchState to separate region and custom search engines.
2020-10-12 12:44:05 +00:00
Sebastian Kaspari
b95ccf4b23
[components] Issue https://github.com/mozilla-mobile/android-components/issues/7863 : Introduce RegionManager for keeping track of the user's current and home region.
2020-10-08 13:39:22 +00:00
Sebastian Kaspari
30be5d0cdb
[components] Issue https://github.com/mozilla-mobile/android-components/issues/7863 : Add RegionState to SearchState.
2020-10-08 13:39:22 +00:00
Roger Yang
4391b4e2c8
[components] Closes https://github.com/mozilla-mobile/android-components/issues/8207 : Add Delegate and Browser Session State for MediaSession API
2020-10-07 10:14:40 +00:00
Arturo Mejia
593c25629e
[components] Closes https://github.com/mozilla-mobile/android-components/issues/8312:Adds support for ContentDelegate#onExternalResponse
2020-10-05 17:32:38 +00:00
Christian Sadilek
98a3db9ffc
[components] Introduce state to indicate if restoring tabs is complete
2020-10-02 16:38:18 +00:00
Sebastian Kaspari
b5ba7558a2
[components] Closes https://github.com/mozilla-mobile/android-components/issues/8529 : Dispatch a generic InitAction from BrowserStore
...
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2020-09-30 17:31:15 +00:00
Arturo Mejia
c5df5ad6d2
[components] Improve download flow
2020-09-25 20:22:57 +00:00
ekager
f20da349fd
[components] Closes https://github.com/mozilla-mobile/android-components/issues/8493 - Add private param to RecoverableTab
2020-09-25 09:41:57 +00:00
Sebastian Kaspari
067e9782de
[components] Issue https://github.com/mozilla-mobile/android-components/issues/3265 : Add support for "undo" functionality.
...
This is not the fancy version yet since we still need to restore into SessionManager. Once it is gone and
we rely on BrowserStore only, then we can make this better.
However moving this functionality into AC now helps us:
- It will be easier to migrate to a better undo functionality since this code is already in AC.
- Other code can interact with the "undo" actions. For example "recently closed tabs" now will
only contain a tab if the removal was not undone.
2020-09-22 17:59:34 +00:00
MozLando
2eb3cf6114
[components] Merge https://github.com/mozilla-mobile/android-components/pull/8049
...
8049: For https://github.com/mozilla-mobile/android-components/issues/6099 - Convert config to yaml r=pocmo a=NotWoods
In Gradle 6, buildSrc classes cannot be used inside settings.gradle. Inlining the `Config` class gets around this problem for us. The values inside the class have been moved to a YAML file so that it can be used by Taskcluster to check if data has changed, and used by the changelog to be a simple version overview.
We could also use a .properties file for this.
Co-authored-by: Tiger Oakes <toakes@mozilla.com>
2020-09-11 11:37:27 +00:00
ekager
d453dd86e6
[components] Closes https://github.com/mozilla-mobile/android-components/issues/8253 - Adds RecentlyClosedTabStorage
2020-09-09 09:04:48 -07:00
Sebastian Kaspari
c66d74ce23
[components] Issue https://github.com/mozilla-mobile/android-components/issues/8255 : Lazily restore engine sessions after content process kill or crash.
...
* Instead of keeping the EngineSessionState inside EngineSession, we now always attach it to EngineState and also do not
clear it anymore.
* If the content process gets killed we now just suspend affected EngineSession instances. They will automatically and
lazily get restored from the last EngineSessionState once needed.
* On a content process crash we now mark the EngineState as crashed and suspend the EngineSession. We will not restore
the EngineSession until explicitly restored by the application.
2020-09-07 13:30:04 +02:00
MozLando
f300cdae51
[components] Merge https://github.com/mozilla-mobile/android-components/pull/8250
...
8250: Close https://github.com/mozilla-mobile/android-components/issues/7476 : Persists lastAccess to SnapshotSerializer r=csadilek a=jonalmeida
Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
2020-08-29 03:47:00 +00:00
Jonathan Almeida
a4d8824526
[components] Close https://github.com/mozilla-mobile/android-components/issues/7476 : Persists lastAccess to SnapshotSerializer
2020-08-28 23:43:48 -04:00
Arturo Mejia
45a96fdebe
[components] Closes issue https://github.com/mozilla-mobile/android-components/issues/7762 : Adds support for persisting/restoring downloads.
2020-08-27 17:53:00 -04:00
Sebastian Kaspari
212c7d73c1
[components] Issue https://github.com/mozilla-mobile/android-components/issues/7867 : Move EngineSession from SessionManager to BrowserState.
...
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
Issue https://github.com/mozilla-mobile/android-components/pull/8121 : Replace MigrationStore with MigrationContext and prevent usage outside of a Middleware.
* Before executing the reducer chain we now verify that we are on the store thread and throw if we are on a different thread.
* MigrationContext now provides a store property that returns the underlying Store instance. This can be used to pass it to
other components and threads that are not part of the Middleware.
* Fixed existing Middleware implementations to use the MiddlewareContext or pass the actual Store instance around.
2020-08-26 10:50:47 -04:00
Tiger Oakes
ca871ceab2
[components] Convert config to yaml
2020-08-06 16:20:10 -07:00
MozLando
13c2fcf970
[components] Merge https://github.com/mozilla-mobile/android-components/pull/7929 https://github.com/mozilla-mobile/android-components/pull/7935 (part 1)
...
7929: Closes https://github.com/mozilla-mobile/android-components/issues/7861 : Add SearchActions and SearchReducer r=pocmo a=psymoon
7935: Closes https://github.com/mozilla-mobile/android-components/issues/7831 : Add SmallMenuCandidate.onLongClick r=pocmo a=NotWoods
Co-authored-by: Simon Chae <chaesmn@gmail.com>
Co-authored-by: Tiger Oakes <toakes@mozilla.com>
2020-07-31 20:27:14 +00:00
Simon Chae
aaaf12550c
[components] Closes https://github.com/mozilla-mobile/android-components/issues/7861 : Add SearchActions and SearchReducer
2020-07-31 15:16:58 -04:00
Kate Glazko
f0b5941c85
[components] For https://github.com/mozilla-mobile/android-components/issues/7761 : Rename Queued Downloads And Persist
2020-07-30 09:44:03 -07:00
Simon Chae
96f87f5845
[components] Closes https://github.com/mozilla-mobile/android-components/issues/7860 : Introduce SearchState to BrowserState
2020-07-29 11:33:36 -04:00
Kate Glazko
02bd5bb0fe
[components] For https://github.com/mozilla-mobile/android-components/issues/7673 : Move DownloadProgress and Status to DownloadState
2020-07-28 16:50:02 -04:00
Gabriel Luong
81f019e616
[components] Issue https://github.com/mozilla-mobile/android-components/issues/7682 : Add a ContainerMiddleware to connect ContainerStorage with ContainerState
...
Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
2020-07-24 16:23:02 -04:00
Christian Sadilek
c43ad0e9a5
[components] Closes https://github.com/mozilla-mobile/android-components/issues/7741 : Move Session.Source to browser state
2020-07-16 16:01:33 -04:00
Gabriel Luong
f3e9fb83b6
[components] Issue https://github.com/mozilla-mobile/android-components/issues/7529 : Add ContainerState to BrowserState
2020-07-10 10:59:53 -04:00
MozLando
a3a15bd33e
[components] Merge https://github.com/mozilla-mobile/android-components/pull/7277
...
7277: https://github.com/mozilla-mobile/android-components/issues/5178 last used tabs property r=jonalmeida a=Vishwa-Mozilla
Co-authored-by: Vishwa Patel <vpatel@mozilla.com>
2020-07-07 17:34:25 +00:00
MozLando
55adb5960a
[components] Merge https://github.com/mozilla-mobile/android-components/pull/7365
...
7365: For https://github.com/mozilla-mobile/android-components/issues/7364 - Adds sessionId to DownloadState and populates it in DowloadFeature r=csadilek a=codrut-topliceanu
Co-authored-by: codrut.topliceanu <codrut.topliceanu@softvision.ro>
2020-06-16 10:59:46 +00:00
codrut.topliceanu
87dd6aa502
[components] For https://github.com/mozilla-mobile/android-components/issues/7364 - Adds sessionId to DownloadState and populates it in ContentStateReducer
2020-06-15 12:35:29 +03:00
Vishwa Patel
5c10808304
[components] Close https://github.com/mozilla-mobile/android-components/issues/5178 : Adding last used/accessed property to tabs
2020-06-15 00:33:10 -04:00
Tiger Oakes
74d8035254
[components] Move PIP to BrowserStore
2020-06-11 09:16:36 -07:00
Tiger Oakes
d11f6f2e9f
[components] Add sameOriginAs Uri helper
2020-06-11 09:16:32 -07:00
Arturo Mejia
083c4dce15
[components] Closes https://github.com/mozilla-mobile/android-components/issues/7308 : Update the store queuedDownloads when mutate
...
the download state.
2020-06-09 15:09:42 -04:00
Tiger Oakes
52b165e7c6
[components] Add getNormalOrPrivateTabs function
2020-06-01 16:04:52 -07:00
Christian Sadilek
ebcab79763
[components] Closes https://github.com/mozilla-mobile/android-components/issues/7103 https://github.com/mozilla-mobile/android-components/issues/5217 : Move queued download state to browser store
2020-05-28 12:09:02 -04:00
Tiger Oakes
ecbbc64d60
[components] Closes https://github.com/mozilla-mobile/android-components/issues/7023 - Add HistoryState to content state
2020-05-22 09:56:22 -07:00
Tiger Oakes
796b6fec6a
[components] Use helper to change state of tab in BrowserStore
2020-05-19 09:26:55 -07:00
ekager
efaa39ca49
[components] Adds MediaFullscreenOrientationFeature
2020-05-19 16:13:48 +02:00
ekager
13a8e25103
[components] For https://github.com/mozilla-mobile/android-components/issues/6757 - Adds firstContentfulPaint callback and var to session
2020-05-13 20:44:34 -07:00
Tiger Oakes
d44f30c932
[components] For https://github.com/mozilla-mobile/android-components/issues/5028 - Add webAppManifest to ContentState
2020-05-13 15:03:27 -07:00
Christian Sadilek
387b26e835
[components] Closes https://github.com/mozilla-mobile/android-components/issues/2985 : Launch reader view in extension page
2020-05-05 13:15:51 -04:00
MozLando
74d2b171f3
[components] Merge https://github.com/mozilla-mobile/android-components/pull/6769
...
6769: Closes https://github.com/mozilla-mobile/android-components/issues/6538 : Add navigation state to browser state r=pocmo a=csadilek
Need this for my reader mode refactor :).
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2020-04-28 13:13:57 +00:00
Jonathan Almeida
b86fa6dfb5
[components] Close https://github.com/mozilla-mobile/android-components/issues/6601 : Update targetSdkVersion to 29
2020-04-28 03:16:54 -04:00
Christian Sadilek
3df4ba49df
[components] Closes https://github.com/mozilla-mobile/android-components/issues/6538 : Add navigation state to browser state
2020-04-27 18:58:27 -04:00
Simon Chae
b28f7f286e
[components] Closes https://github.com/mozilla-mobile/android-components/issues/6228 : Expose allowedInPrivateBrowsing control
2020-04-20 15:55:40 -04:00
Roger Yang
4d09fc463c
[components] Close https://github.com/mozilla-mobile/android-components/issues/5795 : Support viewport-fit descriptor via onMetaViewportFitChange
2020-04-08 18:19:11 -04:00
Sebastian Kaspari
9312a769b8
[components] Issue https://github.com/mozilla-mobile/android-components/issues/6580 : Do not launch media service for muted media.
...
Co-authored-by: Caleb Everett <everett.caleb@gmail.com>
2020-04-08 16:28:35 +02:00
MozLando
4f475847a3
[components] Merge https://github.com/mozilla-mobile/android-components/pull/6547
...
6547: Closes https://github.com/mozilla-mobile/android-components/issues/4397 : Migrate feature-readerview to browser-state r=pocmo a=csadilek
@pocmo Super happy with how the middleware worked out. It basically maps state to other (action/state), as relevant to reader view e.g. the url has changed -> a new reader check is required.
The other cases handled by the middleware are:
- User opens a tab via the context menu (may or may not switch to it directly)
- A new tab is selected
- A tab is removed (see comment in middleware)
All other functionality remains the same. Diff is big mostly because of test refactorings :)
I found another way that allows us to remove all reader state from the session right away! I am storing the state in the snapshot directly (same as `engineState`) and let the `SessionManager` deal with adding/deleting it based on the state in the store. This way we don't need to pass the store along to the serializer / session storage.
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2020-04-07 14:46:08 +00:00
Christian Sadilek
69624c4f41
[components] Closes https://github.com/mozilla-mobile/android-components/issues/4397 : Migrate feature-readerview to browser-state
2020-04-06 14:51:20 -04:00
MozLando
1dd8d3ad1b
[components] Merge https://github.com/mozilla-mobile/android-components/pull/6401
...
6401: For https://github.com/mozilla-mobile/android-components/issues/6399 : Add method to find session by url r=pocmo a=mcarare
Co-authored-by: mcarare <mihai.carare.dev@gmail.com>
2020-04-02 11:56:08 +00:00
Gabriel Luong
2498983b5d
[components] Closes https://github.com/mozilla-mobile/android-components/issues/6352 : Add contextId to BrowserState
2020-03-28 00:09:42 -04:00
mcarare
5a9e816809
[components] For https://github.com/mozilla-mobile/android-components/issues/6399 : Add unit test to findTabByUrl
2020-03-27 13:38:57 +02:00
mcarare
d9b7accb95
[components] For https://github.com/mozilla-mobile/android-components/issues/6399 : Add BrowserState extension function to find tab by url
2020-03-26 19:05:47 +02:00
Sebastian Kaspari
c6e53e9674
[components] Issue https://github.com/mozilla-mobile/android-components/issues/4287 : Use immutable data types in MediaReducer.
2020-03-26 15:06:38 +01:00
Sebastian Kaspari
9494a60934
[components] Issue https://github.com/mozilla-mobile/android-components/issues/4287 : Add unit tests for MediaAction.
2020-03-26 15:06:38 +01:00
Sebastian Kaspari
212ce4a1cc
[components] Issue https://github.com/mozilla-mobile/android-components/issues/4287 : Refactor feature-media to use browser-state instead of browser-session.
2020-03-26 15:06:35 +01:00
Sebastian
20a9a3bf3f
[components] Issue https://github.com/mozilla-mobile/android-components/issues/6235 : lib-state/browser-state: Add support for middleware.
2020-03-13 18:17:20 +01:00
Sebastian Kaspari
386640d8c7
[components] Issue https://github.com/mozilla-mobile/android-components/issues/5933 : On memory pressure close engine sessions and keep state for restoring later.
...
Unfortunately the implementation for this needs to live in SessionManager as long as it keeps
references to EngineSession instances and thumbnails. Therefore we determine what to trim in
SessionManager and notify BrowserStore to perform the same changes.
Hopefully in a not to distant future we can move that to BrowserStore.
2020-03-05 12:38:59 +01:00
MozLando
8e1f42e65c
[components] Merge https://github.com/mozilla-mobile/android-components/pull/6034
...
6034: Closes https://github.com/mozilla-mobile/android-components/issues/6011 : Integrate DebuggerDelegate to support temporary extensions r=Amejia481 a=csadilek
GeckoView calls us back now when a debug / temporary extension was installed so we can refresh the list of installed extensions to make sure action handlers are hooked up.
We're gonna have to uninstall all extensions and call `listInstalledExtensions` again to re-install everything that is there now incl. the new temporary extension. This is fine as it's for debugging purposes only.
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2020-02-24 18:44:10 +00:00
Christian Sadilek
318d58e5bd
[components] Closes https://github.com/mozilla-mobile/android-components/issues/6011 : Integrate DebuggerDelegate to support temporary extensions
2020-02-24 13:25:45 -05:00
Sebastian Kaspari
4dc2b68f89
[components] Closes https://github.com/mozilla-mobile/android-components/issues/5965 : Migrate concept-tabstray, browser-tabstray and feature-tabs to use browser-state.
2020-02-24 09:52:41 +01:00
MozLando
d0659e1907
[components] Merge https://github.com/mozilla-mobile/android-components/pull/5864 https://github.com/mozilla-mobile/android-components/pull/5997 https://github.com/mozilla-mobile/android-components/pull/6008 (part 1)
...
5864: Fixed `ContextMenuFeature` and `DownloadsFeature` not working for non-selected normal tab r=pocmo a=JasonHK
- Added `BrowserState.findTabOrCustomTabOrSelectedTab` extension method.
- Fixed `ContextMenuFeature` not working for non-selected normal tab.
- Fixed `DownloadsFeature` not working for non-selected normal tab
5997: Closes https://github.com/mozilla-mobile/android-components/issues/5792 : Potential deadlock between unsubscribe and dispatch r=pocmo a=csadilek
As with our previous deadlock fix, we do **not** want to change the lock on the `Subscription`, as it guarantees we never dispatch to paused or stopped observers. However, the inner lock on `subscriptions` is only there for visibility purposes. We can achieve the same, namely making sure retrievals reflect the results of the most recently completed update, by using a concurrent HashSet: A set projection of https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentHashMap.html
This removes the potential of a deadlock and I don't see any change in semantics: The `removeSubscription` case is guarded by the `Subscription` lock and can't overlap with dispatching to the same subscription. The `addSubscription` case is guarded by the lock on the `Store` which is also required for `dipsatching`, so add and dispatch can't overlap either.
@pocmo wdyt?
6008: Bug 1615248 - add missing nightly entry in .cron.yml r=pocmo a=MihaiTabara
Follow-up from https://github.com/mozilla-mobile/android-components/pull/5967 , I forgot to add its `cron.yml` corresponding entry for nightly releases.
Co-authored-by: Jason Kwok <JasonHK@users.noreply.github.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
Co-authored-by: Mihai Tabara <mtabara@mozilla.com>
2020-02-20 19:52:44 +00:00
Sebastian Kaspari
821b87e3ce
[components] Closes https://github.com/mozilla-mobile/android-components/issues/5966 : Migrate browser-icons to use browser-state.
2020-02-19 09:48:42 +01:00
Severin Rudie
5b868c9ca0
[components] For https://github.com/mozilla-mobile/fenix/issues/5695 : adds '{app} Search' to text selection context menu
2020-02-14 08:40:46 -08:00
Jason Kwok
e47487dee0
[components] Added BrowserState.findCustomTabOrSelectedTab extension method
2020-02-09 22:49:06 +08:00
Christian Sadilek
83bb0be49c
[components] Closes https://github.com/mozilla-mobile/android-components/issues/5805 : Addon name missing after uninstall / reinstall
2020-02-04 12:38:53 -05:00
Simon Chae
d4d7831a78
[components] For https://github.com/mozilla-mobile/android-components/issues/5572 : Refactor web extension popup initialization
2020-01-23 19:36:58 -05:00
Simon Chae
be37eb80ce
[components] Closes https://github.com/mozilla-mobile/android-components/issues/5572 : Update BrowserAction to allow opening a popup
2020-01-22 14:16:35 -05:00
Christian Sadilek
70570d5ac2
[components] Issue https://github.com/mozilla-mobile/android-components/issues/4470 : Wire up API for page action support
...
- This is basically just a copy of our browser action API, with some
refactoring to make some types and methods generic
2020-01-20 17:41:21 -05:00
Tiger Oakes
00ae4eaf07
[components] Closes https://github.com/mozilla-mobile/android-components/issues/3963 - Use stable AndroidX Browser lib
2019-12-18 20:55:03 -08:00
Arturo Mejia
d62d205d48
[components] For issue https://github.com/mozilla-mobile/android-components/issues/5143 Initial support for triggering Addon updates.
2019-12-13 10:53:08 -05:00
Christian Sadilek
12d68f202e
[components] Issue https://github.com/mozilla-mobile/android-components/issues/4500 : Add API for installing/uninstalling third-party extensions
2019-12-11 16:57:12 -05:00
Sawyer Blatz
da864f4056
[components] Fixes https://github.com/mozilla-mobile/android-components/issues/5264 : Passes DownloadState to FetchDownloadManager when completed
2019-12-09 10:31:59 -08:00
Christian Sadilek
9d0f21d694
[components] Issue https://github.com/mozilla-mobile/android-components/issues/4500 : Add action / state to enable and disable extension
2019-12-05 17:29:36 -05:00
Christian Sadilek
15c3b5aa99
[components] Closes https://github.com/mozilla-mobile/android-components/issues/4774 : Link addons to their installed extensions
2019-12-05 13:40:38 -05:00
Christian Sadilek
805815825b
[components] Closes https://github.com/mozilla-mobile/android-components/issues/4791 : Support opening default action popup, +sample
2019-11-29 15:09:07 -05:00
Christian Sadilek
acb8a8106e
[components] Closes https://github.com/mozilla-mobile/android-components/issues/4398 : Add reader state to browser-state
2019-11-21 21:16:16 -05:00
Arturo Mejia
a5e881a4e2
[components] Closes https://github.com/mozilla-mobile/android-components/issues/5091 : Fix clashing file providers in feature-prompts and
...
feature-downloads.
2019-11-19 15:38:38 -05:00
Christian Sadilek
8777fc0c62
[components] Closes https://github.com/mozilla-mobile/android-components/issues/4553 : Migrate WindowFeature to browser-state
2019-10-31 15:31:50 -04:00
Sawyer Blatz
97904ab7d8
[components] Closes https://github.com/mozilla-mobile/android-components/issues/4896 : Adds download management
2019-10-30 09:46:44 -07:00
Tiger Oakes
31c87e1ee0
[components] Add externalAppType field
2019-10-23 09:07:00 -07:00
Arturo Mejia
b64e1891d0
[components] Closes https://github.com/mozilla-mobile/android-components/issues/4469 : Add API for supporting WebExtension browserActions
2019-10-11 17:01:52 +02:00
Sebastian Kaspari
c6c2b3c6fb
[components] feature-contextmenu: Do not show download confirmation dialog for "save image".
2019-10-08 16:30:33 +02:00
Arturo Mejia
5864df650c
[components] For issue https://github.com/mozilla-mobile/android-components/issues/3264 Display the OFF_FOR_A_SITE tracking protection state.
2019-10-07 09:59:19 -04:00
Tiger Oakes
bf0f4f076d
[components] Hide close button in PWAs
2019-09-26 08:45:26 -07:00
Sebastian Kaspari
e6e0bc1fa4
[components] Issue https://github.com/mozilla-mobile/android-components/issues/4421 : Remove download property from Session.
2019-09-25 16:13:25 +02:00
Denys M
b95c932f81
[components] For https://github.com/mozilla-mobile/android-components/issues/4460 . Fix detekt warning about license in project files.
2019-09-24 01:01:03 +04:00
Sebastian Kaspari
c6fecc6f06
[components] Closes https://github.com/mozilla-mobile/android-components/issues/4283 : Migrate feature-contextmenu to use browser-state.
2019-09-16 12:09:09 +02:00
Christian Sadilek
5102a8be3d
[components] Closes https://github.com/mozilla-mobile/android-components/issues/4292 : Add FindResult to browser-state
2019-09-11 10:38:02 -04:00
Christian Sadilek
328d4c50a3
[components] Closes https://github.com/mozilla-mobile/android-components/issues/4290 : Add PromptRequest to browser-state
2019-09-10 14:13:31 -04:00
Christian Sadilek
961e9d8d6d
[components] Closes https://github.com/mozilla-mobile/android-components/issues/3558 : browser-state: Add engine session state and keep in sync
2019-09-06 14:10:14 -04:00
Christian Sadilek
0cb71c28fc
[components] Make BrowserAction names consistent
2019-09-05 16:11:38 -04:00
Christian Sadilek
9b28cad809
[components] Closes https://github.com/mozilla-mobile/android-components/issues/4284 : Sync downloads between browser-session and browser-state
...
Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
2019-09-04 20:27:04 -04:00
Christian Sadilek
03b4e2e474
[components] Closes https://github.com/mozilla-mobile/android-components/issues/4285 : Add HitTarget to browser-state
2019-09-04 16:01:32 -04:00
MozLando
354147ba90
[components] Merge https://github.com/mozilla-mobile/android-components/pull/3783
...
3783: Migrate feature-toolbar to use browser-state. r=csadilek a=pocmo
Closes https://github.com/mozilla-mobile/android-components/issues/3530 .
### Pull Request checklist
<!-- Before submitting the PR, please address each item -->
- [x] **Quality**: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
- [x] **Tests**: This PR includes thorough tests or an explanation of why it does not
- [x] **Changelog**: This PR includes [a changelog entry](https://github.com/mozilla-mobile/android-components/blob/master/docs/changelog.md ) or does not need one
- [x] **Accessibility**: The code in this PR follows [accessibility best practices](https://github.com/mozilla-mobile/shared-docs/blob/master/android/accessibility_guide.md ) or does not include any user facing features
Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
2019-09-03 17:52:39 +00:00
Sebastian Kaspari
f2c0cca8d6
[components] Closes https://github.com/mozilla-mobile/android-components/issues/3530 : Migrate feature-toolbar to use browser-state.
2019-09-03 14:23:03 +02:00
Sebastian Kaspari
68e177172b
[components] Issue https://github.com/mozilla-mobile/android-components/issues/4284 : Add DownloadState to browser-state.
2019-09-03 12:20:09 +02:00
Christian Sadilek
b51324ba7d
[components] Closes https://github.com/mozilla-mobile/android-components/issues/3544 : Add custom tab config to browser-state
2019-08-29 17:51:12 -04:00
Sebastian Kaspari
46e5967464
[components] Issue https://github.com/mozilla-mobile/android-components/issues/4119 : Add tracking protection state to browser-state.
2019-08-29 18:34:43 +02:00
Christian Sadilek
1bb77a5027
[components] Closes https://github.com/mozilla-mobile/android-components/pull/3680 : Synchronize icons between browser-store and session
2019-07-22 14:23:56 -04:00
Christian Sadilek
d6510bdd64
[components] Closes https://github.com/mozilla-mobile/android-components/issues/3528 : Validate initial browser-store state
2019-07-18 10:12:26 -04:00
Sebastian Kaspari
d2a619dc58
[components] Issue https://github.com/mozilla-mobile/android-components/issues/3432 : Add AddMultipleTabsAction to add multiple tabs at once to BrowserStore.
2019-07-15 13:37:24 +02:00
Christian Sadilek
aa2bba778e
[components] Closes https://github.com/mozilla-mobile/android-components/issues/3639 : browser-state: Add onLowMemory behavior
2019-07-12 11:07:05 -04:00
Christian Sadilek
7fa782c657
[components] Closes https://github.com/mozilla-mobile/android-components/pull/3680 : Synchronize thumbnails between browser-store and session
2019-07-11 10:22:30 -04:00
Christian Sadilek
af85ec3bf3
[components] Closes https://github.com/mozilla-mobile/android-components/issues/3524 : browser-state: Prevent duplicated tabs (id)
2019-07-10 15:47:03 +02:00
Christian Sadilek
dab920cc5c
[components] Issue https://github.com/mozilla-mobile/android-components/issues/3563 : Introduce StoreException for errors caught in Store/Reducer
2019-07-05 17:22:38 +02:00
Christian Sadilek
f753837bb1
[components] Closes https://github.com/mozilla-mobile/android-components/issues/3527 : browser-state: Add parent tab functionality
2019-07-05 17:22:38 +02:00
Christian Sadilek
60e610e4fc
[components] Closes https://github.com/mozilla-mobile/android-components/issues/3559 : Add actions for removing tabs to browser-state
2019-07-01 14:38:02 +02:00
Sebastian Kaspari
8d835dddd6
[components] Issue https://github.com/mozilla-mobile/android-components/issues/3557 , https://github.com/mozilla-mobile/android-components/issues/3432 : Address review comments.
2019-07-01 12:08:07 +02:00
Sebastian Kaspari
2284f38287
[components] Issue https://github.com/mozilla-mobile/android-components/issues/3557 : Add TabListAction.RestoreAction for restoring a list of tabs and the selection.
2019-07-01 12:08:07 +02:00
Christian Sadilek
fb6e5a3ef7
[components] Closes https://github.com/mozilla-mobile/android-components/issues/3562 : Add missing KDocs fo browser state properties
2019-06-27 13:43:32 -04:00
Christian Sadilek
60cb97cb77
[components] Closes https://github.com/mozilla-mobile/android-components/issues/3561 : Add default (empty) state to BrowserStore
2019-06-26 13:01:56 -04:00
Sebastian Kaspari
458acb8843
[components] Closes https://github.com/mozilla-mobile/android-components/issues/3526 : Update selected tab id after selected tab is removed.
2019-06-26 17:43:10 +02:00
Christian Sadilek
008c68e709
[components] Closes https://github.com/mozilla-mobile/android-components/issues/3525 : browser-state: Auto-select first tab
2019-06-26 10:26:24 +02:00
Sebastian Kaspari
38f8ab1ce6
[components] Restructure (reduced) BrowserState and add tests.
2019-06-25 17:13:49 +02:00
Sebastian Kaspari
234928260e
[components] browser-state: Move state handling to generic lib-state component.
2019-06-24 07:57:54 -07:00
Denys M
a883d30fd6
[components] Update dependency section for browser-state docs
2019-05-30 21:29:12 -04:00
Sebastian Kaspari
5c54ec453d
[components] Closes https://github.com/mozilla-mobile/android-components/issues/842 : Migrate from support libraries to AndroidX.
2019-05-02 16:08:55 +02:00
Sebastian Kaspari
290a3a49c2
[components] Issue https://github.com/mozilla-mobile/android-components/issues/1843 : Introduce experimental (unpublished) browser-state component.
2019-04-18 17:15:52 -04:00