about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Ignore built files (#5572)Eric Bailey2024-10-021-0/+3
|
* 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
* Add intent/verify-email to go server (#5554)Eric Bailey2024-10-021-0/+1
|
* Include ghost hook to statically export fonts (#5553)Eric Bailey2024-10-011-0/+14
|
* Handle /starter-pack-short/:code in Go (#5546)dan2024-10-021-0/+1
|
* 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-3021-167/+18
|
* Fix name in `feature_request.yml` (#5542)Hailey2024-09-301-1/+1
|
* Fix sticky offset, gear color (#5537)Eric Bailey2024-09-301-5/+5
|
* Move email test to root tests dir (#5527)Hailey2024-09-301-0/+0
|
* revamp issue templates, add new arch template (#5532)Hailey2024-09-305-59/+184
|
* 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-2810-35/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-2759-1988/+221
|
* Fix alignment of cancel button on search (#5520)Hailey2024-09-271-3/+3
|
* [Share Extension] Support on Android for sharing videos to app (#5466)Hailey2024-09-272-21/+102
|
* Ignore bogus onScroll values (#5499)Samuel Newman2024-09-271-3/+10
|
* add podcasts to spotify embeds (#5514)Hailey2024-09-271-2/+16
|
* Tweak font size of "Write your reply" (#5513)Hailey2024-09-261-5/+1
|
* Lazy load ViewShot (#5517)Hailey2024-09-276-67/+97
| | | | | | | | | | | * lazy one spot * lazy signup * fix type * tweak type, fix missing viewshot type * only import type oops
* [Share Extension] Support images/movies from other apps like iMessage (#5515)Hailey2024-09-261-3/+39
|
* tab change on press rather than pressIn (#5508)Samuel Newman2024-09-261-2/+1
|
* Add margin to bottom of search input (#5510)Hailey2024-09-261-1/+1
|
* [Share Extension] Move away from deprecated API, implement JS side of things ↵Hailey2024-09-267-29/+59
| | | | (#5509)
* Fix weird button wrapping on splash (#5507)Eric Bailey2024-09-262-10/+6
| | | | | * Fix weird button wrapping on splash * Web
* [Share Extension] Use the proper identifier for if statement on iOS (#5505)Hailey2024-09-262-2/+2
|
* Fix handle collapse on Android (#5504)Eric Bailey2024-09-261-6/+9
|
* Adjust header offset (#5501)Eric Bailey2024-09-271-3/+3
|
* Adjust dialog timing (#5502)Eric Bailey2024-09-271-1/+1
|
* Remove 10milly dialog, revert header logo changes (#5503)Eric Bailey2024-09-2610-1050/+28
|
* Fix font loading (#5500)Eric Bailey2024-09-272-15/+18
|
* Clean up left nav on web (#5488)Eric Bailey2024-09-264-93/+68
| | | | | | | | | | | | | | | | | | | | | | | | | * Tweak nav item count style * Fix nav item icon width and alignment * Just refactor the thing * New compose button * Z index * Rounded * Tweak gradient * Tweak gradient * Tweak gradient * Solid * Adjust position of counter * Always a circle
* Adjust line height to not cut off emoji (#5496)Eric Bailey2024-09-261-8/+4
|
* Emoji in account list (#5497)Eric Bailey2024-09-261-2/+4
|
* Make the counter more rounded (#5083)Igor Adrov2024-09-261-1/+1
|
* add emoji prop to composer reply to text (#5495)Samuel Newman2024-09-261-8/+9
|
* Fix banner height in edit profile modal (#5494)Samuel Newman2024-09-262-5/+5
| | | | | * fix banner height * fix user banner, it's not edit profile's fault
* Messages list - make avatars link to profile (#5484)Samuel Newman2024-09-261-7/+18
|
* Add back empty placeholder (#5489)Eric Bailey2024-09-251-0/+1
|
* Filter errors that get sent to Sentry (#5247)Hailey2024-09-254-15/+30
|