0ko 
								
							 
						 
						
							
							
								
							
							
	e59f92dec8  
						 
						
							
							
								
								
								[UI] Fix commit messages breaking out of event history  
							
							... 
							
							
							
							
							Regression of 8b54d38cbe 
							
						 
						
							2024-05-05 15:40:25 +05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	1d8316f278 
 
						 
						
							
							
								
								
								Fix border-radius on view, blame and code search ( #30545 ) ( #30560 )  
							
							... 
							
							
							
							
							Backport #30545  by @silverwind
Fixes: https://github.com/go-gitea/gitea/issues/30540 
1. Fix all these boxes by adding `bottom attached` and removing a
problematic CSS rule:
<img width="1319" alt="Screenshot 2024-04-17 at 22 25 31"
src="https://github.com/go-gitea/gitea/assets/115237/346445a4-4944-4003-a1ef-6f5b0eda624e ">
<img width="643" alt="Screenshot 2024-04-17 at 22 21 18"
src="https://github.com/go-gitea/gitea/assets/115237/10f17ed3-9ad6-48de-92fa-bac6621815b9 ">
2. Change the "last commit" box to `ui segment` which has correct
border-radius. Also included is a tiny tweak to make author name ellipse
instead of wrap.
<img width="1331" alt="Screenshot 2024-04-17 at 22 23 23"
src="https://github.com/go-gitea/gitea/assets/115237/285fbd45-ced0-4d33-abe3-7384ffa03188 ">
Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit b4a38318c333519b1008d03fd01e14a803363498) 
							
						 
						
							2024-04-21 18:11:36 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	ce31e611e2 
 
						 
						
							
							
								
								
								Fix overflow on issue dependency ( #30484 ) ( #30494 )  
							
							... 
							
							
							
							
							Backport #30484  by @silverwind
Small tweak here to prevent this and likely other events from
overflowing in the timeline:
<img width="895" alt="Screenshot 2024-04-14 at 22 53 17"
src="https://github.com/go-gitea/gitea/assets/115237/001b4f6b-f649-44ff-b2f0-c8e0dedeb384 ">
Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit 2efc81d200106cd8707dae1a1bf50ea586b4c846) 
							
						 
						
							2024-04-21 17:45:36 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	8b54d38cbe 
 
						 
						
							
							
								
								
								Various improvements for long file and commit names ( #30374 )  
							
							... 
							
							
							
							
							Fixes: https://github.com/go-gitea/gitea/issues/29438 
This contains numerous enhancements for how large commit messages and
large filenames render. Another notable change is that the file path is
no longer cut off by backend at 30 chars, but rendered in full with
wrapping.
<img width="1329" alt="Screenshot 2024-04-09 at 21 53 57"
src="https://github.com/go-gitea/gitea/assets/115237/5ccbb3d6-643a-4f60-ba79-3572b36d5182 ">
<hr>
<img width="711" alt="Screenshot 2024-04-09 at 21 44 24"
src="https://github.com/go-gitea/gitea/assets/115237/6ffe8fbb-407c-4aa7-b591-3d80daea7d57 ">
<hr>
<img width="439" alt="Screenshot 2024-04-09 at 21 19 03"
src="https://github.com/go-gitea/gitea/assets/115237/1ec7f6e9-2fd8-4841-87eb-6ca02ab9cd61 ">
<hr>
<img width="444" alt="Screenshot 2024-04-09 at 21 18 52"
src="https://github.com/go-gitea/gitea/assets/115237/70931b9e-5841-477e-b3bc-98f8d2662964 ">
---------
Co-authored-by: Giteabot <teabot@gitea.io>
(cherry picked from commit 50099d7af436785daf66a3a9f27bd5c009f90684)
Conflicts:
	- templates/repo/diff/box.tmpl
          Picked Gitea's version, because it appears we missed a
          gt-gap-1 => tw-gap-1 conversion
	- web_src/css/repo.css
          Conflict due to tag signature highlighting, resolved by
          adding the Gitea changes on top of ours manually.
(cherry picked from commit 28170b517914f00449dbce8ba91e02fa1f0f84e5) 
							
						 
						
							2024-04-15 16:33:51 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giteabot 
								
							 
						 
						
							
							
								
							
							
	
	
	82b2b9790e 
 
						 
						
							
							
								
								
								Add gap to commit status details ( #30284 ) ( #30290 )  
							
							... 
							
							
							
							
							Backport #30284  by @silverwind
Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit d09ddb52501a0342cc07df8ae312b847ebd98d96) 
							
						 
						
							2024-04-08 11:51:51 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									0ko 
								
							 
						 
						
							
							
								
							
							
	db1a36673e  
						 
						
							
							
								
								
								Add opacity and grayscale to archived labels  
							
							... 
							
							
							
							
							Co-authored-by: Gusted <gusted@noreply.codeberg.org>
(cherry picked from commit 1060b7cfa8 
							
						 
						
							2024-04-03 20:14:39 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gergely Nagy 
								
							 
						 
						
							
							
								
							
							
	6051722460  
						 
						
							
							
								
								
								Adjust the signed tag verification line  
							
							... 
							
							
							
							
							Move the signed tag verification line above the release notes, don't
disable the bottom margin, and make sure the verification line's box is
properly rounded like other boxes.
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu> 
							
						 
						
							2024-04-02 22:03:30 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gergely Nagy 
								
							 
						 
						
							
							
								
							
							
	923035e418  
						 
						
							
							
								
								
								Highlight signed tags like signed commits  
							
							... 
							
							
							
							
							This makes signed tags show a badge in the tag list similar to signed
commits in the commit list, and a more verbose block when viewing a
single tag. Works for both GPG and SSH signed tags.
Fixes  #1316 .
Work sponsored by @glts.
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu> 
							
						 
						
							2024-04-01 13:42:11 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									0ko 
								
							 
						 
						
							
							
								
							
							
	b9dbd93ebc  
						 
						
							
							
								
								
								Fix New issue button consistency  
							
							... 
							
							
							
							
							Fixes https://codeberg.org/forgejo/forgejo/issues/2613 
Based on https://codeberg.org/forgejo/forgejo/issues/2613#issuecomment-1654709 
- add new class `list-header-issues`;
- add rules that fix button position;
- use variable to keep the vertical offset constant;
- fix gap for edit button.
Co-authored-by: Gusted <gusted@noreply.codeberg.org> 
							
						 
						
							2024-03-31 08:20:16 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gusted 
								
							 
						 
						
							
							
								
							
							
	a1bce73f5c  
						 
						
							
							
								
								
								[BUG] Render emojis in labels in issue info popup  
							
							... 
							
							
							
							
							- Currently emojis that are part of the label's name aren't rendered
when shown in the popup that you get when you hover over issue
references.
- This patch fixes that by rendering the emoji.
- Adds CSS to not make the emoji big in the label.
- Resolves  #1531  
							
						 
						
							2024-03-30 14:31:06 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	18caa53859 
 
						 
						
							
							
								
								
								Add muted class to author name in repo commit list ( #29989 )  
							
							... 
							
							
							
							
							Before:

After:

If repo is a mirror, external user's name will be white, but if user is
existed, then you will see blue names and white names together:

---------
Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit 13921569dd5f77ee7d8352d0036ff649b03e72c8) 
							
						 
						
							2024-03-30 07:17:30 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	a579a0f318 
 
						 
						
							
							
								
								
								[Port] gitea#30014: Various code view improvements  
							
							... 
							
							
							
							
							1. Restore missing styles for message close icon
2. Move `code-line-button` so that it does not go off-screen on small
viewports
3. Make `code-line-button` look and behave like other buttons
4. Make `code-line-button` work in blame
5. Make the active selection span the whole line, not just the code part
6. Tweak colors, make dark theme code bg darker, make line numbers same
color in diff and file view.
7. Move code background to parent, fixing border radius and other
problems
8. Enable code wrap in blame
9. Improve blame responsiveness
10. Remove `--color-code-sidebar-bg` in blame, now it uses same
background as code
11. Rename `--color-active-line` to `--color-highlight-bg`
12. Add `--color-highlight-bg`
13. Fix button group borders on hover and border-right on last button.
<img width="1343" alt="Screenshot 2024-03-23 at 22 34 13"
src="https://github.com/go-gitea/gitea/assets/115237/fcbb919f-5dc3-43f0-97f6-870d6f412554 ">
<img width="1334" alt="Screenshot 2024-03-23 at 22 34 26"
src="https://github.com/go-gitea/gitea/assets/115237/ca44c3b7-4328-4645-ba49-b0dc6a5ac06d ">
<img width="1338" alt="Screenshot 2024-03-23 at 22 34 57"
src="https://github.com/go-gitea/gitea/assets/115237/00eb0b5a-1ec7-4669-a94a-4602b9d1c1ac ">
<img width="1337" alt="Screenshot 2024-03-23 at 22 34 42"
src="https://github.com/go-gitea/gitea/assets/115237/752edc4a-064f-413c-9dff-c086187fcd85 ">
Fixes: https://github.com/go-gitea/gitea/issues/18074 
---
Conflict resolution: Trivial.
Ref: https://codeberg.org/forgejo/forgejo/issues/2776 
(cherry picked from commit db01bf6cc88a8a7b5132b9306b3af1649566b10f) 
							
						 
						
							2024-03-28 16:43:14 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	1ee494a045 
 
						 
						
							
							
								
								
								[Port] gitea#29982 Introduce .secondary-nav and handle .page-content spacing universally  
							
							... 
							
							
							
							
							Fixes: https://github.com/go-gitea/gitea/issues/29981 . Introduce
`.secondary-nav` as a universal way for styling and margin adjustments
inside `.page-content`.
If the first child of `.page-content` is `.secondary-nav`, we add margin
below it, otherwise we add padding to the first child. Notable changes:
- `--color-header-wrapper` is replaced with `--color-secondary-nav-bg`.
- `navbar` class is removed.
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
---
Conflict resolution: Trivial conflict & changed selector to reflect new
classes.
Ref: https://codeberg.org/forgejo/forgejo/issues/2776 
(cherry picked from commit 3ccda41a539b8ba7841919ee12dc2877ddc03818) 
							
						 
						
							2024-03-28 16:43:09 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	2141bc3298 
 
						 
						
							
							
								
								
								Refactor clone-panel styles ( #29861 )  
							
							... 
							
							
							
							
							1. The borders were doubled on the "empty" page, fix it.
2. Remove unnecessary CSS classes like "clone", "compact", etc
3. Use CSS class "clone-panel" instead of ID "clone-panel"
4. Use `tw-flex-1` instead of `gt-f1`
5. Remove unnecessary ID "more-btn"
(cherry picked from commit 673286d8c8a00bf7240a93187d767fb5a5e32a31) 
							
						 
						
							2024-03-26 19:04:24 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									HEREYUA 
								
							 
						 
						
							
							
								
							
							
	
	
	729849a2fd 
 
						 
						
							
							
								
								
								Improve branch select list ui in go templates ( #29729 )  
							
							... 
							
							
							
							
							Relate:[#27417 ](https://github.com/go-gitea/gitea/issues/27471 )
Reference:  [#26631 ](https://github.com/go-gitea/gitea/pull/26631 )
Before

After

---------
Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit 2eb7c564df950fb96a1970559719003e979ff30a) 
							
						 
						
							2024-03-23 17:29:06 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	ca39d74363 
 
						 
						
							
							
								
								
								Fix Citation modal responsiveness and clipboard copy ( #29799 )  
							
							... 
							
							
							
							
							The modal was broken in two ways:
- On small screens, the input box was partially hanging outside the
modal. Fixed with flexbox and increased modal width.
- The clipboard copy was not working because the modal had both
`data-clipboard-text` and `data-clipboard-target`, while we only support
one of those. Made a small tweak in clipboard as well so that it will
still fall back to target if text is empty.
(cherry picked from commit 94512ee0628dc0d2b697441a4355ace54b6515cd) 
							
						 
						
							2024-03-20 08:46:29 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	5a16c9d9c0 
 
						 
						
							
							
								
								
								Add <overflow-menu>, rename webcomponents ( #29400 )  
							
							... 
							
							
							
							
							1. Add `<overflow-menu>` web component
2. Rename `<gitea-origin-url>` to `<origin-url>` and make filenames
match.
<img width="439" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/2fbe4ca4-110b-4ad2-8e17-c1e116ccbd74 ">
<img width="444" alt="Screenshot 2024-03-02 at 21 36 52"
src="https://github.com/go-gitea/gitea/assets/115237/aa8f786e-dc8c-4030-b12d-7cfb74bdfd6e ">
<img width="537" alt="Screenshot 2024-03-03 at 03 05 06"
src="https://github.com/go-gitea/gitea/assets/115237/fddd50aa-adf1-4b4b-bd7f-caf30c7b2245 ">


TODO:
- [x] Check if removal of `requestAnimationFrame` is possible to avoid
flash of content. Likely needs a `MutationObserver`.
- [x] Hide tippy when button is removed from DOM.
- [x] ~~Implement right-aligned items
(https://github.com/go-gitea/gitea/pull/28976 )~~. Not going to do it.
- [x] Clean up CSS so base element has no background and add background
via tailwind instead.
- [x] Use it for org and user page.
---------
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit 256a1eeb9a67b18c62a10f5909b584b7b220848a)
Conflicts:
	options/locale/locale_en-US.ini
	templates/package/content/cargo.tmpl
	templates/package/content/cran.tmpl
	templates/package/content/debian.tmpl
	templates/package/content/maven.tmpl 
							
						 
						
							2024-03-20 08:46:29 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	ed1798f66d 
 
						 
						
							
							
								
								
								Improve commit record's ui in comment list ( #26619 )  
							
							... 
							
							
							
							
							Before:


After:


---------
Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit ce085b26fc5076b36c55e6a0a30ba8f11105c0bf) 
							
						 
						
							2024-03-20 08:46:29 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gergely Nagy 
								
							 
						 
						
							
							
								
							
							
	
	
	f756c3c8d0 
 
						 
						
							
							
								
								
								Do not override the background for .repository .data-table tr  
							
							... 
							
							
							
							
							A previous commit (via gitea#29638) changed the `.repository .data-table
.tr` CSS rule to forcibly override the background to `none`. This, in
turn, disabled the even-odd row coloring.
Doing so should be a preference of the theme used, and should not be
enforced by the core CSS rules. This patch removes the override.
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu> 
							
						 
						
							2024-03-18 14:15:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	602a6a92c2 
 
						 
						
							
							
								
								
								Improve CSV rendering ( #29638 )  
							
							... 
							
							
							
							
							Before:
<img width="1332" alt="Screenshot 2024-03-06 at 21 42 17"
src="https://github.com/go-gitea/gitea/assets/115237/0ea07eee-31f8-4783-bd56-37bd8396f00d ">
After:
<img width="1336" alt="Screenshot 2024-03-06 at 21 41 58"
src="https://github.com/go-gitea/gitea/assets/115237/eb7f9cc9-587f-4e3b-92bd-cc67ca639963 "> 
							
						 
						
							2024-03-18 13:52:41 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	4f66fec707 
 
						 
						
							
							
								
								
								Use flex wrap to layout the PR update button ( #29590 )  
							
							... 
							
							
							
							
							Follow #29418 
I think using "flex-wrap: wrap" here is better than hard-coding the screen width.
By using "flex-wrap: wrap", the UI layouts automatically for various
widths (even if in some languages, the sentence might be pretty long)
(cherry picked from commit ade62416917bc87810991585d7047851834ee316) 
							
						 
						
							2024-03-11 23:36:58 +07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									charles 
								
							 
						 
						
							
							
								
							
							
	
	
	e7297d423f 
 
						 
						
							
							
								
								
								Do not exceed display for the PR page buttons on smaller screens ( #29418 )  
							
							... 
							
							
							
							
							Fixes  #29189 .
This is the result after the fix at a width of 768 pixels.

(cherry picked from commit c660149a7079c2b06d4ee6dce2a45804d6d4d7f6) 
						
							2024-03-11 23:36:58 +07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	aefc747ccb 
 
						 
						
							
							
								
								
								Clean up diff header css and reduce global textarea min-height ( #29232 )  
							
							... 
							
							
							
							
							1. Tweak diff header and remove a numbe of unneeded CSS for it:
Before:
<img width="433" alt="Screenshot 2024-02-18 at 01 08 09"
src="https://github.com/go-gitea/gitea/assets/115237/d8b377c0-57bc-44d5-bb57-a582c7d4b3b4 ">
After:
<img width="463" alt="Screenshot 2024-02-18 at 01 07 56"
src="https://github.com/go-gitea/gitea/assets/115237/d08c17e7-5b86-4d07-81da-6371f4754325 ">
3. Reduce height of review textarea and also reduce fomantic's CSS from
12em to 8em. Now fits better on my screen:
<img width="1352" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/5c658d13-295e-4929-94da-13ade888020d ">
---------
Co-authored-by: delvh <dev.lh@web.de>
(cherry picked from commit 39f8ab591c18a65cf783ecd17ddc1a5914ceff7a) 
							
						 
						
							2024-02-19 22:58:33 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	9c4e0c26f9 
 
						 
						
							
							
								
								
								[gitea] Remove obsolete border-radius on comment content ( #29128 )  
							
							... 
							
							
							
							
							This border-radius is obsolete since we changed the comment rendering a
few months ago and it caused incorrect display on blockquotes.
Before:
<img width="160" alt="Screenshot 2024-02-10 at 18 42 48"
src="https://github.com/go-gitea/gitea/assets/115237/ccbf4660-acf9-4268-aad9-1ad49d317a67 ">
After:
<img width="135" alt="Screenshot 2024-02-10 at 18 42 40"
src="https://github.com/go-gitea/gitea/assets/115237/6f588e02-3b2a-49ee-b459-81d8068b2f4e ">
(cherry picked from commit 9063fa096386362f9ae602fdf8a39ae8c972b8e0) 
							
						 
						
							2024-02-11 13:47:48 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									KN4CK3R 
								
							 
						 
						
							
							
								
							
							
	
	
	c3e462921e 
 
						 
						
							
							
								
								
								Improve user search display name ( #29002 )  
							
							... 
							
							
							
							
							I tripped over this strange method and I don't think we need that
workaround to fix the value.
old:

new:

---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2024-02-01 17:10:16 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									JakobDev 
								
							 
						 
						
							
							
								
							
							
	
	
	885cc32b14 
 
						 
						
							
							
								
								
								Show latest commit for file ( #28067 )  
							
							... 
							
							
							
							
							If you view a file, you can now see the latest commit that changed that file.

---------
Co-authored-by: Denys Konovalov <kontakt@denyskon.de> 
							
						 
						
							2024-01-15 17:42:15 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Denys Konovalov 
								
							 
						 
						
							
							
								
							
							
	
	
	7d62615513 
 
						 
						
							
							
								
								
								Revamp repo header ( #27760 )  
							
							... 
							
							
							
							
							Redesign repo header with following new aspects:
- responsive & better-looking repo title
- hide repo button text instead of icons in mobile view
- use same tab style as on explore and org page
<details>
<summary>Before:</summary>




</details>
<details>
<summary>After:</summary>



 
							
						 
						
							2024-01-12 03:44:06 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kyle D 
								
							 
						 
						
							
							
								
							
							
	
	
	e522e774ca 
 
						 
						
							
							
								
								
								Add merge arrow direction and update styling ( #28523 )  
							
							... 
							
							
							
							
							Close https://github.com/go-gitea/gitea/issues/28522 
~Adds some [negative
margin](https://tailwindcss.com/docs/margin#using-negative-values )
helper css classes using tailwind's [prefix
syntax](https://tailwindcss.com/docs/configuration#prefix )~
### Before

### After
 
							
						 
						
							2024-01-05 17:38:56 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									sebastian-sauer 
								
							 
						 
						
							
							
								
							
							
	
	
	e31c6cfe6e 
 
						 
						
							
							
								
								
								Fix Show/hide filetree button on small displays ( #27881 )  
							
							... 
							
							
							
							
							the gt-df's display:flex !important did override the display:none on small displays
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-11-17 18:35:51 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									sebastian-sauer 
								
							 
						 
						
							
							
								
							
							
	
	
	49dddd87b1 
 
						 
						
							
							
								
								
								Improve PR diff view on mobile ( #27883 )  
							
							... 
							
							
							
							
							1. Show diff stats only on large screens
these are already shown in tabs, so no need for this duplicate
information on small screens


2. Hide viewed files information on small screens
Github does the same and this gives us more free space on small screens


3. Review bar now doesn't wrap so we don't need the 77px even on very
small screens
(the sticky headers are still working)
 
							
						 
						
							2023-11-16 11:58:53 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	4a0103fa29 
 
						 
						
							
							
								
								
								Add word-break to repo description in home page ( #27924 )  
							
							... 
							
							
							
							
							In #25315 , @denyskon fixed UI on mobile view.
But for the repo description, on desktop view there's no word-break. 
So maybe we can just add `gt-word-break` to fix it on both mobile view
and desktop view.
Before:
desktop view:

mobile view:

After:
desktop view:

mobile view(almost same?)

---------
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-11-07 23:52:08 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	10a6ebb3fd 
 
						 
						
							
							
								
								
								Fix the overflow style for "Hide all checks" ( #27932 )  
							
							... 
							
							
							
							
							Fix  #27928 
---------
Co-authored-by: silverwind <me@silverwind.io> 
						
							2023-11-07 18:53:35 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	dcb648ee71 
 
						 
						
							
							
								
								
								Add Hide/Show all checks button to commit status check ( #26284 )  
							
							... 
							
							
							
							
							Step one for a GitHub like commit status check ui:



Step two:


The design now will list all commit status checks which takes too much
space.
This is a pre-improve for #26247 
---------
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-11-02 14:49:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	05aa91e6da 
 
						 
						
							
							
								
								
								Add dedicated class for empty placeholders ( #27788 )  
							
							... 
							
							
							
							
							Fixes: https://github.com/go-gitea/gitea/issues/27784 
<img width="1033" alt="Screenshot 2023-10-25 at 19 07 15"
src="https://github.com/go-gitea/gitea/assets/115237/1a363851-1a86-48cb-99ec-0a573371bb6e ">
<img width="1051" alt="Screenshot 2023-10-25 at 19 07 41"
src="https://github.com/go-gitea/gitea/assets/115237/add4b606-2264-430a-af35-249ef005817f ">
Co-authored-by: KN4CK3R <admin@oldschoolhack.me> 
							
						 
						
							2023-10-25 23:42:14 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	f39256f035 
 
						 
						
							
							
								
								
								Add word-break to organization name and description ( #26624 )  
							
							... 
							
							
							
							
							Fix  #24318 
Before:



After:



 
						
							2023-10-25 10:40:39 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	fba4ee7efc 
 
						 
						
							
							
								
								
								Add gap between diff boxes ( #27776 )  
							
							... 
							
							
							
							
							Before (almost no gap between files):
<img width="1240" alt="Screenshot 2023-10-24 at 19 43 32"
src="https://github.com/go-gitea/gitea/assets/115237/30cdbdbc-d102-479c-89ce-3f68837ae0cd ">
After (with 8px gap):
<img width="1241" alt="Screenshot 2023-10-24 at 19 43 22"
src="https://github.com/go-gitea/gitea/assets/115237/72b26a30-8730-4a36-8de9-be143b684b98 "> 
							
						 
						
							2023-10-25 00:47:17 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									MrDevil 
								
							 
						 
						
							
							
								
							
							
	
	
	510d07506e 
 
						 
						
							
							
								
								
								[FIX] resolve confusing colors in languages stats by insert a gap ( #27704 )  
							
							... 
							
							
							
							
							The current language stats are too obsessed with color matching. Similar
colors are always next to each other. It is a bit troublesome to find
the place where the color matching is generated, so just follow the
example of github and add a gap.
## before
<img width="883" alt="image"
src="https://github.com/go-gitea/gitea/assets/12915306/cf54430c-616c-4b37-b561-5a37c20b2d94 ">
## after
<img width="877" alt="image"
src="https://github.com/go-gitea/gitea/assets/12915306/e518ea36-2b8f-4f11-a867-a58dc393db85 "> 
							
						 
						
							2023-10-20 17:33:05 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	4539a7b0b4 
 
						 
						
							
							
								
								
								Fix sticky diff header background ( #27697 )  
							
							... 
							
							
							
							
							Fixes: https://github.com/go-gitea/gitea/issues/27604 
Add negative margins so the header covers any shadow of active elements.
No rendering change of the content of the header because the padding
counteracts the effect.
<img width="128" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/3d0f55b6-9351-4985-a290-da9a92d15b4e "> 
							
						 
						
							2023-10-20 14:56:19 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kyle D 
								
							 
						 
						
							
							
								
							
							
	
	
	ac4ae35542 
 
						 
						
							
							
								
								
								Remove max-width and add hide text overflow ( #27359 )  
							
							... 
							
							
							
							
							Closes https://github.com/go-gitea/gitea/issues/27358  
							
						 
						
							2023-10-09 19:04:31 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Denys Konovalov 
								
							 
						 
						
							
							
								
							
							
	
	
	33de64cb21 
 
						 
						
							
							
								
								
								link to file from its history ( #27354 )  
							
							... 
							
							
							
							
							Fixes  #3852 
Fixes https://github.com/go-gitea/gitea/issues/26707 
Add a button on file history which directs you to the file at the
selected commit.
Co-authored-by: silverwind <me@silverwind.io> 
						
							2023-10-02 04:04:32 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									puni9869 
								
							 
						 
						
							
							
								
							
							
	
	
	50070550a8 
 
						 
						
							
							
								
								
								Hide archived labels when filtering by labels on the issue list ( #27115 )  
							
							... 
							
							
							
							
							Followup  https://github.com/go-gitea/gitea/pull/26820 
## Archived labels UI for issue filter and issue filter actions for
issues/pull request pages.
Changed:
* Enhanced the Issue filter and Issue filter actions UI page to
seamlessly incorporate a list of archived labels.
* Pagination functionality is same as before. If archived label checkbox
is checked then we are adding a query string`archived=true` in the url
to save the state of page.
* Issue filter actions menu is separated into different template.
* Adding the archived flag in issue url labels.
* Pull Request page is also work the same.
Outsourced:
* Defer the implementation of specialized handling for archived labels
to upcoming pull requests. This step will be undertaken subsequent to
the successful merge of this pull request.
Screenshots
### Issue page
<img width="1360" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/d7efb2ef-5b2b-449d-83f0-d430a32ec432 ">
### Issue page with label filter on archived label checkbox when not
checked --> No archived label is there in list
<img width="1249" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/ceea68ef-91f2-4693-910f-2e25e236bfc9 ">
### Issue page with label filter on archived label checkbox when checked
--> Show archived label in the list.
<img width="710" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/2414d26b-2079-4c3c-bd9e-f2f5411bcabf ">
### Issue page with label filter on issue action menu on archived label
checkbox when checked --> Show archived label in the list.
<img width="409" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/259cac87-3e21-4778-99a2-a6a0b8c81178 ">
### Applied the archived=true in Issue labels when archived checkbox is
checked.
<img width="984" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/657ce3db-c0ae-402e-b12d-3b580d3c2ed0 ">
---
Part of https://github.com/go-gitea/gitea/issues/25237 
---------
Signed-off-by: puni9869 <punitinani1@hotmail.com>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-10-01 09:04:39 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	1f00bc44b2 
 
						 
						
							
							
								
								
								Fix review UI ( #27322 )  
							
							... 
							
							
							
							
							Close  #26730 
1. The `diff-detail-box` was abused, it shouldn't be used for
"DiffFileList/DiffFileTree".
2. Fix the sticky position for various screens.


 
						
							2023-09-28 10:00:26 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	72c68177ab 
 
						 
						
							
							
								
								
								Improve issue history dialog and make poster can delete their own history ( #27323 )  
							
							... 
							
							
							
							
							Fix  #27313  (see the comment)
And some UI improvements:
### Before


### After


 
						
							2023-09-28 08:43:20 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	c2cabe7b28 
 
						 
						
							
							
								
								
								Fix repo sub menu ( #27169 )  
							
							... 
							
							
							
							
							Fix  #27166  
						
							2023-09-21 21:16:14 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	739e47cd80 
 
						 
						
							
							
								
								
								Improve repo/user/org search  ( #27030 )  
							
							... 
							
							
							
							
							* Fix a regression from #26809  (the `data-org` is missing)
* Remove unnecessary style
Screenshots:


 
							
						 
						
							2023-09-12 16:44:48 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	dd6e8ab57b 
 
						 
						
							
							
								
								
								Improve "language stats" UI ( #26968 )  
							
							... 
							
							
							
							
							Before:
* The layout is quite complex 
* The UI flickers when switch the stats (https://try.gitea.io/ )
After:
* Simplify the code
* The UI doesn't flicker 
							
						 
						
							2023-09-10 18:27:23 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	2715ef6558 
 
						 
						
							
							
								
								
								Fix scoped label layout ( #26932 )  
							
							... 
							
							
							
							
							Fix  #26931  
						
							2023-09-06 12:22:38 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	682552378f 
 
						 
						
							
							
								
								
								More fixes for the "commit-body" ( #26898 )  
							
							... 
							
							
							
							
							The changes for "commit-body" in #26877  are not ideal.
The reason is: the "commit-body" is usually a `<pre>`, it has default
margins. In most cases, we do not need that large margin. So, this PR
introduces a general but small margin for all "commit-body" elements.
Then these `gt-m-0` could be removed.
The `:not` selector is not needed, because the `.timeline-item` selector
is already clear enough. 
							
						 
						
							2023-09-04 13:38:59 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	51cfe0e7de 
 
						 
						
							
							
								
								
								Remove CSS has selector and improve various styles ( #26891 )  
							
							... 
							
							
							
							
							Replace  #26850 
Major changes:
1. Remove all `has` selectors, it is still not supported by firefox.
Actually there could be some more general and clearer approaches
2. Remove `two-toggle-buttons`, the `.ui.buttons` just works well
3. Rewrite the `.ui.buttons` border styles, see the screenshots
4. Remove the "fine-tuning" paddings from the the flex children, they
could layout themselves well.



 
							
						 
						
							2023-09-04 18:22:46 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	fba7150ca9 
 
						 
						
							
							
								
								
								Refactor "shortsha" ( #26877 )  
							
							... 
							
							
							
							
							The old code used complex `if` blocks and strange HTML layouts.
<details>

</details>
This PR refactors the template code and remove legacy CSS styles. The UI
doesn't change much.

 
							
						 
						
							2023-09-03 02:58:52 +00:00