Skip to content

Conversation

KamathAnjali
Copy link

✨ Feature: Starred Questions on Leetcode Patterns Page

🔧 What’s Added

  • Star Toggle per Question

    • Each question now has a clickable star icon
    • Clicking the star toggles its active state with a glow animation
  • 📌 Persistence via Local Storage

    • Starred questions are saved to the browser’s local storage
    • Starred state persists across page reloads
  • 📋 “View Starred Questions” Button

    • Filters the list to only show starred problems
    • Useful for revisiting important or tricky questions
  • 🔔 Toast Notifications

    • Displays a brief message when a question is starred or unstarred
    • Enhances UX with immediate feedback

✅ Why This Is Useful

  • Helps users bookmark and track problems they want to revisit
  • Maintains context across sessions without needing login or backend storage

@KamathAnjali
Copy link
Author

Hi @seanprashad , I’ve submitted a PR for the star feature
Let me know if you’d like anything modified or improved.

Thanks!

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