feat(milestones): add milestone tracking with progress visualization#3135
Open
desireddymohithreddy0925 wants to merge 11 commits into
Open
Conversation
GSSoC Label Checklist 🏷️@Priyanshu-byte-coder — please apply the appropriate labels before merging: Difficulty (pick one):
Quality (optional):
Validation (required to score):
|
031210c to
0d89219
Compare
added 3 commits
July 5, 2026 08:35
…racking # Conflicts: # src/components/GoalTracker.tsx
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.
Summary
This PR introduces milestone tracking with dynamic progress visualization. It allows users to group tasks into high-level milestones with due dates, making sprint planning and project tracking easier directly from the dashboard.
Closes #2886
Type of Change
What Changed
src/types/project-milestone.tsto strictly type the newTaskandMilestonedata models.ProjectMilestonescomponent (src/components/ProjectMilestones.tsx) to handle the UI and state management for tracking milestone completion status.project-milestonesto the dashboard widget directory and injected it into the default Goals layout insrc/lib/dashboard-layout.ts.(completedTasks / totalTasks) * 100formula.How to Test
Project Milestoneswidget is visible (or add it via layout customization).Expected result: The widget allows seamless creation and deletion of milestones and tasks, updating the visual progress bar in real-time as tasks are toggled.
Screenshots / Recordings
Checklist
console.log, debug code, or commented-out blocksnpm run lintpasses locallynpm run type-check)Accessibility (UI changes only)
Additional Context
Because DevTrack does not currently have a dedicated
Tasksdatabase model alongside its core metrics (commits/PRs), this widget leverageslocalStorageto persist the milestone and task states securely in the client side, allowing it to immediately work for sprint planning without conflicting with the broader goal tracking systems.