Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip] [skip ci] make reference widgets opt-in #13573

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<template>
<div ref="messageMain"
v-element-size="[onResize, { width: 0, height: 24 }]"
v-element-size="[onResize, { width: 0, height: 22.5 }]"
v-intersection-observer="onIntersectionObserver"
class="message-main">
<!-- System or deleted message body content -->
Expand Down Expand Up @@ -50,6 +50,7 @@
:interactive="message.markdown && isEditable"
:use-extended-markdown="message.markdown"
:reference-limit="1"
reference-interactive-opt-in
@interact:todo="handleInteraction" />

<!-- Additional controls -->
Expand Down Expand Up @@ -217,7 +218,7 @@ export default {
currentCodeBlock: null,
copyButtonOffset: 0,
isVisible: false,
previousSize: { width: 0, height: 24 }, // default height of one-line message body without widgets
previousSize: { width: 0, height: 22.5 }, // default height of one-line message body without widgets
}
},

Expand Down