about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Allow nested sheets without boilerplate (#5660)Samuel Newman2024-10-0915-414/+311
| | | | Co-authored-by: Hailey <me@haileyok.com>
* Update joined_this_weekPaul Frazee2024-10-091-1/+1
|
* Release 1.92 (#5658)Paul Frazee2024-10-0819-25893/+29021
| | | | | * Fix tests * intl extract
* Fix layout bugs in appeals dialog (#5657)Hailey2024-10-081-1/+3
|
* Make 'em round (#5654)Eric Bailey2024-10-082-1/+2
|
* Downgrade Radix packages for type compat (#5653)Eric Bailey2024-10-081-4/+5
|
* Merge fontVariant defs (#5652)Eric Bailey2024-10-081-1/+1
|
* fix clear button in input (#5650)Hailey2024-10-081-1/+9
| | | | Co-authored-by: Eric Bailey <git@esb.lol>
* Filter posts containing mute words from search and notifications (#5599)Eric Bailey2024-10-082-18/+170
| | | | | | | * Filter mute words from search * Filter mute words from notifications * Do no filter search if using from filter
* Move Dialogs to Radix (#5648)Samuel Newman2024-10-0812-111/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use Redix FocusTrap (#5638) * Use Redix FocusTrap * force resolutions on radix libs * add focus guards * use @radix-ui/dismissable-layer for escape handling * fix banner menu keypress by using `Pressable` * add menu in dialog example to storybook --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com> * use DismissableLayer/FocusScope for composer * fix storybook dialog * thread Portal through Prompt and avatar/banner * fix dialog style regression * remove tamagui --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Nicer error message for disabled quotes (#5644)dan2024-10-082-1/+4
|
* Update neue nux date (#5643)Eric Bailey2024-10-071-1/+1
|
* Make alt text scrollable on native (#5642)Hailey2024-10-071-14/+36
|
* Move remaining composer state into reducer (#5623)dan2024-10-077-362/+201
| | | | | | Co-authored-by: Mary <git@mary.my.id> Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com>
* Fetch link previews from RQ (#5608)dan2024-10-0717-516/+490
| | | | | Co-authored-by: Mary <git@mary.my.id> Co-authored-by: Hailey <me@haileyok.com>
* Use composer state as source of truth for embeds/links on publish (#5606)dan2024-10-074-62/+274
| | | | | Co-authored-by: Mary <git@mary.my.id> Co-authored-by: Hailey <me@haileyok.com>
* Update Indonesian translation (#5316)Fathia2024-10-071-317/+318
| | | | Co-authored-by: Indonesian <github-actions@github.com>
* [Video] Prevent screen from dimming while in full screen (#5637)Hailey2024-10-071-2/+2
|
* [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