Display a progress bar while (re)analysis is in progress
Categories
(Firefox :: Shopping, task, P2)
Tracking
()
People
(Reporter: jhirsch, Assigned: fchasen)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
We'd like to show a progress bar that fills in based on the API responses.
The analysis progress info is exposed by the analysis_status API, see the info in the docs[1].
It might be worth splitting out a bug to make sure the progress is returned to the UI code while we're polling for results, and a separate bug (this one?) to implement the UI based on the progress info.
Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 1•1 year ago
|
||
Reporter | ||
Comment 2•1 year ago
|
||
Kicking out to 122 as this arrived late in the 121 cycle
Comment 3•1 year ago
|
||
Updated•1 year ago
|
Assignee | ||
Comment 4•1 year ago
|
||
Makes the ShoppingProduct extend EventEmitter and emit an analysis-progress
event when the is progress reported during polling for analysis statuses.
Passes that event down to shopping message bar with a progress
attribute.
Updated•1 year ago
|
Updated•1 year ago
|
Comment 6•1 year ago
|
||
FWIW, the downloads bits live here: https://searchfox.org/mozilla-central/rev/766a338d53cd29e9851107f9e6a62d333c7d2c51/browser/themes/shared/downloads/indicator.css#80 and use a conic-gradient with a CSS variable to show the progress.
Comment 7•1 year ago
|
||
bugherder |
Updated•1 year ago
|
Updated•1 year ago
|
Comment 9•1 year ago
|
||
bugherder |
Assignee | ||
Updated•1 year ago
|
Comment 10•1 year ago
|
||
We normally leave the target milestone field to reflect what branch the fix originally landed in, even if we uplift. :-)
Assignee | ||
Comment 11•1 year ago
|
||
Comment on attachment 9363997 [details]
Bug 1861195 - Pass analysis progress from pollForAnalysisCompleted and display progress in sidebar message. r=#shopping-reviewers
Beta/Release Uplift Approval Request
- User impact if declined: The user will be unable to tell how far along in the ~60 review checker analysis generation they are.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Low risk as this changes the icon for the analysis message of the Review Checker, which is only enabled for a small amount of users currently.
- String changes made/needed:
- Is Android affected?: No
Comment 12•1 year ago
|
||
Comment on attachment 9363997 [details]
Bug 1861195 - Pass analysis progress from pollForAnalysisCompleted and display progress in sidebar message. r=#shopping-reviewers
Approved for 121.0b5.
Updated•1 year ago
|
Comment 13•1 year ago
|
||
uplift |
Comment 14•1 year ago
|
||
The analysis progress % is properly displayed in Beta 121.0b5 as well as our latest Nightly build. Verified as fixed.
Description
•