aboutsummaryrefslogtreecommitdiff
path: root/src/components/common/LoginInput.tsx
AgeCommit message (Collapse)Author
2020-07-08[TMA-60] Registration Page UI & Field Validation (#13)Leon Jiang
* remove unused image * refactor LoginInput component to be more generic * configure bare registration screen * create index files for exports * add yarn typing script * refactor and re-style LoginInput component * re-style login screen according to designs * make LoginInput name more generic, give TaggInput dirty & width props * add disabled feature to login screen submit button, finalized styles * add arrow images and create ArrowButton component * create RegistrationWizard component and move files around * added disabled & enabled buttons to ArrowButton component * create dummy terms and conditions text * create common CenteredView component for re-use * create custom RadioCheckbox for registration screen * create TermsConditions & OverlayView components * update index.ts export files * build registration page UI with basic validation * yarn lint/type & add platform-specific styling * add yarn type item to PR checklist * add react-native-animatable dependency to project * add regex variables to constants file * Add width prop for more flexible styling * Add types and disable auto-capitalization * Update email validation regex * Create linear-gradient background component * Update password regex and add inline docs * Refactor code to be more readable * Add warning prop and animation to TaggInput * Add wrapper View for vertical margins * Make JSX more readable & add TaggInput components * Integrate refactored code into registration page * Merge in login screen changes * Lint and fix file syntax * Fix function docs * Add ViewProps to CenterView props * Add KeyboardAvoidingView to Background component * Add blurOnSubmit for inputs, restore deleted handleLogin code * Create Verification screen and add it to routes * Add routing to Verification page upon success * Add API request upon registration submit * Trigger warning shaking animation on submit * Make disabled arrow touchable, tap triggers submit
2020-07-06[TMA-62] Basic Login Input Validation (#11)Justin Shillingford
* Updated createRef() to useRef() * Animated invalid input hint Also removed useless focusPasswordInput prop * Users can no longer submit without typing * Added basic input validation for Username * Fixed username input validation 😅 * Removed autocapitalize from keyboard * Trim username input as early as possible Also removed trim from password * Adjusted styling to accomodate longer hint message * Lint cleaning * Updated documentation of update methods * Forgot to include periods in the error message 😅 * Modified styling to accomodate longer hint
2020-06-30Next button on keyboard works again!Justin Shillingford
2020-06-30Made registration start after Get Started buttonJustin Shillingford
2020-06-30Updated function props to be functionsJustin Shillingford
2020-06-29Removed PropTypes importJustin Shillingford
2020-06-29Updated, props to use interfaceJustin Shillingford
2020-06-29Added validationWarnings to LoginInput componentJustin Shillingford
2020-06-29Undefined keyboardType if unknown situationJustin Shillingford
2020-06-29Forgot to update to the placeholder 😅Justin Shillingford
2020-06-29Added isPassword prop to LoginInput.tsxJustin Shillingford
2020-06-29Removed TextInput focus code for nowJustin Shillingford
Also miscellaneous code cleanup
2020-06-29Created LoginInput ComponentJustin Shillingford