Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ jobs:
CI: "1"
EXPO_TUNNEL: "false"
EXPO_DEVTOOLS_LISTEN_ADDRESS: 0.0.0.0
REACT_NATIVE_PACKAGER_HOSTNAME: 127.0.0.1
EXPO_PUBLIC_API_BASE: http://localhost:8000
steps:
- name: Checkout
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
EXPO_PUBLIC_API_BASE: http://localhost:8000
EXPO_TUNNEL: "false"
EXPO_DEVTOOLS_LISTEN_ADDRESS: 0.0.0.0
REACT_NATIVE_PACKAGER_HOSTNAME: 127.0.0.1
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
4 changes: 0 additions & 4 deletions frontend/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import { StatusBar } from "expo-status-bar";
import { AuthProvider } from "./context/Auth";
import SettingsBar from "./components/SettingsBar";
import HomeScreen from "./screens/HomeScreen";
import SignInScreen from "./screens/SignInScreen";
import SignUpScreen from "./screens/SignUpScreen";

const Stack = createNativeStackNavigator();

Expand All @@ -23,8 +21,6 @@ export default function App() {
<View style={{ flex: 1 }}>
<Stack.Navigator screenOptions={{ headerShown: false }}>
<Stack.Screen name="Home" component={HomeScreen} />
<Stack.Screen name="SignIn" component={SignInScreen} />
<Stack.Screen name="SignUp" component={SignUpScreen} />
</Stack.Navigator>
</View>
</NavigationContainer>
Expand Down
3 changes: 0 additions & 3 deletions frontend/app/__tests__/settingsbar.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ test('Shows Unsigned in: Sign In/Up Button', () => {
const Comp = require('../components/SettingsBar').default;

render(<Comp />);
expect(screen.getByText('Not signed in')).toBeTruthy();
expect(screen.getByText('Sign Up')).toBeTruthy();
expect(screen.getByText('Sign In')).toBeTruthy();
});

test('Login: Email and Sign out', () => {
Expand Down
14 changes: 0 additions & 14 deletions frontend/app/components/SettingsBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,6 @@ export default function SettingsBar() {
flexWrap: "wrap",
}}
>
<Text style={{ fontWeight: "700", color: "#ffffffff" }}>
{user ? `${user.email}` : "Not signed in"}
</Text>

<View style={{ flexDirection: "row", gap: 8 }}>
{!user ? (
<>
<Btn title="Sign Up" onPress={() => nav.navigate("SignUp")} />
<Btn title="Sign In" onPress={() => nav.navigate("SignIn")} />
</>
) : (
<Btn title="Sign out" onPress={signOut} />
)}
</View>
</View>
</View>
</View>
Expand Down
65 changes: 0 additions & 65 deletions frontend/app/screens/SignInScreen.tsx

This file was deleted.

65 changes: 0 additions & 65 deletions frontend/app/screens/SignUpScreen.tsx

This file was deleted.

Loading