wxiaoguang 
							
						 
					 
					
						
						
							
						
						e625250ffc 
					 
					
						
						
							
							Fix various trivial frontend problems ( #34263 )  
						
						... 
						
						
						
						1. Fix  #20606 
2. Fix  #34246 
3. Fix missing spaces, fix misspells, no visual change.
4. Fix missing "not-mobile", fix  #34265 
---------
Co-authored-by: silverwind <me@silverwind.io > 
						
						
					 
					
						2025-04-24 09:11:54 +08:00 
						 
				 
			
				
					
						
							
							
								TheFox0x7 
							
						 
					 
					
						
						
							
						
						ee3c82f874 
					 
					
						
						
							
							Enable addtional linters ( #34085 )  
						
						... 
						
						
						
						enable mirror, usestdlibbars and perfsprint 
part of: https://github.com/go-gitea/gitea/issues/34083 
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2025-04-01 10:14:01 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						d28a7f9fea 
					 
					
						
						
							
							Fix dropdown delegating and some UI problems ( #34014 )  
						
						... 
						
						
						
						The old logic is incomplete. See the comment for the improved logic.
Fix  #34011 
And more fixes:
1. use empty "alt" for images, otherwise the width is not right when the
image fails to load
2. remove the "dropdown icon" patch, because it has been clearly done in
"dropdown.js" now
3. remove the "dropdown filtered item" patch, added a clear callback,
and improve the logic
4. fix global init when a node is removed and added back gain (eg: the
"cherry pick" dialog with a dropdown) 
						
						
					 
					
						2025-03-26 02:51:22 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						8a20fba8eb 
					 
					
						
						
							
							Refactor markup render system ( #32533 )  
						
						... 
						
						
						
						Remove unmaintainable sanitizer rules. No need to add special "class"
regexp rules anymore, use RenderInternal.SafeAttr instead, more details
(and examples) are in the tests 
						
						
					 
					
						2024-11-18 13:25:42 +08:00 
						 
				 
			
				
					
						
							
							
								hiifong 
							
						 
					 
					
						
						
							
						
						f38e101448 
					 
					
						
						
							
							Lazy load avatar images ( #32051 )  
						
						
						
						
					 
					
						2024-09-17 19:02:48 +00:00 
						 
				 
			
				
					
						
							
							
								yp05327 
							
						 
					 
					
						
						
							
						
						3aed8ae034 
					 
					
						
						
							
							Fix default avatar image size in PR diff page ( #28971 )  
						
						... 
						
						
						
						Fix  #28941 
ps: didn't test. The repo is too big to migrate. 
					
						2024-02-02 10:01:11 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						a370efc13f 
					 
					
						
						
							
							Use template context function for avatar rendering ( #26385 )  
						
						... 
						
						
						
						Introduce `AvatarUtils`, no need to pass `$.Context` to every
sub-template, and simplify the template helper functions. 
						
						
					 
					
						2023-08-10 11:19:39 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						78b2a1cc36 
					 
					
						
						
							
							Remove unnecessary template helper repoAvatar ( #26387 )  
						
						... 
						
						
						
						And simplify the "repo/icon" code 
						
						
					 
					
						2023-08-08 15:29:35 +08:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						88f835192d 
					 
					
						
						
							
							Replace interface{} with any ( #25686 )  
						
						... 
						
						
						
						Result of running `perl -p -i -e 's#interface\{\}#any#g' **/*` and `make fmt`.
Basically the same [as golang did](2580d0e08d 
						
						
					 
					
						2023-07-04 18:36:08 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						241b74f6c5 
					 
					
						
						
							
							Improve template helper ( #24417 )  
						
						... 
						
						
						
						It seems that we really need the "context function" soon. So we should
clean up the helper functions first.
Major changes:
* Improve StringUtils and add JsonUtils
* Remove one-time-use helper functions like CompareLink
* Move other code (no change) to util_avatar/util_render/util_misc (no
need to propose changes for them)
I have tested the changed templates:




---------
Co-authored-by: Giteabot <teabot@gitea.io > 
						
						
					 
					
						2023-04-29 08:02:29 -04:00