You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -173,7 +173,7 @@ The heart of the project. C1 and B1 live here.
173
173
-`traceLineage` through a StateNode now continues to its writers: reader component → slice → populating API.
174
174
**Accept:** fixture `c6-store-decoupled` green — component with **no fetch of its own** correctly attributed to the API called on a different page at login.
175
175
176
-
### [] 2.5 Portals, modals, toasts
176
+
### [x] 2.5 Portals, modals, toasts
177
177
**Failure modes:** A9
178
178
**Build:**`createPortal` detection + adapter list for common modal/toast libs (`react-modal`, radix `Dialog`, `react-hot-toast`): the triggering instance gets a `triggers-render` edge to the portal-content instance.
179
179
**Accept:** fixture `a9-modal-portal` green: matching the modal's text surfaces both the modal component and its trigger site. **Gate 2 passes.**
"note": "Portals & toasts: the dialog renders into document.body via createPortal — a screenshot of it shows nothing from its trigger's DOM subtree. Matching the modal text must surface ConfirmDialog (whose instance list points at the OrdersToolbar trigger site). Toast text ('Order deleted') exists only as a call argument; it must match the CALLING component.",
Copy file name to clipboardExpand all lines: schemas/lineage-graph.schema.json
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -191,9 +191,10 @@
191
191
"enum": [
192
192
"jsx",
193
193
"attribute",
194
-
"i18n"
194
+
"i18n",
195
+
"portal"
195
196
],
196
-
"description": "Where the text comes from: JSX children, a string attribute (placeholder/label/title/alt/aria-label), or an i18n key resolved against locale files."
197
+
"description": "Where the text comes from: JSX children, a string attribute (placeholder/label/title/alt/aria-label), an i18n key resolved against locale files, or portal-rendered content (toast(\"Order deleted\") — the text appears far from the caller in the DOM, but the CALLER is the component a screenshot of it should match)."
0 commit comments