Hailey
160bb42167
merge main
2024-06-18 12:11:32 -07:00
Eric Bailey
502bcad701
Disable newskie dialog tap in hover card web ( #4562 )
2024-06-18 14:09:40 -05:00
Paul Frazee
d6ce16d15a
Implement thread locking ( #4545 )
...
* Add the ability to edit threadgates
* Fix bottom border on mobile
* Refresh thread after threadgate edit
2024-06-18 12:07:56 -07:00
Eric Bailey
4165a02b2d
Prevent unecessary calls ( #4561 )
...
(cherry picked from commit ecb4879767 )
2024-06-18 21:52:44 +03:00
Eric Bailey
983d85384b
Force callers of getTimeAgo to pass in the value for "now" ( #4560 )
...
* Remove icky hook for now
* Force callers of getTimeAgo to pass in the 'now' value
* Update usage in Newskie dialog
2024-06-18 21:50:07 +03:00
Paul Frazee
fb76265fcc
Fix: only apply self-thread load-more behavior on the outer edge of the reply tree ( #4559 )
2024-06-18 21:48:49 +03:00
Samuel Newman
5f5d845053
Server-side thread mutes ( #4518 )
...
* update atproto/api
* move thread mutes to server side
* rm log
* move muted threads provider to inside did key
* use map instead of object
2024-06-18 21:48:34 +03:00
Hailey
78001943bc
Merge remote-tracking branch 'origin/main' into starter-packs
2024-06-18 11:44:16 -07:00
Eric Bailey
35e54e24a0
Explore fixes ( #4540 )
...
* Use safe check, check for next page, handle varied lengths
* Fix border width
* Move safe check
* Add font_heavy and use it on the explore page headers
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com >
2024-06-18 13:37:14 -05:00
Hailey
47ab1982a8
merge main
2024-06-18 11:32:19 -07:00
Eric Bailey
1106517481
Is it "newskie" or "newsky" 🤔 ( #4557 )
...
* add newskie icon
(cherry picked from commit 152e074ee0 )
(cherry picked from commit 8d2326f115c9c9d32aa1c41259bb81936b3868aa)
* add size prop
(cherry picked from commit af09ae2d8f )
(cherry picked from commit 38dd38451bcce8afcf302ad1180802640857722a)
* add a dialog for newskies to profiles
(cherry picked from commit fe16f55e9c )
(cherry picked from commit c5b9f1b16ace276f422832069db076a5360616fe)
* move newskie to handle
(cherry picked from commit 150f2635b2 )
(cherry picked from commit 1efaaf835380f4e76d2e4b7fe8b727a92731a794)
* use "say hello" in newskie dialog
(cherry picked from commit d9a286cfc8 )
(cherry picked from commit 018dd1739fee68906dec63e05519f5ca9ae73910)
* tweaks
(cherry picked from commit 070363c947 )
(cherry picked from commit c30855d4ff311e31fb6ae357a9d6cd1662b291d5)
* Tweaks
* Re-export newskie icon
* Design tweaks
* Tweaks
* Add source icon
* Remove unused file
* Remove unneeded edits
* Simplify logic
* Update source
* Moderate displayName, fix createdAt type
---------
Co-authored-by: Hailey <me@haileyok.com >
2024-06-18 12:59:50 -05:00
Hailey
73c9de3ce2
fix keyboard overlaying onboarding inputs ( #4558 )
2024-06-18 10:57:08 -07:00
Hailey
8ca6c96d98
fix name clash
2024-06-18 10:40:22 -07:00
Hailey
2a7ad32dfa
use new time ago hook
2024-06-18 09:27:21 -07:00
Hailey
ab71f13d63
merge in main
2024-06-18 09:21:34 -07:00
Eric Bailey
443beda741
Add useGetTimeAgo and utils ( #4556 )
...
* Create a testable version of ago() and re-enable the disabled test (#4364 )
* Enable the test of ago()
* Use test cases
This puts the input and the expected values next to each other.
* Create dateDiff function
This is a copy of ago(), but with the ability to specify the second date instead of using Date.now().
* Let ago() use dateDiff()
* Move constants close to usage
* Test dateDiff instead of ago
This makes it possible to test the dates without being forced to rely on what the current date is.
The commented out tests do not yet pass. This is fixed in later commits.
* Update dateDiff and enable the remaining tests
* Split up tests, use date-fns as helpers
* Remove old test
* Add long format
* Add hook
* Migrate to hooks
* Delete old code
* Or equal to
* Update comment
---------
Co-authored-by: Jan Aagaard <jan@aagaard.net >
2024-06-18 10:55:02 -05:00
dan
08cfb09589
Unconditionally polyfill Intl.PluralRules for native ( #4554 )
...
* Revert "Fix Android startup perf regression (#4544 )"
This reverts commit e6213d7aa5 .
* Force polyfill
2024-06-18 17:27:40 +03:00
dan
f142339e06
Dedupe Zod installation ( #4551 )
2024-06-18 17:20:54 +03:00
dan
e30575c0dc
Use exact imports for icons ( #4549 )
...
* Use exact imports for icons
* Add a lint rule
2024-06-18 15:37:08 +03:00
dan
e6213d7aa5
Fix Android startup perf regression ( #4544 )
2024-06-18 08:23:41 +03:00
Hailey
a16d350aeb
tweaks
2024-06-17 20:35:40 -07:00
Hailey
cf3442b751
oops again
2024-06-17 20:31:41 -07:00
Hailey
f84aa3c24c
oops
2024-06-17 20:30:41 -07:00
Hailey
e7f0c25559
add in moderation to landing screen
2024-06-17 20:23:41 -07:00
Hailey
6ecb0d2342
refactor list card items, apply moderation
2024-06-17 20:16:44 -07:00
Hailey
6e470fbe80
pluralize months
2024-06-17 19:33:32 -07:00
Hailey
513df19390
rev change
2024-06-17 19:33:16 -07:00
Hailey
fee8f917b1
pluralize months
2024-06-17 19:31:06 -07:00
Hailey
2c59122a05
parallelize
2024-06-17 19:25:38 -07:00
Hailey
9ccfec15e8
cleanup
2024-06-17 19:23:04 -07:00
Hailey
3e203bc458
simplify some things
2024-06-17 18:57:18 -07:00
Hailey
e9fafaf744
tweak
2024-06-17 17:18:16 -07:00
Hailey
c753da7bbc
oops
2024-06-17 17:13:24 -07:00
Hailey
8631797666
lint errors
2024-06-17 16:47:39 -07:00
Hailey
6073a5c4ab
Merge remote-tracking branch 'origin/main' into starter-packs
2024-06-17 16:41:05 -07:00
Hailey
df985b6583
rm unused prop
2024-06-17 16:39:05 -07:00
Hailey
ecd882ab7d
nit comment
2024-06-17 16:37:40 -07:00
Hailey
3697c72f8c
revert unused change to UserAvatar
2024-06-17 16:37:31 -07:00
Hailey
b761f48ed8
use existing gradient
2024-06-17 16:34:34 -07:00
Hailey
680926e8f6
rm debug
2024-06-17 16:34:26 -07:00
Hailey
90f299f6e2
extract functions and add tests
2024-06-17 16:28:17 -07:00
Hailey
e62f029152
align web/native
2024-06-17 15:51:54 -07:00
Hailey
5240582f73
native tweaks
2024-06-17 15:39:41 -07:00
Hailey
b5b8bf5b1e
rm setting createdAt
2024-06-17 15:27:46 -07:00
Hailey
95011724de
prevent multiple runs of useStarterPackEntry
2024-06-17 15:17:18 -07:00
Hailey
f980847238
update site association
2024-06-17 15:14:35 -07:00
Hailey
5b901540da
what the flying fuck
2024-06-17 14:22:38 -07:00
Hailey
fc976a1272
fix app icon
2024-06-17 14:17:36 -07:00
Hailey
a5adb0bc44
a bunch of changes
2024-06-17 14:03:12 -07:00
Hailey
590b7f734a
add icon
2024-06-17 12:54:36 -07:00