about summary refs log tree commit diff
path: root/src/screens
Commit message (Collapse)AuthorAgeFilesLines
...
* add header to empty chat list view (#3791)Samuel Newman2024-05-011-3/+21
|
* [Clipclops] 2 Clipped 2 Clopped (#3796)Eric Bailey2024-05-015-457/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add new pkg * copy queries over to new file * useConvoQuery * useListConvos * Use useListConvos * extract useConvoQuery * useGetConvoForMembers * Delete unused * exract useListConvos * Replace imports * Messages/List/index.tsx * extract getconvoformembers * MessageItem * delete chatLog and rename query.ts * Update import * Clipclop service (#3794) * Add Chat service * Better handle deletions * Rollback unneeded changes * Better insertion order * Use clipclops * don't show FAB if error * clean up imports * Update Convo service * Remove temp files --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* replace getDate with toIsoString().slice(0,10) (#3792)Samuel Newman2024-05-011-4/+8
|
* [Clipclops] Improve message list behaviour (#3789)Samuel Newman2024-05-013-18/+45
| | | | | | | * improve message list behaviour * replace useAgent with useSession * add explicit types to appease linter
* sentry errors for captcha web views and registration attempts (#3761)Hailey2024-05-015-22/+60
| | | | | | | | | | | | | | | | | | | | | | | | | * sentry errors for captcha web views * include handles with errors * log all registration request failures * rm * use a better trigger for web captcha errors * add another trigger for recording a possible signup error * unknown error type * don't needlessly log on href errors * honestly i probably cant always do a captcha in 20 seconds * rm log * timeout on back * remove unnecessary colons
* Performance improvements: structural sharing & moderation opts context (#3785)Paul Frazee2024-04-302-5/+5
| | | | | | | | | | | | | * Fix: correctly apply structural sharing to preferences object * Move moderation opts into a context * Fix import * Remove log * Pass userdid directly * Pass moderationPrefs directly
* [Clipclops] Separate messages if there's a time gap (#3777)Samuel Newman2024-04-301-2/+20
| | | | | * separate msg groups by age * clean up logic and add comments
* [Clipclops] Header for chat (#3775)Hailey2024-04-303-11/+128
| | | | | | | | | | | | | | | | | | | | | | | * add temp `getchat` query * properly get the other profile * add basic header * normalize layout on all devices * remove unused imports, adjust style * remove unnecessary log * remove another log * remove some more imports * cleanup * use `Button` instead in the header * lint
* [Clipclops] adjust scroll position, keyboard color (#3771)Hailey2024-04-302-3/+4
| | | | | * use the correct keyboard appearance based on theme * i guess the min index should be 1
* [Clipclops] Add clop sent time to clipclop (#3772)Samuel Newman2024-04-303-49/+156
| | | | | * add message sent time to message * fix last message in group logic
* [Clipclops] Use API data for clipclop list (#3769)Samuel Newman2024-04-303-110/+195
| | | | | | | | | | | | | | | * use real API * remove extra tab icon * messages list web layout + style improvements * use style's text color for input * make new chat button way more obvious --------- Co-authored-by: Hailey <me@haileyok.com>
* [Clipclops] New clipclop dialog (#3750)Samuel Newman2024-04-304-44/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add new routes with placeholder screens * add clops list * add a clop input * add some better padding to the clops * some more adjustments * add rnkc * implement rnkc * implement rnkc * be a little less weird about it * rename clop stuff * rename more clop * one more * add codegenerated lexicon * replace hailey's types * use codegen'd types in components * fix error + throw if fetch failed * remove bad imports * update messageslist and messageitem * import useState * replace hailey's types * use codegen'd types in components * add FAB * new chat dialog * error + default search term * fix typo * fix web styles * optimistically set chat data * use cursor instead of last rev * [Clipclops] Temp codegenerated lexicon (#3749) * add codegenerated lexicon * replace hailey's types * use codegen'd types in components * fix error + throw if fetch failed * remove bad imports * update messageslist and messageitem * import useState * add clop service URL hook * add dm service url storage * use context * use context for service url (temp) * remove log * cleanup merge * fix merge error * disable hack * sender-based message styles * temporary filter * merge cleanup * add `hideBackButton` * rm unneeded return * tried to be smart * hide go back button * use `searchActorTypeahead` instead --------- Co-authored-by: Hailey <me@haileyok.com>
* Session fixes, pt. 1 (#3762)dan2024-04-301-9/+17
| | | | | | | | | | | | | | | | | * Update persisted schema for new source of truth, implement in existing session (cherry picked from commit b1e5f12baee932721d66c60dd51c981b46b0c274) * Improve toasts, log caught error, during switch account (cherry picked from commit fe0d1507063d2e532b7b1a447670b689292d1dc3) * Handle thrown errors from initSession during login (cherry picked from commit 2c85c045917e923901284b9ba310a82e28f37b5c) --------- Co-authored-by: Eric Bailey <git@esb.lol>
* [Clipclops] Add screen to view and send clip clops (#3754)Hailey2024-04-297-5/+577
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add new routes with placeholder screens * add clops list * add a clop input * add some better padding to the clops * some more adjustments * add rnkc * implement rnkc * implement rnkc * be a little less weird about it * rename clop stuff * rename more clop * one more * [Clipclops] Temp codegenerated lexicon (#3749) * add codegenerated lexicon * replace hailey's types * use codegen'd types in components * fix error + throw if fetch failed * remove bad imports * update messageslist and messageitem * import useState * add clop service URL hook * add dm service url storage * use context * use context for service url (temp) * remove log * nits --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Account for momentum when hiding minimal shell (#3740)dan2024-04-281-0/+3
| | | | | | | | | * Add optional momentum events to scroll context * If there is a velocity, don't snap until momentum end * Don't show bar on scroll down * Rm onMomentumBegin
* remove precacheThreadPostProfiles (#3729)Hailey2024-04-271-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove `precacheThreadPostProfiles` * add `displayName` to `PreviewableUserAvatar` * memo * use `precacheProfile` * pass `profile` directly to `PreviewableUserAvatar` * update the `UserAvatar`'s props * remove feed cache * one more spot * rm unused queryClient * Don't call fn unnecessarily * Preload for display name too * try notification item * add to feeditem * and finally, precache for post threads * timestamp * Fix * onBeforePress --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* [Clipclops] New routes with placeholder screens (#3725)Samuel Newman2024-04-274-0/+307
| | | | | | | | | | | * add new routes with placeholder screens * gate content * add filled envelope style * swap filled state * switch to `useAgent`
* [Session] Add `useAgent` hook and replace (#3706)Eric Bailey2024-04-254-14/+25
| | | | | | | | | | | * Hook it up * Memoize getAgent method * Use one shared reference --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* [Session] Drill `getAgent` into `Onboarding/util` (#3704)Eric Bailey2024-04-252-4/+16
| | | | | | | | | | | * Drill agent into Onboarding/util (cherry picked from commit 2ba68eb5e446a694730b720f2a5b3307eb0914ef) * Thread getAgent instead --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* remove use of `pointerEvents` on iOS profile header (#3694)Hailey2024-04-253-8/+16
|
* Email auth factor (#3602)Paul Frazee2024-04-221-2/+50
| | | | | | | | | | | | | | | * Add email 2fa toggle * Add UI elements needed for 2fa codes in login * Wire up to the server * Give a better failure message for bad 2fa code * Handle enter key in login form 2fa field * Trim spaces * Improve error message
* Top/Latest for hashtags (#3625)dan2024-04-191-59/+139
| | | | | | | * Split HashtagScreen into two components * Hashtag tabs * Visual fixes
* [Statsig] Update experiments (#3617)dan2024-04-191-1/+1
|
* [Statsig] Make gate checks lazily (#3594)dan2024-04-181-4/+2
|
* Fix error getting through by primary feed sort (#3562)Paul Frazee2024-04-151-9/+3
|
* Release 1.77.0 (#3549)Paul Frazee2024-04-133-0/+4
| | | | | * A couple test fixes * Intl extract
* Profile card hover preview (#3508)Eric Bailey2024-04-121-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: initial user card hover * feat: flesh it out some more * fix: initialize middlewares once * chore: remove floating-ui react-native * chore: clean up * Update moderation apis, fix lint * Refactor profile hover card to alf * Clean up * Debounce, fix positioning when loading * Fix going away * Close on all link presses * Tweak styles * Disable on mobile web * cleanup some of the changes pt. 1 * cleanup some of the changes pt. 2 * cleanup some of the changes pt. 3 * cleanup some of the changes pt. 4 * Re-revert files * Fix handle presentation * Don't follow yourself, silly * Collapsed notifications group * ProfileCard * Tree view replies * Suggested follows * Fix hover-back-on-card edge case * Moar --------- Co-authored-by: Mary <git@mary.my.id> Co-authored-by: Hailey <me@haileyok.com>
* PWI improvements (#3489)Paul Frazee2024-04-123-27/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Enable home and feeds on the PWI * Add global SigninDialog to drive useRequireAuth() * Tweak desktop styles * Make the logo in leftnav PWI a clickable home link * Add label * Improve dialog on web * Fix query key * Go to home after signout from settings screen * Filter out feeds from the discover listing for logged out users which are known to break without auth * Update profile header follow/subscribe to give signin prompt * Show profile feeds tabs on pwi * Add language selector to account creation footer and pwi left nav desktop --------- Co-authored-by: dan <dan.abramov@gmail.com>
* Make bio area scrollable on iOS (#2931)Hailey2024-04-112-10/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix dampen logic prevent ghost presses handle refreshes, animations, and clamps handle most cases for cancelling the scroll animation handle animations save point simplify remove unnecessary context readme apply offset on pan find the RCTScrollView send props, add native gesture recognizer get the react tag wrap the profile in context create module * fix swiping to go back * remove debug * use `findNodeHandle` * create an expo module view * port most of it to expo modules * finish most of expomodules impl * experiments * remove refresh ability for now * remove rn module * changes * cleanup a few issues allow swipe back gesture clean up types always run animation if the final offset is < 0 separate logic update patch readme get the `RCTRefreshControl` working nicely * gate new header * organize
* Improve Android haptic, offer toggle for haptics in the app (#3482)Hailey2024-04-111-3/+4
| | | | | | | | | | | | | | | * improve android haptics, offer toggle for haptics * update haptics.ts * default to false * simplify to `playHaptic` * just leave them as `feedInfo` * use a hook for `playHaptic` * missed one of them
* 1.76 release preparations (#3459)Paul Frazee2024-04-091-0/+1
| | | | | | | * Run intl:extract * Update dev-env to 0.3.4 * Test fixes
* Onboarding tweaks (#3447)Eric Bailey2024-04-082-16/+4
| | | | | * Remove feed * Follow bsky.app
* Auto-expand follow suggestions on web (#3432)dan2024-04-081-0/+8
|
* Enforce that text is wrapped in <Text>, remaining cases (#3421)dan2024-04-053-5/+7
| | | | | | | | | | | | | | | | | | | | | * Toggle.Button -> Toggle.ButtonWithText * Simplify Prompt.Cancel/Action * Move lines down for better diff * Remove ButtonWithText * Simplify types * Enforce Button/ButtonText nesting * Add suggested wrapper in linter error * Check <Trans> ancestry too * Also check literals * Rm ts-ignore
* Remove special cases for some buttons with text (#3412)dan2024-04-051-7/+7
| | | | | | | | | | | * Toggle.Button -> Toggle.ButtonWithText * Simplify Prompt.Cancel/Action * Move lines down for better diff * Remove ButtonWithText * Simplify types
* properly import linear gradient (#3423)Hailey2024-04-051-1/+1
|
* migrate to `expo-linear-gradient` (#3420)Hailey2024-04-041-8/+7
| | | | | | | | | * replace packages * rm useless alias from webpack config * fix accidental double commit * replace all usages
* Bump some Expo package, remove unused packages to prepare for migration (#3415)Hailey2024-04-041-14/+11
| | | | | | | | | * bump some package versions * remove completely unused packages * remove blurview * update yarn.lock
* Enforce Text suffix for Text-rendering components (#3407)dan2024-04-0420-114/+111
| | | | | | | | | | | * Rm unused * Add Text suffix to Title/Description * Add Text suffix to text components * Add Text suffix to props * Validate Text components returns
* Enable tags on profile descriptions (close #3081) (#3397)Paul Frazee2024-04-042-19/+22
|
* Simplify list logic further to prevent misuse (#3334)Hailey2024-04-032-47/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * simplify list logic further more simplification simplify by removing `isEmpty` use `isFetchingNextPage` everywhere for clarity change `isFetching` to `isFetchingNextPage` for clarity remove some useless `useMemo`s move `renderItem` and `keyExtractor` out of component * clean bundle size check * update deploy * adjust * adjust * one test * try now * test it * done
* Use ALF for the account quick switch dialog (#3327)Samuel Newman2024-04-031-111/+7
| | | | | | | | | | | * Use ALF for account quick switch * clean up modal type * add haptics to dialog opening * move account list to it's own component and share * make tick slightly darker
* Add OTA updates support for `testflight` channel (#3291)Hailey2024-04-032-45/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * some progress another adjustment, testing another adjustment, testing fix again fix again set default runtime version fix test this script test this script test this script add build numbers to the deployment url clean give script access to build number add `useBuildNumberEnv` without a bump new line fix missing async add channel name to deployment url add updates check on launch for testflight users ver bump init updates on launch for native add `testflight` as default in build submit add is_testflight check * disable inline predictions to prevent ios composer jank * temp bump * Revert "temp bump" This reverts commit 44c51134a35d817c73edb1e635495597c95117b3. * adjustments version bump adjust fixes test * cleanup and finalize drop check down to every 15 minutes adjustments change to 15 mins use jq to get version if necessary rm test on push figured it out remove nightly testflight releases test again again again again again AGAIN ONCE MORE test again again again again again AGAIN test again again again again again AGAIN test again again again again again test again again again again test again again again test again again test again test test test run deploy if necessary run deploy if necessary run deploy if necessary run deploy if necessary run deploy if necessary remove test message fix environment oops cleanup merge in changes * remove unnecessary `workflow_call` * remove changes that have been merged into main now * finalize android update git ignore rm test stuff from the bundle action remove test message test message fix test message test message few android fixes few android fixes fix jq add a test message fix slack webhook create android deployments test 2 create android deployments add `testflight-android` profile to eas.json more cleanup some more cleanup simplify some logic remove unnecessary channel rename to `useOTAUpdates` * rm test portion
* Mark `under13` and `Next` and `Back` buttons in signup for localisation (#3341)surfdude292024-03-222-7/+13
| | | | | | | | | | | | | * Mark under13 string for translation * Mark buttons for localisation * tweak label * wrap in `ButtonText` * lint * try to fix lint again
* Fix crash during onboarding (#3338)Eric Bailey2024-03-222-32/+30
| | | | | * Fix crash during onboarding * Fix other usage
* move auth flows scrollview to loggedin layoutSamuel Newman2024-03-224-73/+48
|
* Release fixes (#3318)Eric Bailey2024-03-211-2/+2
| | | | | | | | | | | * Fix error overflow * await setSavedFeeds before setting birth date * await birth date first instead of feeds --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Mods UI fixes (#3296)Eric Bailey2024-03-212-9/+9
| | | | | * Fix report dialog buttons on Android by adjusting styles * Dry up label pref comp
* [Statsig] Onboarding and routing events (#3302)dan2024-03-218-94/+123
|
* Fix key error on choose accountEric Bailey2024-03-201-3/+2
|