all filters fully functional. reporting system added. multiple fixes. #27

Merged
freakoverse merged 13 commits from staging into master 2024-08-29 17:40:03 +00:00
Showing only changes of commit d9f0972961 - Show all commits

View File

@ -513,7 +513,9 @@ const ReportPopup = ({ aTag, handleClose }: ReportPopupProps) => {
spam: false,
scam: false,
notAGameMod: false,
stolenGameMod: false
stolenGameMod: false,
wasntTaggedNSFW: false,
otherReason: false
})
const [isLoading, setIsLoading] = useState(false)
const [loadingSpinnerDesc, setLoadingSpinnerDesc] = useState('')
@ -712,6 +714,30 @@ const ReportPopup = ({ aTag, handleClose }: ReportPopupProps) => {
onChange={() => handleCheckboxChange('stolenGameMod')}
/>
</div>
<div className='inputLabelWrapperMain inputLabelWrapperMainAlt'>
<label className='form-label labelMain'>
Wasn't tagged NSFW
</label>
<input
type='checkbox'
className='CheckboxMain'
name='reportOption'
checked={selectedOptions.wasntTaggedNSFW}
onChange={() => handleCheckboxChange('wasntTaggedNSFW')}
/>
</div>
<div className='inputLabelWrapperMain inputLabelWrapperMainAlt'>
<label className='form-label labelMain'>
Other reason
</label>
<input
type='checkbox'
className='CheckboxMain'
name='reportOption'
checked={selectedOptions.otherReason}
onChange={() => handleCheckboxChange('otherReason')}
/>
</div>
</div>
<button
className='btn btnMain pUMCB_Report'