kasuken / kasuken/LearnStack

Feature: streaks and goals on the Pulse page

Open
#72 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
HTML
Stars
10
Forks
0
Avg merge
2h 52m
Merged PRs (30d)
20

Description

Tier 4 — feature idea

Why

Pulse already computes completions per week, active days, completion rate and a 30-day vs previous-30 comparison — everything needed for a habit loop — but stops at reporting. Streaks and a weekly goal turn a dashboard into a reason to come back.

Evidence
  • LearnStack/Components/Pages/Pulse.razor.cs:88-120activeDays, currentPeriodCompletions, previousPeriodCompletions all already computed
  • LearnStack/Components/Shared/PulseSignals.razor — the surface to extend
Sketch

Current and longest streak, a user-set weekly completion goal with progress, and a milestone celebration. Feed the same numbers into the weekly digest email.

Depends on

Per-user timezone — streaks computed on UTC day boundaries will be wrong for most users.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with LearnStack/Components/Pages/Pulse.razor.cs:88-120 to understand the existing metrics, then inspect LearnStack/Components/Shared/PulseSignals.razor. Scope the streaks, weekly goal, milestone celebration, weekly digest integration, and per-user timezone dependency; done means these behaviors use timezone-aware day boundaries.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
full-stack
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.