Commit Graph

3370 Commits

Author SHA1 Message Date
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
bnewbold d81a373d21 embedr: handle out-of-range maxwidth; change default (#3713) 2024-04-25 17:23:45 -07: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
Eric Bailey e5fdbfe294 [Session] Drill getAgent into Onboarding/util (#3704)
* Drill agent into Onboarding/util

(cherry picked from commit 2ba68eb5e446a694730b720f2a5b3307eb0914ef)

* Thread getAgent instead

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2024-04-25 21:53:27 +01:00
Eric Bailey 35005da59e [Session] Drill getAgent into notifications/utils (#3703)
* Drill into notifications/util

(cherry picked from commit 84b535ed54f4fe93debcd198809bb184519c3507)

* Thread getAgent instead

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2024-04-25 21:48:01 +01:00
Eric Bailey a69e567991 [Session] Drill into getAgent into whenAppViewReady (#3702)
* Drill into whenAppViewReady

(cherry picked from commit e290e5be3df509bdd9d0e626a164996c9dee3636)

* Drill getAgent instead

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2024-04-25 21:39:28 +01:00
Eric Bailey ec37696034 [Session] Drill getAgent into feed APIs (#3701)
* Update to desired post-feed usage

* Drill agent into feed apis

* Thread getAgent instead

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2024-04-25 21:29:06 +01:00
Kevin Scannell 282ad4b17d Irish translation back to 100% (#3683) 2024-04-25 09:08:56 -07:00
Eric Bailey 6aded4f257 [Session] Base (#3541)
* Add readLastActiveAccount to use accounts[] as source of truth

* Add public service constant, use
2024-04-25 10:35:21 -05: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
Hailey c3fcd486b3 Cleanup files after each iteration of compression and downloading (#3599)
* delete image on each iteration of compression

* replace a few other instances of `unlink()`

* ensure that moving to the permanent path will succeed

* use `cacheDirectory`

* missing file extension?

* assert

* Remove extra .

* Extract safeDeleteAsync, fix normalization

* Normalize everywhere

* Use safeDeleteAsync in more places

* Delete .bin too

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2024-04-25 01:12:36 +01:00
dan 90c3ec8749 Ignore image responses on non-200 status (#3693)
* Ignore image responses on non-200 status

* Fix tests
2024-04-24 23:16:11 +01:00
Mary 15055cb8c4 Persist PDS URL for session resumption (#3620)
* fix: store PDS URL for session resumption

* fix: handle a few more cases

* fix: blocking resumption should also use pds url

* refactor: do it in the construct itself

* fix: revert ce96223
2024-04-24 21:57:16 +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 f265e1d30e revert accidental lint 2024-04-24 10:36:28 -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
dan 24da3a8f4e Disable autoplay by default if prefers-reduced-motion (#3671) 2024-04-23 17:07:18 -07: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 76aef2d064 use mp4 over webm (#3666)
* use mp4 over webm

* tinymp4

* safari only
2024-04-23 23:55:01 +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
Paul Frazee 316fce6439 Release 1.79 (#3661)
* Update tests

* Intl exract
1.79
2024-04-23 11:26:50 -07:00