Skip to content

Add done items feature for Later list#101

Merged
gusaiani merged 1 commit intomainfrom
feat/done-items
Mar 28, 2026
Merged

Add done items feature for Later list#101
gusaiani merged 1 commit intomainfrom
feat/done-items

Conversation

@gusaiani
Copy link
Copy Markdown
Owner

Summary

  • Later items can be marked as done via a green ✓ button (to the left of the red ✕)
  • "See all Done" link below the Later list navigates to /done-list
  • Done page shows stats (avg done/week over 10 weeks, this week, this month) and an infinite-scroll list of completed items (50 per page)
  • Backend: done_items table, POST /done, GET /done, GET /done/stats endpoints
  • Works for both signed-in users (server) and guests (localStorage)

Test plan

  • Mark a later item as done → it disappears from the list
  • Click "See all Done" → navigates to /done-list with the item listed
  • Stats show correct counts
  • Infinite scroll loads more items after 50
  • Guest mode stores done items in localStorage
  • pytest passes (45 tests including 9 new)

Later items can now be marked as done with a green ✓ button.
A "See all Done" link leads to /done-list with infinite scroll,
stats (avg/week, this week, this month), and full history.
@gusaiani gusaiani enabled auto-merge (squash) March 28, 2026 15:06
@gusaiani gusaiani merged commit 78706a7 into main Mar 28, 2026
2 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.

1 participant