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

[Issue]: Remove unnecessary API Get call to Follow after clicking Unfollow #3603

Open
lsr-explore opened this issue Oct 8, 2024 · 0 comments
Assignees
Labels
Grant Finder Issues related to the Grant Finder

Comments

@lsr-explore
Copy link
Contributor

lsr-explore commented Oct 8, 2024

Why is this issue important?

This is an performance optimization - the call to get follow is not needed after unfollow call is made. No impact to the user experience.

Slack conversation

Current State

When user visits an individual Grant that they are following and clicks Following to unfollow.

An api call is made to delete the follow and then another call is made to get the follow state.

image

image

Unfollow.-.404.clip.mov

Expected State

When user visits an individual Grant that they are following and clicks Following to unfollow.

Only needed api calls are made

Implementation Plan

The following functions need to be added...

Relevant Code Snippets

No response

@ClaireValdivia ClaireValdivia added the Grant Finder Issues related to the Grant Finder label Oct 9, 2024
@greg-adams greg-adams self-assigned this Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Grant Finder Issues related to the Grant Finder
Projects
Status: ✅ Staging
Development

No branches or pull requests

3 participants