about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fix alignment of cancel button on search (#5520)Hailey2024-09-271-3/+3
|
* 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
* 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-266-26/+55
| | | | (#5509)
* Fix weird button wrapping on splash (#5507)Eric Bailey2024-09-262-10/+6
| | | | | * Fix weird button wrapping on splash * Web
* 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-253-8/+23
|
* Add language filtering UI to search (#5459)Eric Bailey2024-09-257-149/+427
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use new TextField for search bar * Add lang dropdown * Dialog * Revert "Dialog" This reverts commit 257573cd9c2a70d29df4ef5bdd503eea4ae411fe. * Extract util, test, cleanup * Fix formatting * Pass through other params * Fix sticky header * Fix stale data, hide/show * Improve query parsing * Replace memo * Couple tweaks * Revert cancel change * Remove unused placeholder