Commit Graph

2011 Commits

Author SHA1 Message Date
Dan Abramov 347d573b75 Fixes 2024-04-27 02:20:08 +01:00
Dan Abramov 812dc372b4 Unify codepaths 2024-04-27 02:13:42 +01:00
Dan Abramov babda6526c Fixes 2024-04-27 01:49:06 +01:00
Dan Abramov 0faffb2bb5 Rename to reduce diff 2024-04-27 01:29:24 +01:00
Hailey 47d101d791 blur on autosuggestion press 2024-04-26 17:17:55 -07:00
Dan Abramov 5692d7165b Clear right pane search on select 2024-04-27 01:13:40 +01:00
Dan Abramov f481f4b595 Always hide autocomplete 2024-04-27 01:08:24 +01:00
Dan Abramov 36e50b786c Fix search history 2024-04-27 01:06:13 +01:00
Dan Abramov 30eadaab5f Adjustments 2024-04-27 01:03:33 +01:00
Hailey 6975f79df0 onPress dismiss attempt 2024-04-26 16:28:29 -07:00
Hailey 393347387c clear the search input when we clear q on native 2024-04-26 15:51:31 -07:00
Hailey 6e29cce90d use replace on web still 2024-04-26 13:39:32 -07:00
Hailey 234537b8a6 use setParams instead of replace 2024-04-26 13:36:18 -07:00
Hailey 907957ba45 blur on submit 2024-04-26 13:33:31 -07:00
Hailey 556fb386c2 remove q= on cancel 2024-04-26 13:24:48 -07:00
Hailey 46a6a5bbee remove hack 2024-04-26 12:50:05 -07:00
Hailey 1af63b9920 rename q to queryParam 2024-04-26 12:46:36 -07:00
Hailey 6d352211c2 use keepPreviousData for query 2024-04-26 12:40:52 -07:00
Hailey 4dca0c5506 remove back functionality 2024-04-26 11:46:49 -07:00
Dan Abramov 65296f3091 Fix race 2024-04-26 17:11:54 +01:00
Dan Abramov cefe7cec38 Merge branch 'main' into hailey/search-improvements 2024-04-26 16:25:34 +01:00
dan f2797218f8 Move Notifications up on desktop web (#3696) 2024-04-25 23:30:07 +01:00
Eric Bailey 45d354cd0c [Session] Add useAgent hook and replace (#3706)
* Hook it up

* Memoize getAgent method

* Use one shared reference

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2024-04-25 22:29:05 +01:00
Eric Bailey d8c8e1e854 [Session] Drill getAgent into notifications handlers (#3705)
* Drill into notifications handlers

(cherry picked from commit 7ac9e500866732e1f2e205bbe96e70db331e5ffb)

* Thread getAgent instead

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2024-04-25 21:57:45 +01:00
Hailey 0493efbe51 searchText is always defined here 2024-04-24 17:32:29 -07:00
Hailey 5b82b15007 remove use of pointerEvents on iOS profile header (#3694) 2024-04-25 01:24:20 +01:00
dan 05212ca9e3 Remove Moderation from sidebar (#3692) 2024-04-24 21:37:16 +01:00
Hailey 253212a77a use useFocusEffect to update the query term on back navigation 2024-04-24 11:50:37 -07:00
Hailey 1a7cfe672c rm comment 2024-04-24 10:58:11 -07:00
Hailey 3a1f38d501 rm todo 2024-04-24 10:48:10 -07:00
Hailey a03ab3e9d5 rename everything to query temporarily 2024-04-24 10:33:25 -07:00
Hailey ace0cb3ac9 remove unnecesary usestate 2024-04-24 10:27:39 -07:00
Hailey 65b689d4af don't flash results in autocomplete 2024-04-24 10:23:36 -07:00
Hailey cf0f6ebf9a use "back" on web in some cases 2024-04-24 10:02:06 -07:00
dan e2a59449df Remove old Suggested Follows logic (#3689) 2024-04-24 17:45:11 +01:00
dan 8ec3d8c76e Rewrite the link detection (#3687)
* Rewrite the link detection

* Handle parens and colons
2024-04-24 17:30:44 +01:00
Hailey b3df0b177f Remove unnecessary .trimEnd() and fix facet detection (#3672)
* Fix link facet detection

Exclude the trailing period from the link, similar as done in the atproto package

* Fix JSON to text conversion

The trimEnd() call was only needed because we were always appending \n\n at the end. Fix that by only adding line breaks after non-final paragraphs.

* Detect paste reliably

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2024-04-24 15:10:29 +01:00
Eric Bailey 05beb1bbad Remove old old onboarding (#3674) 2024-04-23 19:30:49 -05:00
Samuel Newman 0847e2752b Add option to remove quoted post in composer (#3670)
* add option to remove quoted post

* add generous hitslop
2024-04-24 00:36:59 +01:00
Samuel Newman 9ebfa9a015 Add border radius to GIF loading state (#3669) 2024-04-23 23:56:23 +01:00
Hailey ca23b15c3c encode searchText rather than queryTerm 2024-04-23 14:28:09 -07:00
Hailey 781e806b22 add comment back 2024-04-23 14:27:35 -07:00
Hailey 547404f29f rm todo 2024-04-23 14:27:03 -07:00
Hailey 36a783d52b improve functionality of cancel button 2024-04-23 14:02:10 -07:00
Hailey 542a574cb1 getting there 2024-04-23 13:30:27 -07:00
Hailey 848355b40c rm setTimeout 2024-04-23 12:13:58 -07:00
Hailey dad7888996 use isFetching from query 2024-04-23 12:12:42 -07:00
Hailey 7dea543b8b use usethrottledvalue for autocomplete 2024-04-23 12:04:30 -07:00
Hailey 9c95365090 dont select the text on web 2024-04-23 10:14:16 -07:00
dan 096725110a [Statsig] Add test gates and events (#3659)
* [Statsig] Add test gates and events

* Better types
2024-04-23 04:47:13 +01:00