Closed
Bug 2091197
Opened 17 days ago
Closed 13 days ago
Add a composer box for the users prompt
Categories
(Firefox :: Widgets, task)
Firefox
Widgets
Tracking
()
RESOLVED
FIXED
162 Branch
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: fchasen, Assigned: fchasen)
References
(Blocks 1 open bug)
Details
(Whiteboard: [hnt][hnt-wattle])
Attachments
(1 file, 2 external files, 1 obsolete file)
|
3.83 MB,
image/png
|
Details |
Add a basic composer box based off of smart-windows.
- Only shows when a user is signed in
- Displays the submit button as active after text is typed
- Enter submits
- Submitting should only emit an event in this patch
Updated•17 days ago
|
| Assignee | ||
Comment 1•16 days ago
|
||
Adds a widget-composer element to the bottom of the sidebar panel for writing the widget prompt.
- Enter sends a
WidgetComposer:Submitevent with the trimmed prompt. - Shift+Enter adds a new line.
- Escape sends a
WidgetComposer:Dismissevent. - Submit is disabled until the prompt has text.
- Adds a "New widget" button that opens the composer.
- Focusing the sidebar panel moves focus into the composer.
| Assignee | ||
Comment 2•16 days ago
|
||
Adds a widget-composer element to the bottom of the sidebar panel for writing the widget prompt.
- Enter sends a
WidgetComposer:Submitevent with the trimmed prompt. - Shift+Enter adds a new line.
- Escape sends a
WidgetComposer:Dismissevent. - Submit is disabled until the prompt has text.
- Adds a "New widget" button that opens the composer.
- Focusing the sidebar panel moves focus into the composer.
| Assignee | ||
Comment 3•16 days ago
|
||
Adds a Lit reactive controller to track FxA sign-in status.
The widget studio subscribes to it with new AuthenticationController(this) and reads authenticated while rendering. Account changes update that boolean and request an update.
- Observes
UIState.ON_UPDATEto get changes to the account status. - Shows the composer and the "New widget" button only when signed in.
Updated•16 days ago
|
Attachment #9679012 -
Attachment is obsolete: true
| Assignee | ||
Comment 4•16 days ago
|
||
| Assignee | ||
Comment 5•16 days ago
|
||
Pushed by fchasen@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/d6ec0e4fe715
https://hg.mozilla.org/integration/autoland/rev/9428e4fde230
Part 1: Add a composer to the Widget Studio. r=nina-py,fluent-reviewers,flod
https://github.com/mozilla-firefox/firefox/commit/f1b66af441e2
https://hg.mozilla.org/integration/autoland/rev/c20d24be562a
Part 2: Only show the widget composer when authenticated. r=nina-py
Pushed by rperta@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/35b31af22130
https://hg.mozilla.org/integration/autoland/rev/6116fb012094
Revert "Bug 2091197 - Part 2: Only show the widget composer when authenticated. r=nina-py" for causing bc failures at browser/browser_generated_widgets.js
Backed out for causing bc failures at browser/browser_generated_widgets.js
Backout link
Push with failures
Failure log(s)
Flags: needinfo?(fchasen)
Pushed by fchasen@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/05e51ebabd73
https://hg.mozilla.org/integration/autoland/rev/eea803a58d94
Part 1: Add a composer to the Widget Studio. r=nina-py,fluent-reviewers,flod
https://github.com/mozilla-firefox/firefox/commit/7970cb8523fd
https://hg.mozilla.org/integration/autoland/rev/0f8e3eeb239e
Part 2: Only show the widget composer when authenticated. r=nina-py
Comment 10•13 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/eea803a58d94
https://hg.mozilla.org/mozilla-central/rev/0f8e3eeb239e
Status: NEW → RESOLVED
Closed: 13 days ago
status-firefox162:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
Comment 11•13 days ago
|
||
| bugherder | ||
| Assignee | ||
Updated•8 days ago
|
Flags: needinfo?(fchasen)
You need to log in
before you can comment on or make changes to this bug.
Description
•