Gusted 
								
							 
						 
						
							
							
								
							
							
	
	
	7e18a86a3a 
 
						 
						
							
							
								
								
								[GITEA] Use vertical tabs on issue filters  
							
							... 
							
							
							
							
							- Backport of https://codeberg.org/forgejo/forgejo/pulls/1287 
  - This is actually https://github.com/go-gitea/gitea/pull/19978  &
https://github.com/go-gitea/gitea/pull/19486  but was removed in one of
the UI refactors of v1.20
  - This is a very technical fix and is best explained in the CSS
comments. But the short version: When there's an overflow being set, but
you want an element to 'break out' of that overflow with `position:
absolute`, it sometimes doesn't work! You need to set some CSS to let
the browser know that the element needs to use an element outside of
that overflow as 'clip parent'.
  - Resolves my internal frustration with the mobile UI constantly getting broken.
(cherry picked from commit 879f842bed 
							
						 
						
							2023-08-19 13:17:00 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									sebastian-sauer 
								
							 
						 
						
							
							
								
							
							
	
	
	90053ce279 
 
						 
						
							
							
								
								
								Don't stack PR tab menu on small screens ( #25789 )  
							
							... 
							
							
							
							
							the stacking takes up screen space - display the tabs as the navigation
bar. github uses the same layout.
Screenshots (left before, right after):


Large screen:

(cherry picked from commit b81c013057 
							
						 
						
							2023-08-18 15:40:21 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Earl Warren 
								
							 
						 
						
							
							
								
							
							
	
	
	84c3b60a4c 
 
						 
						
							
							
								
								
								Improve profile readme rendering ( #25988 )  
							
							... 
							
							
							
							
							- Tell the renderer to use the `document` mode, so it's consistent with
other renderers.
- Use the same padding as `.file-view.markup`, so it's consistent with
other containers that contain markup rendering.
- Resolves https://codeberg.org/forgejo/forgejo/issues/833 
Co-authored-by: Gusted <postmaster@gusted.xyz>
Conflicts:
	routers/web/user/profile.go
	inserted Metas:   map[string]string{"mode": "document"}, where
	it was missing 
							
						 
						
							2023-08-11 08:56:04 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	f3c26de1f4 
 
						 
						
							
							
								
								
								Fix UI regression of asciinema player ( #26159 ) ( #26162 )  
							
							... 
							
							
							
							
							Backport #26159  by @wolfogre
It was caused by updating `asciinema-player`, the upstream changed the
CSS class prefix:
`40505e479ehttps://github.com/go-gitea/gitea/assets/9418365/b91a2cf5-c1da-43d6-bac2-bc278728b11e ">
</details>
<details>
<summary>After:</summary>
<img width="1311" alt="image"
src="https://github.com/go-gitea/gitea/assets/9418365/c9872d25-e0bb-43d4-8b1e-d87c6b03c0a2 ">
</details>
Co-authored-by: Jason Song <i@wolfogre.com>
(cherry picked from commit 65d6bdf0be 
							
						 
						
							2023-07-30 07:43:05 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Lunny Xiao 
								
							 
						 
						
							
							
								
							
							
	
	
	28f4029e40 
 
						 
						
							
							
								
								
								Display deprecated warning in admin panel pages as well as in the log file ( #26094 ) ( #26154 )  
							
							... 
							
							
							
							
							backport #26094 
Temporily resolve  #25915 
Related #25994 
This PR includes #26007  's changes but have a UI to prompt administrator
about the deprecated settings as well as the log or console warning.
Then users will have enough time to notice the problem and don't have
surprise like before.
<img width="1293" alt="图片"
src="https://github.com/go-gitea/gitea/assets/81045/c33355f0-1ea7-4fb3-ad43-cd23cd15391d ">
(cherry picked from commit c598741f01 
							
						 
						
							2023-07-30 07:42:53 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	016162f2a3 
 
						 
						
							
							
								
								
								Increase table cell horizontal padding ( #26140 ) ( #26142 )  
							
							... 
							
							
							
							
							Backport #26140  by @silverwind
Extract from https://github.com/go-gitea/gitea/pull/26043 , just the
padding increase.
Before and After (hard to notice, but it's there):
<img width="427" alt="Screenshot 2023-07-25 at 19 37 12"
src="https://github.com/go-gitea/gitea/assets/115237/9543dcda-eccb-4739-b7dd-06b076108ab4 ">
<img width="420" alt="Screenshot 2023-07-25 at 19 37 26"
src="https://github.com/go-gitea/gitea/assets/115237/0a9c3724-81a1-4c67-a13b-4b728a51fc3a ">
Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit a55924aaf4 
							
						 
						
							2023-07-26 13:49:16 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	5969ec33a1 
 
						 
						
							
							
								
								
								Improve commit graph alignment and truncating ( #26112 ) ( #26127 )  
							
							... 
							
							
							
							
							Backport #26112  by @wxiaoguang
Fix  #26101 

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit 3b518a3af5 
							
						 
						
							2023-07-26 13:49:15 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	321909de7e 
 
						 
						
							
							
								
								
								avoid hard-coding height in language dropdown menu ( #25986 ) ( #25997 )  
							
							... 
							
							
							
							
							Backport #25986  by @earl-warren
This commit removes the hard-coded height of 500px, using that as a
max-height instead. The height of items in the dropdown menu, assuming a
default font size of 16px, is 36px, so the old CSS would cause overly
large dropdown menus in instances where less than 14 languages are
offered.
Refs: https://codeberg.org/forgejo/forgejo/pulls/1000 
Co-authored-by: Earl Warren <109468362+earl-warren@users.noreply.github.com>
Co-authored-by: rome-user <rome-user@noreply.codeberg.org>
(cherry picked from commit 28e8c691a6 
							
						 
						
							2023-07-24 07:59:10 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gusted 
								
							 
						 
						
							
							
								
							
							
	
	
	e1829f0728 
 
						 
						
							
							
								
								
								[GITEA]: Render status of list items for Org mode  
							
							... 
							
							
							
							
							- The library that's being used for org-mode, [doesn't render the status
of list items](https://github.com/niklasfasching/go-org/issues/63 ).
- Add a modified version of the proposed CSS snippet to still display
the status for the list items. The alternative was parsing HTML and
transforming it, which is too complicated for this small task.
- Resolves https://codeberg.org/Codeberg/Community/issues/1099  
							
						 
						
							2023-07-19 23:00:56 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Earl Warren 
								
							 
						 
						
							
							
								
							
							
	
	
	1371196064 
 
						 
						
							
							
								
								
								Merge remote-tracking branch 'forgejo/v1.20/forgejo-moderation' into v1.20/forgejo  
							
							
							
							
						 
						
							2023-07-17 08:01:23 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gusted 
								
							 
						 
						
							
							
								
							
							
	
	
	cdf6318f51 
 
						 
						
							
							
								
								
								[MODERATION] organization blocking a user ( #802 )  
							
							... 
							
							
							
							
							- Resolves  #476 
- Follow up for: #540 
- Ensure that the doer and blocked person cannot follow each other.
- Ensure that the block person cannot watch doer's repositories.
- Add unblock button to the blocked user list.
- Add blocked since information to the blocked user list.
- Add extra testing to moderation code.
- Blocked user will unwatch doer's owned repository upon blocking.
- Add flash messages to let the user know the block/unblock action was successful.
- Add "You haven't blocked any users" message.
- Add organization blocking a user.
Co-authored-by: Gusted <postmaster@gusted.xyz>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/802 
(cherry picked from commit 0505a1042137b4e6ef9b217475385af2c38ce5c21edfb681372cbc12dc7479ff020f18 
							
						 
						
							2023-07-17 00:26:42 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gusted 
								
							 
						 
						
							
							
								
							
							
	
	
	dc9499bdf9 
 
						 
						
							
							
								
								
								[MODERATION] user blocking  
							
							... 
							
							
							
							
							- Add the ability to block a user via their profile page.
- This will unstar their repositories and visa versa.
- Blocked users cannot create issues or pull requests on your the doer's repositories (mind that this is not the case for organizations).
- Blocked users cannot comment on the doer's opened issues or pull requests.
- Blocked users cannot add reactions to doer's comments.
- Blocked users cannot cause a notification trough mentioning the doer.
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/540 
(cherry picked from commit 687d8524800c32a4fde51791130e3c00f411819fe0c039b0e8b5a058ef005ff5460d2897bc6e619d 
							
						 
						
							2023-07-17 00:26:42 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Caesar Schinas 
								
							 
						 
						
							
							
								
							
							
	
	
	6730fd099d 
 
						 
						
							
							
								
								
								[BRANDING] fix code highlight color in Forgejo themes  
							
							... 
							
							
							
							
							(cherry picked from commit ffc49a4e99c703523736fc76689670 
							
						 
						
							2023-07-17 00:25:56 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Earl Warren 
								
							 
						 
						
							
							
								
							
							
	
	
	7565c91698 
 
						 
						
							
							
								
								
								[BRANDING] Add Forgejo light, dark, and auto themes (squash) variables  
							
							... 
							
							
							
							
							Adapt to b6bcb79987https://codeberg.org/forgejo/forgejo/issues/893 
[BRANDING] Add Forgejo light variables
Updates the Forgejo light theme with the changes in b6bcb7998forgejo/forgejo#893 
(cherry picked from commit 6fa0d493a14ccf8b62e49f932d4cbc 
							
						 
						
							2023-07-17 00:25:56 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gusted 
								
							 
						 
						
							
							
								
							
							
	
	
	1ce2f72355 
 
						 
						
							
							
								
								
								[BRANDING] Fix commit label for Forgejo Dark theme ( #843 )  
							
							... 
							
							
							
							
							- Define the `--color-label-text` variable with a light color, which is currently used for commit's SHA
Co-authored-by: Gusted <postmaster@gusted.xyz>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/843 
(cherry picked from commit 74c186a3807e185c5ca57e8eb1b2a12e7b0209d7ee2cfd1cd0c731139bf3 
							
						 
						
							2023-07-17 00:25:56 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Caesar Schinas 
								
							 
						 
						
							
							
								
							
							
	
	
	e2c4609b8a 
 
						 
						
							
							
								
								
								[BRANDING] fix invisible label in branch protection settings  
							
							... 
							
							
							
							
							(cherry picked from commit 23e5d45721f02e4582e551e0cb0fbc02a26570725a42fa9dd42f031c3bb2 
							
						 
						
							2023-07-17 00:25:56 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Caesar Schinas 
								
							 
						 
						
							
							
								
							
							
	
	
	c114933045 
 
						 
						
							
							
								
								
								[BRANDING] Add Forgejo light, dark, and auto themes  
							
							... 
							
							
							
							
							(cherry picked from commit faab0c670eb6d59493c7837da0c1f471ad245e1d85a7032f1bhttps://codeberg.org/forgejo/forgejo/pulls/552 
(cherry picked from commit 0c2c131bb0https://codeberg.org/forgejo/forgejo/issues/562 
(cherry picked from commit 2b0dc1f80f494ad6a3b76940fc22c4bd6f00656cebb506a12443d72d37811a87adca010704c410b49039b47c16e32bb78924053ad84f91a35f1b6da77709d6a67b76aec99cdd76089f3482bac925c76b8fcf1c608e 
							
						 
						
							2023-07-17 00:25:55 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	186f07bbf7 
 
						 
						
							
							
								
								
								Make add line comment buttons focusable ( #25894 ) ( #25896 )  
							
							... 
							
							
							
							
							Backport #25894  by @sebastian-sauer
Use a real button and add an aria-label.
Additionally, show the button whenever it is focused.
See https://codeberg.org/forgejo/forgejo/issues/998  for explanation.
Our handling of this button is now equal to that of GitHub.
Nothing has changed visually.
Co-authored-by: sebastian-sauer <sauer.sebastian@gmail.com> 
							
						 
						
							2023-07-15 12:18:49 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	b4460cf541 
 
						 
						
							
							
								
								
								Make "install page" respect environment config ( #25648 ) ( #25799 )  
							
							... 
							
							
							
							
							Backport #25648 
Replace #25580 
Fix  #19453 
The problem was: when users set "GITEA__XXX__YYY" , the "install page"
doesn't respect it.
So, to make the result consistent and avoid surprising end users, now
the "install page" also writes the environment variables to the config
file.
And, to make things clear, there are enough messages on the UI to tell
users what will happen.
There are some necessary/related changes to `environment-to-ini.go`:
* The "--clear" flag is removed and it was incorrectly written there.
The "clear" operation should be done if INSTALL_LOCK=true
* The "--prefix" flag is removed because it's never used, never
documented and it only causes inconsistent behavior.
The only conflict during backport is "ui divider" in
templates/install.tmpl 
							
						 
						
							2023-07-10 11:51:05 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	012b804a9a 
 
						 
						
							
							
								
								
								Clarify "text-align" CSS helpers, fix clone button padding ( #25763 ) ( #25764 )  
							
							... 
							
							
							
							
							Backport  #25763 
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-07-10 00:19:24 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Denys Konovalov 
								
							 
						 
						
							
							
								
							
							
	
	
	917ca5ded9 
 
						 
						
							
							
								
								
								Several fixes for mobile UI ( #25634 ) ( #25689 )  
							
							... 
							
							
							
							
							Backport #25634  
Resolves https://github.com/go-gitea/gitea/issues/25622 
<details>
<summary>Screenshots</summary>







</details>
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-07-07 00:34:00 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	511be9fe6e 
 
						 
						
							
							
								
								
								Fix position of org follow button ( #25688 ) ( #25692 )  
							
							... 
							
							
							
							
							Backport #25688  by @silverwind
This has recently regressed it seems. Put it back into same position as
https://github.com/go-gitea/gitea/pull/24345 .
Before:
<img width="1246" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/bb410c29-5539-4dad-8351-8da8470f7091 ">
After:
<img width="1236" alt="Screenshot 2023-07-04 at 21 19 13"
src="https://github.com/go-gitea/gitea/assets/115237/072e0e83-defd-484d-8861-33d73fa0e446 ">
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-07-05 08:31:12 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	491f36d32a 
 
						 
						
							
							
								
								
								Actions list enhancements ( #25601 ) ( #25678 )  
							
							... 
							
							
							
							
							Backport https://github.com/go-gitea/gitea/pull/25601  to 1.20.
Various small enhancements to the actions list. Before and after:
<img width="1264" alt="Screenshot 2023-06-30 at 00 11 40"
src="https://github.com/go-gitea/gitea/assets/115237/bb4162ee-cdcf-4a73-b05e-f9521562edbb ">
<img width="1264" alt="Screenshot 2023-06-30 at 00 09 51"
src="https://github.com/go-gitea/gitea/assets/115237/52a70ea9-4bb3-406e-904b-0fdaafde9582 ">
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-07-04 13:00:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	39fce5750d 
 
						 
						
							
							
								
								
								Prevent SVG shrinking ( #25652 ) ( #25669 )  
							
							... 
							
							
							
							
							Backport https://github.com/go-gitea/gitea/pull/25652 
This will prevent the most common cases of SVG shrinking because lack of
space. I evaluated multiple options and this seems to be the one with
the least impact in size and processing cost, so I went with it.
Unfortunately, CSS can not dynamically convert `16` obtained from
`attr()` to `16px`, or else a generic solution for all sizes would have
been possible. But a solution is [in
sight](https://developer.mozilla.org/en-US/docs/Web/CSS/attr#type-or-unit )
with `attr(width px)` but no browser supports it currently. 
							
						 
						
							2023-07-04 10:03:03 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	e610b0389a 
 
						 
						
							
							
								
								
								Fix UI misalignment on user setting page ( #25629 ) ( #25656 )  
							
							... 
							
							
							
							
							Backport #25629  by @wxiaoguang
Fix  #25628 
Diff with ignoring space:
https://github.com/go-gitea/gitea/pull/25629/files?diff=unified&w=1 
The "modal" shouldn't appear between "ui attached segment", otherwise
these segments lose margin-top.
After the fix:
<details>




</details>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-07-03 21:16:58 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	2390a46d0f 
 
						 
						
							
							
								
								
								Reduce table padding globally ( #25568 ) ( #25577 )  
							
							... 
							
							
							
							
							Backport #25568  by @silverwind
Fomantic's tables have too much padding. Reduce it so we have more
information density in them. Especially the admin tables need this
because they are bursting already because of column count.
## Admin repolist before and after
<img width="909" alt="Screenshot 2023-06-28 at 20 27 55"
src="https://github.com/go-gitea/gitea/assets/115237/954c925c-8db5-47ce-ae51-a2168b857014 ">
<img width="897" alt="Screenshot 2023-06-28 at 20 36 03"
src="https://github.com/go-gitea/gitea/assets/115237/0bddc09a-9117-48b3-a17e-3d34c58d8d3d ">
## Other tables
<img width="1230" alt="Screenshot 2023-06-28 at 20 36 22"
src="https://github.com/go-gitea/gitea/assets/115237/38f555b6-a7ce-416a-9f1f-706eaf18863b ">
<img width="1236" alt="Screenshot 2023-06-28 at 20 26 37"
src="https://github.com/go-gitea/gitea/assets/115237/82b2878e-358c-4dc2-a6b4-c66e43cd2dfb ">
<img width="1231" alt="Screenshot 2023-06-28 at 20 59 30"
src="https://github.com/go-gitea/gitea/assets/115237/c6a92e55-a3a3-4c80-9a0d-50aebb49886c ">
Files table is unaffected because it has custom padding already.
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-06-29 09:24:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	7222bac4e3 
 
						 
						
							
							
								
								
								Align language menu icon and fit the footer area ( #25556 ) ( #25563 )  
							
							... 
							
							
							
							
							Backport #25556  by @wxiaoguang
Close  #25551 
## Before

## After

----

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-06-28 11:51:24 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	614d6df2d8 
 
						 
						
							
							
								
								
								Fix admin-dl-horizontal ( #25512 ) ( #25535 )  
							
							... 
							
							
							
							
							Backport #25512  by @wxiaoguang


Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: HesterG <hestergong@gmail.com>
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-06-27 17:06:36 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	e8a7cd4a1d 
 
						 
						
							
							
								
								
								Fix input line-height cutting off g ( #25334 ) ( #25533 )  
							
							... 
							
							
							
							
							Backport #25334  by @hiifong
Fix the incomplete display of input text
Before:


After:


Co-authored-by: hiifong <i@hiif.ong>
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-06-27 11:31:18 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									HesterG 
								
							 
						 
						
							
							
								
							
							
	
	
	40744f8976 
 
						 
						
							
							
								
								
								Allow change line of admin-dl-horizontal dt ( #25508 ) ( #25516 )  
							
							... 
							
							
							
							
							As https://github.com/go-gitea/gitea/pull/25515#issuecomment-1606626886 
says, still need this backport
Close  #25389 
After:
<img width="915" alt="Screen Shot 2023-06-26 at 11 00 12"
src="https://github.com/go-gitea/gitea/assets/17645053/45026447-cf50-4603-ade3-7b80a9023c20 ">
admin/dashboard:
<img width="957" alt="Screen Shot 2023-06-26 at 10 59 51"
src="https://github.com/go-gitea/gitea/assets/17645053/f4f95bbe-f747-46f1-8fbd-5778a19ebef7 ">
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-06-26 22:20:22 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	85bad22ff8 
 
						 
						
							
							
								
								
								Fine tune "dropdown button" icon ( #25442 ) ( #25499 )  
							
							... 
							
							
							
							
							Backport #25442  by @wxiaoguang

----

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-06-25 14:35:26 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	51789ba12d 
 
						 
						
							
							
								
								
								Improve wiki sidebar and TOC ( #25460 ) ( #25477 )  
							
							... 
							
							
							
							
							Backport #25460  by @wxiaoguang
Close  #20976 
Close  #20975 
1. Fix the bug: the TOC in footer was incorrectly rendered as main
content's TOC
2. Fix the layout: on mobile, the TOC is put above the main content,
while the sidebar is put below the main content
3. Auto collapse the TOC on mobile
ps: many styles of "wiki.css" are moved from old css files, so leave
nits to following PRs.
### for desktop

### for mobile

### other changed pages
<details>


</details>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-06-24 10:16:15 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	056829749e 
 
						 
						
							
							
								
								
								Diff page enhancements ( #25398 ) ( #25437 )  
							
							... 
							
							
							
							
							Backport #25398  by @silverwind
Two small tweaks:
1. Vertically center arrow here when editing a PR:
<img width="405" alt="Screenshot 2023-06-20 at 19 48 49"
src="https://github.com/go-gitea/gitea/assets/115237/1d63764d-9fd9-467e-8a8e-9258c06475eb ">
2. Use 2-row layout on diff viewed status and show it again on mobile:
<img width="142" alt="Screenshot 2023-06-20 at 19 51 21"
src="https://github.com/go-gitea/gitea/assets/115237/3046e782-163c-4f87-910c-a22066de8f1b ">
Mobile view:
<img width="370" alt="Screenshot 2023-06-20 at 19 44 40"
src="https://github.com/go-gitea/gitea/assets/115237/9cf56347-7323-4d05-99a5-17ad215ee44d ">
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-06-22 14:33:13 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	ea00ed320d 
 
						 
						
							
							
								
								
								Various UI fixes ( #25264 ) ( #25431 )  
							
							... 
							
							
							
							
							Backport #25264  by @silverwind
Numerous small UI fixes:
- Fix double border in collaborator list
- Fix system notice table background
- Mute links in repo and org lists
- Downsize projects edit buttons
- Improve milestones and project list rendering
- Condense milestone list entry to a single line of "metas"
- Mute ".." button in repo files list
<img width="899" alt="Screenshot 2023-06-14 at 21 19 23"
src="https://github.com/go-gitea/gitea/assets/115237/40d70006-5f76-49ad-b43c-4343ec3311e1 ">
<img width="905" alt="Screenshot 2023-06-14 at 21 18 29"
src="https://github.com/go-gitea/gitea/assets/115237/46ef39ea-ab26-452d-89b0-a55d0cfacfdb ">
<img width="270" alt="Screenshot 2023-06-14 at 21 14 09"
src="https://github.com/go-gitea/gitea/assets/115237/aa16e833-a03b-4231-bc7c-159a6a6bee19 ">
<img width="409" alt="Screenshot 2023-06-14 at 21 12 13"
src="https://github.com/go-gitea/gitea/assets/115237/b5242d41-f87a-4837-b0cf-9cc4c1f43daf ">
<img width="286" alt="Screenshot 2023-06-14 at 21 10 03"
src="https://github.com/go-gitea/gitea/assets/115237/d0c36e47-651b-4d34-ad95-3d59474a7c3e ">
<img width="928" alt="Screenshot 2023-06-14 at 21 05 24"
src="https://github.com/go-gitea/gitea/assets/115237/fc3b713e-d252-40f5-b6ba-6e5a741ab500 ">
<img width="217" alt="Screenshot 2023-06-14 at 21 02 01"
src="https://github.com/go-gitea/gitea/assets/115237/c4c33376-18d6-4820-aff5-f508f6d351a0 ">
<img width="79" alt="Screenshot 2023-06-14 at 20 42 43"
src="https://github.com/go-gitea/gitea/assets/115237/034b5950-c0bf-473b-a2f7-0c27a0259f29 ">
<img width="607" alt="Screenshot 2023-06-14 at 21 00 42"
src="https://github.com/go-gitea/gitea/assets/115237/fba2d3fd-bd3e-4daf-8b2f-530a1c99c8bc ">
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-06-22 10:19:38 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									sebastian-sauer 
								
							 
						 
						
							
							
								
							
							
	
	
	30a783879f 
 
						 
						
							
							
								
								
								Show outdated comments in files changed tab ( #24936 ) ( #25428 )  
							
							... 
							
							
							
							
							Backport #24936 
If enabled show a clickable label in the comment. A click on the label
opens the Conversation tab with the comment focussed - there you're able
to view the old diff (or original diff the comment was created on).
**Screenshots**


When resolved and outdated:

Option to enable/disable this (stored in user settings - default is
disabled):


fixes  #24913 
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-06-22 08:34:42 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	cda69a0363 
 
						 
						
							
							
								
								
								Fix dropdown icon layout on diff page ( #25397 ) ( #25403 )  
							
							... 
							
							
							
							
							Backport #25397  by @wxiaoguang
Address
https://github.com/go-gitea/gitea/pull/25163#issuecomment-1599207916 
Remove the unused  "icon-button".
And fix the layout:
Without the dropdown icon:
```
	{{svg "gitea-whitespace"}}
```

With the dropdown icon:
```
	{{svg "gitea-whitespace" 16 "gt-mr-3"}}
	{{svg "octicon-triangle-down" 14 "dropdown icon"}}
```

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-06-21 10:55:11 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	e9105ac281 
 
						 
						
							
							
								
								
								Fix label list divider ( #25312 ) ( #25372 )  
							
							... 
							
							
							
							
							Backport #25312  by @wxiaoguang
We only needs 2 lines to hide the dividers.
```
  $dropdownLabelFilter.dropdown('setting', {'hideDividers': 'empty'});
  $dropdownLabelFilter.dropdown('refreshItems');
```
Other code blocks are refactored by the way.


Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-06-19 18:14:31 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	e6e1cfd8e4 
 
						 
						
							
							
								
								
								fix issue filters on mobile view ( #25368 ) ( #25371 )  
							
							... 
							
							
							
							
							Backport #25368  by @denyskon
Fix  #24846  applying the solution proposed by @silverwind 
<details>
<summary>Screenshots</summary>






</details>
Replaces #25335 
Co-authored-by: Denys Konovalov <kontakt@denyskon.de> 
							
						 
						
							2023-06-19 17:43:22 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	b673edbeaf 
 
						 
						
							
							
								
								
								Fix UI on mobile view ( #25315 ) ( #25340 )  
							
							... 
							
							
							
							
							Backport #25315  by @denyskon
Various fixes to pages or elements which were looking ugly on mobile.
<details>
<summary>Screenshots</summary>









</details>
Co-authored by: @silverwind
Co-authored-by: Denys Konovalov <kontakt@denyskon.de>
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-06-18 13:02:41 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	3bd311c3f4 
 
						 
						
							
							
								
								
								Remove EasyMDE focus outline on text ( #25328 ) ( #25332 )  
							
							... 
							
							
							
							
							Backport #25328  by @silverwind
EasyMDE in Firefox currently shows a ugly outline in the fake textarea
the CodeMirror uses. Hide it.
Before:
<img width="845" alt="Screenshot 2023-06-18 at 02 54 09"
src="https://github.com/go-gitea/gitea/assets/115237/dc406166-9ad5-4a9b-9581-002b5cdcc6df ">
After:
<img width="870" alt="Screenshot 2023-06-18 at 02 54 24"
src="https://github.com/go-gitea/gitea/assets/115237/ddd78759-2cf2-4385-b863-7576fec25c34 ">
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-06-18 09:35:40 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	e5629d9701 
 
						 
						
							
							
								
								
								Remove more unused Fomantic variants ( #25292 ) ( #25323 )  
							
							... 
							
							
							
							
							Backport #25292  by @silverwind
Save another 50KB of CSS by removing unused and useless Fomantic
variants.
Removed the last instance of a `tertiary` button and fixed a TODO:
<img width="509" alt="Screenshot 2023-06-15 at 22 34 36"
src="https://github.com/go-gitea/gitea/assets/115237/8a16ae7b-2b17-439b-a096-60a52724e3d6 ">
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-06-17 17:14:25 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	783f7ccb2c 
 
						 
						
							
							
								
								
								Fix some UI alignments ( #25277 ) ( #25290 )  
							
							... 
							
							
							
							
							Backport #25277  by @wxiaoguang
Fixes: https://github.com/go-gitea/gitea/issues/25282 
Fix the problems:
1. The `repo-button-row` had various patches before, this PR makes it
consistent
2. The "Add File" has wrong CSS class "icon", remove it
3. The "Add File" padding was overridden by "!important", fix it by
`.repo-button-row .button.dropdown` with comment
4. The selector `.ui.segments ~ .ui.top.attached.header` is incorrect,
it should use `+`
The `repo-button-row` is only used on 3 pages:




Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-06-16 00:32:59 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	5191ab6445 
 
						 
						
							
							
								
								
								Use flex to align SVG and text ( #25163 ) ( #25260 )  
							
							... 
							
							
							
							
							Backport #25163  by @wxiaoguang
The code can be as simple as:
```html
<div class="flex-text-block">{{svg "octicon-alert"}} {{svg "octicon-x"}} text (block)</div>
<div><div class="flex-text-inline">{{svg "octicon-alert"}} {{svg "octicon-x"}} text</div> (inline)</div>
<div><button class="ui red button">{{svg "octicon-alert" 24}} {{svg "octicon-x" 24}} text</button></div>
```

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-06-14 13:21:48 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	22948048b2 
 
						 
						
							
							
								
								
								Revert overflow: overlay (revert  #21850 ) ( #25231 ) ( #25239 )  
							
							... 
							
							
							
							
							Backport #25231  by @wxiaoguang
It causes not only one issue like #25221  (the footer width was also
affected by that change and was fixed some time ago)
The problem of "overflow: overlay" (#21850 ) is:
* It's not widely supported and is non-standard
https://caniuse.com/css-overflow-overlay 
* It's not widely tested in Gitea (some standard layout like `ui
container + ui grid` may break it).
* The benefit seems smaller than the problems it brings.
So, I think it is good to revert it.
----
Let's leave enough time for testing and reviewing.
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-06-13 19:45:45 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	3ea544d89c 
 
						 
						
							
							
								
								
								Change access token UI to select dropdowns ( #25109 ) ( #25230 )  
							
							... 
							
							
							
							
							Backport #25109  by @jtran
The current UI to create API access tokens uses checkboxes that have a
complicated relationship where some need to be checked and/or disabled
in certain states. It also requires that a user interact with it to
understand what their options really are.
This branch changes to use `<select>`s. It better fits the available
options, and it's closer to [GitHub's
UI](https://github.com/settings/personal-access-tokens/new ), which is
good, in my opinion. It's more mobile friendly since the tap-areas are
larger. If we ever add more permissions, like Maintainer, there's a
natural place that doesn't take up more screen real-estate.
This branch also fixes a few minor issues:
- Hide the error about selecting at least one permission after second
submission
- Fix help description to call it "authorization" since that's what
permissions are about (not authentication)
Related: #24767 .
<img width="883" alt="Screenshot 2023-06-07 at 5 07 34 PM"
src="https://github.com/go-gitea/gitea/assets/10803/6b63d807-c9be-4a4b-8e53-ecab6cbb8f76 ">
---
When it's open:
<img width="881" alt="Screenshot 2023-06-07 at 5 07 59 PM"
src="https://github.com/go-gitea/gitea/assets/10803/2432c6d0-39c2-4ca4-820e-c878ffdbfb69 ">
Co-authored-by: Jonathan Tran <jon@allspice.io> 
							
						 
						
							2023-06-13 12:42:25 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	3e9fc36729 
 
						 
						
							
							
								
								
								Remove hacky patch for "safari emoji glitch fix"  ( #25208 ) ( #25211 )  
							
							... 
							
							
							
							
							Backport #25208  by @wxiaoguang
According to my test, the UI (emoji) is fine in Safari
And actually the code is just dead code, because the "resize" event is
never fired on page loading. So for most cases users just view the pages
without this hacky patch, nobody ever complains.
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-06-12 18:16:04 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	0cf467e9e0 
 
						 
						
							
							
								
								
								Minor arc-green color tweaks ( #25175 ) ( #25205 )  
							
							... 
							
							
							
							
							Backport #25175  by @silverwind
Some minor color tweaks
<img width="1271" alt="Screenshot 2023-06-09 at 13 29 25"
src="https://github.com/go-gitea/gitea/assets/115237/b7b34995-5d34-461f-8d19-4f5755a98109 ">
<img width="1272" alt="Screenshot 2023-06-09 at 13 31 20"
src="https://github.com/go-gitea/gitea/assets/115237/63c866b4-797e-46ed-ba28-b1162ccd3e15 ">
<img width="1276" alt="Screenshot 2023-06-09 at 13 32 21"
src="https://github.com/go-gitea/gitea/assets/115237/de7ee02e-d0c7-4979-a8aa-0fd03e8db491 ">
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-06-12 13:56:59 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	ee26d1c578 
 
						 
						
							
							
								
								
								Button and color enhancements ( #24989 ) ( #25176 )  
							
							... 
							
							
							
							
							Backport #24989 . Clean cherry-pick aside from one small conflict with
divider.
- Various corrections to button styles, especially secondary
- Remove focus highlight, it's annoying when it stays on button after
press
- Clearly define ghost and link buttons with demos in devtest
- Remove black, grey and tertiary buttons, they should not be used
- Make `arc-green` slightly darker
<img width="1226" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/8d89786a-01ab-40f8-ae5a-e17f40e35084 ">
<img width="1249" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/83651e6d-3c27-46ff-b8bd-ff344d70e949 "> 
							
						 
						
							2023-06-11 02:13:08 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	18093d4c9a 
 
						 
						
							
							
								
								
								Fix mobile navbar and misc cleanups ( #25134 ) ( #25169 )  
							
							... 
							
							
							
							
							Backport #25134  by @silverwind
- Fix and improve mobile navbar layout
- Apply all cleanups suggested in
https://github.com/go-gitea/gitea/pull/25111 
- Make media query breakpoints match Fomantic's exactly
- Clean up whitespace in class on navbar items
Mobile navbar before and after:
<img width="745" alt="Screenshot 2023-06-08 at 08 40 56"
src="https://github.com/go-gitea/gitea/assets/115237/ca84b239-b10f-41db-8c06-dcf2b6dd9d28 ">
<img width="739" alt="Screenshot 2023-06-08 at 08 41 23"
src="https://github.com/go-gitea/gitea/assets/115237/09133c54-eb7e-4110-858c-ead23c3b7521 "> 
							
						 
						
							2023-06-11 09:50:39 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	0058453fd9 
 
						 
						
							
							
								
								
								Modify OAuth login ui and fix display name, iconurl related logic ( #25030 ) ( #25161 )  
							
							... 
							
							
							
							
							Backport #25030  by @HesterG
Close  #24808  
Co-Authour @wxiaoguang @silverwind 
1. Most svgs are found from https://worldvectorlogo.com/  , and some are
from conversion of png to svg. (facebook and nextcloud). And also
changed `templates/user/settings/security/accountlinks.tmpl`.
2. Fixed display name and iconurl related logic
# After
<img width="1436" alt="Screen Shot 2023-06-05 at 14 09 05"
src="https://github.com/go-gitea/gitea/assets/17645053/a5db39d8-1ab0-4676-82a4-fba60a1d1f84 ">
On mobile
<img width="378" alt="Screen Shot 2023-06-05 at 14 09 46"
src="https://github.com/go-gitea/gitea/assets/17645053/71d0f51b-baac-4f48-8ca2-ae0e013bd62e ">
user/settings/security/accountlinks (The dropdown might be improved
later)
<img width="973" alt="Screen Shot 2023-06-01 at 10 01 44"
src="https://github.com/go-gitea/gitea/assets/17645053/27010e7e-2785-4fc5-8c49-b06621898f37 ">
Co-authored-by: HesterG <hestergong@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-06-09 10:59:18 +00:00