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

Resolved report link visibility #400

Merged
merged 14 commits into from
Jul 12, 2024
Merged

Resolved report link visibility #400

merged 14 commits into from
Jul 12, 2024

Conversation

ispykenny
Copy link
Collaborator

  1. Fixed JS to render Report account
  2. Created endpoint to check if session user to conditionally render link
Screen.Recording.2024-07-09.at.4.14.49.PM.mov

@glenn-sorrentino
Copy link
Member

Part of the feature is for the fields to be pre-filled with the account that's being reported. You can see in the URL: https://127.0.0.1:8080/submit_message/admin?prefill=Reported%20user%3A%20admin%0A%0ABio%3A%20Hush%20Line%20Admin%0A%0AReason%3A

It should display as:

Reported user: [username]
Bio: [bio]
Reason:

Copy link
Member

@glenn-sorrentino glenn-sorrentino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a comment about pre-filling the form. Also will request @micahflee to review as well since some Python changes are included.

@ispykenny ispykenny marked this pull request as ready for review July 10, 2024 21:25
@glenn-sorrentino
Copy link
Member

Tested and working!

@ispykenny ispykenny merged commit 54944e0 into main Jul 12, 2024
5 checks passed
@ispykenny ispykenny deleted the kenny/resolve-report-link branch July 12, 2024 15:59
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.

2 participants