Skip to content

Commit

Permalink
add more suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Batleram committed Sep 29, 2024
1 parent 9cb80a3 commit 753c09e
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 5 deletions.
2 changes: 1 addition & 1 deletion App/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function generateConfig(): Promise<React.ReactNode[]> {
},
body: JSON.stringify({
topics: CategoryList,
count: 3
count: 1
})
})
.then(data => data.json())
Expand Down
2 changes: 1 addition & 1 deletion App/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const CONFIG = {
/**
* @brief The max widgets that the app will generate for a given day
*/
MAX_WIDGETS: 15,
MAX_WIDGETS: 10,
/**
* @brief The time after which it is considered the end of day (military time)
*/
Expand Down
32 changes: 29 additions & 3 deletions Server/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,35 @@
"Try homemade flavored water",
"Start your day with a glass of water in the morning"
],
"learning": ["Read a book"],
"productivity": ["Plan ahead"],
"hygene": ["Brush your teeth"]
"learning": [
"Read a book"
"Set clear goals",
"Take notes and ask questions",
"Perform active recall to reinforce memory",
"Teach others what you learn",
"Reflect on your learning",
"Be curious",
"Break complex topics down"
],
"productivity": [
"Plan ahead",
"Prioritize tasks",
"Set time limits",
"Minimize distractions",
"Take breaks",
"Use productivity tools",
"Establish a routine",
"Set clear goals",
"Organize your workspace"
],
"hygene": [
"Brush your teeth",
"Use deodorant",
"Shower daily",
"Wash hands regularly",
"Disinfect your living space surfaces",
"Store food properly"
]
}

# Expects { topics: string[], count: number}
Expand Down

0 comments on commit 753c09e

Please sign in to comment.