Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mood graph, AI tips based on entries, and new UI #63

Merged
merged 10 commits into from
Oct 29, 2024
Merged

Conversation

kparajuli21
Copy link
Collaborator

mood.graph.recording.mp4


user = mongo_db_facade.get_user_by_id(user_id)
print("USER ID: ",user.user_id)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like you forgot to remove these (not blocking you on these tho)


log_entry_blueprint = Blueprint("logEntry", __name__)

@log_entry_blueprint.route("/logEntry", methods=["POST"])
def log_entry():
print("log_entry route was hit") # Check if this gets printed
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as below

<Text style={styles.subtitle}>An overview of your wellbeing</Text>

<View style={styles.section}>
<Text style={styles.title}>Insights</Text>
<Text style={styles.subtitle}>You felt [less stressed] when you [did yoga] this week.</Text>
<Text style={styles.caption}>{tips ? tips.message : "Loading tips..."}</Text>
Copy link
Collaborator

@MerwinAamir1 MerwinAamir1 Oct 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when we render these tips or anything in the analytics page can we use the TextGeneratorEffect I created. You can simply Wrap it like this <TextGeneratorEffect text={tips}/>

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I changed it to use text generator effect

@kparajuli21 kparajuli21 merged commit 0337494 into main Oct 29, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants