Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Follow Bill Functionality to Testimony Detail Page #1652

Open
2 tasks
Mephistic opened this issue Nov 27, 2024 · 0 comments
Open
2 tasks

Add Follow Bill Functionality to Testimony Detail Page #1652

Mephistic opened this issue Nov 27, 2024 · 0 comments
Labels
Following/Notifications frontend Frontend development good first issue Good for newcomers

Comments

@Mephistic
Copy link
Collaborator

Problem

The Testimony Detail page (e.g. https://maple-dev.vercel.app/testimony/N9n7LiycmnSqfT4Q2d7g7/1) currently has an option in its sidebar to follow the bill the testimony was written for - but this button currently does nothing.

The Follow/Unfollow bill logic is all already implemented on the backend - we just want to add that functionality to the "Follow Bill" button on the Testimony Detail page.

Success Criteria

  • When the current user is not already following the relevant bill, the "Follow" button on the Testimony Detail page should read "Follow [Bill]" and clicking it should successfully follow the bill
  • When the current user is already following the relevant bill, the "Follow" button on the Testimony Detail page should read "Unfollow [Bill]" and clicking it should successfully unfolllow the bill
@Mephistic Mephistic added Following/Notifications frontend Frontend development good first issue Good for newcomers labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Following/Notifications frontend Frontend development good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant