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 package listing report feature #1062

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add package listing report feature #1062

wants to merge 3 commits into from

Conversation

x753
Copy link
Contributor

@x753 x753 commented Sep 16, 2024

This PR adds the PackageReport model, as well as an API for sending reports for specific listings and a button / react component to use said API.

This is heavily based on this branch: https://github.com/thunderstore-io/Thunderstore/tree/report-feature

firefox_PafGD8xsH4.mp4

Add ts_reports app
Add PackageReport model
Add PackageReport admin
Create an API for reporting PackageListings (creating a PackageReport)
Adds a report button to the package details page
Adds the react / tsx necessary to make it work
Modifies APIError to take an extractedMessage
Renames BaseApiError to BaseValidationError
Adds the "required" optional property to FormSelectFieldProps
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