mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 08:42:27 -05:00 
			
		
		
		
	[frontend] Basic user moderation actions (#1728)
* remove info banner * update swagger definition for AccountAction * basic user view, suspend action * clean up suspended user display * basic user searching * rename User -> Account for clarity * refactor error boundary component to give better info * appease the linter
This commit is contained in:
		
					parent
					
						
							
								b47661f033
							
						
					
				
			
			
				commit
				
					
						89dcbd5a20
					
				
			
		
					 16 changed files with 419 additions and 37 deletions
				
			
		|  | @ -31,12 +31,14 @@ function ErrorFallback({ error, resetErrorBoundary }) { | |||
| 				<a href="https://matrix.to/#/#gotosocial-help:superseriousbusiness.org">Matrix support room</a>. | ||||
| 				<br />Include the details below: | ||||
| 			</p> | ||||
| 			<pre> | ||||
| 				{error.name}: {error.message} | ||||
| 			</pre> | ||||
| 			<pre> | ||||
| 				{error.stack} | ||||
| 			</pre> | ||||
| 			<div className="details"> | ||||
| 				<pre> | ||||
| 					{error.name}: {error.message} | ||||
| 				</pre> | ||||
| 				<pre> | ||||
| 					{error.stack} | ||||
| 				</pre> | ||||
| 			</div> | ||||
| 			<p> | ||||
| 				<button onClick={resetErrorBoundary}>Try again</button> or <a href="">refresh the page</a> | ||||
| 			</p> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue