Commit Graph

1185 Commits

Author SHA1 Message Date
Eric Bailey 3247fe1137 Almost there with read mores 2025-06-11 11:40:33 -05:00
Eric Bailey e83003b1ec Fix lines on read more items 2025-06-11 11:40:33 -05:00
Eric Bailey fd0162c321 Use indent ya idiot 2025-06-11 11:40:33 -05:00
Eric Bailey 1f73c05195 Fix up traversal metadata 2025-06-11 11:40:33 -05:00
Eric Bailey e5cc0c0ed2 New reply tree layout 2025-06-11 11:40:33 -05:00
Eric Bailey e1587661f4 More reorg 2025-06-11 11:40:33 -05:00
Eric Bailey 3223ab859b Reorg 2025-06-11 11:40:33 -05:00
Eric Bailey 7a7708348a Handle linear view 2025-06-11 11:40:33 -05:00
Eric Bailey 37cd3840a4 Basically working read more 2025-06-11 11:40:33 -05:00
Eric Bailey 2497099d81 Handle read more cases in tree view 2025-06-11 11:40:33 -05:00
Eric Bailey 4c4274ada3 Fix optimistic insert 2025-06-11 11:40:33 -05:00
Eric Bailey ef3baf8368 Update APIs 2025-06-11 11:40:33 -05:00
Eric Bailey da4afb78d0 WIP kill me 2025-06-11 11:40:33 -05:00
Eric Bailey 9e9ab55027 Fix highlighted post calc 2025-06-11 11:40:33 -05:00
Eric Bailey 2183de7452 Add annotations 2025-06-11 11:40:33 -05:00
Eric Bailey a16f5ecbff Clean up onPostSuccess 2025-06-11 11:40:33 -05:00
Eric Bailey 7d4ce438ca Ensure deletes are coming through 2025-06-11 11:40:32 -05:00
Eric Bailey f8d5ad88c5 Working optimistic reply insertions, preference for OP 2025-06-11 11:39:52 -05:00
Eric Bailey 8bab738fed Simple working version, no pref for OP 2025-06-11 11:39:52 -05:00
Eric Bailey 912aaac3f6 Sorta working linear view optimistic state 2025-06-11 11:39:52 -05:00
Eric Bailey 8e2bdecc25 Update types 2025-06-11 11:39:52 -05:00
Eric Bailey 03b5ef162c Add in new optimistic insert logic 2025-06-11 11:39:52 -05:00
Eric Bailey 5f586cbec0 Re-org 2025-06-11 11:39:52 -05:00
Eric Bailey e82627cf4f Little cleanup, inserting dupes 2025-06-11 11:39:52 -05:00
Eric Bailey 4a83579795 Optimistic WIP 2025-06-11 11:39:52 -05:00
Eric Bailey b428f8f93c WIP optimistic 2025-06-11 11:39:52 -05:00
Eric Bailey dd01bdd91d Handle first reply under highlighted/composer 2025-06-11 11:39:52 -05:00
Eric Bailey f82641b86d Fix parents 2025-06-11 11:39:52 -05:00
Eric Bailey 4431e1b7f7 Clarify some naming 2025-06-11 11:39:52 -05:00
Eric Bailey 64598ab9d0 Better muted/hidden sorting and handling 2025-06-11 11:39:52 -05:00
Eric Bailey df607870f0 Rough handling of hidden/muted 2025-06-11 11:39:52 -05:00
Eric Bailey e42cd77fc0 Sorting working 2025-06-11 11:39:52 -05:00
Eric Bailey 59ab4f9668 WIP 2025-06-11 11:39:52 -05: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
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 4c5a4e471f Make via-repost notifs groupable (#8429) 2025-05-30 01:43:56 +03:00
Samuel Newman cf63c2ca07 Send FeedFeedback interactions in thread view (#8414) 2025-05-28 22:09:28 +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
hailey 7ed2a4f388 silence geo log (#8400) 2025-05-21 15:35:28 -07: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
Samuel Newman 1cdbfc7092 Live via service config (#8378)
* add config (with temp config)

* only allow whitelisted domains in form

* move config to generic config

* use array-based config

* update deps

* rm expect-error
2025-05-16 15:38:34 -07:00
Samuel Newman a0bd804262 Live (#8354) 2025-05-10 00:06:06 +03:00
Eric Bailey 0f96669f8c [APP-1158] Refactor email-related dialogs (#8296)
* WIP

* Update email

* Fire off confirmation email after change

* Verify step, integrate stateful control

* Remove tentative EnterCode step

* Handle token step

* Handle instructions and integrate into 2FA setting

* Fix load state when reusing same email

* Add new state

* Add 2FA screens

* Clean up state in Update step

* Clean up verify state, handle normal callback

* Normalize convetions

* Add verification reminder screen

* Improve session refresh

* Handle verification requirements for composer and convo

* Fix lint

* Do better

* Couple missing translations

* Format

* Use listeners for easier to grok logic

* Clean errors

* Move to global context

* [APP-1158] Gate features by email verification state (#8305)

* Use new hook in all locations

* Format

* Seems to work, not great duplication

* Wrap all open composer calls

* Remove unneeded spans

* Missed one

* Fix handler on Conversation

* Gate new chat in header

* Add comment

* Remove whoopsie

* Format

* add hackfix for dialog not showing

* add prompt to accept chat btn

* navigation not necessary

* send back one screen, rather than home

* Update comment

---------

Co-authored-by: Samuel Newman <mozzius@protonmail.com>

* Clear dialog state

Co-authored-by: Samuel Newman <mozzius@protonmail.com>

* Update icon

* Check color

* Add 2FA warning

* Update instructions

* Fix X button

* Use an effect silly goose

* Update copy

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

* Update copy

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

* Update copy

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

* Update copy

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

* Update src/components/dialaUpdate copyogs/EmailDialog/screens/Update.tsx

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

* Update copy

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

* Update copy

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

* Update copy

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

* Update copy

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

* Update copy

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

* Update copy

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

* Update copy

* Update copy

* Update copy

* Update copy

* Update copy

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

* Update copy

* Add link back to update email from verify email dialog

* Handle token field validation

---------

Co-authored-by: Samuel Newman <mozzius@protonmail.com>
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
2025-05-07 10:23:33 -05:00
Samuel Newman 4c8fd006f6 New Edit Profile dialog on web, use new Edit Image dialog everywhere (#8220) 2025-05-06 22:50:28 +03:00
hailey 521ec8e044 swap out cropper library (#8327)
* mostly implement

* type errors

* unused import

* rm comment

* stop accidentally deleting the image while compressing

* upgrade

* type fixes

* upgrade, remove timeout

* bump

* rm mock

* bump

---------

Co-authored-by: Samuel Newman <mozzius@protonmail.com>
2025-05-06 10:54:08 -07:00
Paul Frazee 46ea3fdbee Merge branch 'demo' into main 2025-05-02 10:36:43 -07:00
Samuel Newman 077fd843f0 don't await deleting temp files (#8287) 2025-04-26 11:26:42 -07:00