about summary refs log tree commit diff
path: root/src/view
Commit message (Collapse)AuthorAgeFilesLines
...
* Add Admonition component (#5680)Eric Bailey2024-10-142-1/+39
| | | | | | | * Add Admonition component * Tweak mobile padding * Format
* Present in-app browser as sheet (#5718)Samuel Newman2024-10-115-17/+15
| | | | | | | * use page sheet presentation * move to its own file rather than sitting in prefs * whoops, missed one
* Move composer open shortcut to shell (#5723)Hailey2024-10-111-3/+7
| | | | | | | | | * move composer shortcut hook * put intent handler in same place * dont allow shortcuts if no session * revert change
* Remove autofocus from alt text input (#5727)Hailey2024-10-112-7/+9
| | | | | * remove autofocus from alt text input * open to full height
* ext gif check (#5725)Hailey2024-10-111-0/+2
|
* shift hitslop of avi follow button (#5730)Hailey2024-10-111-2/+6
| | | | | * shift the hitslop of the follow button * increase slop
* Make default search language 'all languages' (#5731)Paul Frazee2024-10-111-5/+2
|
* Fix performance of feed reordering and add layout animations (#5714)Paul Frazee2024-10-111-89/+114
| | | | | | | | | | | * Rework SavedFeeds editor to make changes transactionally * Fix hit slops * Add layout animations * Fix: dont let down go too far down * Speed up layout transitions
* Move intent handler to a child of `InnerApp` (#5695)Hailey2024-10-111-0/+3
|
* Improve sort & filter of language options in search (#5709)Paul Frazee2024-10-101-3/+20
|
* Always show search options (#5706)Paul Frazee2024-10-101-24/+1
|
* one line btn (#5700)Hailey2024-10-101-1/+1
|
* Tweak threadgate button sizing in the composer on Web (#5692)Paul Frazee2024-10-101-1/+4
| | | | | * Adjust threadgate btn sizing in composer * Tweak threadgate button size on web
* Update the email verification dialog (#5663)Hailey2024-10-102-21/+22
|
* Make default banner more palatable (#5676)Eric Bailey2024-10-101-5/+2
|
* Show download button for Apple (#5671)Hailey2024-10-101-1/+7
|
* Ensure app clip works even with `starter-pack` (#5664)Hailey2024-10-092-9/+44
|
* Cleanup unused props from dialogs (#5665)Hailey2024-10-092-8/+2
|
* Allow nested sheets without boilerplate (#5660)Samuel Newman2024-10-099-91/+39
| | | | Co-authored-by: Hailey <me@haileyok.com>
* Make 'em round (#5654)Eric Bailey2024-10-082-1/+2
|
* Downgrade Radix packages for type compat (#5653)Eric Bailey2024-10-081-4/+5
|
* Move Dialogs to Radix (#5648)Samuel Newman2024-10-087-84/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-081-0/+3
|
* Make alt text scrollable on native (#5642)Hailey2024-10-071-14/+36
|
* Move remaining composer state into reducer (#5623)dan2024-10-073-79/+109
| | | | | | 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-0710-436/+247
| | | | | 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-072-7/+13
| | | | | Co-authored-by: Mary <git@mary.my.id> Co-authored-by: Hailey <me@haileyok.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-071-1/+1
|
* [Video] Revert safari hackfix (#5367)Samuel Newman2024-10-071-7/+0
|
* 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>