Skip to content

Commit 62018ab

Browse files
committed
🐛 fix: Update app naming conventions to use "ToDo" consistently across the application
1 parent b6c833f commit 62018ab

File tree

11 files changed

+22
-22
lines changed

11 files changed

+22
-22
lines changed

client/app.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"expo": {
3-
"name": "app",
4-
"slug": "app",
3+
"name": "✅ ToDoApp",
4+
"slug": "todoapp",
55
"version": "1.0.0",
66
"orientation": "portrait",
77
"icon": "./assets/images/icon.png",
@@ -46,4 +46,4 @@
4646
}
4747
}
4848
}
49-
}
49+
}

client/app/(auth)/_layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default function AuthLayout() {
1414
screenOptions={{
1515
header: () => (
1616
<NavigationHeader
17-
title="Todo App"
17+
title="✅ ToDoApp"
1818
subtitle="Authentication"
1919
showBack={true}
2020
showAuth={false}

client/app/(user)/_layout.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ export default function TabLayout() {
2727

2828
if (routeString === 'newTodo') {
2929
return {
30-
title: 'Add New Todo',
30+
title: 'Add New ToDo',
3131
subtitle: 'Create a new task',
3232
};
3333
}
3434

3535
if (segments.some(segment => String(segment) === 'todo')) {
3636
return {
37-
title: 'Todo List',
37+
title: 'ToDo List',
3838
subtitle: 'Manage your tasks',
3939
};
4040
}
@@ -91,11 +91,11 @@ export default function TabLayout() {
9191
<Tabs.Screen
9292
name="todo"
9393
options={{
94-
title: 'Todo',
94+
title: 'ToDo',
9595
headerShown: true,
9696
header: () => (
9797
<NavigationHeader
98-
title="Todo List"
98+
title="ToDo List"
9999
subtitle="Manage your tasks"
100100
/>
101101
),

client/app/(user)/todo/_layout.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ export default function TodoStack() {
1010
<Stack.Screen
1111
name="index"
1212
options={{
13-
title: 'Todo List',
13+
title: 'ToDo List',
1414
}}
1515
/>
1616
<Stack.Screen
1717
name="newTodo"
1818
options={{
19-
title: 'Add New Todo',
19+
title: 'Add New ToDo',
2020
}}
2121
/>
2222
<Stack.Screen
23-
name="[id]"
23+
name="editTodo"
2424
options={{
25-
title: 'Edit Todo',
25+
title: 'Edit ToDo',
2626
}}
2727
/>
2828
</Stack>

client/app/(user)/todo/editTodo.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function EditTodoTab() {
2525
return (
2626
<View flex={1} justifyContent="center" alignItems="center" padding="lg">
2727
<Text variant="bodyMedium" color="textPrimary">
28-
Todo not found
28+
ToDo not found
2929
</Text>
3030
</View>
3131
);
@@ -55,7 +55,7 @@ export default function EditTodoTab() {
5555
color="textPrimary"
5656
style={{ marginBottom: 24 }}
5757
>
58-
Edit Todo
58+
Edit ToDo
5959
</Text>
6060

6161
<View style={{ gap: 20 }}>
@@ -96,7 +96,7 @@ export default function EditTodoTab() {
9696
/>
9797

9898
<Button
99-
title="Delete Todo"
99+
title="Delete ToDo"
100100
variant="secondary"
101101
size="large"
102102
fullWidth

client/app/(user)/todo/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default function TodoIndexTab() {
2424
color="textPrimary"
2525
style={{ marginBottom: 16 }}
2626
>
27-
Todo List
27+
ToDo List
2828
</Text>
2929

3030
{isLoading && (
@@ -85,7 +85,7 @@ export default function TodoIndexTab() {
8585
</View>
8686

8787
<View marginLeft="md">
88-
<Link href={`/todo/editTodo?id=${item.id}`} asChild>
88+
<Link href={`/(user)/todo/editTodo?id=${item.id}`} asChild>
8989
<Text variant="labelMedium" color="interactive">
9090
✏️ Edit
9191
</Text>

client/app/(user)/todo/newTodo.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default function NewTodoTab() {
3333
color="textPrimary"
3434
style={{ marginBottom: 24 }}
3535
>
36-
Add New Todo
36+
Add New ToDo
3737
</Text>
3838

3939
<View style={{ gap: 20 }}>
@@ -64,7 +64,7 @@ export default function NewTodoTab() {
6464
</View>
6565

6666
<Button
67-
title="Add Todo"
67+
title="Add ToDo"
6868
variant="primary"
6969
size="large"
7070
fullWidth

client/app/_layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default function RootLayout() {
99
screenOptions={{
1010
header: () => (
1111
<NavigationHeader
12-
title="Todo App"
12+
title="✅ ToDoApp"
1313
showBack={false}
1414
/>
1515
),
@@ -21,7 +21,7 @@ export default function RootLayout() {
2121
title: 'Home',
2222
header: () => (
2323
<NavigationHeader
24-
title="Todo App"
24+
title="✅ ToDoApp"
2525
subtitle="Welcome back!"
2626
showBack={false}
2727
/>

client/app/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const Index = () => {
2727
<View flex={1} justifyContent="center">
2828
<View marginBottom="xl">
2929
<Text variant="headlineMedium" color="textPrimary" align="center">
30-
Welcome to Your Tasks App
30+
ToDoApp
3131
</Text>
3232
<Text
3333
variant="bodyLarge"

client/assets/images/favicon.png

241 KB
Loading

0 commit comments

Comments
 (0)