aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-10-14[TMA-232] (Small change) Make call to the correct API on backend and a ↵Ashm Walia
nitpick (#55) * Make call to a the correct API on backend and a nitpick * Added a feedback (Alert) after successful image upload * Iterate through the returned data to see if the image was actually uploaded successfully
2020-10-13TMA - 232 Create caption screen with image picker (#53)Shravya Ramesh
* Added image picture functionality * Created caption screen and uploads to moments endpoint consisting of the picture and caption only Co-authored-by: Husam Salhab <47015061+hsalhab@users.noreply.github.com>
2020-10-13[TMA-238] (Small change) Do not skip invitation code verification (#54)Ashm Walia
* Do not skip invitation code verification * Check code length before calling the backend API * Nitpick
2020-10-13[TMA - 238] Added invitation code verification screen as the first ↵Ashm Walia
onboarding screen (#46) * Added invitation code verification screen as the first onboarding screen * Changed screen order on some screens and a quick check on back navigation
2020-10-08[TMA-229] Moments Barebones (#50)Ivan Chen
* added react native svg transformation to support svg icons * finished moments barebones view * resolved a warning from the svg file
2020-10-08HOT PATCH- Fix lock file issues (#49)Husam Salhab
* move async-storage * removed lock files * added lock files to gitignore * added the wrong file to gitignore
2020-10-08[TMA-267] Update logo and splash page with new design (#47)Husam Salhab
* hot patch * patching * update to new logo and fix ios 14
2020-10-08[TMA 68] Frontend Token Security (#43)Shravya Ramesh
* frontend tma-68 token security * removed: try catch while storing token to async, unnecessary console.log * login/registration exception handling and relocation * Modified promises, applied fetch restriction
2020-10-07[TMA-186] Instagram Taggs - Frontend (#45)Ivan Chen
* Renamed Moments(Bar) to Taggs(Bar) * created initial navigation and empty social media taggs screen * made more progress for the header styling * Finished social media taggs screen, organized code structure * linted stuff D: * moved bar height utility function to utils * moved color constants to constants * moved avatar title * updated comments for social media taggs * NOW the file is there
2020-10-07TMA 207 : Updated the Onboarding Process (#42)Ashm Walia
2020-10-07upgrade RN (#44)Husam Salhab
2020-09-30updated onboarding to use edit-profile endpoint (#41)Ivan Chen
2020-09-18Updated README.md (#40)Ivan Chen
2020-08-27[TMA-132] App Splash Screen (#38)Leon Jiang
* Add splash screen to onboarding stack * Fix improper wizard behavior * Set search bar autoCapitalize to none * Add splash screen fade transition * Update stack navigator screenOptions
2020-08-21Update app name/icon for iOS & Android (#36)Leon Jiang
2020-08-19[TMA-25*] Search Functionality Bug Fixes (#35)Leon Jiang
* Fix text input bugs * Disable scrolling when searching * Fix scroll function in results ScrollView * Resolve animation issues * [TMA-161] Recently Searched Users (#34) * Basic AsyncStorage code * Basic implementation complete Need to fix re-rendering bug * Removed errant comment * Fixed bug for rerendering upon addition to recents Need to fix bug for rerendering upon clearing * Fixed rerendering bug for clear * Only present recents header if users in recents * Lint cleaning * Basic AsyncStorage code * Basic implementation complete Need to fix re-rendering bug * Removed errant comment * Fixed bug for rerendering upon addition to recents Need to fix bug for rerendering upon clearing * Fixed rerendering bug for clear * Only present recents header if users in recents * Lint cleaning * Added comments for a function * Updated conditional presentation to use ternary * Created component for List Section Headers * Lint cleaning * Converted component to be for Recent Searches As opposed to just the list header * Fix text input bugs * Disable scrolling when searching * Fix scroll function in results ScrollView * Resolve animation issues Co-authored-by: Justin Shillingford <jgs272@cornell.edu>
2020-08-19[TMA-161] Recently Searched Users (#34)Justin Shillingford
* Basic AsyncStorage code * Basic implementation complete Need to fix re-rendering bug * Removed errant comment * Fixed bug for rerendering upon addition to recents Need to fix bug for rerendering upon clearing * Fixed rerendering bug for clear * Only present recents header if users in recents * Lint cleaning * Basic AsyncStorage code * Basic implementation complete Need to fix re-rendering bug * Removed errant comment * Fixed bug for rerendering upon addition to recents Need to fix bug for rerendering upon clearing * Fixed rerendering bug for clear * Only present recents header if users in recents * Lint cleaning * Added comments for a function * Updated conditional presentation to use ternary * Created component for List Section Headers * Lint cleaning * Converted component to be for Recent Searches As opposed to just the list header
2020-08-17[TMA-25] Search Functionality (#33)Leon Jiang
* Create tabs gradient component * Add endpoint constant and types for search * Create search functionality * [TMA-19*] Abstracted out Social Icon logic (#32) * Basic mostly functional implementation Need to figure out why API is being called so much * Hey it works now! Without a million API calls! * Fixed bug where app would crash upon login Also updated property names to be more appropriate * Added post datetime and social icon * Updated error message * Fixed typecheck errors I don't know that these fixes are the best since I don't think they're generalizable * Formatted datetime in PostHeader * Abstracted out social icon switching logic * Basic mostly functional implementation Need to figure out why API is being called so much * Hey it works now! Without a million API calls! * Fixed bug where app would crash upon login Also updated property names to be more appropriate * Added post datetime and social icon * Updated error message * Fixed typecheck errors I don't know that these fixes are the best since I don't think they're generalizable * Abstracted out social icon switching logic * Change View to TouchableOpacity * Create tabs gradient component * Add endpoint constant and types for search * Create search functionality * Change View to TouchableOpacity Co-authored-by: Justin Shillingford <jgs272@cornell.edu>
2020-08-17[TMA-19*] Abstracted out Social Icon logic (#32)Justin Shillingford
* Basic mostly functional implementation Need to figure out why API is being called so much * Hey it works now! Without a million API calls! * Fixed bug where app would crash upon login Also updated property names to be more appropriate * Added post datetime and social icon * Updated error message * Fixed typecheck errors I don't know that these fixes are the best since I don't think they're generalizable * Formatted datetime in PostHeader * Abstracted out social icon switching logic * Basic mostly functional implementation Need to figure out why API is being called so much * Hey it works now! Without a million API calls! * Fixed bug where app would crash upon login Also updated property names to be more appropriate * Added post datetime and social icon * Updated error message * Fixed typecheck errors I don't know that these fixes are the best since I don't think they're generalizable * Abstracted out social icon switching logic
2020-08-14[TMA-19] Social Media Post Container (#31)Justin Shillingford
* Basic mostly functional implementation Need to figure out why API is being called so much * Hey it works now! Without a million API calls! * Fixed bug where app would crash upon login Also updated property names to be more appropriate * Added post datetime and social icon * Updated error message * Fixed typecheck errors I don't know that these fixes are the best since I don't think they're generalizable * Formatted datetime in PostHeader
2020-08-10[TMA-160] Search Page Suggestions ("Explore") UI (#30)Leon Jiang
* Fix require cycle in Checkpoint.tsx * Create file structure for search * Add react-native-vector-icons to project * Create search page UI * Create search page UI * [TMA-65] Onboarding Link Social Media UI (#29) * Basic setup for SocialMediaLinker component * Added social media icons * Displayed 3 main social components * Layout components in a row * Added base Show More/Less button * Display all 9 socials with Show More button * Added different font colors for each linker * Realized that the check doesn't replace the text * Added type-checking to some constants * Updated state name * Fixed Checkpoint.tsx merge issue * Removed unnecessary path element * Fixed type issues on Verification.tsx * Create file structure for search * Add react-native-vector-icons to project * Create search page UI * Replace avatars with image placeholder * Add search bar placeholder Co-authored-by: Justin Shillingford <jgs272@cornell.edu>
2020-08-10[TMA-65] Onboarding Link Social Media UI (#29)Justin Shillingford
* Basic setup for SocialMediaLinker component * Added social media icons * Displayed 3 main social components * Layout components in a row * Added base Show More/Less button * Display all 9 socials with Show More button * Added different font colors for each linker * Realized that the check doesn't replace the text * Added type-checking to some constants * Updated state name * Fixed Checkpoint.tsx merge issue * Removed unnecessary path element * Fixed type issues on Verification.tsx
2020-08-06[TMA-49] Add static boxes (#28)Husam Salhab
* adds BigInput component * removes dummy fields * adds website TaggInput * adds handleWebsiteUpdate() * added website regex * added form * added handleFocusChange() * sends website in request * moves input components to onboarding * allow for empty string in website regex * adds bio regex * adds bio field * added bioRef for focusChange * added react-native-datepicker * moves TaggInput * add imports * add TaggDatePicker * fix typescript interface * remove TouchableComponent type * added date and selectpicker * added date and dropdown * adds momentjs * remove warnings from optional fields * remove debugging console.log * Removes isValidBirthdate * moves @types/react-native-datepicker to devdepnden * update package versioning * fix positioning * added checkpoint * update button styling * update placeholder * linting and other fixes
2020-08-05[TMA-122] User Profile Screen UI (#27)Leon Jiang
* Fix yarn lint issues * Add react-native-svg to project * Create UserType & PostType * Create temporary Post component * Fix import cycle warning, update AuthContext * Update onboarding screen imports * Update config files * Add rn-fetch-blob package * Update types * Add profile fetching to AuthContext * Update post component * Import placeholder images from designs * Add profile UI components * Create screen offset constants * Add new api endpoints * Create screen layout utils * Create Profile screen UI * Remove some unused styling * Restructure ProfileScreen and fix animations * Add gradient back to screen * Update Moment circle styling
2020-07-30TMA-168: Add Gradient to Navigation Bar (#26)meganhong
* Renamed Profile in Onboarding and added dummy main screens * Comments for new screens created * change navigation in verification to profileonboarding * added icons and tab navigation * added icons to navigation bar * add clicked icons * added 2x and 3x icon sizes * rename for resizing to work * remove upload clicked as informed by design * changed initialRouteName back to Login * created NavigationIcon component to hold all the nav icons * added default case * changed intialRouteName back to Login * fixed icon names * fixed icon names * add navigation to home page after login * added gradient and changed screens to transparent * renamed Routes to OnboardingStack * rerouting navigation * pulling from master * merge conflicts * added entryway to home on profileonboarding * changed gradient into custom component * removed a method that i had commented out Co-authored-by: Megan Hong <meganhong31@g.ucla.edu>
2020-07-27TMA-167: Create Navigation Bar (#25)meganhong
* Renamed Profile in Onboarding and added dummy main screens * Comments for new screens created * change navigation in verification to profileonboarding * added icons and tab navigation * added icons to navigation bar * add clicked icons * added 2x and 3x icon sizes * rename for resizing to work * remove upload clicked as informed by design * changed initialRouteName back to Login * created NavigationIcon component to hold all the nav icons * added default case * changed intialRouteName back to Login * fixed icon names * fixed icon names * add navigation to home page after login Co-authored-by: Megan Hong <meganhong31@g.ucla.edu>
2020-07-21Tma119: Split Registration Screen (#23)meganhong
* split registration screen * styling * changed 4:2 to 3:3 * fade wizard with keyboard visibility * added regex for first and last name * accidentally saved videos in this folder * shortened fade duration to 300ms * add fade to Registration2 * rename RegistrationOne and RegistrationTwo * moved keyboard logic into RegistrationWizard * moved loading indicator out of the way * moving loading to outside of keyboard avoiding view * moved loading indicator up Co-authored-by: Megan Hong <meganhong31@g.ucla.edu>
2020-07-20[TMA-134] Profile Picture Upload (#22)Leon Jiang
* Fix styling, remove unnecessary state * Change large profile to square crop, restyle * Disable gestures on Verification and Profile screens * Forward username and ID to Profile screen * Add API request upon submit & filler components * Restore gestures to Verification and Profile * Rewrite network failure error message * Update profile request form keys
2020-07-15TMA116 - Access Photo Gallery (#21)meganhong
* profile picture go to gallery methods added * fitting images into circles * styling stuff * removed debug code * changed image size to 580x580 for profile pic or else quality is low * profile picture go to gallery methods added * fitting images into circles * styling stuff * removed debug code * changed image size to 580x580 for profile pic or else quality is low * change circle to square cropper * merging * remove file from gitignore * fitting images into circles * styling stuff * remove file from gitignore * changing crop back to circle Co-authored-by: meganhong <meganhong31@g.ucla.edu>
2020-07-15[TMA-96] Verification Page Logic (#19)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 * Added basic implementation of send-otp request * Added indicator to indicate progress during fetch * Handled verification logic * Fixed Verification Screen Routing naming * Passed username and email to verification * Some lint cleaning * Resend Code button is now fully functional * Some lint cleaning * Handling TypeScript type checking errors * 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 * Some lint cleaning * 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 * 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 * Some lint cleaning * 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 * Added basic implementation of send-otp request * Added indicator to indicate progress during fetch * Handled verification logic * Fixed Verification Screen Routing naming * Passed username and email to verification * Some lint cleaning * Resend Code button is now fully functional * Some lint cleaning * Handling TypeScript type checking errors * Lint cleaning * Fixed a merge conflict resolution stowaway * Final lint cleaning before PR * Clear CodeField upon code resend * Baby lint * Navigate to Profile page upon verification * Improved invalid code message * Added documentation for new functions * Baby baby lint * Updated Wizard to have 4 steps * Statuses aren't verifications lmao
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-10Update CODEOWNERS (#16)Husam Salhab
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-07-06Merge pull request #10 from ↵Husam Salhab
JustinShillingford/tmaXX-Add-Package-Info-To-PR-Template Add Package and Rebase Info to PR Template
2020-07-06Consolidated lines about rebasingJustin Shillingford
Helps to keep the checklist short and concise
2020-07-02Misspelled 'succinct' lol 😅Justin Shillingford
2020-07-02Added a checklist item about rebasing before PRJustin Shillingford
2020-07-02Added 'Packages added' section to PR TemplateJustin Shillingford
2020-06-30Merge pull request #9 from JustinShillingford/tma42-Login-Page-UIHusam Salhab
[TMA-61] Login Page UI with no real functionality
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