Include the url preview bundle field in the devtools timeline event editor (#34289)

* added urlpreview field in event editor

* oxfmt

* claude wrote test!

* handled reviews

* oxlint fix

* formatting

* removed useless stubclient
This commit is contained in:
Sirius
2026-07-20 09:17:51 +00:00
committed by GitHub
parent d254b41eaf
commit 63eaba6b07
2 changed files with 72 additions and 28 deletions
@@ -199,6 +199,9 @@ export const TimelineEventEditor: React.FC<IEditorProps> = ({ mxEvent, onBack })
rel_type: "m.replace",
event_id: getBaseEventId(mxEvent),
},
...("com.beeper.linkpreviews" in originalContent
? { "com.beeper.linkpreviews": originalContent["com.beeper.linkpreviews"] }
: {}),
};
defaultContent = stringify(newContent);