Skip to content

Add daily note widge with autosave, loading state, and yesterday note toggle.#1254

Merged
Priyanshu-byte-coder merged 4 commits into
Priyanshu-byte-coder:mainfrom
nikita-9112:TodayPlancomponentcreation
May 31, 2026
Merged

Add daily note widge with autosave, loading state, and yesterday note toggle.#1254
Priyanshu-byte-coder merged 4 commits into
Priyanshu-byte-coder:mainfrom
nikita-9112:TodayPlancomponentcreation

Conversation

@nikita-9112
Copy link
Copy Markdown
Contributor

@nikita-9112 nikita-9112 commented May 27, 2026

Summary

This PR added a daily note widget to the dashboard so users can quickly plan what they want to code today.

Closes #1070

Type of Change

  • Added the Daily Note widge UI to the dashboard.
  • Added GET/POST API handling for daily notes.
  • Stored notes in the database by (user_id, date).
  • Implemented autosave with debounce.
  • Added character limit support
  • Added loading state while fetching note data.
  • Added support for showing yesterday's note on click.

Why is change

This feature helps users build a simple daily planing habit directly inside the dashboard without switching to another notes app.

How to Test

Steps for the reviewer to verify this works:

  1. Verified today's note is fetched and desplayed correctly.
  2. verified note autosave after 500ms or blur
  3. Verified note persists after page refresh
  4. Verified same-day note updates instead of creating duplicate rows.
  5. Verified yesterday's note is fetched.

Screenshots (if UI change)

image

@vercel
Copy link
Copy Markdown

vercel Bot commented May 27, 2026

@nikita-9112 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.

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

GSSoC Label Checklist 🏷️

@Priyanshu-byte-coder — please apply the appropriate labels before merging:

Difficulty (pick one):

  • level:beginner — 20 pts
  • level:intermediate — 35 pts
  • level:advanced — 55 pts
  • level:critical — 80 pts

Quality (optional):

  • quality:clean — ×1.2 multiplier
  • quality:exceptional — ×1.5 multiplier

Validation (required to score):

  • gssoc:approved — counts for points
  • gssoc:invalid / gssoc:spam / gssoc:ai-slop — does not score

Type labels (type:*) are auto-detected from files and title. Review and adjust if needed.
Points formula: (difficulty × quality_multiplier) + type_bonus

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

Thanks for your first PR on DevTrack! 🎉

A maintainer will review it within 48 hours. While you wait:

  • Make sure CI is passing (type-check + lint)
  • Double-check the PR description is filled out and the issue is linked
  • Feel free to ask questions in Discussions if you need help

If you find DevTrack useful, a ⭐ star on the repo is always appreciated — it helps the project grow and attract more contributors!

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 and src/app/page.tsx. Please rebase onto current main and resolve the conflicts.

@Priyanshu-byte-coder Priyanshu-byte-coder added gssoc:approved GSSoC: PR approved for scoring level:intermediate GSSoC: Intermediate difficulty (35 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 ✅

@nikita-9112
Copy link
Copy Markdown
Contributor Author

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 ✅

I have resolve the conflicts issue. Please review for merging.

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 now has merge conflicts with main due to recent merges. Please rebase onto the latest main branch and resolve all conflicts to proceed with merging.

@Priyanshu-byte-coder
Copy link
Copy Markdown
Owner

This PR has merge conflicts with main. Please rebase your branch against the latest main and force-push to resolve. Run: git fetch upstream && git rebase upstream/main

@Karanjot786
Copy link
Copy Markdown

Hey @nikita-9112! Saw your work on GSSoC 2026.

We are building TermUI, a TypeScript terminal UI framework with React-style hooks and JSX, rendered entirely in the terminal.

We have 67 unassigned GSSoC issues open. 19 are marked good first issue. Your TypeScript background transfers directly.

Karanjot, TermUI maintainer

@Priyanshu-byte-coder Priyanshu-byte-coder added the level2 GSSoC Level 2 - Medium complexity (25 points) label May 31, 2026
@Priyanshu-byte-coder Priyanshu-byte-coder merged commit 00c84de into Priyanshu-byte-coder:main May 31, 2026
3 of 4 checks passed
@github-actions
Copy link
Copy Markdown

🎉 Merged! Thanks for contributing to DevTrack.

If the project has been useful to you, a ⭐ star on the repo is the easiest way to support it — it helps DevTrack get discovered by more developers.

Keep an eye on open issues for your next contribution!

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:intermediate GSSoC: Intermediate difficulty (35 pts) level2 GSSoC Level 2 - Medium complexity (25 points) type:feature GSSoC type bonus: new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add "today's coding todo" quick note widget

3 participants