about summary refs log tree commit diff
path: root/src/view
Commit message (Collapse)AuthorAgeFilesLines
...
* Basic minimum password requirements, plus field-specific errors (#7811)Samuel Newman2025-02-241-3/+14
| | | | | | | | | | | | | | | | | | | | | | | * add min password requirement * add field specific errors * move email tld check to after other email checks * add password length check to change password dialog * Update src/view/com/modals/ChangePassword.tsx Co-authored-by: Hailey <me@haileyok.com> * Update src/screens/Signup/StepInfo/index.tsx Co-authored-by: Hailey <me@haileyok.com> * fix lint --------- Co-authored-by: Hailey <me@haileyok.com>
* precache recent profile click (#7831)Samuel Newman2025-02-241-2/+8
|
* Fix optimistic rendering of profile page (#7830)Samuel Newman2025-02-243-19/+6
| | | | | | | * don't hold up rendering on starter packs * add tab based on profile.associated * move query into component, fix pending states
* make composer pills tappable when keyboard is active (#7717)gpp2025-02-231-0/+1
|
* fix: click on our profile when seeing someone's profile (#7732)Nicolas Borlet2025-02-211-2/+12
| | | | | Co-authored-by: Stanislas Signoud <signez@stanisoft.net> Co-authored-by: Hailey <me@haileyok.com>
* Mute account from post (#7712)Samuel Newman2025-02-211-1/+51
| | | | | * mute account from post * move options around
* consistent sentence case captialisation (#7749)Samuel Newman2025-02-211-17/+17
|
* Remove shadowed follow gate handling (#7774)Eric Bailey2025-02-181-10/+1
|
* `@atproto/api@next` integration (#7344)Eric Bailey2025-02-1816-38/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bump SDK * Use consistent type in profile query * Omit from constraint for profile shadow * Replace isRecord with isValidRecord in QuoteEmbed * Omit type from constraint for old ProfileCard * Omit type from constraint in profile queries where appropriate * Use correct type for update profile mutation * Conslidate and fix check for isValidRecord in Post.tsx * Replace isRecord with isValidRecord in PostThreadItem * Remove redundant cast in PostThreadFollowBtn * Ignore errors in DebugMod screen * Use matching type in ProfileFollows screen * Use matching type in ProfileFollowers screen * Migrate to isValidRecord in PostFeedItem * Use matching type if PostRepostedBy * Omit type from constraint in avatar props * Use matching types in NotificationFeedItem * Todo * Use isValidRecord in NotfyFeedItem * Improve MediaPreview types * Migrate another isValidRecord in NotificationFeedItem * Migrate to isValidView in queries/util * Migrate to isValidRecord in threadgate/util * Fix types in threadgates * Fix up types in starter-packs queries * Todo * Specify exact types in search-posts * Use internal type util to align types * Ditto last * Migrate postgate/index * Specify exact types in post-thread * Use correct type in post-quotes * FIX potential bug in post-thread * Use correct type in post-feed * Add correct type guards to notifications/feed * Migrate a guard in notifications/util * Migrate guard in Wizard/State * [@next] Profile handling, migrate `ProfileCard` (#7347) * Introduce new utils for profiles, migrate old ProfileCard * Rename, reorg * Add parseEmbed utils * Expand AnyProfileView to include chat profile view, update post shadow to reflect this * Cast for perf reasons * Tighten up types now that we have AnyProfileView * Add fastIsType util * Use `assertDid` Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com> * Use util types * Comment * Use fastIsType where no validation was happening before * suggestions (#7382) * suggestions * Revert unneeded changes --------- Co-authored-by: Eric Bailey <git@esb.lol> * Use new util * Rename to dangerousIsType * Convert object shape * Use dangerous util * Use dangerous util * Use dangerous util, we can trust post records * Use dangerous util * Use AnyProfileVIew * Convert object shape * Clean up handling * Patch moderateProfile to accept known profile views, to discuss * Add AnyStarterPackView and related, implement in first usage * Remove validation, fix type, fix ref * Migrate over list-conversations * Clarify intent behind precacheProfile and its unstable query cache * Clean up unstable profile cache * Fix types during label creation in PwiOptOut (#7346) * Tighten types in queries/list * Chat: use correct profile views * Chat: fix log type check * Chat: construct lexically correct shape, even though it's only internal usage * Chat: use correct profile types * Chat: fix type check in logs * Starter: use correct profile types * Starter: use correct profile types * Starter: tighten types to match lex * Any profile type will work in blocked-and-muted * Use dangerous util * Use dangerousIsType * Update new ProfileCard to use AnyProfileView * Use dangerousIsType * Remove outdated todo * Use correct profile type * Use correct profile types * Tighten up types * Use dangerousIsType * Chat: more type fixes * Remove unused file * Add a few utils * Remove unused file * Ignore feedPost.__source * Clean up types, leave validation in critical path * Use dangerousIstype * Use ANyProfileView * Use isValidRecord * Use dangerousIsType * Fix types in ListCard * Fix FeedInterstitials types * Fix types in FeedCard * Fix types in dms ReportDialog * Fix types in SearchablePeopleList * Fix bad type in composer opts * Starter: ok these need to be loose too * Clarify docs Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com> * Less code Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com> * Use package exports Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com> * Use package exports * Bump sdk, update $Typed imports * Format * Format * Fix weird TS error * Remove patch * Beter name * It's memo, can validate * Tighten up parseEmbed, dogfood * Bump sdk * Use asPredicate * Loosen types a bit * use asPredicate * Fix types * Use asPredicate * Use asPredicate * Use asPredicate * Clean up upsertProfile types * Use asPredicate * Use Un util * Fix types * Use new AnyProfileView * Use dangerousIsType * Use asPredicate * Use asPredicate * Add fallback content-type to pass typecheck * Clean up upsertProfile types * Align types * Use dangerousIsType * Use dangerousIsType * Use asPredicate * Align types * Convert findLast * Align types * Just ignore type errors and use findLast * Rename atproto -> bsky * Add validate util * Fix type error * Loosen types * Export post * rename atp bsky * Remove unused code * minor changes * Bump deps * Fix types * Tighten back up loose check * Tighten back up loose check * Fix small bug * Update comment * Revert change --------- Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com> Co-authored-by: Matthieu Sieben <matthieu.sieben@gmail.com>
* Fix "log in", "log out" to "sign in", "sign out" (#7739)Minseo Lee2025-02-176-7/+7
| | | | | * log to sign * logged to signed
* Screen for searching user's posts (#7622)Samuel Newman2025-02-142-15/+73
| | | | | | | | | | | * search user's posts screen * custom placeholder copy if self * navigate to /profile/:handle * add name to title * show header on desktop
* [Instrumentation] Signin (#7742)Samuel Newman2025-02-141-1/+5
| | | | | * first pass at instrumenting login * round time taken
* Revert "fix quote & feed padding not being pressable (#7694)" (#7733)Samuel Newman2025-02-132-9/+45
| | | This reverts commit 521a764d4f896518af7f668e2d196b720461ec13.
* Add dev mode for easy copying of at:// URIs and DIDs (#7723)Tom Sherman2025-02-132-2/+69
| | | | | | | | | | | * Add dev mode for easy copying at:// URIs and DIDs * Use storage API * Share text instead of URL * Cleanup persisted schema * Change translation msg
* Improved search language select (#7591)Samuel Newman2025-02-132-113/+115
| | | | | | | | | | | | | | | | | * replace with Menu * new icon for native * hackfix radix dropdown height * fix jsx * reduce language names with lots of variants to what firefox returns from Intl.DisplayNames * more language label simplifications * add collision padding * adjust spacing around and left align title
* Improved search page (#7590)Samuel Newman2025-02-121-91/+98
| | | | | | | | | | | | | | | | | | | * search input revamp * fix web * rm "useThemeNew" * fix overlap during transition * animate header properly * reduce gap * animate cancel button in * don't move search bar when focused * remove cancel button animation
* Animate drawer menu on mobile web (#7711)Samuel Newman2025-02-121-12/+33
| | | | | | | * slide in/out drawer * increase width slightly * exponential easing function
* Better animations for dialogs, animate web composer (#7703)Samuel Newman2025-02-121-14/+19
| | | | | | | | | * animation atoms, use for modals * respect reduced motion * simplify animtions * fix atoms
* fix quote & feed padding not being pressable (#7694)Samuel Newman2025-02-122-45/+9
|
* [APP-1031] Add new followerRule to threadgate settings (#7681)Eric Bailey2025-02-112-3/+18
| | | | | | | | | | | | | | | | | | | | | | | * Add new followerRule to threadgate settings * Handle WhoCanReply copy * Handle follow case * fix ci * Revert "Handle follow case" This reverts commit bc454dad896fe577bec91f3d65d971ad9e0fec8d. * Hide Follow button if followedBy rule enabled * Revert "Revert "Handle follow case"" This reverts commit cadc46d2dc50120424ed460943775c58efc59c4d. --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Refine accessibilityHint (#7554)Minseo Lee2025-02-1111-16/+18
| | | | | | | | | | | | | | | * `accessibilityHint` * accessibilityHint * Update Co-Authored-By: jason-me <mail@jason-hester.me> * Update LoginForm.tsx --------- Co-authored-by: jason-me <mail@jason-hester.me>
* apply background style to discord/gorhom bottom sheet (#7523)Armaan A2025-02-071-0/+1
|
* Per-user search history (#7588)Samuel Newman2025-02-071-113/+59
| | | | | | | | | | | * per-user search history * move to mmkv with cool new hook * revert accidental changes This reverts commit 27c89fa645eff0acb7a8fd852203ff1ea3725c69. * restore limits
* [APP-1013] Configure and apply default post interaction settings from user ↵Eric Bailey2025-02-062-5/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | preferences (#7664) * Add interaction settings screen * Move header out of interaction settings form * WIP hook it up * Thread through default settings into composer * Update copy pasta * Handle edited state * Copy feedback * Sentence case Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Update copy * Bump SDK * Fix new type error * Less in your face * Remove new dep * Add slot * Copy edit --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Wrap error messages in Layout.Center (#7655)André Fernandes2025-02-051-31/+37
| | | | | * Added Portal to ErrorMessage to stack it on top of the view * Changing Portal solution for Layout.Center according to PR suggestion
* Fix slow Hosting Provider dialog (#7594)Samuel Newman2025-02-031-157/+192
| | | | | * avoid portal perf pitfall * add dep array
* Spring cleaning (#7640)Samuel Newman2025-02-037-366/+1
| | | | | | | | | | | | | | | * delete breakpoint layouts * delete empty file * delete legacy radio buttons * delete selectable button * rm radio buttons from debug * delete storage.ts * delete type-assertions.ts
* Date input improvements (#7639)Samuel Newman2025-02-032-181/+0
| | | | | | | | | * add max date, use modern field for birthday input * rm legacy date input * handle simplifying to simpleDateString internally * update jsdoc
* rm refs in render (#7589)Samuel Newman2025-02-031-3/+3
|
* change search cancel behaviour (#7624)Samuel Newman2025-02-031-2/+8
|
* env var tweaks (#7457)Hailey2025-01-263-2/+29
| | | | | | | | | | | | | * add new events * Discard changes to package.json * Discard changes to src/lib/constants.ts * Discard changes to src/state/feed-feedback.tsx * Discard changes to yarn.lock * remove unused event
* Takendown state + in-app takedown appeals (#7566)Samuel Newman2025-01-231-0/+4
| | | | | | | | | | | | | | | | | * takendown screen * add form, move button inline * expect type error * display error * disable submit if too long * move around all the ctas * typos, rm layoutanimation, fix link * use REASONAPPEAL
* fix deprecation warning (#7540)Samuel Newman2025-01-221-1/+1
|
* Add videos tab to profile (#7517)Eric Bailey2025-01-222-12/+50
| | | | | | | | | | | | | | | * Add videos tab to profile * Modify sourceContext for author feeds * Use actual typecast, better name for feedUri * Make EOF conditional * Clearer condition --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Update hashtag menu to use `Menu`, convert to native link for additional ↵Eric Bailey2025-01-211-1/+1
| | | | | | | | | | | | | | | a11y and click handling (#7529) * Make tag a normal link on web * Replace old TagMenu with new RichTextTag component, expand and improve click utils * Clarify intents * Ensure we're passing down hint * ope * DRY
* move indicatorStyle to `List` (#7526)Samuel Newman2025-01-214-7/+1
|
* show video feeds from posts even if they are replies (#7516)Chris Kanich2025-01-211-1/+3
| | | | | * show video feeds from posts even if they are replies * only show feed post in VideoFeed
* Fix crash when nothing is pinned (#7510)dan2025-01-201-16/+21
|
* Replace hackfix for gestures with upstream fix (#7503)dan2025-01-201-40/+2
| | | | | | | | | | | * Bump pager * Revert "[Android] Try to disambiguate taps from swipes (#7448)" This reverts commit 96054f4addb63994b3d2f5fe1d288f4dd3c246c2. --------- Co-authored-by: gpp-0 <gpp.cat.io@gmail.com>
* Fix tabbar swipe conflicting with drawer (#7501)dan2025-01-201-48/+51
|
* Fix Discover posts showing up in Following with no explanation (#7500)dan2025-01-201-10/+14
|
* Fix PWIDan Abramov2025-01-201-0/+1
|
* yolo (#7499)Hailey2025-01-197-82/+231
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tweaks to constants (#7478) * add did * use correct did * typo * tweak * Prevent Drawer gesture conflicting with Suggestions scroll (#7468) * Extract BlockDrawerGeesture * Block drawer when scrolling interstitials (cherry picked from commit 9e3f2f43745eed9c71cb985e48135b7363d91aa9) * yolo interstitial * yolo mode * right swipe * fix nav gesture * vibe controls * collapsible post text * rm blurview, cover for tall videos * smarter video source handling * use thumbnails, improve perf significantly * better android loading * improve aspect ratio * optimize source changes * rm spinner on ios * whoops, remove debug `false` * FIX WRONG VIDEOS SHOWING UP * don't spring on way down * release video players when leaving screen * remove jank animation * Add grid * improve contract, fix double tap * Filter out posts without videos * Only do grid on native * Pipe through feedSourceUri and link to feed * Handle passed through params * Partial revert, just filter posts to start at index * Clean up cards, remove entry interstitial * Tweak handle * Change constant name * Rename some things * Make types legit * Clean up more naming * Add placeholder for grid view * Handle web, set up new organization * Begin work on Header * Replace types * Squashed commit of the following: commit 3d1be4c0f19789dd3c5a3572ec1acd744a2edb80 Author: Samuel Newman <mozzius@protonmail.com> Date: Fri Jan 17 01:08:05 2025 +0000 extend animation commit c9f199413b018efcbd9d8d2a58dd05eb41e7acb7 Author: Samuel Newman <mozzius@protonmail.com> Date: Fri Jan 17 01:01:24 2025 +0000 fix gap commit 22e520795f50efda176f21a5e967cb27d0cdd907 Author: Samuel Newman <mozzius@protonmail.com> Date: Fri Jan 17 00:50:16 2025 +0000 thinner bar, format time commit c32427f21405294ed3567545629a2964c4af59fe Author: Samuel Newman <mozzius@protonmail.com> Date: Fri Jan 17 00:47:57 2025 +0000 fix 2 in 3 screens commit cbf84c08d64ca0a08ba9070ef5db918f89aa4296 Author: Samuel Newman <mozzius@protonmail.com> Date: Fri Jan 17 00:45:46 2025 +0000 rm unneeded var commit 7e0e100177bb1cd0e64c0841bb7685c7f1eb857f Author: Samuel Newman <mozzius@protonmail.com> Date: Fri Jan 17 00:41:18 2025 +0000 scrubberrrrr * use white with opacity rather than gray * Simultaneous gesture * cleanup attempt * fix jank * link to profile on press * fix jitter fr this time * mostly fix android flicker * Maybe fix row generation * Add content hider to video card * emoji in post text * reduce update rate * fix type error * Fix grid layout trailing single item * Add Discover interstitial, settings, includes pin for now * Explore interstitial, handle dimissal, pinning, compact card * Only use grid placeholder on native * Update events * Add feature gate * android nav bar fixes + lower update speed * fix interval + decel rate on interstitials * attempt to fix broken scrub on android (not working) * follow button * Part out the interstitials for perf, add view more * Remove prod web route * Wrap interstitials with BlockDrawerGesture * Bring video cropping in line with images (#7462) * Mimic image cropping for videos on web * Same on native * Rename variables for clarity * Fix Android scrubbing * Add FeedFeedbackProvider * Remove swipe gesture * fix light status bar behaviour * bump * feedback * Copy pasta to new location * Copy pasta part deux * Filter only videos * Make whole text clickable to expand (cherry picked from commit 4cf31120779f4e06eb4c296b3d4b53814d432b07) * move scrubber to own file * end card * add icon to end card * add min view time to viewability config * play haptic on like * tweak feedback * tweak feedback again * Moderation (cherry picked from commit 6b6b471cfb363031284b3e7a1f6e0ade3ac4ae47) * remove bad check * fix feedback for new video grid * change prop name to items as well * Simplify logic * Fix mod footer * Give scrubber more space on android * Add subtle track behind scrubber, adjust opacity * wire in feed context again... * Add better a11y desc to card * Fix key issue * Update a11y copy * Fix scrubber height * improve scrubber animation * Make follow button more obvious * Make header back button more clear * Disable interactions with actual video el * keep content away from the bottom safe area * fix blur * fix moderation issue * improve contrast on mod screen * Make moderation static per item * Memoize rows * Optimizations * Take video moderation into account * Only blur titles for list blur * Change copy * Bump blur radius * animate text in both directions * Rm unused field * Filter by root early * Refactor for clarity * add compose prompt to scrubber * rm log * tweak gradient * Bump SDK, use contentMode to power video feed * Ensure ProfileFeed view also supports video feed * improve scrubber on android * rm border from footer * Update prod video feed did * Separate caches * Add lil hover to View More * Fix undefined logic, remove header for interstitial * Ungate * Fix stuckness * remove extra useless map * Fix effect cleanup * Send seen without cleanup * Simplify react stuff * Earlier early return to avoid loading flash * remove scrubber placeholder * Remove opacity hack * Render useEvent conditionally * Fix Android flash --------- Co-authored-by: dan <dan.abramov@gmail.com> Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: Eric Bailey <git@esb.lol>
* Revert "[Android] Fix taps triggering while swiping (#7459)" (#7498)dan2025-01-201-2/+40
| | | This reverts commit 5130d19ebdb3267f58e2b6407eb5c4f95107887c.
* Bring video cropping in line with images (#7462)Eric Bailey2025-01-183-55/+113
| | | | | * Mimic image cropping for videos on web * Same on native
* Remove test gates (#7477)dan2025-01-171-77/+1
|
* [Android] Fix taps triggering while swiping (#7459)gpp2025-01-171-40/+2
| | | | | | | | | | | | | | | * [Android] Fix taps triggering while swiping * Revert "[Android] Try to disambiguate taps from swipes (#7448)" This reverts commit 96054f4addb63994b3d2f5fe1d288f4dd3c246c2. * Update patch to match callstack/react-native-pager-view#961 * Make it symmetrical --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Prevent Drawer gesture conflicting with Suggestions scroll (#7468)dan2025-01-171-0/+9
| | | | | * Extract BlockDrawerGeesture * Block drawer when scrolling interstitials
* [Android] Try to disambiguate taps from swipes (#7448)dan2025-01-151-2/+40
|
* Account quick switch on web (#7190)Samuel Newman2025-01-141-39/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * account quick switch on web * dont show line if one account * switch account label text * add chevron hover state * swagged up hover state * add icons * tune scale anim and respect prefers-reduced-motion * fix reduced motion * fix placeholder position * move menu components out to separate component * Pipe through outer handlers to Button * Abstract lag in control.isOpen state * add profile info into empty space * fix tablet * Alternative * Revert "Alternative" This reverts commit 050ab9595ef3bbc32529ad6588e4690d37539fbe. * maybe fix flicker issue * just do 50ms when not active * delay other animations --------- Co-authored-by: Eric Bailey <git@esb.lol>