Files
deepseek-harness/apps/web/tests/expected/markdown-images/ui.expected.md
T
Kaige-Gao 7f0a53dfb3 fix(desktop): render local Markdown images
Resolve local image paths through the authenticated dsh-app file route and allow that route in rewritten Markdown images. Cover desktop rendering, previews, encoded filenames, and unsupported origins.

Fixes #5105.
2026-09-24 14:10:13 +08:00

1.6 KiB

  • banner:
    • navigation "Session hierarchy": Markdown image policy
    • button "More actions"
    • button "Open right sidebar"
    • tablist:
      • tab "Chat" [selected]
      • tab "Trajectory"
  • text: Show the Markdown image policy. {{clock}}
  • button "Copy"
  • status: Worked
  • button "Took {{duration}}" [disabled]
  • heading "Markdown images" [level=2]
  • paragraph:
    • 'button "View full image: Remote test image"':
      • img "Remote test image"
  • paragraph:
    • 'button "View full image: Local test image"':
      • img "Local test image"
  • paragraph:
    • 'button "View full image: Workspace test image"':
      • img "Workspace test image"
  • paragraph:
    • button "View comparison"
  • paragraph:
    • 'button "View full image: Space path"':
      • img "Space path"
  • paragraph:
    • 'button "View full image: Encoded path"':
      • img "Encoded path"
  • paragraph:
    • 'button "View full image: Encoded filename"':
      • img "Encoded filename"
  • paragraph: Image preview unavailable · Oversized image
  • paragraph:
    • 'button "View full image: Outside workspace image"':
      • img "Outside workspace image"
  • paragraph: Image preview unavailable · Missing image
  • paragraph: Image preview unavailable · {{cwd}}/corrupt.png
  • paragraph: REMOTE_IMAGE_DONE
  • button "Copy"
  • button "Good response"
  • button "Bad response"
  • button "Branch into a new conversation"
  • text: {{clock}}
  • textbox "Message or run a task, / commands, @ files or sessions"
  • button "Add files or run commands"
  • 'button "Access mode, current: Workspace Write"': Workspace Write
  • button "Select model, current DeepSeek-V4-Flash": DeepSeek-V4-Flash
  • button "Send message" [disabled]
  • button "1 turns 1 steps"