chaitin / chaitin/MonkeyCode

预览面板及消息中的 URL 增加"一键访问"功能

Open
#789 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
4.7k
Forks
719
Avg merge
4h 30m
Merged PRs (30d)
83

Description

反馈标题

预览面板及消息中的 URL 增加"一键访问"功能

反馈内容

在任务执行过程中,AI 经常会在消息里输出多个访问地址,比如同一个端口的不同路径(http://xxx:3000/login、http://xxx:3000/dashboard 等)。但底部的预览面板只按端口为一个单位显示,点击打开也只能访问根路径。AI 输出的这些 URL 只是纯文本,无法直接点击跳转。

用户需要先手动复制 URL,再打开浏览器粘贴访问,操作路径太长,在手机上尤其麻烦。

期望效果

  1. 消息中的 URL 自动识别为一键访问按钮:AI 在消息中输出的 HTTP/HTTPS 链接,自动渲染为可点击的按钮或链接,点击直接新标签页打开
  2. 预览面板支持多条路径:同一个端口下有多个不同路径的访问地址时,预览面板能分别列出,每个提供独立的一键访问按钮,而不是只列一个端口
  3. 跨平台可用:PC 端和手机端都支持一键打开,不需要复制粘贴

我的 UID

019d0ac0-b9c8-78a0-b062-3a6d27891a0e

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the message-rendering and preview-panel entry points described in the issue, then trace how URLs and port-based previews are currently handled. Done means HTTP/HTTPS URLs in messages are clickable, multiple paths on one port appear separately in the preview panel, and both desktop and mobile flows open them directly.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.