Open
Bug 1859984
Opened 1 year ago
Updated 11 months ago
[meta] Investigate review checker recompositions
Categories
(Fenix :: Shopping, task, P2)
Tracking
(Not tracked)
NEW
People
(Reporter: rsainani, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: meta)
When product analysis changes, the "whole" sheet recomposes instead of just individual card(s) who's data has changed. Investigate why this happens and create a solution.
This is important for following (non exhaustive) reasons:
- Improved performance as UI is redrawing less.
- Consistent UI state for the users, currently displaying the product recommendation will recompose/redraw many other unrelated cards and won't save their state, as a result you might notice some expanded cards might collapse when product recommendation is loaded.
Reporter | ||
Updated•1 year ago
|
Priority: -- → P3
Reporter | ||
Updated•11 months ago
|
Assignee: nobody → rsainani
Severity: -- → N/A
Status: NEW → ASSIGNED
Reporter | ||
Updated•11 months ago
|
Priority: P3 → P2
Summary: Investigate review checker recompositions → [meta] Investigate review checker recompositions
Reporter | ||
Updated•11 months ago
|
Assignee: rsainani → nobody
Status: ASSIGNED → NEW
Reporter | ||
Updated•11 months ago
|
Blocks: fenix-fakespot-integration
Comment 1•11 months ago
|
||
Just discovered this meta. I think this is what's causing the animation issue over in Bug 1858020, but I'm still investigating the recomposition issues I'm seeing
Comment 2•11 months ago
|
||
Investigation notes 11/8/23
- The
Crossfade
is the culprit and causing multiple recomps - Expanding either settings or grade info causes a recomp here
- Triggering a recomp with
Crossfade
will re-render the to AND from content blocks? - The animation bug is still there even after finding an optimization for the
Crossfade
AND commenting out the Loading UI - Based on the docs for
Crossfade
, the "from" content kinda gets recomposed to perform the transition, hence why it shows two recomps with one state transition
You need to log in
before you can comment on or make changes to this bug.
Description
•