5810 Commits

Author SHA1 Message Date
Samuel Newman
18b4fcf8eb
Revert "Instant Feed Update on Mute or Moderation Action" (#8482) 2025-06-12 13:16:52 -07:00
Samuel Newman
8a5a7db146
rm browserslist (#8481) 2025-06-12 11:21:16 -07:00
hailey
477e5f4ecf
new arch (#8295)
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
Co-authored-by: Charlotte Som <charlotte@som.codes>
Co-authored-by: Hailey <me@haileyok.com>
2025-06-12 10:46:22 -07:00
pfrazee
a26b20b56c Nightly source-language update 2025-06-12 02:40:53 +00:00
Samuel Newman
18b258d060
Loosen post source constraints (#8478)
* Loosen post source constraints

* logger warn if failed to find source

* Tweak assertion logic

---------

Co-authored-by: Eric Bailey <git@esb.lol>
2025-06-11 15:22:21 -07:00
Samuel Newman
093454f5b2
hide keyboard when backgrounding (#8450) 2025-06-11 13:19:26 -07:00
Samuel Newman
9e186dd2b5
Video - remove MediaInsetBorder when fullscreen (#8476)
* lift up useFullscreen, hide mediainsetborder when fullscreen

* Revert "lift up useFullscreen, hide mediainsetborder when fullscreen"

This reverts commit 66b17657197e26d9b4c5c951e7cc9eef66519d6d.

* just move border outside of div that gets fullscreened
2025-06-11 12:38:46 -07:00
Samuel Newman
32dfcc3a54
disable avatar preview in searchable people list (#8453) 2025-06-11 12:33:43 -07:00
Eric Bailey
61004b887b
[Threads V2] Preliminary integration of unspecced V2 APIs (#8443)
* WIP

* Sorting working

* Rough handling of hidden/muted

* Better muted/hidden sorting and handling

* Clarify some naming

* Fix parents

* Handle first reply under highlighted/composer

* WIP RaW

* WIP optimistic

* Optimistic WIP

* Little cleanup, inserting dupes

* Re-org

* Add in new optimistic insert logic

* Update types

* Sorta working linear view optimistic state

* Simple working version, no pref for OP

* Working optimistic reply insertions, preference for OP

* Ensure deletes are coming through

* WIP scroll handling

* WIP scroll tweaks

* Clean up scrolling

* Clean up onPostSuccess

* Add annotations

* Fix highlighted post calc

* WIP kill me

* Update APIs

* Nvm don't kill me

* Fix optimistic insert

* Handle read more cases in tree view

* Basically working read more

* Handle linear view

* Reorg

* More reorg

* Split up thread post components

* New reply tree layout

* Fix up traversal metadata

* Tighten some spacing

* Use indent ya idiot

* Some linear mode cleanup

* Fix lines on read more items

* Vibe coding to success

* Almost there with read mores

* Update APIs

* Bump sdk

* Update import

* Checkpoint new traversal

* Checkpoint cleanup

* Checkpoint, need to fix blocked posts

* Checkpoint: think we're good, needs more cleanup

* Clean it up

* Two passes only

* Set to default params, update comment

* Fix render bug on native

* Checkpoint parent rendering, can opt for slower handling here

* Clean up parent handling, reply handling

* Fix read more extra space

* Fix read more in linear view

* Fix hidden reply handling, seen count, before/after calc

* Update naming

* Rename Slice to ThreadItem

* Add basic post and anchor skeletons

* Refactor client-side hidden

* WIP hidden fetching

* Update types

* Clean up query a bit

* Scrolling still broken

* Ok maybe fix scrolling

* Checkpoint move state into meta query

* Don't load remote hidden items unless needed

* skeleton view

* Reset hidden items when params change

* Split up traversal and avoid multiple passes

* Clean up

* Checkpoint: handling exhausted replies

* Clean up traversal functions further

* Clean up pagination

* Limit optimistic reply depth

* Handle optimistic insert in hidden replies

* Share root query key for easier cache extraction

* Make blurred posts not look like ass

* Fix double deleted item

* Make optimistic deleted state not look like crap in tree view

* Fix parents traversal 4 real

* Rename tree post

* Make optimistic deletions of linear posts not look bad

* Rename linear post components

* Handle tombstone views

* Rename read more component

* Add moreParents handling

* Align interaction states of read more

* Fix read more on FF

* Tree view skeleton

* Reply composer skele

* Remove hack for showing more replies

* Checkpoint: sort change scrolling fixed

* Checkpoint: learned new things, reset to base

* Feature gate

* Rename

* Replace show more

* Update settings screen

* Update pkg and endpoint

* Remove console

* Eureka

* Cleanup last commit

* No tests atm

* Remove scroll provider

* Clean up callbacks, better error state

* Remove todo

* Remove todo

* Remove todos

* Format

* Ok I think scrolling is solid

* Add back mobile compose input

* Ok need to compute headerHeight every time

* Update comments

* Ok button up web too

* Threads v2 tweaks (#8467)

* fix error screen collapsing

* use personx icon for blocked posts

* Remove height/width

* Revert unused Header change

* Clarify code

* Relate consts to theme values

* Remove debug code

* Typo

* Fix debounce of threads prefs

* Update metadata comments, dev mode

* Missed a spot

* Clean up todo

* Fix up no-unauthenticated posts

* Truncate parents if no-unauth

* Update getBranch docs

* Remove debug code

* Expand fetching in some cases

* Clear scroll need for root post to fix jump bug

* Fix reply composer skeleton state

* Remove uneeded initialized value

* Add profile shadow cache

* Some metrics

* prettier tweak

* eslint ignore

* Fix optimistic insertion

* Typo

* Rename, comment

* Remove wait

* Counter naming

* Replies seen counter for moderated sub-trees

* Remove borders on skeleton

* Align tombstone with optimistic deletion state

* Fix optimistic deletion for thread

* Add tree view icon

* Rename

* Cleanup

* Update settings copy

* Header menu open metric

* Bump package

* Better reply prompt (#8474)

* restyle reply prompt

* hide bottom bar border for cleaner look

* use new border hiding hook in DMs

* create `transparentifyColor` function

* adjust padding

* fix padding in immersive lpayer

* Apply suggestions from code review

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>

* Integrate post-source

(cherry picked from commit fe053e9b38395a4fcb30a4367bc800f64ea84fe9)

---------

Co-authored-by: Samuel Newman <mozzius@protonmail.com>
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
2025-06-11 14:32:14 -05:00
Eric Bailey
143d5f3b81
Post source handling updates (#8472)
* Add debugs

* Key post-source using URI with handle

* Enhance

* EnHANCE

* ENHANCE

* ENHANCEEEECEE

* ᵉⁿʰᵃⁿᶜᵉ

* enhance
2025-06-11 13:22:02 -05:00
Samuel Newman
7341294df6
Fix using screen names in Link (#8473)
* use our router in favour of useLinkBuilder

* test feature using Home header feeds button

* handle non-string params properly
2025-06-11 10:12:05 -07:00
Francisco Nascimento
269105371b
Instant Feed Update on Mute or Moderation Action (#8463)
* Implemented #2406: Instant Feed Update on Mute or Moderation Action
Posts from muted or blocked users are now removed immediately from
the feed. This is achieved by extending the usePostShadow hook to
check if the post author is muted or blocked and return
POST_TOMBSTONE accordingly.
A unit test was also added to validate the new logic.

Co-authored-by: Pedro Macedo <pedrosantosmacedo@tecnico.ulisboa.pt>

* remove useless tests

---------

Co-authored-by: Pedro Macedo <pedrosantosmacedo@tecnico.ulisboa.pt>
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
2025-06-11 06:21:31 -07:00
Samuel Newman
1380c5ac67
use ref instead of source (#8471) 2025-06-10 15:29:39 -05:00
pfrazee
c6fc298d1e Nightly source-language update 2025-06-10 02:41:37 +00:00
dan
f938963462
Update react-navigation (#5967) 2025-06-09 22:29:53 +03:00
Minseo Lee
42c4da1ec7
Update SetNewPasswordForm.tsx (#8349) 2025-06-09 05:21:11 -07:00
pfrazee
b3be5a26ea Nightly source-language update 2025-06-07 02:39:41 +00:00
bnewbold
38a3f37ce8
bskyweb: bump indigo (several codegen updates) (#8442)
* bump indigo (several codegen updates)

* update call to getAuthorFeed
2025-06-06 16:05:00 -07:00
Samuel Newman
487da69a15
Replace "Note about sharing" prompt with an inline hint (#8452)
* add pwi warning to share menu, remove prompt

* add pwi label to web, remove prompt

* add an option to the PWI menu

* conditionally reorder items on web
2025-06-06 08:21:23 -07:00
Samuel Newman
23a7bc50db
Bump version to v1.104 (#8447) 2025-06-06 15:21:49 +03:00
Samuel Newman
40f97d05a6
show misclass button by the same logic as feedContext (#8445) 2025-06-06 03:08:45 -07:00
Samuel Newman
442de4ab7a
change fontSize: 15 to a.text_sm (#7896) 2025-06-06 03:08:30 -07:00
pfrazee
8f3f896a4a Nightly source-language update 2025-06-06 02:40:42 +00:00
Samuel Newman
b523140153
use method that's actually available on android (#8448) 2025-06-05 16:06:33 -05:00
Paul Frazee
1e620b19cc
Release 1.103.0 prep (#8434)
* Add pt-PT mapping to crowdin config

* Pull latest translations from crowdin

* run intl extract
1.103.0
2025-05-30 16:58:23 -07:00
surfdude29
e2b842ad4e
Add language: European Portuguese (pt-PT) (#8375)
* Update app.config.js

* Update lingui.config.js

* Update dates.ts

* Update helpers.ts

* Update i18n.ts

* Update i18n.web.ts

* Update languages.ts

* Create messages.po

* prettier
2025-05-30 16:38:09 -07:00
Paul Frazee
bf7845339c Small test fix 2025-05-30 16:37:10 -07:00
hailey
45a3e6c0d5
tweak ordering of explore components (#8432)
* tweak ordering of explore components

* use better feed suggestions, metrics

* tweak default limit

* tweak

* remove unnecessary if
2025-05-30 15:29:00 -07:00
hailey
ce7b9dc430
add metrics (#8426) 2025-05-30 13:54:58 -07:00
hailey
2a453cd9ca
invert flag for sending to statsig (#8431) 2025-05-30 12:13:44 -07:00
Samuel Newman
4890648116
Fix link to like-via-repost (#8428) 2025-05-30 12:27:24 +03:00
pfrazee
caf18daa6a Nightly source-language update 2025-05-30 02:39:47 +00:00
Samuel Newman
4c5a4e471f
Make via-repost notifs groupable (#8429) 2025-05-30 01:43:56 +03:00
Samuel Newman
7b3916c8cc
Share bandwidth estimate between video instances (#8377) 2025-05-30 00:24:01 +03:00
pfrazee
bc42d26bc5 Nightly source-language update 2025-05-29 02:40:02 +00:00
Samuel Newman
cf63c2ca07
Send FeedFeedback interactions in thread view (#8414) 2025-05-28 22:09:28 +03:00
pfrazee
665a0430a3 Nightly source-language update 2025-05-28 02:39:55 +00:00
Samuel Newman
4303bca860
Floating "Load more" makeover (#8420) 2025-05-28 00:33:19 +03:00
Eric Bailey
342f820ec0
Quiet some logs, fix a bug (#8404)
* Composer, 142k

* Log geolocation error at most once per session

* Clean thumb cache, 1.4m

* Quiet generic network errors

* Handle undefined notification payloads
2025-05-27 13:25:41 -05:00
Eric Bailey
df2f62e94d
Move SENTRY_DSN to secrets (#8096)
* Move SENTRY_DSN to secrets

* Disable without DSN

* Add to secondary build in android ci
2025-05-27 13:25:30 -05:00
pfrazee
0bb0a7616e Nightly source-language update 2025-05-24 02:37:51 +00:00
hailey
00596a2d2f
bump 1.103.0 (#8407) 2025-05-24 02:19:35 +03:00
Samuel Newman
c3f88e0a48
Share menu (#7840)
* move post ctrls to #/components

* restructure post controls, basic share menu

* add border radius to searchable people list for android

* Revert "add border radius to searchable people list for android"

This reverts commit 417449086e25b82f5683b12f6405d972f48ce50e.

* add copy link to native share menu

* reorg files again

* open native share menu on long press

* Translation comments

Thanks @surfdude29

* abs path

* update type imports, remove forwardRef

* rm react import

* equal spacing of buttons, extract disco debug

* add better icon

* add right offset to share button for visual alignment

* Add recent chats to share menu (#7853)

* add recent chats to share menu

* Update RecentChats.tsx

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>

* Update RecentChats.tsx

* add fading edge on andriod

* tweak scrollview

* Add metrics and A/B alt icon to share menu (#8401)

* add metrics

* add a/b tested alt icon

---------

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>

* More descriptive share text/icon on web (#7854)

* more descriptive share text on web

* revert dev mode changes

* add missing import

* use modified share icon everywhere

* Add back conflicting changes

---------

Co-authored-by: Eric Bailey <git@esb.lol>

---------

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
Co-authored-by: Eric Bailey <git@esb.lol>
2025-05-23 18:02:38 -05:00
pfrazee
5aadb9e41b Nightly source-language update 2025-05-22 02:39:43 +00:00
hailey
7ed2a4f388
silence geo log (#8400) 2025-05-21 15:35:28 -07:00
RetroSunstar
5253e688a0
Rectify a constant +1 to liked feeds (#8398)
Co-authored-by: Hailey <me@haileyok.com>
2025-05-21 12:36:18 -07:00
Samuel Newman
a0ea634349
Speculative fix to Android camera roll issue (#8397) 2025-05-21 21:51:57 +03:00
hailey
c16cd36b64
add reqId to feed feedback (#8396)
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
2025-05-21 11:15:55 -07:00
pfrazee
e6c867a961 Nightly source-language update 2025-05-21 02:40:00 +00:00
Samuel Newman
fe73c13530
Improve select language prompt (#8391) 2025-05-20 18:49:47 +03:00