Amp 新功能:可视化图表、时间线、图表和模型
Visualize This
Amp 现在可以为您可视化或构建内容,并在线程中直接完成:可交互的图表、时间线、图表和模型。用户可以要求 Amp 可视化存储库过去一个月的提交记录,或为小按钮设计 diff 统计显示方案。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