Skip to content

Conversation

@shreyaB7134
Copy link

📌 Description

This PR implements the Archive Notes feature to enhance note management and safety. Users can now archive notes instead of deleting them permanently.

✨ Features Added

  • 🗃️ Archive button added to each note (on dashboard and detail view).
  • 📁 New "Archived Notes" page showing all archived notes.
  • 🔁 Restore and 🗑️ Permanent Delete actions for archived notes.
  • 🚫 Archived notes are hidden from main dashboard.
  • 🧭 Navigation updated with an "Archived" link.
  • ✅ Clean and intuitive UI using Font Awesome icons.

🧪 Optional Enhancements

  • Toast messages for archive, restore, and delete actions.
  • Smooth UI transitions.
  • Filter by keyword or archived date (can be added later).

🔗 Linked Issue

Closes #69

@shreyaB7134
Copy link
Author

Hi @soumya813, the Archive Notes feature is complete and ready for review 😊. Let me know if any changes are needed!

Copy link
Owner

@soumya813 soumya813 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, could you please take another look at the code? Right now, the whole functionality isn’t working as expected.

Also, the UI of the navbar needs some adjustments — it feels a bit off, and the “Archived” option looks randomly placed in the middle. Try organizing the layout more cleanly and making sure all elements are aligned properly with the design flow. Let me know once updated!

@shreyaB7134
Copy link
Author

image As I mentioned earlier, I'm currently unable to log in and verify whether the update was applied correctly. If you could provide the credentials, I’d be able to check and confirm for you

@soumya813
Copy link
Owner

Hey! You can generate your own OAuth credentials so you don’t get blocked during testing. Here’s a quick guide:

How to Set Up OAuth Credentials:

Go to Google Cloud Console.

Create a new project (or select an existing one).

Navigate to APIs & Services > Credentials.

Click "Create Credentials" > "OAuth Client ID".

Set the application type to Web Application.

Add your authorized redirect URI (e.g., http://localhost:3000/api/auth/callback/google).

Once created, copy the Client ID and Client Secret.

Add these in your .env file like:

GOOGLE_CLIENT_ID=your-client-id
GOOGLE_CLIENT_SECRET=your-client-secret
Let me know if you face any issue with the setup — happy to help!

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.

📦 Feature: Add Archived Notes Section + UI Enhancements

2 participants