aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-07-14Add linter to Github Actions (#18)Husam Salhab
* added lint.yml * updated to run on PRs * uses yarn lint * fixed linting error * fixed some more linting
2020-07-13TMA123: Add Profile Pictures UI (#17)meganhong
* rebasing * rebasing * remove debug code * fixed margins and added navigation from login * moved plist file into gitignore * moved index.ts to onboarding directory * install react native image crop picker * added permissions into Info.plist * rebasing * minor changes for Justins PR * change debug code back Co-authored-by: meganhong <meganhong31@g.ucla.edu>
2020-07-13[TMA-95] Verification Page UI (#15)Justin Shillingford
* Removed header from view * Setup basic layout of Verification page Also created new SubmitButton component * Some light code cleanup * Implemented SubmitButton component on Login * Added basic verification field * Styled Verification CodeField * Quick typo fix * Some lint cleaning * Removed header from view * Setup basic layout of Verification page Also created new SubmitButton component * Some light code cleanup * Implemented SubmitButton component on Login * Added basic verification field * Styled Verification CodeField * Quick typo fix * Some lint cleaning * Verification isn't that exciting lol * Removed header from view * Setup basic layout of Verification page Also created new SubmitButton component * Some light code cleanup * Implemented SubmitButton component on Login * Added basic verification field * Styled Verification CodeField * Quick typo fix * Some lint cleaning * Light lint cleaning * Still not that exciting lol * Removed misplaced accessibility labels * Added documentation to SubmitButton component * Implemented KeyboardAvoidingView * Fixed wizard position consistency * Updated Verification CodeField to take 6 digits * Removed marginVertical prop from SubmitButton * Updated text to represent 6 digit code 🤦🏽‍♂️ * Made Background use centered prop Also found another 4 that needed to be a 6 🤦🏽‍♂️
2020-07-09[TMA-104] Registration wizard & footer positioning fix (#14)Leon Jiang
* Remove KeyboardAvoidingView and add centered prop * Fix layout to match updated Background component * Add KeyboardAvoidingView to Login screen * Fix arrows/wizard position & fix keyboard avoidance effect
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[TMA63/4] - Presenting alert with result of login attempt (#12)Justin Shillingford
* Added 'Packages added' section to PR Template * Added a checklist item about rebasing before PR * Misspelled 'succinct' lol 😅 * Implemented POST request for login Presents alert based on response code * Made the alert messages more robust * Updated terminology and function documentation * Consolidated lines about rebasing Helps to keep the checklist short and concise * A redundant logo image somehow made it through lol * Moved API endpoints to a separate constants file * Refactored login to use async/await * [TMA-62] Basic Login Input Validation (#11) * 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 * Implemented POST request for login Presents alert based on response code * Made the alert messages more robust * Updated terminology and function documentation * A redundant logo image somehow made it through lol * Moved API endpoints to a separate constants file * Refactored login to use async/await * Removed artifact from merge conflict resolution Co-authored-by: Husam Salhab <47015061+hsalhab@users.noreply.github.com>
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-30Forgot to lintJustin Shillingford
2020-06-30Added ability to dismiss keyboard on outside tapJustin 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-29Removed credentials style definitionJustin 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 StyleSheet for Registration.tsxJustin Shillingford
The Linter was bothering me lol
2020-06-29Created LoginInput ComponentJustin Shillingford
2020-06-29Merge branch 'tma42-Login-Page-UI' of ↵Justin Shillingford
https://github.com/JustinShillingford/Frontend into tma42-Login-Page-UI
2020-06-29Removed App.tsx and sign_in_logo.pngJustin Shillingford
2020-06-29Added new user text and buttonJustin Shillingford
Also updated logo to be high-res and styled start button
2020-06-29Added the logo, text inputs, and buttonsJustin Shillingford
2020-06-29Added Tagg logo to Sign In PageJustin Shillingford
2020-06-29Added base app with background color for Sign InJustin Shillingford
Everything's in App.tsx for now since we haven't discussed structure
2020-06-26add assets folder with logo.pngLeon Jiang
2020-06-26Added new user text and buttonJustin Shillingford
Also updated logo to be high-res and styled start button
2020-06-25cleanup file structure, add react-navigation & basic routesLeon Jiang
2020-06-25Added Tagg logo to Sign In PageJustin Shillingford