Hailey
fdbecff78d
fix initial index selecton
2024-06-18 14:14:25 -07:00
Hailey
8097b268a2
fix merge error
2024-06-18 13:59:58 -07:00
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
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
e30575c0dc
Use exact imports for icons ( #4549 )
...
* Use exact imports for icons
* Add a lint rule
2024-06-18 15:37:08 +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
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
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
Eric Bailey
077da08309
Explore feed cards ( #4521 )
...
* Replace FeedSourceCard on Explore page
(cherry picked from commit e7e9787bfaa9368bfaeaaa4ca144ab77b438219c)
* Replace FeedSourceCard on Search page
(cherry picked from commit ac47aade7622d359eee9509763cda666d964d8a3)
2024-06-17 13:56:11 -05:00
Eric Bailey
7e88d0d7a6
Onboarding fixes ( #4508 )
...
* Add extra padding to bottom of profile step
* Make profile pic gen higher res
2024-06-17 13:21:35 -05:00
Eric Bailey
332524b7de
Add native_pwi_disabled feature gate experiment ( #4507 )
...
* Add native_pwi_disabled feature gate experiment
* Use const
2024-06-17 13:21:09 -05:00
Hailey
c5cdb1033c
remove dev gate
2024-06-17 11:11:06 -07:00
Hailey
59b0769de2
Merge remote-tracking branch 'origin/main' into starter-packs
2024-06-17 10:31:57 -07:00
Hailey
49dd07d600
add appclip meta
2024-06-17 10:23:06 -07:00
Hailey
b4093961de
nit
2024-06-17 09:32:51 -07:00
Eric Bailey
f5f3bd8130
Select, don't mutate ( #4541 )
2024-06-17 19:22:39 +03:00