Skip to content

Commit bd59192

Browse files
authored
Merge pull request #12 from europanite/feature/develop
Feature/develop
2 parents b755e17 + b507012 commit bd59192

7 files changed

Lines changed: 0 additions & 153 deletions

File tree

.github/workflows/docker.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ jobs:
99
CI: "1"
1010
EXPO_TUNNEL: "false"
1111
EXPO_DEVTOOLS_LISTEN_ADDRESS: 0.0.0.0
12-
REACT_NATIVE_PACKAGER_HOSTNAME: 127.0.0.1
1312
EXPO_PUBLIC_API_BASE: http://localhost:8000
1413
steps:
1514
- name: Checkout

.github/workflows/frontend.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111
EXPO_PUBLIC_API_BASE: http://localhost:8000
1212
EXPO_TUNNEL: "false"
1313
EXPO_DEVTOOLS_LISTEN_ADDRESS: 0.0.0.0
14-
REACT_NATIVE_PACKAGER_HOSTNAME: 127.0.0.1
1514
steps:
1615
- name: Checkout
1716
uses: actions/checkout@v4

frontend/app/App.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ import { StatusBar } from "expo-status-bar";
88
import { AuthProvider } from "./context/Auth";
99
import SettingsBar from "./components/SettingsBar";
1010
import HomeScreen from "./screens/HomeScreen";
11-
import SignInScreen from "./screens/SignInScreen";
12-
import SignUpScreen from "./screens/SignUpScreen";
1311

1412
const Stack = createNativeStackNavigator();
1513

@@ -23,8 +21,6 @@ export default function App() {
2321
<View style={{ flex: 1 }}>
2422
<Stack.Navigator screenOptions={{ headerShown: false }}>
2523
<Stack.Screen name="Home" component={HomeScreen} />
26-
<Stack.Screen name="SignIn" component={SignInScreen} />
27-
<Stack.Screen name="SignUp" component={SignUpScreen} />
2824
</Stack.Navigator>
2925
</View>
3026
</NavigationContainer>

frontend/app/__tests__/settingsbar.test.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ test('Shows Unsigned in: Sign In/Up Button', () => {
1919
const Comp = require('../components/SettingsBar').default;
2020

2121
render(<Comp />);
22-
expect(screen.getByText('Not signed in')).toBeTruthy();
23-
expect(screen.getByText('Sign Up')).toBeTruthy();
24-
expect(screen.getByText('Sign In')).toBeTruthy();
2522
});
2623

2724
test('Login: Email and Sign out', () => {

frontend/app/components/SettingsBar.tsx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,6 @@ export default function SettingsBar() {
4949
flexWrap: "wrap",
5050
}}
5151
>
52-
<Text style={{ fontWeight: "700", color: "#ffffffff" }}>
53-
{user ? `${user.email}` : "Not signed in"}
54-
</Text>
55-
56-
<View style={{ flexDirection: "row", gap: 8 }}>
57-
{!user ? (
58-
<>
59-
<Btn title="Sign Up" onPress={() => nav.navigate("SignUp")} />
60-
<Btn title="Sign In" onPress={() => nav.navigate("SignIn")} />
61-
</>
62-
) : (
63-
<Btn title="Sign out" onPress={signOut} />
64-
)}
65-
</View>
6652
</View>
6753
</View>
6854
</View>

frontend/app/screens/SignInScreen.tsx

Lines changed: 0 additions & 65 deletions
This file was deleted.

frontend/app/screens/SignUpScreen.tsx

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)