Giteabot 
							
						 
					 
					
						
						
							
						
						315f197790 
					 
					
						
						
							
							Increase gap on latest commit ( #35104 ) ( #35113 )  
						
						... 
						
						
						
						Backport #35104  by @silverwind
Before:
<img width="964" height="101" alt="Screenshot 2025-07-17 at 02 31 05"
src="https://github.com/user-attachments/assets/e02181f3-f730-40bb-8cfa-ecfea4ed4aec "
/>
After:
<img width="967" height="104" alt="Screenshot 2025-07-17 at 02 42 13"
src="https://github.com/user-attachments/assets/7ca7b9a8-1f59-4dc0-9bb0-c72346fd792a "
/>
Co-authored-by: silverwind <me@silverwind.io > 
						
						
					 
					
						2025-07-18 08:25:51 +03:00 
						 
				 
			
				
					
						
							
							
								Giteabot 
							
						 
					 
					
						
						
							
						
						6dc19fc29a 
					 
					
						
						
							
							Make submodule link work with relative path ( #35034 ) ( #35038 )  
						
						... 
						
						
						
						Backport #35034  by wxiaoguang
Fix  #35033 
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2025-07-10 18:20:14 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						68fcdb6122 
					 
					
						
						
							
							Fix project images scroll ( #34971 ) ( #34972 )  
						
						
						
						
					 
					
						2025-07-07 00:30:43 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						4aba42519d 
					 
					
						
						
							
							Fix git graph page ( #34948 ) ( #34949 )  
						
						
						
						
					 
					
						2025-07-04 15:33:17 +00:00 
						 
				 
			
				
					
						
							
							
								Giteabot 
							
						 
					 
					
						
						
							
						
						90e9e79232 
					 
					
						
						
							
							Optimize flex layout of release attachment area ( #34885 ) ( #34886 )  
						
						... 
						
						
						
						Backport #34885  by kerwin612
Co-authored-by: Kerwin Bryant <kerwin612@qq.com > 
						
						
					 
					
						2025-06-28 09:10:41 +08:00 
						 
				 
			
				
					
						
							
							
								Giteabot 
							
						 
					 
					
						
						
							
						
						c6467edcb1 
					 
					
						
						
							
							Fix the issue of abnormal interface when there is no issue-item on the project page ( #34791 ) ( #34880 )  
						
						... 
						
						
						
						Backport #34791  by @kerwin612
Co-authored-by: Kerwin Bryant <kerwin612@qq.com > 
						
						
					 
					
						2025-06-26 23:18:02 -07:00 
						 
				 
			
				
					
						
							
							
								Giteabot 
							
						 
					 
					
						
						
							
						
						b9ed8fceff 
					 
					
						
						
							
							Fix markdown wrap ( #34697 ) ( #34702 )  
						
						... 
						
						
						
						Backport #34697  by wxiaoguang
Fix  #34696 
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2025-06-12 03:08:38 +00:00 
						 
				 
			
				
					
						
							
							
								Giteabot 
							
						 
					 
					
						
						
							
						
						3290aff964 
					 
					
						
						
							
							Fix commit message rendering and some UI problems ( #34680 ) ( #34683 )  
						
						... 
						
						
						
						Backport #34680  by wxiaoguang
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2025-06-10 19:57:25 +00:00 
						 
				 
			
				
					
						
							
							
								Giteabot 
							
						 
					 
					
						
						
							
						
						e8646ad1d8 
					 
					
						
						
							
							Misc CSS fixes ( #34638 ) ( #34644 )  
						
						... 
						
						
						
						Backport #34638  by @silverwind
1. apply [`text-wrap:
balance`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-wrap#balance )
to various places making the text wrapping nicer, moving
`empty-placeholder` CSS to base because it's not repo-specific.
<img width="537" alt="Screenshot 2025-06-07 at 15 09 00"
src="https://github.com/user-attachments/assets/8b37d031-269d-4ab3-ba59-2ac469c431e4 "
/>
<img width="514" alt="Screenshot 2025-06-07 at 15 11 16"
src="https://github.com/user-attachments/assets/27a63117-be1d-4797-80f7-9ed14cca41dc "
/>
<img width="346" alt="Screenshot 2025-06-07 at 15 22 26"
src="https://github.com/user-attachments/assets/2f371384-0330-4a00-bb79-bc3c50ba5c91 "
/>
2. fix overflow-related bug on actions run list, before:
<img width="302" alt="Screenshot 2025-06-07 at 15 26 26"
src="https://github.com/user-attachments/assets/d6607eeb-288b-4e81-a770-45a421c9c68c "
/>
After:
<img width="299" alt="Screenshot 2025-06-07 at 15 26 59"
src="https://github.com/user-attachments/assets/b0ddb66f-d4fe-4711-8ed9-eca08ce608f3 "
/>
Co-authored-by: silverwind <me@silverwind.io > 
						
						
					 
					
						2025-06-07 18:24:59 +00:00 
						 
				 
			
				
					
						
							
							
								Giteabot 
							
						 
					 
					
						
						
							
						
						fac434da0a 
					 
					
						
						
							
							Fix margin issue in markup paragraph rendering ( #34599 ) ( #34606 )  
						
						... 
						
						
						
						Backport #34599  by @silverwind
The Fomantic-inherited `p:last-child` rule in base.css interferes with
this markdown rendering:
```
1. a
2. a
```
Before (unequal margin):
<img width="143" alt="Screenshot 2025-06-04 at 14 09 07"
src="https://github.com/user-attachments/assets/6d6ba5e0-0d84-42e0-a0e4-9e93a59c4d65 "
/>
After (rendering matches GitHub):
<img width="181" alt="Screenshot 2025-06-04 at 14 09 14"
src="https://github.com/user-attachments/assets/bb81e14e-bc9f-4d52-92d0-f7a17c63070e "
/>
Co-authored-by: silverwind <me@silverwind.io > 
						
						
					 
					
						2025-06-05 13:48:07 +08:00 
						 
				 
			
				
					
						
							
							
								Giteabot 
							
						 
					 
					
						
						
							
						
						bacc69db83 
					 
					
						
						
							
							Make pull request and issue history more compact ( #34588 ) ( #34594 )  
						
						... 
						
						
						
						Backport #34588  by @silverwind
Before, waste of space in multiple places:
<img width="962" alt="Screenshot 2025-06-02 at 23 11 08"
src="https://github.com/user-attachments/assets/ecddf247-d690-434c-a865-9d5e6c690b7d "
/>
After, reduced spacing around history entries and inside commits list,
also fixed unequal horizontal spacing inside commit badge.
<img width="946" alt="Screenshot 2025-06-02 at 23 10 45"
src="https://github.com/user-attachments/assets/fe92f8e6-28af-4647-ac3a-1aced23d3b27 "
/>
Also, here's a rendering of issue history events, it's more compact now
at 8px padding:
<img width="565" alt="image"
src="https://github.com/user-attachments/assets/cdbf7c0a-a9a2-4942-85fc-c388abb36e15 "
/>
Co-authored-by: silverwind <me@silverwind.io > 
						
						
					 
					
						2025-06-04 00:04:07 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						e9481e1da3 
					 
					
						
						
							
							Fix line-button issue after file selection in file tree ( #34574 ) ( #34576 )  
						
						... 
						
						
						
						Backport #34574 
---------
Co-authored-by: Kerwin Bryant <kerwin612@qq.com > 
						
						
					 
					
						2025-06-01 23:20:21 -07:00 
						 
				 
			
				
					
						
							
							
								Giteabot 
							
						 
					 
					
						
						
							
						
						d6233c25b5 
					 
					
						
						
							
							Fix project board view ( #34470 ) ( #34475 )  
						
						... 
						
						
						
						Backport #34470  by wxiaoguang
Fix  #34469 
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2025-05-16 01:32:53 +08:00 
						 
				 
			
				
					
						
							
							
								Giteabot 
							
						 
					 
					
						
						
							
						
						38cc7453e2 
					 
					
						
						
							
							Merge and tweak markup editor expander CSS ( #34409 ) ( #34415 )  
						
						... 
						
						
						
						Backport #34409  by @silverwind
- Merge the CSS for the two expanders (text-expander-element and
tribute.js) into one file
- Fix overflow issues
- Remove min-width
- Various other tweaks like borders, colors, padding, gaps.
text-expander:
<img width="645" alt="Screenshot 2025-05-09 at 02 21 24"
src="https://github.com/user-attachments/assets/33276dc4-38e8-45e1-8216-2a4baa9bc039 "
/>
tribute:
<img width="624" alt="Screenshot 2025-05-09 at 02 21 37"
src="https://github.com/user-attachments/assets/91fbcd1a-9bfc-40fd-93f0-a05b4bd4c98d "
/>
Co-authored-by: silverwind <me@silverwind.io >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2025-05-09 18:58:19 +02:00 
						 
				 
			
				
					
						
							
							
								Giteabot 
							
						 
					 
					
						
						
							
						
						6747e3e0eb 
					 
					
						
						
							
							Fix some dropdown problems on the issue sidebar ( #34308 ) ( #34327 )  
						
						... 
						
						
						
						Backport #34308  by wxiaoguang
Also fix  #34300 
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2025-05-01 09:24:18 -07:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
						
						533b8b2d3d 
					 
					
						
						
							
							Fix button alignments ( #34276 )  
						
						... 
						
						
						
						Continue with #34206 .
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com > 
						
						
					 
					
						2025-04-27 19:39:03 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						27ff5e2e84 
					 
					
						
						
							
							Introduce --page-space-bottom at 64px ( #30692 )  
						
						... 
						
						
						
						Previously we would always leave 80px space before the page footer, but
this is problematic with small viewport heights on projects page for
example. I think it' ideal that we use `--page-spacing` which is already
in use for spacing on top of the page.
The `secondary-nav` margin is also adjusted as I see no value why this
shouldn't be the same value. 
						
						
					 
					
						2025-04-25 10:53:26 -07:00 
						 
				 
			
				
					
						
							
							
								Brecht Van Lommel 
							
						 
					 
					
						
						
							
						
						a9343896f4 
					 
					
						
						
							
							Option to delay conflict checking of old pull requests until page view ( #27779 )  
						
						... 
						
						
						
						`[repository.pull-request] DELAY_CHECK_FOR_INACTIVE_DAYS` is a new
setting to delay the mergeable check for pull requests that have been
inactive for the specified number of days.
This avoids potentially long delays for big repositories with many pull
requests. and reduces system load overall when there are many
repositories or pull requests.
When viewing the PR, checking will start immediately and the PR merge
box will automatically reload when complete. Accessing the PR through
the API will also start checking immediately.
The default value of `7` provides a balance between system load, and
keeping behavior similar to what it was before both for users and API
access. With `0` all conflict checking will be delayed, while `-1`
always checks immediately to restore the previous behavior.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2025-04-24 19:26:57 +00:00 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						b758241f28 
					 
					
						
						
							
							Fix runner list tmpl ( #34270 )  
						
						... 
						
						
						
						Fix  #34269 
And fix some layout problems. 
						
						
					 
					
						2025-04-23 15:34:18 +00:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
						
						c2c04ffff7 
					 
					
						
						
							
							Add fullscreen mode as a more efficient operation way to view projects ( #34081 )  
						
						... 
						
						
						
						Maybe fix  #33482 , maybe fix  #34015 
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2025-04-23 13:42:22 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						4832cb9e27 
					 
					
						
						
							
							Display when a release attachment was uploaded ( #34261 )  
						
						... 
						
						
						
						Fix  #34260  
					
						2025-04-22 23:03:49 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						c9aa9068b3 
					 
					
						
						
							
							Fix various UI problems ( #34243 )  
						
						... 
						
						
						
						Also fix  #34242  
						
						
					 
					
						2025-04-19 08:43:22 +00:00 
						 
				 
			
				
					
						
							
							
								D 
							
						 
					 
					
						
						
							
						
						eda6d65818 
					 
					
						
						
							
							markup: improve code block readability and isolate copy button ( #34009 )  
						
						... 
						
						
						
						Fix  #33197 
Improve the rendering of code blocks in markdown content 
for better readability and UI stability across screen sizes.
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
					
						2025-04-19 05:53:39 +00:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
						
						dd0caf7e16 
					 
					
						
						
							
							Fix various misalignments and overflows ( #34227 )  
						
						... 
						
						
						
						---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2025-04-17 10:32:41 +00:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
						
						bde014e46d 
					 
					
						
						
							
							Fix button alignments and remove unnecessary styles ( #34206 )  
						
						... 
						
						
						
						Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2025-04-16 08:14:10 +00:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
						
						e8c42ae601 
					 
					
						
						
							
							Fix empty repo clone panel border ( #34219 )  
						
						... 
						
						
						
						Remove duplicate border
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2025-04-16 07:05:40 +00:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
						
						f4196a8843 
					 
					
						
						
							
							Optimize overflow-menu ( #34183 )  
						
						... 
						
						
						
						Optimized the overflow-menu:
1. Close the tippy when a menu item inside the tippy is clicked.
2. When a menu item inside the tippy is selected, move the active state
of the menu to the tippy's button.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2025-04-13 01:59:36 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas E Lackey 
							
						 
					 
					
						
						
							
						
						fa49cd719f 
					 
					
						
						
							
							feat: Add sorting by exclusive labels (issue priority) ( #33206 )  
						
						... 
						
						
						
						Fix  #2616 
This PR adds a new sort option for exclusive labels.
For exclusive labels, a new property is exposed called "order", while in
the UI options are populated automatically in the `Sort` column (see
screenshot below) for each exclusive label scope.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
					
						2025-04-10 17:18:07 +00:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
						
						02e49a0f47 
					 
					
						
						
							
							Fix vertical centering of file tree icons and use entryIcon for submodules/symlinks ( #34137 )  
						
						... 
						
						
						
						In the file tree, the icons are not vertically centered, which affects
the overall visual consistency.
Currently, the icons of submodules and symlinks do not adopt the value
of entryIcon, resulting in inconsistent icon display.
before:

after:

---------
Co-authored-by: silverwind <me@silverwind.io > 
						
						
					 
					
						2025-04-09 18:10:16 -07:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						a62ed19da6 
					 
					
						
						
							
							Use overflow-wrap: anywhere to replace word-break: break-all ( #34126 )  
						
						
						
						
					 
					
						2025-04-06 17:13:02 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						ee6929d96b 
					 
					
						
						
							
							Refactor dropdown ellipsis ( #34123 )  
						
						... 
						
						
						
						Remove legacy `truncated-item-container` and `truncated-item-name`. 
						
						
					 
					
						2025-04-05 03:21:11 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						ba921fd903 
					 
					
						
						
							
							Fix markdown frontmatter rendering ( #34102 )  
						
						... 
						
						
						
						Fix  #34101  
					
						2025-04-03 05:48:24 +00:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
						
						0fd5392087 
					 
					
						
						
							
							Fix markup content overflow ( #34072 )  
						
						... 
						
						
						
						Fix  #34069 : use `overflow-wrap: anywhere` to correctly wrap overflowed
content. 
					
						2025-03-31 11:56:03 +08:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						58d0a3f4c2 
					 
					
						
						
							
							Simplify emoji rendering ( #34048 )  
						
						... 
						
						
						
						It seems like most of our custom styles around the .emoji class are
useless and we can just make them render like any other text. Rendering
should now match GitHub.
Fixes: https://github.com/go-gitea/gitea/issues/34019 
Also see https://github.com/go-gitea/gitea/pull/11541  and
https://github.com/go-gitea/gitea/pull/12317  for some context. I think
browser emoji rendering has improved in recent years so these hacks are
no longer needed.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2025-03-28 18:25:13 +08:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
						
						b542769102 
					 
					
						
						
							
							Adjust the layout of the toolbar on the Issues/Projects page ( #33667 )  
						
						... 
						
						
						
						On the list page, labels and milestones do not serve as a switch-tab.
Instead, they function as page navigation. The switch-tab is only
appropriate for use on the labels and milestones pages.
And fix projects page layout.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2025-03-28 07:55:12 +00:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
						
						dcbf6c2d13 
					 
					
						
						
							
							Optimize Layout Styles of Filelist ( #33920 )  
						
						... 
						
						
						
						Align items
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2025-03-19 00:59:33 +08:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
						
						e1feb438a4 
					 
					
						
						
							
							Fix file tree issues ( #33916 )  
						
						
						
						
					 
					
						2025-03-17 14:55:15 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						9d89dfe142 
					 
					
						
						
							
							Remove unused or abused styles ( #33918 )  
						
						... 
						
						
						
						* `top aligned` => `tw-align-top`
* label list: it was broken, this PR fixes it
* reference link: simplified
* settings/repos: not affected 
						
						
					 
					
						2025-03-17 22:11:24 +08:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						1ea5216f4a 
					 
					
						
						
							
							Replace text-align classes with tailwind ( #33905 )  
						
						... 
						
						
						
						Small refactor to remove these CSS classes in favor of tailwind.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2025-03-16 12:08:16 +00:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
						
						92f997ce6b 
					 
					
						
						
							
							Add file tree to file view page ( #32721 )  
						
						... 
						
						
						
						Resolve  #29328 
This pull request introduces a file tree on the left side when reviewing
files of a repository.
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
					
						2025-03-15 16:26:49 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						0dfa94edc8 
					 
					
						
						
							
							Add old svg class name to git entry icon ( #33884 )  
						
						... 
						
						
						
						Fix https://github.com/go-gitea/gitea/pull/33837#discussion_r1995521288  
						
						
					 
					
						2025-03-14 23:11:29 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						608ccc32e5 
					 
					
						
						
							
							Drop fomantic build ( #33845 )  
						
						... 
						
						
						
						We would never update or build fomantic again, we have forked it as a
private library long time ago.
So just put the JS and CSS files in "fomantic/build" into git. And use
"import" to use them.
Remove "form.js", rewrite "tab" component.
All source code is from official Fomantic UI build. Will apply patches
in separate PRs. 
						
						
					 
					
						2025-03-11 12:44:52 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						34e5df6d30 
					 
					
						
						
							
							Add material icons for file list ( #33837 )  
						
						
						
						
					 
					
						2025-03-10 15:57:17 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						6f13331754 
					 
					
						
						
							
							Improve theme display ( #30671 )  
						
						... 
						
						
						
						Document: https://gitea.com/gitea/docs/pulls/180 
 
						
						
					 
					
						2025-03-08 21:38:11 +00:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
						
						14be462646 
					 
					
						
						
							
							Refactor initRepoBranchTagSelector to use new init framework ( #33776 )  
						
						... 
						
						
						
						Make "initRepoBranchTagSelector" to use new init framework and fix the
abused "js-branch-tag-selector" styles
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2025-03-03 20:58:19 +00:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
						
						f0f1737d4d 
					 
					
						
						
							
							Refactor markup and pdf-viewer to use new init framework ( #33772 )  
						
						... 
						
						
						
						1. Add some "render-content" classes to "markup" elements when the
content is rendered
2. Use correct "markup" wrapper for "preview" (but not set that class on
the tab)
3. Remove incorrect "markup" class from LFS file view, because there is
no markup content
    * "edit-diff" is also removed because it does nothing
5. Use "initPdfViewer" for PDF viewer
6. Remove incorrect "content" class from milestone markup
7. Init all ".markup" elements by new init framework
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2025-03-03 11:49:15 -08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						698ae7aa5b 
					 
					
						
						
							
							Fix dynamic content loading init problem ( #33748 )  
						
						... 
						
						
						
						1. Rewrite `dirauto.ts` to `observer.ts`. 
* We have been using MutationObserver for long time, it's proven that it
is quite performant.
    * Now we extend its ability to handle more "init" works.
2. Use `observeAddedElement` to init all non-custom "dropdown".
3. Use `data-global-click` to handle click events from dynamically
loaded elements.
* By this new approach, the old fragile selector-based
(`.comment-reaction-button`) mechanism is removed.
4. By the way, remove unused `.diff-box` selector, it was abused and
never really used.
A lot of FIXMEs in "repo-diff.ts" are completely fixed, newly loaded
contents could work as expected. 
						
						
					 
					
						2025-03-01 02:02:10 +00:00 
						 
				 
			
				
					
						
							
							
								Guillaume 
							
						 
					 
					
						
						
							
						
						303af554c9 
					 
					
						
						
							
							Improve "generate new access token" form ( #33730 )  
						
						... 
						
						
						
						Fix: https://github.com/go-gitea/gitea/issues/33519 
As discussed in [PR
#33614 ](https://github.com/go-gitea/gitea/pull/33614 ), the
ScopedAccessTokenSelector Vue component is not particularly useful.
This PR removes the component and reverts to using HTML templates. It
also introduces some (hopefully) useful refactoring.
The Vue component was causing the UX bug reported in the linked issue.
Required form fields are now properly working, as expected (see
screenshot).

---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2025-02-27 19:40:12 +00:00 
						 
				 
			
				
					
						
							
							
								Quentin 
							
						 
					 
					
						
						
							
						
						793c0e1fa6 
					 
					
						
						
							
							Align sidebar gears to the right ( #33721 )  
						
						... 
						
						
						
						Currently, the issue/pr sidebar is hard to read visually. One of the
reason is that the gear icons make reading difficult because they are
"in the way" when reading, and not aligned together.
This PR proposes to align them on the right.
Actions are also better highlighted this way.
## Screenshots
### Issue
| Before this PR | After this PR |
| --- | --- |
| <img width="322" alt="Capture d’écran 2025-02-25 à 19 59 39"
src="https://github.com/user-attachments/assets/efdd13af-7b22-4f2b-8e65-dd17d6f3ffad "
/> | <img width="322" alt="Capture d’écran 2025-02-25 à 19 58 56"
src="https://github.com/user-attachments/assets/eeacc3f4-5e2c-4558-a4b3-0f1ab4742107 "
/> |
### Pull Request
| Before this PR | After this PR |
| --- | --- |
| <img width="322" alt="Capture d’écran 2025-02-25 à 20 16 12"
src="https://github.com/user-attachments/assets/c274b58b-ad50-4ad8-b3da-91dbabd1b120 "
/> | <img width="322" alt="Capture d’écran 2025-02-25 à 20 15 54"
src="https://github.com/user-attachments/assets/ecfd6d60-a525-4767-872d-2ef84030d81e "
/> |
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com >
Co-authored-by: Giteabot <teabot@gitea.io > 
						
						
					 
					
						2025-02-27 00:03:23 +02:00