diff --git a/README.md b/README.md index 4e689e59..675b8e8c 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ![banner](/client/assets/images/github/Echo_banner_small2.png) -Echo is a new chat messaging app aimed at allowing you to talk to strangers *(or as we like to say, friends who haven't met 😆)* within a radius around you. This allows for more time/location relevant chats as well as allowing users to connect with the people who are closer to them. Unlike many chat apps, our app aims to keep interactions in real time and doesn't save chats/information after you are done chatting! Just like real conversations, we believe the best socializing happens on the spot! +Echo is a new chat messaging app aimed at allowing you to talk to strangers _(or as we like to say, friends who haven't met 😆)_ within a radius around you. This allows for more time/location relevant chats as well as allowing users to connect with the people who are closer to them. Unlike many chat apps, our app aims to keep interactions in real time and doesn't save chats/information after you are done chatting! Just like real conversations, we believe the best socializing happens on the spot! ## Overview @@ -10,6 +10,11 @@ This repository holds the all of the code that our Echo app utilizes (pretty coo If you are interested in contributing to the UI/UX design of our app, please see our Figma design [here](https://www.figma.com/file/2mvddKeA4XMODdCidYkDid/Proximity-Chat-App?type=design&node-id=0%3A1&mode=design&t=V5A9MVRhlmdxGH0M-1). Improvements here are always welcome. +## Useful Links + +- [Documentation](https://osc-proximity-documentation.vercel.app/) 📖 +- [Figma Design](https://www.figma.com/file/2mvddKeA4XMODdCidYkDid/Proximity-Chat-App?type=design&node-id=0%3A1&mode=design&t=V5A9MVRhlmdxGH0M-1) 🖌️ + ## Installation Unfortunately, as of Spring Semester of 2024, the app is still under development and you cannot download justttt yet. However, we promise it will be out soon! 🙏 @@ -17,11 +22,13 @@ Unfortunately, as of Spring Semester of 2024, the app is still under development Want to speed up the development? Join our team by follow the instructions in [contributing](#contributing)! ## Contributing + As an open source project, developers of all walks of life are encouraged to pick up issues and speed up the development of the app! However, it is probably a good idea to get yourself used to the app's structure! If you want to set up the app for development follow the steps in the [documentation](https://osc-proximity-documentation.vercel.app/). 📖 ## About Us + The Echo app team was founded in Fall 2023 by 💻 [@h1dvp](https://github.com/h1divp) + ⚡ [@doigdaniels](https://github.com/doigdaniels) + 🦆 [@AlexanderWangY](https://github.com/AlexanderWangY). Our team consists of a handful of dedicated and talented developers from the University of Florida. We started out of and currently reside within UF's Open Source Club. We are always on the lookout for more developers trying to get their hands dirty on a real project! We would love to have **YOU** join our team! ❤️ @@ -31,6 +38,7 @@ Our team consists of a handful of dedicated and talented developers from the Uni This project is licensed under the [GNU General Public License v3.0](LICENSE) (GPL-3.0). If you intend to make a fork or a different distribution of our work, please remember to retain the same license. Other than that, happy hacking! ## Acknowledgments + A big thanks to [Open Source Club @ UF](https://github.com/ufosc) for hosting the development of this app! And last but not least, **THANK YOU**! Your contributions and commitment make the app what it is! ❤️🥳 diff --git a/client/.eslintrc.js b/client/.eslintrc.js index dce112ab..fe175112 100644 --- a/client/.eslintrc.js +++ b/client/.eslintrc.js @@ -1,4 +1,14 @@ // https://docs.expo.dev/guides/using-eslint/ module.exports = { - extends: 'expo', + extends: "expo", + rules: { + "import/no-unresolved": [2, { ignore: ["^@env"] }], + }, + settings: { + "import/resolver": { + node: { + extensions: [".js", ".jsx", ".ts", ".tsx"], + }, + }, + }, }; diff --git a/client/.gitignore b/client/.gitignore index d70c2ec8..661619fb 100644 --- a/client/.gitignore +++ b/client/.gitignore @@ -35,4 +35,4 @@ yarn-error.* # typescript *.tsbuildinfo -.prettierrc \ No newline at end of file +.prettierrc diff --git a/client/app/components/settings/TextInputs.tsx b/client/app/components/settings/TextInputs.tsx new file mode 100644 index 00000000..62d43c85 --- /dev/null +++ b/client/app/components/settings/TextInputs.tsx @@ -0,0 +1,171 @@ +import React, {useState} from "react"; +import { + Button, + Modal, + SafeAreaView, + Text, + TextInput, + View, + StyleSheet, + Pressable, + TouchableWithoutFeedback +} from "react-native"; + +type GenericTextInputProps = { + defaultValue: string; + isVisible: boolean; + visibleSetter: Function; + outputSetter: Function; + headerText: string; + errorMessage: string; + maxLength: number; + inputValidator: Function; + +} + +const GenericTextInput = ({ + defaultValue, + isVisible, + visibleSetter, + outputSetter, + headerText, + errorMessage, + maxLength, + inputValidator, +}: GenericTextInputProps) => { + const[textInput, setTextInput] = useState(''); + const[error, setError] = useState(''); + + return( + { + visibleSetter(false); + setError(''); + }} + > + { + visibleSetter(false); + setError(''); + }}> + + + + {headerText} + {error} + {setTextInput(text); setError('');}} + /> + +