about summary refs log tree commit diff
path: root/src/screens
Commit message (Collapse)AuthorAgeFilesLines
...
* [🙅] Integrate deactivate (#4308)Eric Bailey2024-06-052-10/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update types (cherry picked from commit 27deac1f367825771ba76fa098ec1b0a62dcf64a) * Integrate into deactivate dialog (cherry picked from commit 84f299a447259cc1fbfc7be607e28197779e4ec1) * Integrate into Deactivated screen (cherry picked from commit 29193f34822ecdf11e2a407197fa230285dfe846) * Bump api sdk (cherry picked from commit 738c622d3e5a23bfbb0d3bdce3a6bdf01e54ca60) * Update permalink (cherry picked from commit c10bf5c071d76c3054bc4ce9d313c10b1820f038) * Bump sdk pkg * Update types to match backend * Loosen types for forwards compat * Hydrate status from persisted data * Refresh session when re-activating, clear query cache * Show app password error * Refactor dialog to clear state when closed * Add app password error to Deactivated screen
* Don't show profile labels until loaded (#4357)dan2024-06-041-9/+11
|
* [🙅] Disambiguation of the deactivation (#4267)Eric Bailey2024-06-043-176/+410
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Disambiguation of the deactivation * Snapshot crackle pop * Change log context * [🙅] Add status to session state (#4269) * Add status to session state * [🙅] Add new deactivated screen (#4270) * Add new deactivated screen * Update copy, handle logout * Remove icons, adjust padding * [🙅] Add deactivate account dialog (#4290) * Deactivate dialog (cherry picked from commit 33940e2dfe0d710c0665a7f68b198b46f54db4a2) * Factor out dialog, add to delete modal too (cherry picked from commit 47d70f6b74e7d2ea7330fd172499fe91ba41062d) * Update copy, icon (cherry picked from commit e6efabbe78c3f3d9f0f8fb0a06a6a1c4fbfb70a9) * Update copy (cherry picked from commit abb0ce26f6747ab0548f6f12df0dee3c64464852) * Sizing tweaks (cherry picked from commit fc716d5716873f0fddef56496fc48af0614b2e55) * Add a11y label
* [🐴] Post embeds polish (#4339)Eric Bailey2024-06-042-30/+73
| | | | | | | * Handle message cleanup * Handle last message in chat list * Memoize lastMessage
* Revert "[🐴] Embed backwards compat (#4302)" (#4338)Eric Bailey2024-06-031-1/+44
| | | This reverts commit f868821cfcc87b62a320e5a1e11375fdb973adc1.
* [🐴] Embed backwards compat (#4302)Eric Bailey2024-05-311-44/+1
|
* [🐴] Add labels to chats (#4293)Eric Bailey2024-05-311-0/+7
| | | | | | | | | | | * Add labels to chat list * Add to convo header * Prevent click through on PostAlert buttons * Fix space * Fix alignment
* [🐴] Option to share via chat in post dropdown (#4231)Samuel Newman2024-05-315-43/+316
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add send via chat button to post dropdown (cherry picked from commit d8458c0bc344f993266f7bc7e325d47e40619648) * let usePostQuery take uris with DIDs (cherry picked from commit 16b577ce749fd07e1d5f8461e8ca71c5b874a936) * add embed preview in composer (cherry picked from commit 795ceb98d55b6a3ab5b83187a582f9656d71db69) * rm log (cherry picked from commit 374d6b8869459f08d8442a3a47d67149e8d9ddd4) * remove params properly, or at least as close to (cherry picked from commit c20e0062c2ca4d9c2b28324eee5e713a1a3ab251) * show images in preview (cherry picked from commit 5bb617a3ce00f67bfc79784b2f81ef8dcb5bfc25) * Register embed immediately (cherry picked from commit ee120d5438a2c91c8980288665576d6a29b4c7e7) * Add hover to match embeds (cherry picked from commit 5297a5b06e499f46a9f6da510124610005db2448) * Update post dropdown copy (cherry picked from commit bc7e9f6a4303926a53c5c889f1f1b136faf20491) * Embed preview style tweaks (cherry picked from commit 9e3ccb0f25ac2f3ce6af538bb29112a3e96e01b1) * use hydrated posts from API and just use postembed component (cherry picked from commit cc0b84db87ca812d76cc69f46170ae84cfdde4ef) * fix type error (cherry picked from commit 9c49b940e1248e8a7c3b64190c5cb20750043619) * undo needless export (cherry picked from commit 1186701c997c50c0b29a809637cb9bc061b8c0a0) * fix overflow (cherry picked from commit 8868d5075062d0199c8ef6946fabde27e46ea378) --------- Co-authored-by: Eric Bailey <git@esb.lol>
* [🐴] send record via link in text (Record DMs - base PR) (#4227)Samuel Newman2024-05-313-16/+73
| | | | | * send record via link in text * re-trim text after removing link
* add prop to ListImpl for disabling `content-visibility` style (#4236)Hailey2024-05-301-0/+3
| | | | | | | | | | | | | | | | | * add prop to `ListImpl` for `content-visibility` style * change to `disableContentVisibility` * lint * tweaks * Keep the fix more general * Clarify ambiguity --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* adjust notifications experiment by removing `canAskAgain` (#4271)Hailey2024-05-301-1/+12
| | | | | * adjust notifications experiment by removing `canAskAgain` * move to `StepFinished` for after onboarding
* Remove old onboarding (#4224)dan2024-05-2815-1979/+27
| | | | | | | | | | | * Hardcode onboarding_v2 to true, rm dead code * Rm initialState, use initialStateReduced * Rm dead code * Drop *reduced prefix in code * Prettier
* Replace getAgent() with reading agent (#4243)dan2024-05-287-37/+29
| | | | | * Replace getAgent() with agent * Replace {agent} with agent
* [🐴] update convo list from message bus (#4189)Samuel Newman2024-05-242-5/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | * update convo list from message bus * don't increase unread count if you're the sender * add refetch interval back * Fix deleted message state copy * only enable if `hasSession` * Fix logged out handling * increase refetch interval to 60s * request 10s interval when message screen active * use useAppState hook for convo resume/background * Combine forces * fix useFocusEffect logic --------- Co-authored-by: Eric Bailey <git@esb.lol>
* [🐴] Don't submit the message on return press when on a phone (web input) ↵Hailey2024-05-231-3/+7
| | | | | | | | | | | | | | | (#4203) move this to the `onKeyDown` prop Revert "do the same for tablets" This reverts commit 47c709e2734f2acf34f89dd5aca42a75a2b56270. do the same for tablets don't submit message if the device is a phone on web move `onTouchStart` to `browser.ts` globals
* [🐴] Fix Firefox send button positioning (#4201)Hailey2024-05-231-2/+4
| | | | | | | | | | | | | | | * use `align_center` * revert * account for firefox textarea size differences set to `38` remove some extra stuff equal height on all platforms * use atom
* [🐴] add link to chat settings from main settings (#4197)Samuel Newman2024-05-231-1/+1
| | | | | | | * add link to chat settings from main settings * move to beneath saved feeds weird ass diff on this commit lol
* Decrease thickness of border on message input (#4196)Hailey2024-05-232-2/+2
|
* stop line breaks for timeelapsed (#4191)Samuel Newman2024-05-231-0/+2
|
* implement a safari hack for ime (#4186)Hailey2024-05-231-0/+20
| | | | | | | | | remove debug logs use a better hack implement a safari hack extract `isSafari` and `isFirefox` to a global variable
* Handle zero bottom inset on iOS (#4184)Hailey2024-05-221-3/+3
| | | | | * set message padding to a minimum of 60 and max of 70 * adjust range
* Cleanup gates (#4170)dan2024-05-221-6/+1
| | | | | | | | | * Unlaunch disable_poll_on_discover_v2 * Rm unused gates * Unlaunch autoexpand_suggestions_on_profile_follow_v2 * Launch disable_min_shell_on_foregrounding_v3
* Add note to clarify "allow new messages from" setting (#4166)Samuel Newman2024-05-221-4/+20
|
* [🐴] Support Japanese (et al.) IME in message input on web (#4159)Hailey2024-05-211-1/+10
| | | | | | | * support japanese et al. IME * update comment * nit
* [🐴] Fix convo menu overlap (web) (#4153)Samuel Newman2024-05-211-26/+19
| | | | | * add right padding to chatlistitem to avoid overlap * reduce padding amount
* close loggedout view when logging in (#4154)Samuel Newman2024-05-211-0/+3
|
* Make list end text customizable (#4145)Hailey2024-05-201-0/+2
| | | | | | | | | | | | | * only try to initialize once * nit * change to `You have reached the end` * make the text at end of list customizable * make the text at end of list customizable * update intl
* use same visuals for notification sounds setting as the allow messages from ↵Hailey2024-05-201-15/+41
| | | | (#4141)
* Add convoId as key to Convo wrapper (#4140)Eric Bailey2024-05-201-1/+1
|
* [🐴] Add end of list text, fix threshold (#4138)Eric Bailey2024-05-201-1/+3
| | | | | * Add end of list text * onEndReachedThreshold
* Fix button size on labeler (#4137)Eric Bailey2024-05-201-3/+4
| | | | | * Fix button size * Fix mobile
* [🐴] set layout height in `onLayout` (#4135)Hailey2024-05-201-12/+22
| | | | | * set layout height in `onLayout` * keep setting it in `onScroll` too
* Fix laggy scrolling on mobile app's home screen, etc. (#4108)Pokai Chang2024-05-211-5/+12
| | | | | | | | | | | * Improve scrolling performance for List * Update List.tsx * Apply same fix to profile labels --------- Co-authored-by: dan <dan.abramov@gmail.com>
* remove DMs gate (#4112)Samuel Newman2024-05-204-32/+0
|
* [🐴] Empty chat prompt (#4132)Eric Bailey2024-05-202-10/+16
| | | | | | | | | | | | | | | | | | | * Add empty chat pill * Tweak padding * move to `components`, place inside `KeyboardStickyView` * cleanup unused vars * add a new animation type * (unrelated) add haptic to long press * adjust shrink and pop --------- Co-authored-by: Hailey <me@haileyok.com>
* [🐴] Prevent flash upon first message (#4133)Eric Bailey2024-05-201-1/+5
| | | | | | | | | | | | | * Prevent flash upon first message * set `hasScrolled` to true when sending a message if it isn't already true * revert other change * lint --------- Co-authored-by: Hailey <me@haileyok.com>
* [Statsig] Fix exposure logging for reduced onboarding (#4131)dan2024-05-214-5/+5
| | | | | | | * Add dangerouslyDisableExposureLogging option * Rename onboarding gate to v2 * Disable exposure logging for onboarding in PostFeed query
* [🐴] Add new chat metrics (#4130)Hailey2024-05-202-12/+17
| | | | | | | | | | | | | | | * remove a comment * add types for event, add log to profile button * add `chat:open` * add to chat list items * fix types * oops * oops 2.0
* [🐴 Tweak appeal button styles (#4128)Eric Bailey2024-05-201-5/+4
| | | | | * Tweak styles * Tweak copy
* [🐴] Appeal form for disabled DMs (#4126)Samuel Newman2024-05-201-3/+128
| | | | | | | * add appeal dialog * use useMutation for the labels on me dialog * replace text button with small button
* Some styling of empty list chats states (#4124)Eric Bailey2024-05-201-27/+84
|
* [🐴] Handle deleted accounts, restructure ChatListItem (#4114)Eric Bailey2024-05-201-99/+120
| | | | | | | | | | | | | * Handle deleted accounts, restructure ChatListItem * Remove triggerOpacity option * account for handle change in screen reader * simplify the check --------- Co-authored-by: Hailey <me@haileyok.com>
* [🐴] Make message input layout resizing synchronous (#4123)Hailey2024-05-201-26/+46
| | | | | | | | | | | * make input resizing synchronous * remove a log * make scroll enable/disable sync * lint * start as undefined
* [🐴] Adjust content height whenever the emoji picker keyboard is opened or ↵Hailey2024-05-201-5/+18
| | | | | | | closed (#4120) * properly resize whenever the emoji keyboard is opened * properly resize whenever the emoji keyboard is opened
* [🐴] Fix load state for disabled chats (#4119)Eric Bailey2024-05-201-1/+1
|
* [🐴] Screenreader accessibility actions for individual chat items (#4116)Hailey2024-05-201-2/+16
| | | | | | | | | | | | | * add accessibility tap to messages * add a label for the accessibility action * improve accessibility actions on chat list items * adjust types * more consistent wording * make the strings localizable
* [🐴] DM button on profile (#4097)Samuel Newman2024-05-202-24/+38
| | | | | | | | | | | | | * add profile button * separate out button to component * normalise subscribe to labeller button size * infinite staletime * use Link rather than Button and change icon * adjust icon position
* [🐴] Fully implement keyboard controller (#4106)Hailey2024-05-193-107/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert "[🐴] Ensure keyboard gets dismissed when leaving screen (#4104)" This reverts commit 3ca671d9aacb6137e10e2cf3cd9bc170af798389. * getting somewhere * remove some now nuneeded code * fully implement keyboard controller * onStartReached check * fix new messages pill alignment * scroll to end on press * simplify pill scroll logic * update comment * adjust logic on when to hide the pill * fix backgrounding jank * improve look of deleting messages * add double tap on messages * better onStartReached logic * nit * add hit slop to the gesture * better gestures for press and hold * nits
* disable min shell on convo screen (#4103)Samuel Newman2024-05-191-0/+2
|
* [🐴] Minor nits (#4102)Hailey2024-05-183-6/+18
| | | | | | | | | * set a better size for `initialNumToRender` * memo list items * scroll to end on both platforms * rev