about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [Video] Add dimension info to share intent (#5639)Hailey2024-10-073-3/+4
|
* [Video] Revert safari hackfix (#5367)Samuel Newman2024-10-071-7/+0
|
* Swipeable to delete chat, custom swipeable (#5614)Hailey2024-10-074-167/+633
| | | | Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* equal spacing on displayname/handle (#5636)Samuel Newman2024-10-072-2/+2
|
* Update Japanese translation (#5374)Takayuki KUSANO2024-10-071-163/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Update catalana messages.po (#5380)Ivan Beà2024-10-071-18/+18
| | | 100% translated again, take a look please @jordimas @darccio @surfdude29 @rortan134
* Update and inconsistency fixes to pt-br translation (#5436)f e l p s2024-10-071-91/+91
| | | | | | | | | | | * Update and inconsistency fixes to pt-br translation * Update and inconsistency fixes to pt-br translation Updated last translator * More tr * More translations updated
* Tweak #5522 (#5635)Eric Bailey2024-10-071-5/+5
| | | | | | | | | | | | | * Reduce post reason icon size & offset (#5522) * Make x margin within pin icon the same * Reduce post reason icon size and offset * Use existing pin --------- Co-authored-by: futur <me@futuristick.ca>
* Update Korean localization (#5401)Minseo Lee2024-10-071-1623/+1602
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po
* Update Chinese localization (#5433)Frudrax Cheng2024-10-072-3288/+3273
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * CN: Update Translates * CN: Remove superseded strings * CN: Update Translates * CN: Update Translates * TW: Update and clean * Both: Update Translates * CN: Update Translates * CN: Remove superseded strings * Update src/locale/locales/zh-TW/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * CN: Update Translates * CN: Remove superseded strings * CN: Remove extra spaces * CN: Make some translations more localized * CN: Make some translations more localized#2 * CN: Update Translates * CN: Update Translates * CN: Remove superseded strings * CN: Update Translates * TW: Run intl:extract * TW: Update Translates * TW: Remove superseded strings * TW: Improve translation * Both: Run intl:extract * CN: Update Translates * Update src/locale/locales/zh-TW/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * Update src/locale/locales/zh-CN/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * Both: Run intl:extract * CN: Update Translates * TW: Update Translates * Both: Fix typo * Both: Run intl:extract * CN: Update Translates * TW: Update Translates * Both: Run intl:extract * Both: Update Translates * Both: Update Translates * Both: Run intl:extract * Both: Update Translates * Both: Correct some grammar of words * Update src/locale/locales/zh-TW/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * Update src/locale/locales/zh-CN/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * Update src/locale/locales/zh-CN/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * Both: Update Translates --------- Co-authored-by: Kuwa Lee <kuwalee1069@gmail.com> Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com>
* Add Cantonese Localization (#5479)Frudrax Cheng2024-10-076-2/+7876
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add zh-HK localization * Update dates.ts * HK: Update Translates * HK: Fix typo * HK: Fix wrong language code * HK: Update Translates * HK: Update Translates * rename 'Chinese (Hong Kong)' to 'Cantonese' * HK: Update Translates * Update languages.ts Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * HK: Update Translates by reviewers --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* use tabular numbers in CharProgress (#5631)surfdude292024-10-071-1/+7
|
* Restored the dot in the message displayed in the moderation details dialog ↵Takayuki KUSANO2024-10-071-0/+1
| | | | (#5622)
* Fix padding in repost dialog (#5626)Hailey2024-10-061-2/+2
|
* Fix composer char progress layout (#5620)Hailey2024-10-062-70/+71
| | | | | * fix composer * more fixes
* Improve localization of {els} string on Create Account page (#3912)Minseo Lee2024-10-052-32/+54
| | | | Co-authored-by: Hailey <me@haileyok.com>
* Enclose the entire message in Trans tags for translation (#5616)Takayuki KUSANO2024-10-052-19/+23
|
* Add alt text limit to image dialog (#5611)Eric Bailey2024-10-055-118/+231
| | | | | | | | | | | | | | | | | | | * Add alt text limit to image dialog * GIF alt text too * Fix * tweaks, save alt on dialog dismiss * simplify close behavior * use state in gif alt * state --------- Co-authored-by: Hailey <me@haileyok.com>
* Move font-face defs into HTML for CDN (#5612)Eric Bailey2024-10-042-15/+2
|
* Post alignment (#5580)Eric Bailey2024-10-043-264/+170
| | | | Co-authored-by: Hailey <me@haileyok.com>
* Emoji handling nested (#5609)Eric Bailey2024-10-043-26/+38
|
* [Sheets] [Pt. 1] Root PR (#5557)Hailey2024-10-0466-1509/+1263
| | | | | | | Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: dan <dan.abramov@gmail.com> Co-authored-by: Hailey <me@haileyok.com>
* Make composer reducer source of truth for images/video when publishing (#5595)dan2024-10-054-50/+89
| | | | | * Move caption and altText state into video reducer * Make composer state source of truth for images and video publish
* Track links and embeds in the composer reducer (#5593)dan2024-10-052-17/+151
| | | | | | | | | * Scaffold embed draft types These don't map 1:1 to the record structure. Rather, we select data from the draft on posting. * Prefill initial quote * Implement the reducer
* Add option to search in any language (#5598)Eric Bailey2024-10-032-9/+20
|
* Font tweaks (#5597)Eric Bailey2024-10-036-260/+52
| | | | | | | * Increase fontWeight on android * Use atoms for a couple stray fontWeights * Rm unused file
* Fix profile header buttons (#5558)Eric Bailey2024-10-036-63/+42
| | | | | | | | | | | * Fix profile header buttons * Adjust labeler buttons too * Fix load state jumps * Small tweak for web * Remove log
* [🐴] Reduce amount that message sent date is shown (#4228)Samuel Newman2024-10-036-94/+209
|
* 🪵📌 (#5594)Samuel Newman2024-10-032-0/+4
|
* Rename some files and variables (#5587)dan2024-10-0310-81/+64
| | | | | | | * Move composer reducers together * videoUploadState -> videoState * Inline videoDispatch
* Manage video reducer from composer reducer (#5573)dan2024-10-033-62/+129
| | | | | | | | | | | | | | | * 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
* Refactor video uploads (#5570)dan2024-10-038-559/+644
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Delete messages NUX (#5574)Samuel Newman2024-10-022-179/+0
|
* move files around (#5576)Samuel Newman2024-10-0210-19/+19
|
* Make reply prompt more subtle on desktop (#5569)Samuel Newman2024-10-022-8/+44
| | | | | | | | | | | * make reply prompt more subtle on desktop * fix alignment * Tweak transition timing --------- Co-authored-by: Eric Bailey <git@esb.lol>
* import order (#5571)Hailey2024-10-021-2/+2
|
* Add suspense boundary in onboarding (#5556)Eric Bailey2024-10-021-23/+25
|
* Tweak verify email dialog (#5555)Eric Bailey2024-10-021-43/+43
| | | | | * Add intent/verify-email to go server * Tweak verify intent dialog
* Include ghost hook to statically export fonts (#5553)Eric Bailey2024-10-011-0/+14
|
* Introduce a composer reducer and move image state there (#5547)dan2024-10-024-16/+162
| | | | | | | | | | | | | | | | | | | * Add composer reducer * Support adding images Co-authored-by: Mary <git@mary.my.id> * Support updating and deleting images Co-authored-by: Mary <git@mary.my.id> * Derive images state from composer state Co-authored-by: Mary <git@mary.my.id> --------- Co-authored-by: Mary <git@mary.my.id>
* Paralellize image uploads (#5535)dan2024-10-021-137/+117
| | | | | | | | | | | | | | | * Remove unsafe type coercions from posting embed * Extract resolveEmbed into a separate function * Refactor to if-else because these are mutually exclusive * Refactor resolveEmbed to early returns * Separate resolving embed and media * Parallelize image upload * Prioritize not dropping media
* Remove local file check (#5544)Eric Bailey2024-09-301-4/+2
|
* ALF text input for generic search input (#5511)Samuel Newman2024-09-308-253/+129
| | | | | | | | | | | | | | | | | | | | | * alf text input for generic search input * clearer ref naming * Adjust props and definition * Migrate props * Migrate props * Migrate props * Replace on search screen * rm old props --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Use Inter variable font (#5540)Eric Bailey2024-09-302-111/+10
|
* Fix sticky offset, gear color (#5537)Eric Bailey2024-09-301-5/+5
|
* Move email test to root tests dir (#5527)Hailey2024-09-301-82/+0
|
* use PressableScale for animation (#5541)Samuel Newman2024-09-302-44/+33
|
* Rework native autocomplete (#5521)Hailey2024-09-274-120/+105
| | | | Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Pinned posts (#5055)Samuel Newman2024-09-288-22/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add to dropdown menu * use normal profile mutation hook * add pin as reason * request pins * shadow update * rm logs * get prev pinned from getProfile * fix toasts * invalidate after appview ready * don't mutate params * rm log * use checkCommited rather than manual whenAppViewReady * move to mutation * even more optimistic optimistic update * allow pins in `posts_and_author_threads` * update @atproto/api * add reasonPin type * fix strange type error in unrelated query * another missing type
* Remove Segment (#5518)Hailey2024-09-2756-904/+212
|