Skip to content

[FEATURE] Add bookmark functionality to all chapter pages #338

Description

@sahitya0xsingh

Feature Description

Add the BookmarkButton component to all subject chapter layouts so users can save their progress across all subjects they study, not just a subset of subjects.

Problem It Solves

Currently, the BookmarkButton component exists but is only integrated in some subjects. This creates an inconsistent user experience where students cannot bookmark chapters in many important subjects like OS, DBMS, and ML, making it difficult to track their study progress and return to specific topics later.

Proposed Solution

  • Integrate BookmarkButton in all subject layout files that are missing it (app/sem4/os/layout.tsx, app/sem4/dbms/layout.tsx, app/sem6/ml/layout.tsx, etc.)
  • Ensure consistent placement near chapter titles or in headers
  • Test bookmark functionality works correctly across all subjects
  • Follow the existing implementation pattern from subjects where it's already working (like app/sem1/c/layout.tsx)

Additional Context

The BookmarkButton component already exists at app/components/BookmarkButton.tsx and uses localStorage for persistence. This is a high-priority feature as it directly impacts user engagement and study continuity.

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