feat: implement habit detail view with participant activity#153
Merged
owengretzinger merged 1 commit intomainfrom Jan 27, 2025
Merged
Conversation
Collaborator
Author
361b840 to
6a8ce4d
Compare
Graphite Automations"Request reviewers once CI passes" took an action on this PR • (01/11/25)1 reviewer was added to this PR based on Owen Gretzinger's automation. |
There was a problem hiding this comment.
Copilot reviewed 5 out of 9 changed files in this pull request and generated no comments.
Files not reviewed (4)
- src/components/habit-card.tsx: Evaluated as low risk
- src/app/habits/view-habit.tsx: Evaluated as low risk
- src/components/modify-habit-entry/index.tsx: Evaluated as low risk
- src/components/user-card.tsx: Evaluated as low risk
Comments suppressed due to low confidence (2)
src/api/habits/use-habit-completions.tsx:80
- Mutating the currentDate variable within the loop can lead to unexpected behavior if the function is called multiple times in quick succession. Consider creating a new Date object for each iteration.
currentDate.setDate(currentDate.getDate() + 1);
src/api/habits/use-habit-completions.tsx:66
- [nitpick] The error message 'Participant not found' could be more descriptive. Consider including the participant ID in the message for better debugging.
throw new Error('Participant not found');
6a8ce4d to
e6ff703
Compare
This was referenced Jan 17, 2025
e6ff703 to
800623e
Compare
1585b3a to
ece42b5
Compare
800623e to
fbc39f4
Compare
AnkushSarkar10
approved these changes
Jan 27, 2025
Collaborator
Author
Merge activity
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

TL;DR
Added a detailed habit view screen showing all participants' completions and activity history.
Screen.Recording.2025-01-11.at.2.20.58.PM-1.mov
What changed?
How to test?