Files
deepseek-harness/apps/web/tests/expected/markdown-inline-code-links/ui.expected.md
T
creatixchu 5b1bb021cf feat(web): group, localize, and re-present the composer command menu
The + button and a typed / open one menu with an Add section (File, Goal,
Plan, Feedback) and a Commands section (Compact, Permission, Model, Export)
in usage order; rows carry a glyph, a localized title and description, and
the command name as an alias where the localized title differs. Built-in
Host rows get their face from the ui-commands dictionaries when the catalog
description is the canonical English text. A menu pick fills the locale's
claim token (/计划 ) while the submission executes the catalog name, and a
typed localized token resolves on Space and Enter in every locale. The File
row is a new action contribution kind that opens the composer's file picker
through the scoped slash/input-pick-files event; the paperclip button is
removed and the + button reads "Add files or run commands".
2026-09-08 12:28:40 +08:00

1.3 KiB

  • banner:
    • navigation "Session hierarchy":
      • button "Inline code links" [disabled]
    • button "Session log":
      • text: Session log
      • img
    • button "Open the sidebar":
      • img
    • tablist:
      • tab "Chat" [selected]
      • tab "Trajectory"
  • text: Show the local preview URL. {{clock}}
  • button "Copy":
    • img
  • heading "Inline code links" [level=2]
  • paragraph:
    • text: "Preview:"
    • code:
      • link "{{linkUrl}}":
        • /url: {{linkUrl}}
  • paragraph:
    • text: "Standard:"
    • link "Open preview":
      • /url: {{linkUrl}}
  • paragraph:
    • text: "Command:"
    • code: curl {{linkUrl}}
  • paragraph:
    • text: "Unsafe:"
    • code: javascript:alert(1)
  • paragraph: INLINE_CODE_LINK_DONE
  • button "Copy":
    • img
  • button "Good response":
    • img
  • button "Bad response":
    • img
  • button "Branch into a new conversation":
    • img
  • button "Ran for {{duration}}":
    • img
    • text: Ran for {{duration}}
  • text: {{clock}}
  • textbox "Message or run a task, / commands, @ files or sessions"
  • button "Add files or run commands":
    • img
  • 'button "Access mode, current: Workspace Write"': Workspace Write
  • button "Select model, current DeepSeek-V4-Flash":
    • text: DeepSeek-V4-Flash
    • img
  • button "Send message" [disabled]
  • button "1 turns 1 steps":
    • img
    • text: 1 turns 1 steps