about summary refs log tree commit diff
path: root/src/screens/Signup/state.ts
Commit message (Collapse)AuthorAgeFilesLines
* Add displayName to contexts (#8814)Samuel Newman2025-08-141-0/+1
|
* Fix policy state (#8821)Eric Bailey2025-08-111-15/+1
| | | | | * Mark completedForDevice prior to creating an account * Mark policies as completed after initial create account step
* [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>
* Instrument signup (#8037)Samuel Newman2025-03-271-11/+79
|
* Basic minimum password requirements, plus field-specific errors (#7811)Samuel Newman2025-02-241-1/+19
| | | | | | | | | | | | | | | | | | | | | | | * 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>
* Ensure captcha verification code gets submitted in signup request (#5010)Hailey2024-08-281-9/+4
| | | | Co-authored-by: Eric Bailey <git@esb.lol>
* Submit fix (#4978)dan2024-08-221-22/+21
| | | | | | | | | | | | | | | * 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>
* Improve textinput performance in login and account creation (#4673)Paul Frazee2024-07-021-25/+1
| | | | | | | | | | | | | | | | | | | | | | | * 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>
* Revert animation change in signup (#4693)Hailey2024-06-271-0/+2
|
* Handle pushing to starterpack screen when unauthed (#4692)Hailey2024-06-271-2/+0
|
* 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
* [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>
* sentry errors for captcha web views and registration attempts (#3761)Hailey2024-05-011-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* 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>
* sort imports for files related to this PRSamuel Newman2024-03-201-10/+10
|
* Use ALF for signup flow, improve a11y of signup (#3151)Hailey2024-03-191-0/+320
* Use ALF for signup flow, improve a11y of signup * adjust padding * rm log * org imports * clarify allowance of hyphens Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * fix a few accessibility items * Standardise date input across platforms (#3223) * make the date input consistent across platforms * integrate into new signup form * rm log * add transitions * show correct # of steps * use `FormError` * animate buttons * use `ScreenTransition` * fix android text overflow via flex -> flex_1 * change button color * (android) make date input the same height as others * fix deps * fix deps --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> Co-authored-by: Samuel Newman <mozzius@protonmail.com>