Skip to content

Conversation

Samridha0305
Copy link
Contributor

fixes #231
Major Features Implemented

  1. Search Functionality
    Real-time search on title, tags, and author.
    Graceful fallback with "No results found" message.

  2. Tag Filtering
    Interactive tag filter in sidebar.
    Smooth animated selection with badge counts.
    Collapsible tag list with +X more and tooltip/expander.

  3. Sidebar Improvements
    Fully collapsible sidebar (horizontal + vertical).
    Hide/Show filters expands content to full screen.
    Elegant toggle button with transition and icons.

  4. Sorting Options
    Latest, Popular, Oldest
    Animated and highlighted with active state.

  5. Like Button
    Like/unlike feature with count update.
    Saved state maintained with localStorage.

  6. Save for Later
    Save/Unsave newsletters.
    LocalStorage persistence.
    Show Saved Only toggle button added in sidebar.

  7. Share to Social Media
    Share to: LinkedIn, Twitter/X, WhatsApp
    ).
    UI/UX Enhancements
    Cards redesigned with:

Shadow on hover,spacing,Tooltip support
Subtle hover transitions and scaling

Technical Stack
React + TypeScript
Tailwind CSS for styling
Custom hooks for LocalStorage
Modular Components: NewsletterCard, NewsletterSidebar, etc.

Files Modified
index.tsx – Main logic + search + layout
NewsletterCard.tsx – Design & action buttons
NewsletterSidebar.tsx – Tag filtering, Save toggle, collapsibility
useLocalStorage.ts – Hook for like/save state
posts.ts – Demo content with placeholder images

Future Suggestions
Add backend for newsletter content.
Use Algolia/Fuse.js for fuzzy search.
Add animation with Framer Motion.
Improve accessibility with screen reader support.

Copy link

vercel bot commented Aug 7, 2025

@Samridha0305 is attempting to deploy a commit to the recode Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

github-actions bot commented Aug 7, 2025

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. The estimated time for response is 5–8 hrs.

In the meantime, please provide all necessary screenshots and make sure you run - npm build run , command and provide a screenshot, a video recording, or an image of the update you made below, which helps speed up the review and assignment. If you have questions, reach out to LinkedIn. Your contributions are highly appreciated!😊

Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your PR goes stale for more than one day, you can tag and comment on this same issue by tagging @sanjay-kv.

We are here to help you on this journey of open source. Consistent 20 contributions are eligible for sponsorship 💰

🎁 check our list of amazing people we sponsored so far: GitHub Sponsorship. ✨

📚Your perks for contribution to this community 👇🏻

  1. Get free Consultation use code recode50 to get free: Mentorship for free.

  2. Get the Ebook for free use code recode at checkout: Data Science cheatsheet for Beginners.

  3. Check out this weekly Newsletter: Sanjay's Newsletter.

If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

Copy link

vercel bot commented Aug 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
recode-website ❌ Failed (Inspect) Aug 10, 2025 5:05am

@sanjay-kv
Copy link
Member

deployment is failed. i suggest to run npm run build everytime.

@Samridha0305
Copy link
Contributor Author

deployment is failed. i suggest to run npm run build everytime.

I din npm run build but i don't know why its showing ..i 'll fix soon

also checked npm run build (no error)
@Samridha0305
Copy link
Contributor Author

@sanjay-kv sir, I did npm run build and it did not show any error..
image

@sanjay-kv
Copy link
Member

image maybe you have to create new PR after fresh pull

@sanjay-kv sanjay-kv closed this Aug 10, 2025
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.

Create a Newsletter page

2 participants