Hailey
1212f23d30
tweak
2024-06-18 11:28:58 -07:00
Hailey
5164434f72
Merge branch 'hailey/rework-next-check' into hailey/signup-screen-starter-context
2024-06-18 11:20:25 -07:00
Hailey
f988adbc51
add a notice
2024-06-18 10:39:15 -07:00
Hailey
cafab82593
remove top padding
2024-06-18 10:12:59 -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
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
f6a77cb561
simplify logic to avoid reusing starter pack flowo n native
2024-06-17 21:04:28 -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
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
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
89be5a442c
Add patch for RCTBaseTextInput fixing selectTextOnFocus prop ( #4533 )
...
* create patch
* remove js fix in `SearchScreen`
2024-06-17 10:56:02 +03:00
Hailey
3a61c3446a
revert
2024-06-17 00:33:19 -07:00
Hailey
c7ddaa1c4d
handle used URLs nicely
2024-06-17 00:21:39 -07:00
Hailey
fa004bc8df
better handling
2024-06-16 23:05:04 -07:00
Hailey
d4631b404a
fix type errors
2024-06-16 22:48:20 -07:00
Hailey
7851d134d7
rework state
2024-06-16 22:27:53 -07:00
Hailey
19e1c4df09
properly store last used uri
2024-06-16 17:07:15 -07:00
Hailey
6e6253e54b
Merge branch 'hailey/patch-react-native-textinput' into starter-packs
2024-06-16 16:13:06 -07:00
Hailey
c19afb4608
Merge remote-tracking branch 'origin/main' into starter-packs
2024-06-16 16:12:29 -07:00
Hailey
9b195091ee
remove js fix in SearchScreen
2024-06-16 16:01:19 -07:00
Hailey
d0bb97e8a9
fix native post meta ( #4530 )
2024-06-16 12:23:48 +03:00
Hailey
1cca7efa0d
fix entry initial state
2024-06-14 15:59:27 -07:00
Hailey
d90c93e52c
implement new feed card fully
2024-06-14 15:52:15 -07:00
Hailey
f401fa8765
rm usetheme
2024-06-14 14:04:53 -07:00
Hailey
c9451008bf
use new card in profile
2024-06-14 13:57:08 -07:00
Hailey
5593fcde0f
Merge remote-tracking branch 'origin/main' into starter-packs
2024-06-14 13:18:23 -07:00
Eric Bailey
eaef1446f2
Use URI as key ( #4522 )
2024-06-14 14:28:25 -05:00
Eric Bailey
5751014117
Feed source card ( #4512 )
...
* Pass event through click handlers
* Add FeedCard, use in Feeds screen
* Tweak space
* Don't contrain rt height
* Tweak space
* Fix type errors, don't pass event to fns that don't expect it
* Show unresolved RT prior to facet resolution
2024-06-14 14:24:04 -05:00
Hailey
70b7e8ecf8
merge main
2024-06-14 12:22:28 -07:00
Minseo Lee
51a3e60132
Fix kawaii logo ( #4505 )
2024-06-14 10:39:08 -07:00
Eric Bailey
36e976fe5c
Redo explore page ( #4491 )
...
* Redo explore page, wip
* Remove circle icons
* Load more styling
* Lower limit
* Some styling tweaks
* Abstract
* Add tab, query, factor out
* Revert unneeded change
* Revert unneeded change v2
* Update copy
* Load more styling
* Header styles
* The thin blue line
* Make sure it's hairline
* Update query keys
* Border
* Expand avis
* Very load more copy
2024-06-14 12:32:57 -05:00
Eric Bailey
4c0f037880
Reuse overfetching for popular feeds, add in existing filtering ( #4501 )
2024-06-14 11:56:29 -05:00
Hailey
2894d365e1
oops
2024-06-13 19:07:32 -07:00
Hailey
5b8bdab0e1
fix type error
2024-06-13 18:19:12 -07:00
Hailey
3650a329aa
Merge branch 'main' into starter-packs
2024-06-13 18:09:34 -07:00
Hailey
b4e220ede9
handle landing on start link
2024-06-13 14:12:40 -07:00
Hailey
44591b070e
rm drawer item
2024-06-13 09:01:26 -07:00
Samuel Newman
d20c59e19d
Calculate correct keyboard offset in composer ( #4500 )
...
* calculate correct keyboard offset
* give viewHeight a default value
* much simpler approach
2024-06-13 15:58:56 +01:00
Eric Bailey
d989128e5b
Set profile hover prefetch stale time to 30s ( #4417 )
...
* Set prefetch stale time to 30s
* Run prefetch on mouseOver
* Only prefetch once on mousemove
2024-06-13 04:44:06 +02:00
Mary
247af5aee9
Prevent rich-formatting paste ( #4327 )
...
* fix: prevent rich-formatting paste
* fix: return true instead of preventDefault
2024-06-13 04:37:49 +02:00
Hailey
eb40c9085b
fix type errors
2024-06-12 12:29:19 -07:00
Hailey
b1ea5d6ba8
organize
2024-06-12 12:20:54 -07:00
Hailey
a083655f9f
cleanup diff
2024-06-12 12:16:35 -07:00
Hailey
b930100ded
revert unused change
2024-06-12 12:14:40 -07:00
Hailey
8fa624d2c3
rm placeholder
2024-06-12 12:12:18 -07:00