Open
Bug 1848055
Opened 2 years ago
Updated 1 month ago
Refactor history so that history items are correctly updated in `HistoryFragmentState`
Categories
(Firefox for Android :: History, enhancement)
Tracking
()
NEW
People
(Reporter: matt-tighe, Unassigned)
References
(Blocks 1 open bug)
Details
Currently, history items are collected from storage and dispatched directly to the HistoryView. This creates some friction, as the HistoryFragmentState does not include some vital information for the screen and it can be hard to reason about the source of truth.
Refactor this area such that history items are included in HistoryFragmentState. A couple suggestions for implementation:
- Collect updates from storage in
HistoryStorageMiddlewareand dispatch updates from there to the store. - Collect updates from storage in
HistoryFragmentand dispatch updates from there. - Create a Binding that collects updates from storage and dispatch updates from there.
Updated•2 years ago
|
Severity: -- → S3
Blocks: 1911110
| Reporter | ||
Comment 1•1 year ago
|
||
Saw that this might be becoming active, so wanted to point out that the first suggestion from my original comment would be the way to go if we want to follow current best practices. That is:
Collect updates from storage in HistoryStorageMiddleware and dispatch updates from there to the store. would be my suggestion
You need to log in
before you can comment on or make changes to this bug.
Description
•