about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Server-side thread mutes (#4518)Samuel Newman2024-06-1811-215/+218
| | | | | | | | | | | * 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-183-12/+23
| | | | | | | | | | | | | * 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>
* Is it "newskie" or "newsky" 🤔 (#4557)Eric Bailey2024-06-183-1/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add newskie icon (cherry picked from commit 152e074ee053e076bf644e368047e486a5ad127c) (cherry picked from commit 8d2326f115c9c9d32aa1c41259bb81936b3868aa) * add size prop (cherry picked from commit af09ae2d8f4fedf8a50993e94b76efc44a2ef4ea) (cherry picked from commit 38dd38451bcce8afcf302ad1180802640857722a) * add a dialog for newskies to profiles (cherry picked from commit fe16f55e9c5e8faef540b563662b0c0c9a1d2d77) (cherry picked from commit c5b9f1b16ace276f422832069db076a5360616fe) * move newskie to handle (cherry picked from commit 150f2635b278a92ed67dcec748333b428aacb670) (cherry picked from commit 1efaaf835380f4e76d2e4b7fe8b727a92731a794) * use "say hello" in newskie dialog (cherry picked from commit d9a286cfc823a9e697061de84dd317625741a862) (cherry picked from commit 018dd1739fee68906dec63e05519f5ca9ae73910) * tweaks (cherry picked from commit 070363c947600c48368b01c776ea34fbf422f81e) (cherry picked from commit c30855d4ff311e31fb6ae357a9d6cd1662b291d5) * Tweaks * Re-export newskie icon * Design tweaks * Tweaks * Add source icon * Remove unused file * Remove unneeded edits * Simplify logic * Update source * Moderate displayName, fix createdAt type --------- Co-authored-by: Hailey <me@haileyok.com>
* fix keyboard overlaying onboarding inputs (#4558)Hailey2024-06-182-3/+12
|
* Add `useGetTimeAgo` and utils (#4556)Eric Bailey2024-06-185-59/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Unconditionally polyfill Intl.PluralRules for native (#4554)dan2024-06-181-1/+1
| | | | | | | * Revert "Fix Android startup perf regression (#4544)" This reverts commit e6213d7aa56faa6994a27bf127c63ded69e67d6f. * Force polyfill
* 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)
* Onboarding fixes (#4508)Eric Bailey2024-06-172-2/+2
| | | | | * Add extra padding to bottom of profile step * Make profile pic gen higher res
* Add `native_pwi_disabled` feature gate experiment (#4507)Eric Bailey2024-06-174-5/+25
| | | | | * Add native_pwi_disabled feature gate experiment * Use const
* Select, don't mutate (#4541)Eric Bailey2024-06-171-19/+21
|
* Don't show "Pin/Add" button on feed card w/ no session (#4539)Hailey2024-06-171-0/+7
| | | | | * pt 1 * tweak
* 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-162-47/+45
|
* Use URI as key (#4522)Eric Bailey2024-06-141-1/+1
|
* Feed source card (#4512)Eric Bailey2024-06-146-21/+222
| | | | | | | | | | | | | | | * 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-145-93/+655
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix count again (#4516)Eric Bailey2024-06-141-1/+1
|
* Add known followers to shadow cache (#4517)Eric Bailey2024-06-142-2/+32
|
* Reuse overfetching for popular feeds, add in existing filtering (#4501)Eric Bailey2024-06-142-45/+101
|
* Try/catch URL parsing of referrer (#4511)Samuel Newman2024-06-131-6/+13
|
* add `document.referrer` to statsig custom (#4509)Hailey2024-06-131-0/+14
| | | | | | | | | | | | | | | * add referrer to statsig custom dont include referrer if hostname is bsky.app save add `document.referrer` to statsig custom * add a hostname field * account for ssr * account for ssr
* 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
* Hide bio and social proof for blocked users (#4504)dan2024-06-131-1/+6
|
* KnownFollowers localization (#4494)Minseo Lee2024-06-131-22/+28
| | | | | | | * Update KnownFollowers.tsx * Update KnownFollowers.tsx * Update KnownFollowers.tsx
* Fix profile hover card blocked state (#4480)Eric Bailey2024-06-132-27/+65
| | | | | | | | | * Fix: mini profile on hover allows following a blocker/blocked user (#4423) (#4440) * Tweaks --------- Co-authored-by: Michał Gołda <michal.golda@hotmail.com>
* Set profile hover prefetch stale time to 30s (#4417)Eric Bailey2024-06-132-34/+42
| | | | | | | * 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
* Show social proof in hovercards (#4502)dan2024-06-132-1/+22
| | | | | * Add social proof to hovercards * Close it more reliably
* Just use server count (#4499)Eric Bailey2024-06-121-9/+1
| | | | | * Just use server count * Fix count
* Don't show warning when sharing your own post in PWI opt-out mode (#4495)Hailey2024-06-123-7/+15
|
* Update Chinese localization (#4410)Kuwa Lee2024-06-112-134/+238
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * TW: Update and clean * CN:run intl:extract * Update src/locale/locales/zh-TW/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com> * TW: unify "登入" * Update messages.po * Update messages.po * BOTH: fix "Post" msgctxt "description" msgid "Post" * CN: Update translates * CN: Remove superseded strings * TW: Update and clean * CN: fix msgid "This feed is empty." --------- Co-authored-by: Frudrax Cheng <i@cynosura.one> Co-authored-by: cirx <133132480+cirx1e@users.noreply.github.com>
* Release 1.86 prep (#4490)Paul Frazee2024-06-1118-7795/+9233
| | | | | * Test updates * Run intl extract
* Add KnownFollowers component to standard profile header (#4420)Eric Bailey2024-06-118-1/+393
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add KnownFollowers component to standard profile header * Prep for known followers screen * Add known followers screen * Tighten space * Add pressed state * Edit title * Vertically center * Don't show if no known followers * Bump sdk * Use actual followers.length to show * Updates to show logic, space * Prevent fresh data from applying to cached screens * Tighten space * Better label * Oxford comma * Fix count logic * Add bskyweb route * Useless ternary * Minor spacing tweak --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Update italian localization (#4374)Marco Maroni2024-06-111-1037/+1056
| | | | | | | | | | | | | | | | | | | | * Update messages.po Update italian localization * Fix translation * Update src/locale/locales/it/messages.po Fix by @surfdude29 Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Added some translation --------- Co-authored-by: Marco Maroni <marcomaroni@gmail.com> Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Update Korean localization (#4387)Minseo Lee2024-06-111-140/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po * Update messages.po
* Update French localization (#4437)surfdude292024-06-111-41/+52
| | | | | | | | | | | | | | | | | | | | | * Update French localization * use `point médian` * Update messages.po * add three new strings * translate new string * Apply suggestions from code review Co-authored-by: Stanislas Signoud <signez@stanisoft.net> * update revision date --------- Co-authored-by: Stanislas Signoud <signez@stanisoft.net>
* Irish back to 100% (#4454)Kevin Scannell2024-06-111-1504/+955
|
* Fix to thread load-more bug (#4488)Paul Frazee2024-06-111-3/+2
|
* Stringify path error (#4379)Eric Bailey2024-06-111-1/+1
|
* Only enable keyboard controller when necessary (#4483)Samuel Newman2024-06-1113-201/+186
| | | | | | | | | | | | | | | | | | | * 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-113-2/+112
| | | | | | | * 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-1123-167/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
|
* register the push token after request has been approved on android (#4481)Hailey2024-06-112-2/+18
| | | | | | | | | | | * register the push token after request has been approved on android * use a `0` string for badge count * Revert "use a `0` string for badge count" This reverts commit efac39861817f4237c58211f68ef266d919b4d40. * temporary fix
* Revert to old modal on android (#4458)Samuel Newman2024-06-116-147/+173
| | | | | | | | | | | | | | | | | * 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>
* Sort profile feedgens by likes (#4380)Eric Bailey2024-06-111-1/+4
| | | | | | | | | | | | | | | * Sort profile feedgens by likes * Sort entire set as we get more pages * Nah This reverts commit 3b8714fd97bb113cfd8c588d5cdfd063d395f553. * Update profile-feedgens.ts --------- Co-authored-by: dan <dan.abramov@gmail.com>
* Revert "Fix undefined block (#4471)" (#4472)Eric Bailey2024-06-112-22/+4
| | | This reverts commit 7cac413f3b397fee95681033f075d51c7c4ee153.