about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* [🐴] Message drafts (#3993)Samuel Newman2024-05-144-5/+107
| | | | | | | | | | | * drafts * don't throw if no convo ID * Remove labs package --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Update Korean localization (#3887)Minseo Lee2024-05-141-690/+782
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 src/locale/locales/ko/messages.po Co-authored-by: Frudrax Cheng <i@cynosura.one> * Update src/locale/locales/ko/messages.po Co-authored-by: Frudrax Cheng <i@cynosura.one> * Update src/locale/locales/ko/messages.po Co-authored-by: Frudrax Cheng <i@cynosura.one> * Update src/locale/locales/ko/messages.po Co-authored-by: Frudrax Cheng <i@cynosura.one> * Update messages.po * Update src/locale/locales/ko/messages.po Co-authored-by: Frudrax Cheng <i@cynosura.one> * Update messages.po * Update messages.po --------- Co-authored-by: Frudrax Cheng <i@cynosura.one>
* Update catalan messages.po (#3984)Ivan Beà2024-05-141-86/+86
| | | | | | | | | | * Update catalan messages.po New lines update You can check it @jordimas @darccio @ferranrego @MiquelAdell @johnnydement @surfdude29 * Update messages.po apply @surfdude29 corrections
* Fix dep (#4011)Eric Bailey2024-05-141-1/+1
|
* [🐴] Make status checks easier, fix load state (#4010)Eric Bailey2024-05-146-101/+154
| | | | | | | | | * Make status checks easier, fix load state * Make naming more clear * Split up types for easier re-use * Replace hacky usage
* [🐴] Chat muted state (#3988)Samuel Newman2024-05-143-184/+220
| | | | | * separate out chatlistitem and add muted icon * move bell icon to the right of the timeelapsed
* [🐴] Swap in new package, update usages (#3992)Eric Bailey2024-05-1420-155/+74
| | | | | | | * Swap in new package, update usages * Remove uneccessary patch * Override type in safe place
* Add better onboard testing (#4007)Paul Frazee2024-05-132-1/+40
|
* add a `Login` notifications request (#4006)Hailey2024-05-133-1/+6
|
* align the trash icon in the center in feed edit list (#4004)Hailey2024-05-131-2/+2
| | | | | * align the trash icon in the center * align_center instead of align_start
* Make feeds easier to reorder (#3998)Paul Frazee2024-05-132-29/+39
| | | | | | | | | | | * Make feeds easier to reorder * Add reorder e2e test * Tweak feed card to only allow one line (#4002) --------- Co-authored-by: Eric Bailey <git@esb.lol>
* [Reduced Onboarding] Fix forward/backward nav with profile step (#3997)Eric Bailey2024-05-134-4/+37
| | | | | | | | | | | | | * WIP * Fix forward-backward to profile step * [Reduced Onboarding] Add avatar metric (#3999) * Add prop to finished event * Fix type * Use separate event
* Gate base following feed usage (#3994)Eric Bailey2024-05-131-1/+11
|
* dont send message if >1000 graphemes (#3995)Samuel Newman2024-05-133-4/+19
|
* New onboarding tests (#3996)Paul Frazee2024-05-132-16/+25
| | | | | | | * Add onboarding test * Add onboarding avatar-creator test * Update profile screen edit test
* Swap in base following (#3991)Eric Bailey2024-05-131-2/+1
|
* Remove profile step from old onboarding (#3989)Eric Bailey2024-05-132-18/+5
|
* actually register token on permissions change (#3990)Hailey2024-05-131-10/+21
| | | | | | | | | | | * actually register token on permissions change * actually register token on permissions change * get updated permissions every time * remove all usages of `usePermissions` * skip perms check on granted result from request
* Move request for notifications permissions to `HomeReadyScreen` (#3977)Hailey2024-05-137-67/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cleanup the current logic * add statsig logs * implement requests for permissions where needed * oops * let `addPushTokenListener` handle the token registration * place new log event type with the other `notifications` type * place registration next to handler * more organization * only call `gate()` if permission is not yet granted * be more specific to prevent gate pollution * nit * make `token` non-optional in `registerToken` * remove `prevDid`, move `registerPushToken` into `useEffect` * keep it outside actually * nit
* fix wording in french onboarding (#3987)Matthieu Sieben2024-05-131-1/+1
|
* Fix overflowing text on web and iOS in `PostMeta` (#3982)Hailey2024-05-132-6/+6
| | | | | | | | | | | | | | | | | * `flexShrink` on iOS and web `flexShrink` on iOS and web `flexShrink` on iOS and web actually, `flexShrink` use `flex` * adjust web * `expect-error` `onMouseUp` * ignore ref type check
* Replace e2e tests with Maestro (#3983)Paul Frazee2024-05-132-4/+8
| | | | | | | * Setup maestro tests and convert some initial tests * Remove detox * Replace all tests with maestro
* get a little more accurate with month length (#3981)Hailey2024-05-131-6/+15
| | | | | | | * get a little more accurate with month length * create some wiggle room, create some specific tests * update more tests
* Delete the entire temporary directory instead of just the temp file, also ↵Hailey2024-05-131-13/+18
| | | | | | | use `cacheDirectory` over `documentDirectory` (#3985) * lint * remove extra arg
* ✅ Fix "Download CAR file" on mobile (#3816)Matthieu Sieben2024-05-124-47/+144
| | | | | | | | | | | | | | | | | | | | | | | | | * download CAR file using AtpAgent instead of building URL * add loader icon on download car button * actually save to disk on android * style nits * bottom margin nit * localize toast * remove fallback so back button works correctly * keep throwing an error if mime type isn't used * be more explicit with toasts * send errors to sentry when encountered --------- Co-authored-by: Hailey <me@haileyok.com>
* FeedFeedback fixes (#3968)dan2024-05-124-3/+7
| | | | | | | | | | | * Lower seen threshold to 1.5s * Send feedContext for replies * Use a simpler and more reliable feedContext fallback --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Show "label has been placed..." even for self-labels (#3874)Hailey2024-05-112-38/+62
| | | | | | | | | | | | | | | | | | | * show labels placed on your content even if it's a self-label even friendlier wording friendlier wording remove unnecessary `export` temp revert reordering show labels placed on your content even if it's a self-label * Bump api 0.12.9 --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Fix flashes when replacing For You (#3967)dan2024-05-112-34/+54
| | | | | * Fix flashes when replacing For You * Switch to Discover if pinned after removing
* Onboarding fixes (#3966)dan2024-05-112-32/+60
| | | | | | | | | | | | | | | * Ensure prefs are up-to-date before leaving onboarding * Parallelize upsertProfile call * Don't upsertProfile if no image * Don't waterfall blob upload * Fix useProfileUpdateMutation to parallelize uploads * Invalidate user profile before leaving onboarding * Ungate setting the pic
* Add shutdown message to for you feed (#3776)Paul Frazee2024-05-113-2/+174
|
* [Reduced Onboarding] Add profile step (#3933)Eric Bailey2024-05-1115-38/+836
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Onboarding avatar creator or upload (#2860) * add screen to onboarding flow * update base * add icon * fix icon * fix after merge * create flatlist * add emoji list * add state context, pressables * select/update * add camera icon * add photo selection button * image selection * cleanup * add most needed icons * fix icon naming * add icons * export path strings for emoji * canvas drawing for web * types * move breakpoints to individual steps * create canvas * canvas working 🎉 * update state * it works! * working on both platforms * remove comments * remove log * remove unused web canvas * animate picture selection/removal * compress images on web correctly * add times icon * scrollable horizontal flatlist on web * prefetch * adjustments * add more assets * remove unused smiles * add all the icons * adjust color options * animate grow/shrink selections * change layout on tablet/desktop * better web layout * fix path * adjust web layout * organize * organize imports and cleanup styles * make generated images smaller * implement design changes use row for buttons on web use RNGH FlatList random color at start improve logic update dialog for web update dialog style on mobile some more progress create dialog simplify context start implementing design * rm change * cleanup imports * trigger a pr label * Formatting --------- Co-authored-by: Eric Bailey <git@esb.lol> (cherry picked from commit 087186e3867b0eefb11a056b0b644f5585fa16bd) * UI tweaks * Revert layout change * Gate avi upload * Support returning to profile step * Add Statsig --------- Co-authored-by: Hailey <me@haileyok.com> Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* [Reduced Onboarding] Add new step, new state to reducer (#3931)Eric Bailey2024-05-114-76/+132
| | | | | * Add new step, new state to reducer * Don't set default feeds
* Movable following feed (#3593)Eric Bailey2024-05-1134-545/+1126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Handle home algo with backwards compat * Remove todo, fix pwi view * Simplify filter logic * Handle edge case * Handle home algo in FeedSourceCard * Fix handling of pinned feed if home algo is disabled * Handle home algo on ProfileFeed screen * Rename * Fix pinned feeds key * Improve perf of pinned feeds with primary algo * Update statsig API * Revert unneeded changes * Support following feed as well * Better formatting * Clarify primary algo usage * Better comment * Handle saved feed screen edge case * Restore Feeds sparkle, fix line height * Move gate call down * Filter out primary algo from feeds page * Filter dupe from Feeds screen * Simplify logic * Missing following handling * Hide primary feed setting outside exp * Revert testing change * Migrate usePinnedFeedInfos * Migrate FeedSourceCard * Migrate Feeds screen * Migrate SavedFeeds screen * Handle timeline in feed infos * Finish migrating ProfileFeed, FeedSourceCard * Migrate ProfileList * Finalize mutation hooks * Allow unsaving lists * Handle following feed on Feeds screen * Handle following on SavedFeeds * Get rid of deprecated interface usages * Handle no pinned feeds * Handle no feeds on Feeds screen * Reuse component on SavedFeeds screen * Handle no following feed * Remove primary algo references * Migrate to new plural APIs * Remove unused event * Prevent duplicate keys * Make handling much more clear * Dedupe useHeaderOffset * Filter unknown feed types at source * Use just following * Immprove key handling * Resume from last tab * Bump sdk * Revert Gemfile * Additional protection in FeedSourceCard * Fix ProfileList save/unsave handling * Translate * Translate * Match existing handling post-signup * Ensure onboarding results in correct selected feeds * Some testing tweaks on create/onboarding * Revert primary algo consderations * Remove comment * Handle default feed setting * Rm unnecessary type cast * Remove premature gate check * Remove nullable check in onPageSelecting, assume the pager checks bounds * Use null for default selected feed * Rm unrelated change * Remove the concept of __key__ I don't think this concept is consistent. It's introduced on FeedSourceInfo which is used both by pinned feeds and by useFeedSourceInfoQuery. Pinned feeds use the pinning ID there. But there is no pinning ID for useFeedSourceInfoQuery. So this means this field is sometimes one thing and sometimes some other thing. That is a decent sign that it shouldn't be on that type at all. It's not used anywhere except the desktop feed enumeration. It seems reasonable to assume there that we wouldn't want to show the same feed URL twice. (And if it does occur in the array twice, IMO we should solve that at the API level and dedupe it on read or next write.) So I think we should just use the URL in that place. (I used the descriptor, which is equivalent.) * Dedupe pinned feeds by URL on read * Filter timeline out of mergefeed sources * Put FeedDescriptor into FeedSourceInfo * Group saved info with feed for pins This removes a loop within a loop within a loop. * Fix Feeds link on native --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Gate chat icon in bottom bars (#3959)Eric Bailey2024-05-102-4/+56
|
* [🐴] Simplify message passing, cleanup (#3952)Eric Bailey2024-05-103-87/+85
| | | | | * Simplify message passing * Setup/teardown events