FeynmanReflection
Generated from front/ui/catalogue/examples/FeynmanReflection.json
learning · interactive (ships a small web component) · no children. All components: component playground.
Description for the model
Section titled “Description for the model”A box where the learner writes an explanation in their own words and asks for AI feedback: what they got right, what is missing, a follow-up question and the course sources. The text is sent once to the AI provider and is not stored. Filled by the app inside the extra-help card; authors and models do not place it.
Live example
Section titled “Live example”Rendered from the example props below with the real component. Theme: coffee · oncall · nightsky · gravity · poland · ulam · platform · open on its own
Example
Section titled “Example”{ "component": "FeynmanReflection", "props": { "assignmentId": "01JBCDEFGHJKMNPQRSTVWXYZ01", "prompt": "Explain in your own words why a finer grind tastes more bitter." }}| Prop | Type | Required | Notes |
|---|---|---|---|
assignmentId |
string | yes | Id of the learner’s assignment (26-character ULID); without it the box is not shown. max length 26 |
prompt |
string | The prompt above the box; the interface wording of ‘Explain it in your own words’ when left out. max length 120 | |
maxLength |
integer | Longest explanation in characters. ≥ 10, ≤ 2000, default 2000 |
|
locale |
"en" | "pl" | "zh" |
Interface language of the fixed strings; filled by the app, authors and models leave it out | |
id |
string | Anchor id for in-page links (letters, digits, dashes). max length 40 |
Text fallback
Section titled “Text fallback”What a text-only client, an unknown renderer or a plain-text channel shows for the example above.
Explain in your own words why a finer grind tastes more bitter.Invalid props
Section titled “Invalid props”A node whose props fail the schema never breaks the page: the renderer shows the plain-text fallback instead (and logs the issues in development).
{ "prompt": "Missing the assignment"}Issues:
/assignmentIdis required
Rendered as:
Missing the assignmentAccessibility
Section titled “Accessibility”axe-core: 17 rules passed, 0 violations, 0 need manual review. Run at build time on the server-rendered HTML in jsdom. Colour contrast and layout rules need a browser and are covered by the Playwright axe scans of the reference frontend.