about summary refs log tree commit diff
path: root/src/view/com
Commit message (Collapse)AuthorAgeFilesLines
...
* Wait for AppView when posting (#4584)dan2024-06-201-0/+34
|
* Merge #4492, fixes profile menu hover (#4580)Eric Bailey2024-06-201-12/+11
| | | | | | | | | | | | | | | | | * Fix button hover color (#4492) * Update ProfileMenu.tsx * Update Button.tsx * Update ProfileFeed.tsx * Update ProfileFeed.tsx * Re-add change post conflict --------- Co-authored-by: Minseo Lee <itoupluk427@gmail.com>
* Rework "Who can reply" to blend more nicely into the UI (#4578)Paul Frazee2024-06-194-168/+295
| | | | | | | | | | | | | * Rework WhoCanReply controls in threads to blend more nicely * Fix layout * Fix post control hitslops * Move dialog content to separate component --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Fix threadgate read after write (#4577)dan2024-06-191-4/+39
| | | | | * Fix threadgate read-after-write problem * Fix React key (drive-by)
* use 1000x1000 for image height in avatar cropper (#4453)Hailey2024-06-201-2/+2
|
* Update HomeHeaderLayoutMobile.tsx (#4572)Samuel Newman2024-06-201-0/+1
|
* Option for large alt badges (#4571)Samuel Newman2024-06-203-21/+22
| | | | | | | | | | | | | * add pref for large alt badge * add to settings * do the large badge bit * Tweak wording --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Truncate post metrics and fix truncation on native (#4575)Samuel Newman2024-06-203-20/+25
| | | | | | | | | | | | | | | * truncate post counts * add numberformat polyfill * Fix perf * Simplify type shenanigans * Bump versions to remove dupes --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* add support for `ListEmptyComponent`, allow `undefined` data (#4403)Hailey2024-06-191-24/+39
| | | | | | | * add support for `ListEmptyComponent`, allow `undefined` data * change `header` and `footer` to be in line with `emptyComponent` * don't render `onEndReached` or `onStartReached` `Visibility` if empty
* GIF previews in notifications (#4447)Samuel Newman2024-06-192-25/+79
| | | | | | | | | | | * gifs in notifications * remove try/catch * Limit try/catch scope --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Collection of moderation fixes (#4566)Paul Frazee2024-06-192-12/+29
| | | | | | | | | | | | | | | * Fix: dont blur parents in threads that embed blocks * After tapping 'Show hidden replies', show the individual hider cards * Add shape override to UserAvatar and fix the fallback avi for labelers * Fix precedence * Detect shape for DefaultAvatar --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Fix undefined block (#4479)Eric Bailey2024-06-192-20/+37
| | | | | | | | | | | | | | | | | | | | | | | | * Fix undefined block (#4378) * Fix undefined block * Changing text and handling all blocks. * Tweaks * Update copy, make non-interactive * Remove console * Clarify logic * Pass through parent blocked state for 3p blocks * Better translation --------- Co-authored-by: Josh <hi@oracularhades.com> Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* fix gap between tab bar and its border (#4538)Samuel Newman2024-06-191-2/+2
|
* Implement thread locking (#4545)Paul Frazee2024-06-183-101/+169
| | | | | | | * Add the ability to edit threadgates * Fix bottom border on mobile * Refresh thread after threadgate edit
* Force callers of `getTimeAgo` to pass in the value for "now" (#4560)Eric Bailey2024-06-181-2/+4
| | | | | | | * Remove icky hook for now * Force callers of getTimeAgo to pass in the 'now' value * Update usage in Newskie dialog
* Server-side thread mutes (#4518)Samuel Newman2024-06-182-22/+27
| | | | | | | | | | | * update atproto/api * move thread mutes to server side * rm log * move muted threads provider to inside did key * use map instead of object
* fix keyboard overlaying onboarding inputs (#4558)Hailey2024-06-181-1/+7
|
* Add `useGetTimeAgo` and utils (#4556)Eric Bailey2024-06-181-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create a testable version of ago() and re-enable the disabled test (#4364) * Enable the test of ago() * Use test cases This puts the input and the expected values next to each other. * Create dateDiff function This is a copy of ago(), but with the ability to specify the second date instead of using Date.now(). * Let ago() use dateDiff() * Move constants close to usage * Test dateDiff instead of ago This makes it possible to test the dates without being forced to rely on what the current date is. The commented out tests do not yet pass. This is fixed in later commits. * Update dateDiff and enable the remaining tests * Split up tests, use date-fns as helpers * Remove old test * Add long format * Add hook * Migrate to hooks * Delete old code * Or equal to * Update comment --------- Co-authored-by: Jan Aagaard <jan@aagaard.net>
* fix native post meta (#4530)Hailey2024-06-161-46/+31
|
* Feed source card (#4512)Eric Bailey2024-06-141-1/+1
| | | | | | | | | | | | | | | * Pass event through click handlers * Add FeedCard, use in Feeds screen * Tweak space * Don't contrain rt height * Tweak space * Fix type errors, don't pass event to fns that don't expect it * Show unresolved RT prior to facet resolution
* Fix kawaii logo (#4505)Minseo Lee2024-06-141-1/+2
|
* Calculate correct keyboard offset in composer (#4500)Samuel Newman2024-06-131-2/+17
| | | | | | | * calculate correct keyboard offset * give viewHeight a default value * much simpler approach
* Set profile hover prefetch stale time to 30s (#4417)Eric Bailey2024-06-131-34/+41
| | | | | | | * Set prefetch stale time to 30s * Run prefetch on mouseOver * Only prefetch once on mousemove
* Prevent rich-formatting paste (#4327)Mary2024-06-131-8/+19
| | | | | * fix: prevent rich-formatting paste * fix: return true instead of preventDefault
* Don't show warning when sharing your own post in PWI opt-out mode (#4495)Hailey2024-06-123-7/+15
|
* Only enable keyboard controller when necessary (#4483)Samuel Newman2024-06-114-190/+163
| | | | | | | | | | | | | | | | | | | * Only enable keyboard controller when necessary * make it screen only * rm keyboard padding * rm keyboardpadding file * revert using keyboard controller in composer * remove styles.outer (unnecessary for revert) * continue to use keyboard padding in the report dialog for dms --------- Co-authored-by: Hailey <me@haileyok.com>
* Improve thread loading (#4402)Paul Frazee2024-06-112-0/+61
| | | | | | | * Increase the number of posts loaded when a self-thread is present * Increase depth to 10, detect cutoffs on self-threads and show continue link * Stacky the avis
* Move feeds screen into common navigator, handle usages (#4365)Eric Bailey2024-06-119-105/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move feeds screen into common navigator, handle usages * Add link to Feeds from home screen (#4366) * Add link to feeds to home screen header * Center logo * Replace icons * Tweak spacing * Tweak spacing * Swap icon, sizing * Buttonize, size * Make menu same alignment on all screens * Remove FeedsTab support, enable drawer swipe on MessagesTab * Add note * Vertically align header * Swap in Pin * Use hashtag icon * Remove png * Fix reference * Ensure alignment with home and other screens
* rip out native translate (#4482)Samuel Newman2024-06-112-34/+4
|
* Revert to old modal on android (#4458)Samuel Newman2024-06-111-40/+27
| | | | | | | | | | | | | | | | | * revert to old modal on android * close alf dialogs before closing composer * Try to fix white area * Use hook * Fix Back button * oops --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Revert "Fix undefined block (#4471)" (#4472)Eric Bailey2024-06-111-16/+1
| | | This reverts commit 7cac413f3b397fee95681033f075d51c7c4ee153.
* Fix undefined block (#4471)Eric Bailey2024-06-101-1/+16
| | | | | | | | | | | | | | | * Fix undefined block (#4378) * Fix undefined block * Changing text and handling all blocks. * Tweaks * Hide follow button in hover card if user blocked --------- Co-authored-by: Josh <hi@oracularhades.com>
* add hitslop to repost button (#4469)Samuel Newman2024-06-101-1/+3
|
* Visually improve the empty state of feeds (#4466)Paul Frazee2024-06-101-18/+37
|
* Give a meaningful error in the composer when replying to a deleted post (#4464)Paul Frazee2024-06-101-3/+10
|
* Fix: show known feed error UI more reliably (#4463)Paul Frazee2024-06-101-3/+2
|
* Add support for new-tab clicks on feeds (#4462)Paul Frazee2024-06-101-10/+31
|
* Fix (#4430): Use separate hooks for shell mode animated styles (#4451)Francesco Lodovici2024-06-105-10/+10
| | | | | | | | | * Fix (#4430): Use separate hooks for shell mode animated styles * Consolidate in one file --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Reliably focus keyboard on Android (#4427)dan2024-06-071-7/+25
|
* Composer - backup android focus (#4415)Samuel Newman2024-06-071-0/+13
| | | | | * backup android focus * bump to 300ms just to make sure it catches all of them
* scope enable/disable of keyboard controller in composer to only android (#4412)Hailey2024-06-061-1/+1
|
* Fix horizontal padding of tab within profile header (#3924)Minseo Lee2024-06-062-9/+8
| | | | Co-authored-by: Hailey <me@haileyok.com>
* disable keyboard controller in the composer screen (#4399)Hailey2024-06-061-0/+12
| | | | | | | | | | | | | | | * disable keyboard controller in the composer screen * add comment * oops * destructure * rename to keyboard context for clarity * move destructure * cleanup
* Fix notifications pagination on web (#4400)Paul Frazee2024-06-061-1/+10
| | | | | * Fix notifications pagination on web * Preserve larger threshold on native
* Fix tall image lightbox on Android (#4393)dan2024-06-061-8/+14
|
* cancel animations before updating value for min-shell animation (#4386)Hailey2024-06-061-1/+7
| | | | | * cancel animations before updating value * comment
* Composer - make sure android keyboard opens (#4390)Samuel Newman2024-06-061-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | * keep trying to open keyboard until it's open * limit number of retries * keep the original 50ms one as well * Proper fix! * disable autoFocus if not visible * Reset derived state * Revert "Reset derived state" This reverts commit 71f57391ae78bac717282e699d1b83cbd87771eb. * Use derived state pattern * Rename for clarity --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* add types for `desktopFixedHeight` to `List` (#4356)Hailey2024-06-052-1/+2
| | | | | | | * add types for `desktopFixedHeight` * nit * accept both `number` and `boolean`
* Release 1.85 (#4372)Paul Frazee2024-06-041-0/+1
| | | | | * Update tests * Run intl extract
* use a timeout to focus the composer input (#4370)Hailey2024-06-051-1/+8
| | | | | | | | | | | * use a timeout to focus the composer input * scope to just android * scope useEffect to just android as well * oops * cleanup