GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: cleanup · prashanthpai/opencode@5145b72

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/ui/src/components
    • message-part.tsx
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/ui/src/components/message-part.tsx‎

Copy file name to clipboardExpand all lines: packages/ui/src/components/message-part.tsx
+3-4Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -363,16 +363,15 @@ export function UserMessageDisplay(props: { message: UserMessage; parts: PartTyp
363363
}
364364

365365
return (
366-
<div data-component="user-message" data-expanded={expanded()} data-can-expand={canExpand()} onClick={toggleExpanded}>
366+
<div data-component="user-message" data-expanded={expanded()} data-can-expand={canExpand()}>
367367
<Show when={attachments().length > 0}>
368368
<div data-slot="user-message-attachments">
369369
<For each={attachments()}>
370370
{(file) => (
371371
<div
372372
data-slot="user-message-attachment"
373373
data-type={file.mime.startsWith("image/") ? "image" : "file"}
374-
onClick={(event) => {
375-
event.stopPropagation()
374+
onClick={() => {
376375
if (file.mime.startsWith("image/") && file.url) {
377376
openImagePreview(file.url, file.filename)
378377
}
@@ -394,7 +393,7 @@ export function UserMessageDisplay(props: { message: UserMessage; parts: PartTyp
394393
</div>
395394
</Show>
396395
<Show when={text()}>
397-
<div data-slot="user-message-text" ref={(el) => (textRef = el)}>
396+
<div data-slot="user-message-text" ref={(el) => (textRef = el)} onClick={toggleExpanded}>
398397
<HighlightedText text={text()} references={inlineFiles()} agents={agents()} />
399398
<button
400399
data-slot="user-message-expand"

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.