about summary refs log tree commit diff
path: root/src/screens/Signup
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade `@types/react` to 19 and run codemod (attempt 2) (#8918)Samuel Newman2025-09-093-3/+3
| | | | | | | | | | | | | * update dependencies * rm `import type React from 'react'` * run codemods * patch discord types * update types/react-dom * Update yarn.lock
* Improve e2e tests (#8927)Samuel Newman2025-08-291-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | * get e2e image picker working * verify create account actually reaches onboarding * wait for image to actually be attached before posting * wait until login finishes before moving on * sign out before switch accounts then wait until logged in * disable onboarding experiments in e2e * add testId to handle availability checkmark * fix too long username * update thread muting test to reflect current behaviour * hackfix for the british english translation * unflake the onboarding tests * fix curate list flow * admit defeat on the most list one
* Remove handle suggestion gate (#8899)Samuel Newman2025-08-251-5/+1
| | | | | * remove handle suggestion gate * rm from list of gates
* Add displayName to contexts (#8814)Samuel Newman2025-08-141-0/+1
|
* Update dates (#8822)Eric Bailey2025-08-111-1/+1
|
* Fix policy state (#8821)Eric Bailey2025-08-112-15/+5
| | | | | * Mark completedForDevice prior to creating an account * Mark policies as completed after initial create account step
* Check handle as you type (#8601)Samuel Newman2025-08-077-223/+366
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * check handle as you type * metrics * add metric types * fix overflow * only check reserved handles for bsky.social, fix test * change validation check name * tweak input * move ghosttext component to textfield * tweak styles to try and match latest * add suggestions * improvements, metrics * share logic between typeahead and next button * Apply suggestions from code review Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * update checks, disable button if unavailable * convert to lowercase * fix bug with checkHandleAvailability * add gate * move files around to make clearer * fix bad import * Fix flashing next button * Enable for TF --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com> Co-authored-by: Eric Bailey <git@esb.lol>
* Add device attestation to signup flow (#8757)hailey2025-08-073-42/+147
|
* [LEG-203] Add onboarding text for policy updates (#8783)Eric Bailey2025-08-061-10/+42
| | | | | | | | | | | * Add onboarding text for policy updates * Add gate, add to other case * Update other UI cases to use Admonitions * Th * Update date
* [APP-1356] Policy update dialog (#8782)Eric Bailey2025-08-061-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add blocking announcement dialog feature * WIP custom dialog * Rework dialog and add native FocusScope * Lock scroll on web, fix backdrop * Add web FocusScope * Create custom Outlet for these announcements * Clean up FocusScope native impl * Comments * Some styling fixes * Handle screen reader specifically * Clean up state, remove Portal edits * Reorg, rename * Add syncing, tests * Revert dialog updates * Revert formatting * Delete unused file * Format * Add FullWindowOverlay * remove mmkv storage in debug btn * Add debug code * fix taps passing through on iOS * Reorg * Reorg, rename everything * Complete policy update after signup * Add logger * Move context around, unmount portals on native * Move a11y prop into FocusScope * Remove useMemo * Update dates * Move debug to dev settings * Unmount web portals until policy update completed * UPdate dates --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Port post embeds to new arch (#7408)Eric Bailey2025-06-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Direct port of embeds to new arch (cherry picked from commit cc3fa1f6cea396dd9222486c633a508bfee1ecd6) * Re-org * Split out ListEmbed and FeedEmbed * Split out ImageEmbed * DRY up a bit * Port over ExternalLinkEmbed * Port over Player and Gif embeds * Migrate ComposerReplyTo * Replace other usages of old post-embeds * Migrate view contexts * Copy pasta VideoEmbed * Copy pasta GifEmbed * Swap in new file location * Clean up * Fix up native * Add back in correct moderation on List and Feed embeds * Format * Prettier * delete old video utils * move bandwidth-estimate.ts * Remove log * Add LazyQuoteEmbed for composer use * Clean up unused things * Remove remaining items * Prettier * Fix imports * Handle nested quotes same as prod * Add back silenced error handling * Fix lint --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* invert flag for sending to statsig (#8431)hailey2025-05-301-1/+1
|
* New `Select` component (#8323)Samuel Newman2025-05-061-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * radix select component on web * native implementation (wip) * fix sheet height/padding * tone down web styles * react 19 cleanup * replace primary language select * change style on native * get auto placeholder working * more style tweaks * replace app language dropdown * replace rnpickerselect with native select * rm react-native-picker-select dependency * rm placeholder, since a value is always selected * docblock for renderItem * add more docblocks * add style prop to item * pass selectedValue through renderItem * fix context * Style overflow buttons --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Tweak copy to remove remaining uses of `sign up` (#7987)surfdude292025-04-021-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tweak copy in Deactivated.tsx * tweak copy in Policies.tsx * tweak comment in createNativeStackNavigatorWithAuth.tsx * tweak copy in LoginForm.tsx * tweak copy in StarterPackLandingScreen.tsx * format * Apply suggestions from code review Co-authored-by: Hailey <hailey@blueskyweb.xyz> * Update src/screens/StarterPack/StarterPackLandingScreen.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Update src/screens/StarterPack/StarterPackLandingScreen.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> --------- Co-authored-by: Hailey <hailey@blueskyweb.xyz>
* add plural formatting for too long handle error (#7999)surfdude292025-04-011-2/+6
|
* Instrument signup (#8037)Samuel Newman2025-03-275-36/+128
|
* move translation tags (#7823)surfdude292025-02-241-4/+6
|
* Basic minimum password requirements, plus field-specific errors (#7811)Samuel Newman2025-02-242-20/+65
| | | | | | | | | | | | | | | | | | | | | | | * add min password requirement * add field specific errors * move email tld check to after other email checks * add password length check to change password dialog * Update src/view/com/modals/ChangePassword.tsx Co-authored-by: Hailey <me@haileyok.com> * Update src/screens/Signup/StepInfo/index.tsx Co-authored-by: Hailey <me@haileyok.com> * fix lint --------- Co-authored-by: Hailey <me@haileyok.com>
* connect inputs together in signup (#7809)Samuel Newman2025-02-211-2/+25
|
* fix handle length error message (#7802)Samuel Newman2025-02-211-4/+4
|
* `@atproto/api@next` integration (#7344)Eric Bailey2025-02-181-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bump SDK * Use consistent type in profile query * Omit from constraint for profile shadow * Replace isRecord with isValidRecord in QuoteEmbed * Omit type from constraint for old ProfileCard * Omit type from constraint in profile queries where appropriate * Use correct type for update profile mutation * Conslidate and fix check for isValidRecord in Post.tsx * Replace isRecord with isValidRecord in PostThreadItem * Remove redundant cast in PostThreadFollowBtn * Ignore errors in DebugMod screen * Use matching type in ProfileFollows screen * Use matching type in ProfileFollowers screen * Migrate to isValidRecord in PostFeedItem * Use matching type if PostRepostedBy * Omit type from constraint in avatar props * Use matching types in NotificationFeedItem * Todo * Use isValidRecord in NotfyFeedItem * Improve MediaPreview types * Migrate another isValidRecord in NotificationFeedItem * Migrate to isValidView in queries/util * Migrate to isValidRecord in threadgate/util * Fix types in threadgates * Fix up types in starter-packs queries * Todo * Specify exact types in search-posts * Use internal type util to align types * Ditto last * Migrate postgate/index * Specify exact types in post-thread * Use correct type in post-quotes * FIX potential bug in post-thread * Use correct type in post-feed * Add correct type guards to notifications/feed * Migrate a guard in notifications/util * Migrate guard in Wizard/State * [@next] Profile handling, migrate `ProfileCard` (#7347) * Introduce new utils for profiles, migrate old ProfileCard * Rename, reorg * Add parseEmbed utils * Expand AnyProfileView to include chat profile view, update post shadow to reflect this * Cast for perf reasons * Tighten up types now that we have AnyProfileView * Add fastIsType util * Use `assertDid` Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com> * Use util types * Comment * Use fastIsType where no validation was happening before * suggestions (#7382) * suggestions * Revert unneeded changes --------- Co-authored-by: Eric Bailey <git@esb.lol> * Use new util * Rename to dangerousIsType * Convert object shape * Use dangerous util * Use dangerous util * Use dangerous util, we can trust post records * Use dangerous util * Use AnyProfileVIew * Convert object shape * Clean up handling * Patch moderateProfile to accept known profile views, to discuss * Add AnyStarterPackView and related, implement in first usage * Remove validation, fix type, fix ref * Migrate over list-conversations * Clarify intent behind precacheProfile and its unstable query cache * Clean up unstable profile cache * Fix types during label creation in PwiOptOut (#7346) * Tighten types in queries/list * Chat: use correct profile views * Chat: fix log type check * Chat: construct lexically correct shape, even though it's only internal usage * Chat: use correct profile types * Chat: fix type check in logs * Starter: use correct profile types * Starter: use correct profile types * Starter: tighten types to match lex * Any profile type will work in blocked-and-muted * Use dangerous util * Use dangerousIsType * Update new ProfileCard to use AnyProfileView * Use dangerousIsType * Remove outdated todo * Use correct profile type * Use correct profile types * Tighten up types * Use dangerousIsType * Chat: more type fixes * Remove unused file * Add a few utils * Remove unused file * Ignore feedPost.__source * Clean up types, leave validation in critical path * Use dangerousIstype * Use ANyProfileView * Use isValidRecord * Use dangerousIsType * Fix types in ListCard * Fix FeedInterstitials types * Fix types in FeedCard * Fix types in dms ReportDialog * Fix types in SearchablePeopleList * Fix bad type in composer opts * Starter: ok these need to be loose too * Clarify docs Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com> * Less code Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com> * Use package exports Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com> * Use package exports * Bump sdk, update $Typed imports * Format * Format * Fix weird TS error * Remove patch * Beter name * It's memo, can validate * Tighten up parseEmbed, dogfood * Bump sdk * Use asPredicate * Loosen types a bit * use asPredicate * Fix types * Use asPredicate * Use asPredicate * Use asPredicate * Clean up upsertProfile types * Use asPredicate * Use Un util * Fix types * Use new AnyProfileView * Use dangerousIsType * Use asPredicate * Use asPredicate * Add fallback content-type to pass typecheck * Clean up upsertProfile types * Align types * Use dangerousIsType * Use dangerousIsType * Use asPredicate * Align types * Convert findLast * Align types * Just ignore type errors and use findLast * Rename atproto -> bsky * Add validate util * Fix type error * Loosen types * Export post * rename atp bsky * Remove unused code * minor changes * Bump deps * Fix types * Tighten back up loose check * Tighten back up loose check * Fix small bug * Update comment * Revert change --------- Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com> Co-authored-by: Matthieu Sieben <matthieu.sieben@gmail.com>
* Improved service handle validation logic (#7657)Samuel Newman2025-02-061-3/+3
| | | | | | | * fix validation logic for 3p pdses * fix bad import * add service handle validation test
* Date input improvements (#7639)Samuel Newman2025-02-031-1/+2
| | | | | | | | | * add max date, use modern field for birthday input * rm legacy date input * handle simplifying to simpleDateString internally * update jsdoc
* fix hcap clipping (#7567)Samuel Newman2025-01-231-2/+1
|
* [ELI5] Validate too long handles in signup (#7422)Samuel Newman2025-01-101-3/+10
| | | | | * validate too long handles in signup * make change handle screen generic
* [ELI5] Tweaks to hosting provider (#6935)Samuel Newman2025-01-081-11/+5
| | | | | | | | | | | | | | | * minimal hosting provider * change wording and move back up * first time user nudge * move tip * reexport ticket svg * fix ticket fr this time * text tweak + add minHeight
* [ELI5] Tweak wording on the signup screen (#7136)dan2024-12-172-3/+3
| | | | | * Tweak signup wordings * Update translations
* Leverage jsx transform to remove unnecessary react imports and update eslint ↵Paul Coroneos2024-11-192-2/+1
| | | | | | | | | config (#6516) * update eslint config with jsx runtime * leverage jsx transform to remove unnecessary react imports and update eslint config * run yarn lint --fix to remove eslint disables related to react/prop-types that is now disabled
* Sort imports (#6009)dan2024-10-291-1/+1
| | | | | * Mark import sort/order/style rules as error * npm run lint -- --fix
* Improve localization of {els} string on Create Account page (#3912)Minseo Lee2024-10-052-32/+54
| | | | Co-authored-by: Hailey <me@haileyok.com>
* Remove Segment (#5518)Hailey2024-09-271-6/+0
|
* Lazy load ViewShot (#5517)Hailey2024-09-271-1/+4
| | | | | | | | | | | * lazy one spot * lazy signup * fix type * tweak type, fix missing viewshot type * only import type oops
* [Neue] Font weights (#5442)Eric Bailey2024-09-201-3/+3
| | | | | | | * Align all font weights * Only load necessary fonts * Also comment out from hook
* Validate TLD in signup (#5426)Hailey2024-09-202-9/+39
| | | | | | | | | | | | | | | | | | | | | | | * add lib * add validation * log * add some common typos * add tests * reset hasWarned state on edit * shorten path * Move test file, adjust regex, add test * Get real nit picky --------- Co-authored-by: Eric Bailey <git@esb.lol>
* [Neue] Buttons (#5406)Eric Bailey2024-09-201-3/+3
| | | | | | | | | | | * Re-align button sizing (cherry picked from commit bcec243bb59dfe468313d98ba61f464d9750feec) * Use large, small, tiny (cherry picked from commit 1dc333c2993ab7f2e0ac750c0670dcec9a7069d0) * Tweaks
* Add autoCapitalize to password field (#5216)Eduardo Tachotte2024-09-121-0/+1
|
* Ensure captcha verification code gets submitted in signup request (#5010)Hailey2024-08-283-13/+9
| | | | Co-authored-by: Eric Bailey <git@esb.lol>
* Submit fix (#4978)dan2024-08-224-31/+45
| | | | | | | | | | | | | | | * Fix submit logic * Fix type * Align submit task creation 1:1 with callsites * blegh. `useThrottledValue` * make `useThrottledValue`'s time required --------- Co-authored-by: Hailey <me@haileyok.com>
* Add labels to a few missing places (#4838)Eric Bailey2024-07-252-2/+9
|
* Improve textinput performance in login and account creation (#4673)Paul Frazee2024-07-026-249/+317
| | | | | | | | | | | | | | | | | | | | | | | * Change login form to use uncontrolled inputs * Debounce state updates in account creation to reduce flicker * Refactor state-control of account creation forms to fix perf without relying on debounces * Remove canNext and enforce is13 * Re-add live validation to signup form (#4720) * Update validation in real time * Disable on invalid * Clear server error on typing * Remove unnecessary clearing of error --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Add events to signup for captcha results (#4712)Hailey2024-07-012-5/+12
|
* Revert animation change in signup (#4693)Hailey2024-06-273-26/+28
|
* Handle pushing to starterpack screen when unauthed (#4692)Hailey2024-06-273-36/+45
|
* Starter Packs (#4332)Hailey2024-06-211-1/+39
| | | | | | | Co-authored-by: Dan Abramov <dan.abramov@gmail.com> Co-authored-by: Paul Frazee <pfrazee@gmail.com> Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Move onboarding start to after successfull account creation (#4381)Eric Bailey2024-06-191-2/+5
| | | | | * Move onboarding start to after successfull account creation * Remove unused dispatch
* Replace getAgent() with reading agent (#4243)dan2024-05-281-3/+3
| | | | | * Replace getAgent() with agent * Replace {agent} with agent
* [Session] Remove global agent (#3852)dan2024-05-081-14/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove logs and outdated comments * Move side effect upwards * Pull refreshedAccount next to usage * Simplify account refresh logic * Extract setupPublicAgentState() * Collapse setStates into one * Ignore events from stale agents * Use agent from state * Remove clearCurrentAccount * Move state to a reducer * Remove global agent * Fix stale agent reference in create flow * Proceed to onboarding even if setting date fails --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Improve localization marks (#3285)Minseo Lee2024-05-061-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update Lightbox.tsx * Change strings for easier localization * Update DeleteAccount.tsx * Update LabelsOnMeDialog.tsx * Update FeedCard.tsx * Update index.tsx * Update LabelsOnMeDialog.tsx * Update index.tsx * Update FeedCard.tsx * Update SelfLabel.tsx * Update Hashtag.tsx * Update index.tsx * Update Hashtag.tsx * Update ChangeHandle.tsx * Update index.web.tsx * Update index.web.tsx * Update index.tsx * Remove unnecessary `<Trans>` tags * Update Drawer.tsx
* 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
* [Session] Add `useAgent` hook and replace (#3706)Eric Bailey2024-04-251-1/+3
| | | | | | | | | | | * Hook it up * Memoize getAgent method * Use one shared reference --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>