about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [๐Ÿด] New chat dialog refresh (#4071)Eric Bailey2024-05-179-292/+530
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Checkpoint, header styled, empty * Checkpoint, styles * Show recent follows in initial state, finesse some styles * Add skeleton * Add some limits * Fix autofocus on web, use bottom sheet input on native * Ignore type * Clean up edits * Format * Tweak icon placement * Fix type * use prop for dismissing keyboard --------- Co-authored-by: Hailey <me@haileyok.com>
* [๐Ÿด] Block Info (#4068)Hailey2024-05-1713-281/+600
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * get the damn thing in there ๐Ÿ˜ฎโ€๐Ÿ’จ * more cleanup and little fixes another nit nit small annoyance add a comment only use `scrollTo` when necessary remove now unnecessary styles * move padding out * add unblock function * rm need for moderationpts * ? * ?? * extract leaveconvoprompt * move `setHasScrolled` to `onContentSizeChanged` * account for block footer * wrap up nit make sure recipient is loaded before showing refactor to hide chat input typo squigglie add report dialog finalize delete implement custom animation add configurable replace animation add leave convo to block options * correct functionality for report * moev component to another file * maybe... * fix chat item * improve * remove unused gtmobile * nit * more cleanup * more cleanup * fix merge * fix header * few more changes * nit * remove old
* Set chat declaration upon signup (#4084)Eric Bailey2024-05-173-4/+10
|
* [๐Ÿด] delete chat service account on account delete (#4056)Samuel Newman2024-05-171-0/+11
| | | | | | | | | * delete chat service account on account delete * Add proxy header --------- Co-authored-by: Eric Bailey <git@esb.lol>
* [๐Ÿด] don't include blocked convos in unread count (#4082)Samuel Newman2024-05-172-8/+28
| | | | | | | | | | | | | * don't include blocked convos in unread count * Use moderateProfile * Handle blocked state in chat list * Fix logic formatting, add todo --------- Co-authored-by: Eric Bailey <git@esb.lol>
* [๐Ÿด] NUX (#4062)Samuel Newman2024-05-175-4/+210
| | | | | | | | | | | | | | | | | | | | | | | * remove type assertion * DMs NUX * delete button for testing * tweak styles and copy * rm log * style tweaks * reduce amount of words * Fix not showing on first load * Spacing tweaks --------- Co-authored-by: Eric Bailey <git@esb.lol>
* [๐Ÿด] Reduce header size (#4078)Samuel Newman2024-05-172-38/+49
| | | | | | | * make text input container smaller * make header much smaller * improve web styling
* [๐Ÿด] Don't always show notification for everything (#4083)Hailey2024-05-172-2/+4
| | | | | * don't always show a notification * nit
* [๐Ÿด] Additional tweaks to the message list (#4075)Hailey2024-05-172-85/+57
| | | | | | | | | | | | | | | | | | | * more cleanup and little fixes another nit nit small annoyance add a comment only use `scrollTo` when necessary remove now unnecessary styles * move `setHasScrolled` to `onContentSizeChanged` * account for block footer
* Conditionally load unreads (#4072)Eric Bailey2024-05-161-25/+37
|
* Revert "Aggregate quickly-sent messages into batches (#4061)" (#4069)Eric Bailey2024-05-161-23/+17
| | | This reverts commit d424945eed752a366ac201470fdbb66d02999c86.
* 100% Real Dealโ„ข (#4070)Eric Bailey2024-05-161-1/+1
|
* [๐Ÿด] 60 FPS Keyboard (#4066)Hailey2024-05-161-32/+45
| | | | | | | | | | | | | | | | | * use `scrollTo` * let the animated reaction handle keyboard scroll * no need for `requestAnimationFrame` now * 'worklet' * nit * fixes * more nits * bool check
* Fix delete message error (#4065)Eric Bailey2024-05-161-14/+2
|
* Aggregate quickly-sent messages into batches (#4061)Eric Bailey2024-05-161-17/+23
|
* [๐Ÿด] Input hover and focus styles (#4064)Hailey2024-05-162-11/+36
| | | | | | | * styles for native input * web focus/hover * nit
* fix typo (#4060)Hailey2024-05-161-2/+2
|
* Fix error styles (#4063)Eric Bailey2024-05-161-9/+5
|
* Reset leave chat optimistic update if fails (#4058)Eric Bailey2024-05-161-1/+17
|
* don't show individual labels on own profile, only "have been placed..." (#4057)Hailey2024-05-161-2/+3
|
* [๐Ÿด] Tweak header styles (#4053)Eric Bailey2024-05-162-14/+18
| | | | | | | | | * Tweak desktop header styles * Tweak mobile * Bump icon size * Remove unused else
* Properly update badge for other unread notifications (#4052)Hailey2024-05-161-8/+2
| | | | | | | | | | | | | | | * decrement badge count for chats * handle decrement in `useMarkAsRead` * remove async * remove setting badge count * oops * update the number correctly * nit
* [๐Ÿด] Decrement app badge when opening unread chat (#4040)Hailey2024-05-163-6/+28
| | | | | | | | | * decrement badge count for chats * handle decrement in `useMarkAsRead` * remove async * oops
* [๐Ÿด] Error recovery (#4036)Eric Bailey2024-05-167-113/+216
| | | | | | | | | | | | | | | | | | | | | * Handle block state when sending messages * Handle different pending failures * Use existing profile data to handle blocks * Better cleanup, leave room for more * Attempt recover upon next send * Reset pending failure * Capture unexpected error * Gracefully handle network errors and recovery * Re-align error components and types * Include history fetching in recoverable states
* [๐Ÿด] infinite stale time (#4051)Hailey2024-05-161-0/+2
|
* [๐Ÿด] Only scroll down one "screen" in height when foregrounding (#4027)Hailey2024-05-163-12/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * maintain position after foreground * one possibility * don't overscroll when content size changes. * ignore the rule on 1 item * fix * [๐Ÿด] Pill for additional unreads when coming from background (#4043) * create a pill with some animatons * add some basic styles to the pill * make the animations reusable * bit better styling * rm logs --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com> * import --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* [๐Ÿด] Remove keyboard controller lib (#4038)Hailey2024-05-163-68/+89
| | | | | | | | | | | | | | | | | | | * remove library * implement using just reanimated * always return false for `keyboardIsOpening` on web * undo comment * handle input focus scroll more elegantly * add back minimal shell toggle on mobile web * adjust initialnumtorender * oops * nit
* [๐Ÿด] use Toggle component in settings screen (#4048)Samuel Newman2024-05-162-102/+62
| | | | | * use Toggle component * nits + notifs sounds native only
* [๐Ÿด] Tweak padding of web input (#4033)Hailey2024-05-161-3/+8
| | | | | * tweak more * nit
* Handle failed resumeSession case when switching accounts (#4047)Eric Bailey2024-05-161-0/+5
|
* [๐Ÿด] Copy tweaks (#4042)Hailey2024-05-165-10/+10
| | | | | | | | | * `notifications` -> `conversation` * `users` -> `people` * `other participants` -> `the other participant` * rename
* [๐Ÿด] Disable hover card when blocked or blocking (#4041)Hailey2024-05-164-3/+11
|
* [๐Ÿด] A few tweaks to message input on native (#4035)Hailey2024-05-161-1/+9
| | | | | | | | | * tweaks * only apply the padding on ios * use a hitslop of 10 instead * version bump
* Implement prefersReducedMotion on native (#4039)Samuel Newman2024-05-161-4/+2
| | | | | | | * implement prefersReducedMotion on native * just take the function from the reanimated source * use patch-package to export internal function
* Remove error for refresh, not necessary (#4034)Eric Bailey2024-05-151-11/+0
|
* Add push notification extensions (#4005)Hailey2024-05-154-8/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add wav * add sound to config * add extension to `updateExtensions.sh` * add ios source files * add a build extension * add a new module * use correct type on ios * update the build plugin * add android handler * create a patch for expo-notifications * basic android implementation * add entitlements for notifications extension * add some generic logic for ios * add age check logic * add extension to app config * remove dash * move directory * rename again * update privacy manifest * add prefs storage ios * better types * create interface for setting and getting prefs * add notifications prefs for android * add functions to module * add types to js * add prefs context * add web stub * wrap the app * fix types * more preferences for ios * add a test toggle * swap vars * update patch * fix patch error * fix typo * sigh * sigh * get stored prefs on launch * anotehr type * simplify * about finished * comment * adjust plugin * use supported file types * update NSE * futureproof ios * futureproof android * update sound file name * handle initialization * more cleanup * update js types * strict js types * set the notification channel * rm * add silent channel * add mute logic * update patch * podfile * adjust channels * fix android channel * update readme * oreo or higher * nit * don't use getValue * nit
* [๐Ÿด] Tweak list on mobile web (#3958)Hailey2024-05-155-11/+21
| | | | | | | | | | | | | * mobile web tweaks chat screen * revert a change * remove unnecessary prop * Spacing tweaks --------- Co-authored-by: Eric Bailey <git@esb.lol>
* [๐Ÿด] Better retry styling (#4032)Eric Bailey2024-05-156-87/+121
| | | | | | | | | | | | | * Pass whole object to MessageItem for clarity * Add retry to pending-message * Style send failure, retry * Group pending messages * Remove todos * Fix types with fake message
* [๐Ÿด] Show if user can be messaged in new chat search (#4021)Samuel Newman2024-05-155-17/+61
| | | | | | | | | | | | | * show if user can be messaged * allow 2 lines in handle field due to new text * cannot -> can't * rework canBeMessaged logic and move to new file --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Make more localizable (#3962)Minseo Lee2024-05-143-16/+20
| | | | | | | | | | | | | | | | | * Update ProfileList.tsx * Update NoFollowingFeed.tsx * Update LabelsOnMeDialog.tsx * Update LabelsOnMeDialog.tsx * Update NoFollowingFeed.tsx * Update SavedFeeds.tsx * Revert "Update SavedFeeds.tsx" This reverts commit db128eb27d76d27dffa87e0e70e34f603da75778.
* [๐Ÿด] change `Follows Only` to `People I Follow` (#4028)Hailey2024-05-141-1/+1
|
* Reset after 5 min (#4026)Eric Bailey2024-05-142-7/+27
|
* [๐Ÿด] Block states, read only (#4022)Eric Bailey2024-05-146-69/+246
| | | | | | | | | | | * Refactor ChatListItem for mod state * Refactor Conversation Header for mod state * Invalidate query for list when blocking/unblocking * Remove unused prop, restore border * Add mutations, hook up profile shadow to list query, use shadow-aware query for convo (#4024)
* remove serviceurl gate (#4019)Samuel Newman2024-05-143-116/+1
|
* reword subtitle (#4017)Samuel Newman2024-05-141-1/+1
|
* [๐Ÿด] show deleted account for `missing.invalid` (#4014)Hailey2024-05-142-14/+26
| | | | | * show deleted account for `missing.invalid` * sigh
* [๐Ÿด] use "Chats" instead of "Messages" (#4013)Samuel Newman2024-05-144-5/+5
| | | | | | | * use "Chats" instead of "Messages" * chats to chat * use messages in the header
* 100vh settings screen (#4015)Samuel Newman2024-05-143-4/+14
|
* Run intl extract (#4016)Paul Frazee2024-05-1417-9098/+12367
|
* [๐Ÿด] Settings screen (#3830)Samuel Newman2024-05-146-28/+216
| | | | | | | | | * create settings screen + api * update api package * use putrecord API with validate false * create new RadioGroup component