about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Update catalan messages.po (#4079)Ivan Beร 2024-05-201-82/+82
| | | | | | | | | | | | | | | * Update catalan messages.po New lines added, new lines localized. Check it please @jordimas @darccio @surfdude29 * Update messages.po apply @surfdude29 correction * Update messages.po Apply @jordimas corrections
* Update Spanish Localization (#4105)Brodie2024-05-201-1224/+386
|
* Allow removal of feeds that fail to load (#4121)Eric Bailey2024-05-201-2/+2
|
* [๐Ÿด] 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
* Conditionally set chat declaration (#4122)Eric Bailey2024-05-201-9/+12
|
* [๐Ÿด] Fix load state for disabled chats (#4119)Eric Bailey2024-05-201-1/+1
|
* [๐Ÿด] Switch back to encouraging users to report messages (#4117)Eric Bailey2024-05-207-63/+39
| | | | | * Swap prompt back in * Remove unused convoAccount affordances
* convo button skeleton (#4115)Samuel Newman2024-05-201-18/+50
|
* [๐Ÿด] Screenreader accessibility actions for individual chat items (#4116)Hailey2024-05-202-3/+25
| | | | | | | | | | | | | * 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-205-42/+125
| | | | | | | | | | | | | * 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
* [๐Ÿด] Don't retry sends (#4111)Eric Bailey2024-05-201-21/+16
| | | | | * Don't retry sends * Don't retry batch sends
* [๐Ÿด] Fully implement keyboard controller (#4106)Hailey2024-05-198-353/+410
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* [๐Ÿด] Convo agent cleanup (#4109)Eric Bailey2024-05-192-33/+11
| | | | | | | | | * Move comment, remove unused code * Clean up sending * Remove temp hack * Remove debug
* [๐Ÿด] Ensure keyboard gets dismissed when leaving screen (#4104)Hailey2024-05-181-1/+2
|
* 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
* [๐Ÿด] ๐Ÿคž This should be the final message list change - Use โ†ตHailey2024-05-183-81/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `dispatchCommand` so we don't need to know the content height (#4090) * handle keyboard scroll more elegantly simplify missing `runOnUI` better naming to avoid confusion nit remove unused function use `dispatchCommand` in `onContentSizeChanged` as well use `dispatchCommand` so we don't need to know the content height remove `isMomentumScrolling` * better timing * nit * another nit * handle message input resizes better too * account for other size changes like emoji keyboard opening * one last nit * just adding comments * account for dragging * make it easier to read * add a comment * ๐Ÿคฆโ€โ™€๏ธ * remove a little bit of that padding at the top
* [๐Ÿด] Reset screen when pressing a DM notification while already in the โ†ตHailey2024-05-181-4/+26
| | | | | | | conversation screen (#4091) * add a small comment * reset if current screen
* Disable badge incrementing for DMs (#4088)Hailey2024-05-174-24/+18
| | | | | | | | | | | * disable badge increments for dms * revert decrementing in js for dms * reset badge on read notifications * remove some other code * prevent duplicate notification events
* [๐Ÿด] Mod disabled (#4089)Eric Bailey2024-05-176-10/+109
| | | | | * Handle send failures * Add chat disabled state
* Make generic convo report dialog (#4085)Eric Bailey2024-05-178-66/+117
|
* [๐Ÿด] 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