about summary refs log tree commit diff
path: root/src/view
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-182-3/+7
| | | | | | | * 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
* Explore fixes (#4540)Eric Bailey2024-06-181-12/+19
| | | | | | | | | | | | | * Use safe check, check for next page, handle varied lengths * Fix border width * Move safe check * Add font_heavy and use it on the explore page headers --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* fix keyboard overlaying onboarding inputs (#4558)Hailey2024-06-181-1/+7
|
* Add `useGetTimeAgo` and utils (#4556)Eric Bailey2024-06-182-17/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Use exact imports for icons (#4549)dan2024-06-181-3/+3
| | | | | * Use exact imports for icons * Add a lint rule
* Explore feed cards (#4521)Eric Bailey2024-06-172-23/+22
| | | | | | | | | * Replace FeedSourceCard on Explore page (cherry picked from commit e7e9787bfaa9368bfaeaaa4ca144ab77b438219c) * Replace FeedSourceCard on Search page (cherry picked from commit ac47aade7622d359eee9509763cda666d964d8a3)
* Add `native_pwi_disabled` feature gate experiment (#4507)Eric Bailey2024-06-171-2/+8
| | | | | * Add native_pwi_disabled feature gate experiment * Use const
* Add patch for `RCTBaseTextInput` fixing `selectTextOnFocus` prop (#4533)Hailey2024-06-171-7/+1
| | | | | * create patch * remove js fix in `SearchScreen`
* fix native post meta (#4530)Hailey2024-06-161-46/+31
|
* Use URI as key (#4522)Eric Bailey2024-06-141-1/+1
|
* Feed source card (#4512)Eric Bailey2024-06-142-12/+12
| | | | | | | | | | | | | | | * 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
|
* Redo explore page (#4491)Eric Bailey2024-06-142-87/+610
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Redo explore page, wip * Remove circle icons * Load more styling * Lower limit * Some styling tweaks * Abstract * Add tab, query, factor out * Revert unneeded change * Revert unneeded change v2 * Update copy * Load more styling * Header styles * The thin blue line * Make sure it's hairline * Update query keys * Border * Expand avis * Very load more copy
* Reuse overfetching for popular feeds, add in existing filtering (#4501)Eric Bailey2024-06-141-40/+6
|
* 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
|
* Release 1.86 prep (#4490)Paul Frazee2024-06-111-0/+1
| | | | | * Test updates * Run intl extract
* 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>
* Update feeds header to just have edit link (#4484)Paul Frazee2024-06-111-45/+18
|
* 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-1113-120/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-113-36/+4
|
* Revert to old modal on android (#4458)Samuel Newman2024-06-114-142/+165
| | | | | | | | | | | | | | | | | * 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
|
* Add a loading indicator to notifications when loading latest (#4468)Paul Frazee2024-06-111-3/+19
| | | | | * Add a loading indicator to notifications when loading latest * Adjust size and alignment
* Visually improve the empty state of feeds (#4466)Paul Frazee2024-06-103-20/+39
|
* 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
|
* Check `canAskAgain` for notification permissions (#4460)Hailey2024-06-101-0/+6
|
* Add support for new-tab clicks on feeds (#4462)Paul Frazee2024-06-101-10/+31
|
* Ungate mobile web notification badge (#4459)dan2024-06-101-18/+14
|
* Fix (#4430): Use separate hooks for shell mode animated styles (#4451)Francesco Lodovici2024-06-108-16/+16
| | | | | | | | | * 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