Closed
Bug 2091575
Opened 15 days ago
Closed 8 hours ago
Add a placeholder while widgets are generating
Categories
(Firefox :: Widgets, task)
Firefox
Widgets
Tracking
()
RESOLVED
FIXED
163 Branch
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: fchasen, Assigned: fchasen)
References
(Blocks 1 open bug)
Details
(Whiteboard: [hnt][hnt-wattle])
Attachments
(1 file, 2 external files, 3 obsolete files)
|
55.52 KB,
image/png
|
Details |
Show an animated sparkle while generating, with ~3 lines of the prompt below.
| Assignee | ||
Comment 1•15 days ago
|
||
| Assignee | ||
Comment 2•15 days ago
|
||
Stop is now a pause icon, which returns the prompt to the composer.
Updated•13 days ago
|
Whiteboard: [hnt][hnt-wattle]
Updated•13 days ago
|
| Assignee | ||
Comment 3•6 days ago
|
||
Adds widget generation error codes for the MLPA responses a user can act on.
- Maps failed requests to
auth,budget,rate_limit,capacity,network, orgenerationusing the HTTP status and, when needed, the MLPA error code. - Uses
servicefor all other model request failures. - Adds Fluent messages for widget generation and installation errors.
Updated•6 days ago
|
Assignee: nobody → fchasen
Status: NEW → ASSIGNED
| Assignee | ||
Comment 4•6 days ago
|
||
The widget-placeholder component shows the submitted prompt while the widget is being created and an error message if creation fails.
- Shows up to two lines of the submitted prompt.
- If creation fails, shows the corresponding error message and a “Try again” button.
- Dismissing the placeholder reopens the composer with the original prompt.
- Announces the error with
ariaNotifyand restores focus to the placeholder if it had focus before the update. - Shows animated sparkles and a rotating gradient border during creation, with a static version for reduced motion and a solid border in contrast modes.
- All open sidebars show the placeholder.
- Keeps the error in each open sidebar until the user selects “Try again” there or starts a new widget.
| Assignee | ||
Comment 5•5 days ago
|
||
| Assignee | ||
Comment 6•5 days ago
|
||
| Assignee | ||
Comment 7•5 days ago
|
||
Updated•5 days ago
|
Attachment #9687690 -
Attachment is obsolete: true
Updated•5 days ago
|
Attachment #9687692 -
Attachment is obsolete: true
Updated•5 days ago
|
Attachment #9687693 -
Attachment is obsolete: true
Pushed by mconley@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/a9ecdb17da46
https://hg.mozilla.org/integration/autoland/rev/b41675fece53
Part 1: Report widget generation request errors by cause. r=nina-py,fluent-reviewers,flod
https://github.com/mozilla-firefox/firefox/commit/2c9aa389f799
https://hg.mozilla.org/integration/autoland/rev/91c8c4065887
Part 2: Add a placeholder for pending and failed widgets. r=nina-py,fluent-reviewers,bolsson
Comment 9•8 hours ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/b41675fece53
https://hg.mozilla.org/mozilla-central/rev/91c8c4065887
Status: ASSIGNED → RESOLVED
Closed: 8 hours ago
status-firefox163:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•