Skip to content

[Feature]: Filter Task Board by Subject #1011

@Payal-mak

Description

@Payal-mak

Problem Statement

The task board currently shows all tasks together, sorted into "Due Soon", "This Week", and "Completed". When a
student has tasks across 5+ subjects, there's no way to focus on just one subject (e.g., "show me only my
Mathematics tasks").

The calendar already filters by date — the task board should have equivalent filtering by subject.

Proposed Solution

Add a subject filter dropdown/chip bar above the task board that:

  • Shows all unique subjects from the current task list
  • Filters tasks in real-time when a subject is selected
  • Shows an "All" option to reset the filter
  • Works alongside the existing date filter from the calendar

All subject data is already stored in SQLite and available via the existing API — this is a frontend-only change.

Files to Modify

  • js/app.js — add filter logic + subject chip rendering
  • index.html — add filter bar to task board section
  • css/index.css — style filter chips

Tech Stack

Vanilla JavaScript, CSS

Difficulty: Medium

I would like to work on this under GSSoC'26.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions