Skip to content

Feat/follow button robustness#321

Open
SarthakDudhe wants to merge 7 commits into
QuoteVote:mainfrom
SarthakDudhe:feat/follow-button-robustness
Open

Feat/follow button robustness#321
SarthakDudhe wants to merge 7 commits into
QuoteVote:mainfrom
SarthakDudhe:feat/follow-button-robustness

Conversation

@SarthakDudhe
Copy link
Copy Markdown

This PR addresses the // TODO: handle data object in FollowButton.jsx.

Changes:

Added logic to calculate isFollowingUser by checking the Redux followingArray.
Made the component less dependent on external props for its state.
Removed the legacy TODO comment.

…ied HTML

Modified getPost resolver to support urlId and hardened edge function regexes. Fixes QuoteVote#230
Implements the UI for showing quote-specific votes calculated from the interactions array. Added smaller icons and tooltips for clarity.
Added href properties to Link components and removed ESLint suppressions. Fixed a typo on the title link.
Implemented a point system based on posts, quotes, and votes. Fixed a database query bug for user votes.
…ation hook

Created useTokenValidation hook and refactored Scoreboard and PasswordResetPage to use it. This improves code reuse and maintainability.
Updated resolver to check the success flag from sendGridEmail utility and removed legacy TODO.
Updated FollowButton to calculate follow status internally from global state. Removed legacy TODO.
@netlify
Copy link
Copy Markdown

netlify Bot commented May 2, 2026

Deploy Preview for quotevote ready!

Name Link
🔨 Latest commit d988881
🔍 Latest deploy log https://app.netlify.com/projects/quotevote/deploys/69f5f22d6ad5300008cb542c
😎 Deploy Preview https://deploy-preview-321--quotevote.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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