Skip to content

feat : added today main goal quote#1203

Open
Muragesh-24 wants to merge 1 commit into
Priyanshu-byte-coder:mainfrom
Muragesh-24:newfeature
Open

feat : added today main goal quote#1203
Muragesh-24 wants to merge 1 commit into
Priyanshu-byte-coder:mainfrom
Muragesh-24:newfeature

Conversation

@Muragesh-24
Copy link
Copy Markdown
Contributor

Summary

Add a responsive, client only Today’s Focus hero to the DevTrack dashboard so users can set, edit, and clear a personal daily dev goal saved in localStorage by date.

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Refactor / code cleanup

Changes Made

  • Added a new TodayFocusHero component for the top of the dashboard.
  • Stores today’s goal in localStorage using a date-scoped key like devtrack_today_goal_YYYY-MM-DD.
  • Shows a time-based greeting and rotates a daily prompt.
  • Supports save, edit, and clear actions for the current day’s goal.
  • Kept the hero fully client-side to avoid hydration issues.
  • Placed the hero below the existing dashboard navbar/header and improved mobile wrapping for the top dashboard controls.

How to Test

Steps for the reviewer to verify this works:

  1. Open the dashboard on desktop and mobile widths.
  2. Confirm the dashboard navbar/header stays at the top and the new hero appears below it.
  3. Enter a goal and click Save.
  4. Refresh the page and confirm today’s goal is restored from localStorage.
  5. Click Edit, update the goal, and save again.
  6. Click Clear and confirm the goal is removed for that day.

Screenshots (if UI change)

Screenshot 2026-05-26 170904 Screenshot 2026-05-26 170930

Checklist

  • Linked issue in summary
  • npm run lint passes locally
  • No TypeScript errors (npm run type-check)
  • Self-reviewed the diff
  • Added/updated tests if applicable

@vercel
Copy link
Copy Markdown

vercel Bot commented May 26, 2026

@Muragesh-24 is attempting to deploy a commit to the PRIYANSHU DOSHI's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Priyanshu-byte-coder
Copy link
Copy Markdown
Owner

This PR has a merge conflict with main (overlaps with recently merged dashboard page changes). Please rebase your branch and resolve conflicts so we can merge it.

@github-actions github-actions Bot added gssoc26 GSSoC 2026 contribution type:feature GSSoC type bonus: new feature labels May 27, 2026
@Muragesh-24
Copy link
Copy Markdown
Contributor Author

This PR has a merge conflict with main (overlaps with recently merged dashboard page changes). Please rebase your branch and resolve conflicts so we can merge it.

@Priyanshu-byte-coder fixed the conflicts , you can check now

Copy link
Copy Markdown
Owner

@Priyanshu-byte-coder Priyanshu-byte-coder left a comment

Choose a reason for hiding this comment

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

This PR has merge conflicts with current main in src/app/dashboard/page.tsx (which has been significantly updated recently). Please rebase onto current main and resolve the conflicts.

@Priyanshu-byte-coder Priyanshu-byte-coder added gssoc:approved GSSoC: PR approved for scoring level:beginner GSSoC: Beginner difficulty (20 pts) labels May 28, 2026
@Priyanshu-byte-coder
Copy link
Copy Markdown
Owner

Your PR has conflicts with the current main branch. Please rebase on main to resolve conflicts and this can be reviewed for merging. Labels have been added ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved GSSoC: PR approved for scoring gssoc26 GSSoC 2026 contribution level:beginner GSSoC: Beginner difficulty (20 pts) type:feature GSSoC type bonus: new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants