about summary refs log tree commit diff
path: root/src/view
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* use tabular numbers in CharProgress (#5631)surfdude292024-10-071-1/+7
|
* 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
* Add alt text limit to image dialog (#5611)Eric Bailey2024-10-054-117/+230
| | | | | | | | | | | | | | | | | | | * 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>
* Post alignment (#5580)Eric Bailey2024-10-043-264/+170
| | | | Co-authored-by: Hailey <me@haileyok.com>
* Emoji handling nested (#5609)Eric Bailey2024-10-042-14/+19
|
* [Sheets] [Pt. 1] Root PR (#5557)Hailey2024-10-0419-395/+414
| | | | | | | 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-053-33/+74
| | | | | * 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-031-9/+19
|
* Font tweaks (#5597)Eric Bailey2024-10-032-209/+3
| | | | | | | * Increase fontWeight on android * Use atoms for a couple stray fontWeights * Rm unused file
* Fix profile header buttons (#5558)Eric Bailey2024-10-031-26/+13
| | | | | | | | | | | * Fix profile header buttons * Adjust labeler buttons too * Fix load state jumps * Small tweak for web * Remove log
* 🪵📌 (#5594)Samuel Newman2024-10-031-0/+2
|
* Rename some files and variables (#5587)dan2024-10-034-73/+462
| | | | | | | * Move composer reducers together * videoUploadState -> videoState * Inline videoDispatch
* Manage video reducer from composer reducer (#5573)dan2024-10-032-21/+103
| | | | | | | | | | | | | | | * 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-032-57/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Make reply prompt more subtle on desktop (#5569)Samuel Newman2024-10-021-8/+16
| | | | | | | | | | | * make reply prompt more subtle on desktop * fix alignment * Tweak transition timing --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Introduce a composer reducer and move image state there (#5547)dan2024-10-023-16/+160
| | | | | | | | | | | | | | | | | | | * 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>
* ALF text input for generic search input (#5511)Samuel Newman2024-09-304-232/+36
| | | | | | | | | | | | | | | | | | | | | * 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>
* Fix sticky offset, gear color (#5537)Eric Bailey2024-09-301-5/+5
|
* use PressableScale for animation (#5541)Samuel Newman2024-09-302-44/+33
|
* Rework native autocomplete (#5521)Hailey2024-09-273-112/+96
| | | | Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Pinned posts (#5055)Samuel Newman2024-09-282-13/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-2732-328/+175
|
* Fix alignment of cancel button on search (#5520)Hailey2024-09-271-3/+3
|
* Ignore bogus onScroll values (#5499)Samuel Newman2024-09-271-3/+10
|
* Tweak font size of "Write your reply" (#5513)Hailey2024-09-261-5/+1
|
* 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-263-0/+4
| | | | (#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
|
* Remove 10milly dialog, revert header logo changes (#5503)Eric Bailey2024-09-262-132/+21
|
* Clean up left nav on web (#5488)Eric Bailey2024-09-261-88/+53
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
|
* 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
* Add back empty placeholder (#5489)Eric Bailey2024-09-251-0/+1
|
* Filter errors that get sent to Sentry (#5247)Hailey2024-09-251-1/+2
|
* Add language filtering UI to search (#5459)Eric Bailey2024-09-252-142/+321
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Support emojis in settings account cards (#5487)Eric Bailey2024-09-251-2/+6
|
* Ensure notifications align with new post alignment (#5486)Eric Bailey2024-09-251-1/+1
|
* Use scale animation for tabs (#5483)Samuel Newman2024-09-251-6/+10
| | | | | * fix passing PressableScale oPressIn prop * use PressableScale for tabs
* [Video] use dynamic import for hls.js (#5429)Hailey2024-09-252-10/+50
| | | | Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Improve style of reply bar (#5447)Hailey2024-09-251-41/+54
| | | | Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Header blurred banner on overscroll (take 2) (#5474)Samuel Newman2024-09-253-15/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * grow banner when overscrolling * add blurview * make backdrop blur as it scrolls * add activity indicator * use rotated spinner instead of arrow * persist position of back button * make back button prettier * make blur less jarring * Unify effects * Tweak impl * determine if should animate based on scroll amount * sign comment --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Allow profile header to overscroll (#5457)Samuel Newman2024-09-257-28/+46
| | | | | | | | | * add allowoverscroll prop * ensure spinner is visible * more generic prop for `<List>` * rename to allowHeaderOverScroll
* [Neue] Post avi, `PostMeta` cleanup (#5450)Eric Bailey2024-09-247-106/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Support emoji in text with custom font * Add emoji support to elements that need it * Remove unused file causing lint failure * Add web only link variant * Refactor PostMeta * Reduce avi size in feeds * Fix alignment, emoji, in PostMeta * Smaller avis in notifications * Shrink post placeholder avi * Handle the handle again * Link cleanup * Cleanup unused props * Fix text wrapping in timestamp * Fix underline color * Tighten up spacing * Web only whiteSpace