Amp 新功能:可视化图表、时间线、图表和原型设计
Visualize This

Amp 现在可以可视化图表、时间线、图表和原型设计,用户可以直接在对话线程中点击交互。例如,用户可以要求 Amp 可视化过去一个月的代码库提交记录。Nicolay Gerold 构建了此功能。
You can now ask Amp to visualize or build something for you and it will do it, right in the thread: charts, timelines, diagrams, and mockups you can click through.
Here are some examples, from our real threads. Go ahead, hover and click through them:
Visualize the commits in this repo over the last month.
Here, for example, is an excerpt from Quinn's thread, where he asked for ways to fit a diff stat into a small button:
When we are showing the changes chip above the prompt editor, I want to show the diff stat on desktop. But then on smaller screens, including mobile and tablets, I want to find a way on both Android and web and iOS to show something that's like a diff stat, but that fits within the button. And I think that we could try using like small squares that are green, yellow, and red, of course, you know, using colorblind valid colors if so. So give me a bunch of different variants of how this could look for all the different ways we could convey the diff stat little blocks, like radially. I mean, they could also just, you know, be different shapes too, radially, and then also what that looks like on all the different platforms. And let me choose from there and iterate from there.
Show AllShow Less
And here's what went into building this feature:
Can you visualize the commits and messages and tests and files and diffs that went into this feature?
@Nicolay Gerold built it.
来源: Amp News · ampcode.com