aboutsummaryrefslogtreecommitdiff
path: root/src/constants
AgeCommit message (Collapse)Author
2020-12-08[TMA-338, TMA-400] Zoom out on profile page and adjust follow/block button ↵Shravya Ramesh
touchable opacity (#132) * changed dimensions of username, bio, website, moment tiles; Changed padding in profile body; Added padding between moment tiles; * adjusted spacing between profile cutout and body * adjusting space below profile cutout accoring to device * Ensuring userId exists before loading taggs * Made tagg icons responsive according to device dimensions * shoft profile picture to the left * Fix bug * small * flex * flex remove * Shrunk taggs bar icons and readjusted padding around it Co-authored-by: Ashm Walia <ashmwalia@outlook.com>
2020-12-07[TMA - 431] Make socials browsable (#134)Ashm Walia
* Open socials apart from twitter on browser * Revert "Open socials apart from twitter on browser" This reverts commit 5b6626811ab7cf9a944b22a1d1d5c4047fe47c64. * Open socials apart from twitter on browser * Fixed * make twitter round * Make some more placeholders browsable Co-authored-by: Ivan Chen <ivan@tagg.id>
2020-11-21[TMA-356] Updated icons (#118)Ivan Chen
* updated icons * added small icons * fixed a bug * now using the correct assets, fixed a bug
2020-11-20[TMA-375] Added discover users to explore (#119)Shravya Ramesh
* Added discover users to explore * Filtered following users out * Removed reload button and filtering following users from discover page * Wrapped contents * Preview type in types.ts
2020-11-17[TMA-382] Edit profile screen (#121)Shravya Ramesh
* added more icon * a less fat icon * and the actual icon asset * bottom drawer skeleton done * removed warning, better code * a more completed skeleton done * bottom drawer done! * Added content container, sent birthday picker props, minor styling * differenciating defined and undefined birthdate in birthdate, datepicker * removed restricting width for TaggDropDown * Added edit profile screen to navigator stack * Add EditProfile view, refresh profile view on save * Removes unnecessary import * Stores gender and birthdate as part of ProfileType * Added gender, birthdate, isEditProfile to AuthProv * Conditional view applied for edit profile button * Includes discarded changes in previous merge- BD * removed unused icon * resolved scary warnings * added icon to drawer * Small fix * minor code improvement * sc * fixed birthday bug * custom gender updation fixed * small change to birthday default value * missed something * cleaned up types! Warnings gone! * fixed another gender picker bug * fixed gender bug and cleaned up logic * removed warning, MUCH better code now Co-authored-by: Ivan Chen <ivan@thetaggid.com> Co-authored-by: Ashm Walia <ashmwalia@outlook.com>
2020-11-11[TMA-383] Added report button moment (#114)Shravya Ramesh
* Added button on individual moment page to report an issue * Report issue button disappears when clicked on and reappears when alert is closed * Small change * Moved sendReport() to a ReportingService * following user's report button now appears * Update ReportingService.ts Added alert * Added back report button * moved button back to the bottom * Small change Co-authored-by: Ashm Walia <ashmwalia@outlook.com> Co-authored-by: Husam Salhab <47015061+hsalhab@users.noreply.github.com>
2020-11-10[TMA - 388] Block Users (Frontend) (#115)Ashm Walia
* initial * Final * sc * sc * sall change * Remove follow button when blocked * Small change * small changes again
2020-11-05[TMA-344] Tabs bar margin, Social Taggs margin (#108)Ivan Chen
* fixed margin for smaller screen * fixed header avatar * cleaned up code, improved logic * yarn lint * dynamically calculate avatar and header * changed back tint color and use 1% for tabs bar margin * last edit to avatar size Co-authored-by: Husam Salhab <47015061+hsalhab@users.noreply.github.com>
2020-11-04changed username from min 6 to min 3 chars (#105)Shravya Ramesh
Co-authored-by: Ashm Walia <40498934+ashmgarv@users.noreply.github.com>
2020-11-03Fixed password message and BioRegex (#94)Tanmay Bhatia
* Fixed password message and BioRegex * Restored some of the earlier changes
2020-11-02Hotfix new icons (#86)Ivan Chen
* changed to use new social icons * changed padding * more dimension change * removing them then will re-add them to let git update them * icon sizes are correct now * fixed icon size on onboarding
2020-10-27done (#81)Ivan Chen
2020-10-27[TMA263] Added Phone Verification UI (#74)George Rusu
* [TMA263] Added Phone Verification UI * include email field Co-authored-by: george <grus6928@gmail.com> Co-authored-by: hsalhab <husam_salhab@brown.edu>
2020-10-26[TMA-13] List of following (#72)Husam Salhab
* move async-storage * removed lock files * added lock files to gitignore * added the wrong file to gitignore * added following list * added numFollowers; removed redundant code * removed followercount stuff for now * Fixed follower count * Made come more changes Co-authored-by: Ashm Walia <ashmwalia@outlook.com>
2020-10-26Merge branch 'master' of https://github.com/shravyaramesh/Frontend into ↵Shravya Ramesh
master (#75)
2020-10-25[TMA-237] Added modal for user registration and redirect (#61)George Rusu
* move async-storage * removed lock files * added lock files to gitignore * added the wrong file to gitignore * added modal for user registration and redirect * api call to get list of linked socials for each user to display appropriate icon * fixed indentation and linting * refactored modal and browser sign-in * now dynamically adding linked and unlinked taggs, added a bunch of TODOs for tomorrow * added svg icons * done? finished taggs bar UI and all the navigations including modal * fixed some bugs and added more TODOs * fixed some bugs and refactored posts fetching logic * fixed taggs bar bug * done, it will update everything correctly * added comments * added tiktok Co-authored-by: hsalhab <husam_salhab@brown.edu> Co-authored-by: george <grus6928@gmail.com> Co-authored-by: Ivan Chen <ivan@thetaggid.com>
2020-10-24[TMA 302] Social media linking to login (#71)Ashm Walia
* Social media linking to login * Social media linking to login
2020-10-24[TMA 301] Add follow/unfollow button to profile (#70)Ashm Walia
* Follow Unfollow User * Fixed an issue and moved api call to Content.tsx * last * Small changes
2020-10-24Updated BioRegex to include additional characters (#66)Tanmay Bhatia
* Updated BioRegex to include additional characters * Removed one '-'
2020-10-22[TMA 236] Comments PR (#64)Ashm Walia
* Added comments count and retrieve comments * Working draft * The one before cleanup * Finally * Added time icon and major refactoring * Small fix for social media taggs * Addressed review comments
2020-10-22[TMA-242] Twitter and Facebook Tagg View (#63)Ivan Chen
* modified the way we store social media data, initial skeleton * MVP? Twitter done? * cleaned up some things * forgot to lint and cleaned up some more code * minor change to text display * fixed some UI bug, linting, and minor adjustment to posts UI * fixed a couple of things * added DateLabel, Facebook taggs view, fixed minor stuff * Some small changes for the PR * removed unused Feed Co-authored-by: Ashm Walia <ashmwalia@outlook.com>
2020-10-20[TMA - 278] Add actual Terms And Conditions text (#60)Ashm Walia
* Styled and added ToC * Bolded some content
2020-10-19Tma235/231 Individual view and horizontal view (#59)Shravya Ramesh
* Implemented modal stack navigation for moment view, created a rough UI for individual moment view [incl: title, image(not displayed)] * bare bones beginnning * Created individual moment screen, moment tile for horizontal view * Alert * Fix initial route Co-authored-by: Ashm Walia <ashmwalia@outlook.com> Co-authored-by: Ashm Walia <40498934+ashmgarv@users.noreply.github.com>
2020-10-19[TMA-272] Add browser login flow to Instagram social linking (#56)Ivan Chen
* added in-app browser package and added social link for instagram * added comments and improved code clarity * added more skeleton code * Finished FB linking * updated facebook oauth to request for permission * finished twitter sign on * minor fixes
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-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-09-30updated onboarding to use edit-profile endpoint (#41)Ivan Chen
2020-08-21Update app name/icon for iOS & Android (#36)Leon Jiang
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-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-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-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-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-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>