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

Improve lift reporting functionality #317

Open
euanwm opened this issue Mar 18, 2024 · 1 comment
Open

Improve lift reporting functionality #317

euanwm opened this issue Mar 18, 2024 · 1 comment
Labels
frontend User Interface related

Comments

@euanwm
Copy link
Owner

euanwm commented Mar 18, 2024

Is your feature request related to a problem? Please describe.
Lift reporting feature when left open will continue to post into the Discord channel. Also, it is possible for users to report a lift multiple times.

Describe the solution you'd like
Some form of short lifespan cookie check for reporting lifts. A hash value of the reported lift that is checked and disables the lift report function for that specific lift or similar.

Describe alternatives you've considered
Handling this through the backend would require a lot more effort and would involve the FE dealing with various response types.

@euanwm euanwm added the frontend User Interface related label Mar 18, 2024
@euanwm
Copy link
Owner Author

euanwm commented Apr 1, 2024

@rsbrowne / @mountclear - If either of you have time to do a little fix on this, i'd much appreciate it. I've added the report component to the lifter history page and even after the popup closes, it keep spamming the api.

https://www.openweightlifting.org/lifter?name=Euan%20Meston

I'll add you to the channel if you want to test it but it's visible on network calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend User Interface related
Projects
None yet
Development

No branches or pull requests

1 participant