Browse Source

Wrote README and change fron ing to esp

Eduardo Santin 2 years ago
parent
commit
8a2d4c5325
4 changed files with 46 additions and 16 deletions
  1. 25
    5
      README.md
  2. 3
    3
      screens/main/Cita.js
  3. 16
    6
      screens/main/Search.js
  4. 2
    2
      screens/main/StateTime.js

+ 25
- 5
README.md View File

@@ -1,5 +1,25 @@
1
-#Para poder correr el proyecto: 
2
-Instalar Nodejs, que incluye npm <br>
3
-npm install --global expo-cli<br>
4
-Instalar los paquetes que aparecen en package-lock.json usando<br>
5
-npm install nombreDelPaquete<br>
1
+Freehand App developed by ErEduGilMor: Ernesto Ortiz, Eduardo Santin, Gilberto Cancel, Mortimez Ojeda
2
+
3
+
4
+Viewing the project:
5
+The Freehand app is not currently published in stores. The quickest way
6
+to run and view the app without running the Expo CLI is by accessing this address: https://expo.dev/@freehand/freehand. 
7
+If the link is opened on pc browser a QR code and a URL is provided to run the Freehand app on your mobile device. If
8
+the link is opened on a mobile browser the option "Open with Expo Go" will appear instead.
9
+
10
+
11
+Requirements:
12
+Node.js LTS release
13
+Expo CLI (npm i -g expo-cli)
14
+Android Studio/Xcode/Expo Go application
15
+
16
+
17
+Running the project using the provided code:
18
+1.Create an empty directory
19
+2.Enter the created directory and Git clone the Freehand repo, git clone -b Freehand https://git.ccom.uprrp.edu/ccorrada/ErEduGilMor.git
20
+4.Run npm install to install all the necessary depencies to run Freehand.
21
+5.Create an Expo account at https://expo.dev/
22
+6.Run the expo login command to log in to your Expo account.
23
+7.Run the expo start command to start the Expo CLI.
24
+8.Run the android or ios commands to start up your simulator. As a provided alternative, you can also scan the 
25
+provided QR code to launch the application on the Expo Go App.   

+ 3
- 3
screens/main/Cita.js View File

@@ -103,11 +103,11 @@ export function Cita({route, navigation}) {
103 103
   const create_meet = () => {
104 104
     Alert.alert(
105 105
 
106
-      "IMPORTANT!",
107
-      "You are about to be redirected to the Meet app. After creating a meeting, you must share the meet link with the client. Do you want to continue?",
106
+      "IMPORTANTE!",
107
+      "Al continuar, se mandara a la aplicacion de Google Meet, recuerda crear y compartir el enlace de la reunion con su cliente. Continuar?",
108 108
       [
109 109
         {
110
-          text: "Cancel",
110
+          text: "Cancelar",
111 111
           // onPress: () => console.log("Cancel Pressed"),
112 112
           style: "cancel"
113 113
         },

+ 16
- 6
screens/main/Search.js View File

@@ -385,12 +385,16 @@ function Search({route, navigation }) {
385 385
     //is not searching for anything yet 
386 386
     // console.log(tags.length)
387 387
     // console.log(city.id)
388
+
389
+    const users = []
388 390
     if (tags.length === 0 && (typeof city.id ==="undefined" || city.id === -1)) {
391
+      
392
+      setUsers(users)
389 393
       return
390 394
     }
391 395
 
392 396
     //reset the users usestate to empty
393
-    const users = []
397
+    
394 398
     
395 399
 
396 400
     const db = firebase.firestore()
@@ -770,12 +774,12 @@ function Search({route, navigation }) {
770 774
     <ScrollView>
771 775
     <View style={{ margin: 30 }}>
772 776
       <View style={{ width: '100%', alignItems: 'center' }}>
773
-        <Text style={{ fontSize: 30, paddingBottom: 20 }}>Search</Text>
777
+        <Text style={{ fontSize: 30, paddingBottom: 20 }}>Busqueda</Text>
774 778
       </View>
775 779
 
776
-      <Text style={{ fontSize: 20, paddingBottom: 10 }}>Interpreter city</Text>
780
+      <Text style={{ fontSize: 20, paddingBottom: 10 }}>Pueblo</Text>
777 781
       <SelectBox
778
-        label="Select single"
782
+        label="Selecciona"
779 783
         options={City}
780 784
         value={selectedCity}
781 785
         onChange={onChange()}
@@ -786,12 +790,14 @@ function Search({route, navigation }) {
786 790
 
787 791
 
788 792
       />
789
-      <Text style={{ fontSize: 20, paddingBottom: 10 }}>Interpreter Tags</Text>
793
+
794
+      
795
+      <Text style={{ fontSize: 20, paddingBottom: 10, paddingTop:20 }}>Tags de interprete</Text>
790 796
 
791 797
       
792 798
 
793 799
       <SelectBox
794
-        label="Select multiple"
800
+        label="Selecciona multiple"
795 801
         options={Tags}
796 802
         selectedValues={selectedTags}
797 803
         onMultiSelect={onMultiChange()}
@@ -817,9 +823,13 @@ function Search({route, navigation }) {
817 823
           />
818 824
 
819 825
 
826
+
827
+      <View style={{ width: '100%', paddingTop:40, paddingBottom: 30 }}>
820 828
       {/* button that will fetch the users */}
821 829
       <Button title='Buscar' onPress={() => fetchUsers(selectedTags, selectedCity)}/>
822 830
 
831
+      </View>
832
+
823 833
 
824 834
       <FlatList
825 835
         numColumns={1}

+ 2
- 2
screens/main/StateTime.js View File

@@ -202,7 +202,7 @@ export default class Time extends Component{
202 202
     return(
203 203
       <TouchableWithoutFeedback style={styles.stdcontainer}>
204 204
         <ImageBackground style={styles.regcontainer} source={require('../../assets/yellow-white.jpg')}>
205
-          <Text style={styles.qsttxt}> Select the Start and End Time for the Appointment </Text>
205
+          <Text style={styles.qsttxt}> Seleccione tiempo de inicio y de terminacion de la cita. </Text>
206 206
         <Button style={styles.cenregbutton} title="8:00am" onPress={() => this.time_set(1,)}/>
207 207
         <Button style={styles.cenregbutton} title="9:00am" onPress={() => this.time_set(2,)}/>
208 208
         <Button style={styles.cenregbutton} title="10:00am" onPress={() => this.time_set(3,)}/>
@@ -210,7 +210,7 @@ export default class Time extends Component{
210 210
         <Button style={styles.cenregbutton} title="12:00pm" onPress={() => this.time_set(5,)}/>
211 211
         <Button style={styles.cenregbutton} title="1:00pm" onPress={() => this.time_set(6,)}/>
212 212
         <Button style={styles.cenregbutton} title="2:00pm" onPress={() => this.time_set(7,)}/>
213
-        <Button style={styles.regbutton} title="Request Appointment" onPress={() => this.time_assignment()}/>
213
+        <Button style={styles.regbutton} title="Pedir Cita" onPress={() => this.time_assignment()}/>
214 214
         </ImageBackground>
215 215
       </TouchableWithoutFeedback>
216 216
     );