Skip to content

feat: add ability to edit streak start date #20

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

Merged
merged 14 commits into from
Mar 26, 2025

Conversation

Awnder
Copy link
Contributor

@Awnder Awnder commented Mar 25, 2025

Closes #13

Feature includes:

  • ui date-picker component
  • firestore update logic handling for streak start date handling
users/
  <uid>/
    streakStartDate: <timestamp>
  • dashboard streak card fades on button click to date picker (and back)
  • animation for feature
  • error handling on future date picking

@JustinhSE
Copy link
Contributor

Seems to be a Merge conflict in your branch on firebase.ts

@Awnder
Copy link
Contributor Author

Awnder commented Mar 25, 2025

resolved conflicts!

  • component imports
  • firebase logRelapse function definition was different
export const logRelapse = async (userId: string, triggers: string[], notes?: string) => {

changed to ->

export const logRelapse = async (userId: string, triggers: string, notes?: string): Promise<LogRelapseResult> => {

@JustinhSE JustinhSE merged commit 37e0547 into Debugging-Disciples:main Mar 26, 2025
1 check 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.

feat: Add ability to edit streak start date 📅
2 participants