about summary refs log tree commit diff
path: root/assets
diff options
context:
space:
mode:
authorTakayuki KUSANO <65759+tkusano@users.noreply.github.com>2024-10-08 01:45:21 +0900
committerGitHub <noreply@github.com>2024-10-07 11:45:21 -0500
commitc3650962000f148619639d754d008f1da0e32ea9 (patch)
tree005af07edd22a36ba4ff5a57fe5244d345dee5ea /assets
parente5230665886c7b1e7cd7c191fe9588c5c733a569 (diff)
downloadvoidsky-c3650962000f148619639d754d008f1da0e32ea9.tar.zst
Update Japanese translation (#5374)
* Update translation

* Fixed

* Update translation

* Update translation

* Update translation

* Update translation

* Suggested fix by Hima-Zinn

* Update translation

* Update translation

* Update translation

* Translate "pinned"

* Update translation

* Refactor video uploads (#5570)

* Remove unused video field

* Stop exposing video dispatch

* Move cancellation out of the reducer

* Make useUploadStatusQuery controlled by jobId

* Rename SetStatus to SetProcessing

This action only has one callsite and it's always passing "processing".

* Move jobId into video reducer state

* Make cancellation scoped

* Inline useCompressVideoMutation

* Move processVideo down the file

* Extract getErrorMessage

* useServiceAuthToken -> getServiceAuthToken

* useVideoAgent -> createVideoAgent

* useVideoUploadLimits -> getVideoUploadLimits

* useUploadVideoMutation -> uploadVideo

* Use async/await in processVideo

* Inline onVideoCompressed into processVideo

* Use async/await for uploadVideo

* Factor out error messages

* Guard dispatch with signal

This lets us remove the scattered signal checks around dispatch.

* Move job polling out of RQ

* Handle poll failures

* Remove unnecessary guards

* Slightly more accurate condition

* Move initVideoUri handling out of the hook

* Remove dead argument

It wasn't being used before either.

* Remove unused detailed status

This isn't being used because we're only respecting that state variable when isProcessing=true, but isProcessing is always false during video upload.

If we want to re-add this later, it should really just be derived from the reducer state.

* Harden the video reducer

* Tie all spawned work to a signal

* Preserve asset/media for nicer error state

* Rename actions to match states

* Inline useUploadVideo

This abstraction is getting in the way of some future work.

* Move MIME check to the only place that handles it

* Manage video reducer from composer reducer (#5573)

* Move video state into composer state

* Represent video as embed

This is slightly broken. In particular, we can't remove video yet because there's no action that results in video embed being removed.

* Properly represent video as embed

This aligns the video state lifetime with the embed lifetime. Video can now be properly added and removed.

* Disable Add Video when we have images

* Ignore empty image pick

* Rename some files and variables (#5587)

* Move composer reducers together

* videoUploadState -> videoState

* Inline videoDispatch

* 🪵📌 (#5594)

* [🐴] Reduce amount that message sent date is shown (#4228)

* Fix profile header buttons (#5558)

* Fix profile header buttons

* Adjust labeler buttons too

* Fix load state jumps

* Small tweak for web

* Remove log

* Update

* Revert "Update"

This reverts commit b073c0483016c9cddd13a66ec5c7678b28aadc7b.

* Revert "Fix profile header buttons (#5558)"

This reverts commit c00c5fa495460e54551ab7325a5f79d94dd192a7.

* Revert "[🐴] Reduce amount that message sent date is shown (#4228)"

This reverts commit af8e3422a6cb2131f5386fbdc94e9b158e5562b6.

* Revert "🪵📌 (#5594)"

This reverts commit 3ab5190aca767b9ed1900a84eab538f41000526c.

* Revert "Rename some files and variables (#5587)"

This reverts commit 475708ea30dd367c5d79f524bec907a356b6155a.

* Revert "Manage video reducer from composer reducer (#5573)"

This reverts commit 59589e34a375e15c3a802c3dd18170fde913c9cd.

* Revert "Refactor video uploads (#5570)"

This reverts commit f74f9bc1d93e9e52e39e1082e55e4172c6d18301.

* Update translation

* Update translation

* Delete unused entries

* Restored the trailing dot by #5622

---------

Co-authored-by: dan <dan.abramov@gmail.com>
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
Co-authored-by: Eric Bailey <git@esb.lol>
Diffstat (limited to 'assets')
0 files changed, 0 insertions, 0 deletions