Skip to content

Comments

Feat/journal#25

Merged
CMolinaBetancourt merged 8 commits intomainfrom
feat/journal
Nov 9, 2025
Merged

Feat/journal#25
CMolinaBetancourt merged 8 commits intomainfrom
feat/journal

Conversation

@CMolinaBetancourt
Copy link
Collaborator

🎯Type of Change (Select one or more):

  • Feat ✨: Journal.

This PR...

Added the journal page.


📝 What we Did (Detailed Work):

  • Implemented components ProgressBar. DailyTrackerBar, and DailySummary (drop-down),
  • Implemented the journal page.
  • Integrated local Storage for data persistence - Implemented state management to save and retrieve journal entries and progress.

🧪 How to Test (Steps to Verify):

  1. Navigate to the preview deploy.
  2. Sign in.
  3. Go to "Detox Challenge" on the navbar.
  4. Verify that the progress bar and all 30 days are displayed.
  5. Open the first day challenge, write a journal entry, and click "Save Entry".
  6. Verify the day shows a green checkmark and progress bar updates.
  7. Refresh the page and confirm your entry persists.
  8. Edit an existing entry (click on a completed day)
  9. Click the arrow button of the progress bar to open the next day for the daily summary.
  10. Delete an entry (clear text and save).
  11. Verify that future days are disabled

🤔 What I learned (gotchas):

  • Learned how to build a progress bar that calculates completion percentage based on completed entries.
  • Discovered how to create expandable dropdown components that toggle open/closed based on user interaction.
  • Learned to implement data persistence using localStorage.

@netlify
Copy link

netlify bot commented Nov 9, 2025

Deploy Preview for mint-chip ready!

Name Link
🔨 Latest commit d4de713
🔍 Latest deploy log https://app.netlify.com/projects/mint-chip/deploys/69100be54e23840007bc3717
😎 Deploy Preview https://deploy-preview-25--mint-chip.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Collaborator

@magali-la magali-la left a comment

Choose a reason for hiding this comment

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

great job!

@CMolinaBetancourt CMolinaBetancourt merged commit 3de276e into main Nov 9, 2025
5 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.

3 participants