Closed Bug 2069109 Opened 2 months ago Closed 2 months ago

AITab [FE] - Text Blocks Component

Categories

(Core :: Machine Learning: Frontend, task, P1)

task
Points:
3

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

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.
Summary: AITab - Text Blocks Component → AITab [FE] - Text Blocks Component
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
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
QA Whiteboard: [qa-triage-done-c160/b159]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: