Closed
Bug 2069109
Opened 2 months ago
Closed 2 months ago
AITab [FE] - Text Blocks Component
Categories
(Core :: Machine Learning: Frontend, task, P1)
Core
Machine Learning: Frontend
Tracking
()
RESOLVED
FIXED
159 Branch
| Tracking | Status | |
|---|---|---|
| firefox159 | --- | fixed |
People
(Reporter: Mardak, Assigned: giulia)
References
(Blocks 1 open bug)
Details
(Whiteboard: [aiaug])
Attachments
(2 files, 1 external file)
side-by-side text (header left, right paragraphs and links) and section title https://www.figma.com/design/sIgXsbSFZjKIcfErMoBgLr/Smart-Window-Q3?node-id=16343-22767
Additional details in: Bug 2061044
Comment 1•2 months ago
|
||
Clarified spec now that UX is complete:
Summary
Render the Text block component: a single point shown as a summarizing statement (serving as the title) alongside a short body with inline sources, following the shared text style scale in light and dark.
Acceptance Criteria (frontend)
- Render a Text block in a side-by-side layout: the summarizing statement (serves as the title) on the left, body paragraphs on the right.
- Support an optional section title above the block.
- Support up to 2 short body paragraphs.
- Support links within the body.
- Render inline source attribution chip(s) beneath the body, including multiple.
- Render correctly in light and dark themes, following the text style scale (H1-H6, Body, eyebrow/subtext).
- Stack the left title above the right body responsively at narrow widths.
- Handle long text via wrapping.
Notes
- Content guidance below is for the LLM/models team, not FE:
- Use Text for a single point needing a full sentence or two of explanation. Don't use for comparisons (use Table or Cards) or multiple separate points (use Takeaways).
- Up to 2 short paragraphs (~2 sentences each); sources inline under the body.
- One summarizing statement stands in as the title.
- The text-style-scale screenshot (light + dark) is the shared typography reference these components follow.
- See attached screenshots.
Comment 2•2 months ago
|
||
Comment 3•2 months ago
|
||
Summary: AITab - Text Blocks Component → AITab [FE] - Text Blocks Component
| Assignee | ||
Comment 4•2 months ago
|
||
Updated•2 months ago
|
Assignee: nobody → gcardieri
Attachment #9646947 -
Attachment description: WIP: Bug 2069109: Add text block component for AITab → Bug 2069109: Add text block component for AITab
Status: NEW → ASSIGNED
Pushed by gcardieri@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/88e3ab1dae4f
https://hg.mozilla.org/integration/autoland/rev/cce3486b8db3
Add text block component for AITab r=mlucks,omarg
Comment 6•2 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
status-firefox159:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
Updated•1 month ago
|
QA Whiteboard: [qa-triage-done-c160/b159]
You need to log in
before you can comment on or make changes to this bug.
Description
•