Giteabot 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							46ac04ce9d 
							
						 
					 
					
						
						
							
							Add word-break to repo description in home page ( #27924 ) ( #27957 )  
						
						... 
						
						
						
						Backport #27924  by @yp05327
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: yp05327 <576951401@qq.com>
Co-authored-by: silverwind <me@silverwind.io> 
						
						
					 
					
						2023-11-08 01:29:33 +00:00 
						 
				 
			
				
					
						
							
							
								Giteabot 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							487c573c28 
							
						 
					 
					
						
						
							
							Add dedicated class for empty placeholders ( #27788 ) ( #27792 )  
						
						... 
						
						
						
						Backport #27788  by @silverwind
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: silverwind <me@silverwind.io>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me> 
						
						
					 
					
						2023-10-26 09:26:05 +02:00 
						 
				 
			
				
					
						
							
							
								Giteabot 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9dd8f34707 
							
						 
					 
					
						
						
							
							Add gap between diff boxes ( #27776 ) ( #27781 )  
						
						... 
						
						
						
						Backport #27776  by @silverwind
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 ">
Co-authored-by: silverwind <me@silverwind.io> 
						
						
					 
					
						2023-10-25 09:09:08 +08:00 
						 
				 
			
				
					
						
							
							
								Giteabot 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							993178b45f 
							
						 
					 
					
						
						
							
							[FIX] resolve confusing colors in languages stats by insert a gap ( #27704 ) ( #27715 )  
						
						... 
						
						
						
						Backport #27704  by @RightFS
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 ">
Co-authored-by: MrDevil <Right.Sun@outlook.com> 
						
						
					 
					
						2023-10-21 02:04:44 +08:00 
						 
				 
			
				
					
						
							
							
								Giteabot 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							345d70f7e4 
							
						 
					 
					
						
						
							
							Fix sticky diff header background ( #27697 ) ( #27712 )  
						
						... 
						
						
						
						Backport #27697  by @silverwind
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 ">
Co-authored-by: silverwind <me@silverwind.io> 
						
						
					 
					
						2023-10-20 17:44:46 +02:00 
						 
				 
			
				
					
						
							
							
								Giteabot 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							71f091ef97 
							
						 
					 
					
						
						
							
							Remove max-width and add hide text overflow ( #27359 ) ( #27550 )  
						
						... 
						
						
						
						Backport #27359  by @kdumontnu
Closes https://github.com/go-gitea/gitea/issues/27358 
Co-authored-by: Kyle D <kdumontnu@gmail.com> 
						
						
					 
					
						2023-10-09 22:02:26 -04:00 
						 
				 
			
				
					
						
							
							
								Giteabot 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							28d970e4a6 
							
						 
					 
					
						
						
							
							Hide archived labels when filtering by labels on the issue list ( #27115 ) ( #27381 )  
						
						... 
						
						
						
						Backport #27115  by @puni9869
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: puni9869 <80308335+puni9869@users.noreply.github.com>
Co-authored-by: delvh <dev.lh@web.de> 
						
						
					 
					
						2023-10-01 22:56:48 -04:00 
						 
				 
			
				
					
						
							
							
								Giteabot 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e719bf8ead 
							
						 
					 
					
						
						
							
							Fix review UI ( #27322 ) ( #27331 )  
						
						... 
						
						
						
						Backport #27322  by @wxiaoguang
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.



Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2023-09-28 13:27:13 +00:00 
						 
				 
			
				
					
						
							
							
								Giteabot 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							71d1bfea7f 
							
						 
					 
					
						
						
							
							Improve issue history dialog and make poster can delete their own history ( #27323 ) ( #27327 )  
						
						... 
						
						
						
						Backport #27323  by @wxiaoguang
Fix  #27313  (see the comment)
And some UI improvements:
### Before


### After



Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2023-09-28 09:46:46 +00:00 
						 
				 
			
				
					
						
							
							
								Giteabot 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8d9e2d07f3 
							
						 
					 
					
						
						
							
							Fix repo sub menu ( #27169 ) ( #27170 )  
						
						... 
						
						
						
						Backport #27169  by @wxiaoguang
Fix  #27166 
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2023-09-21 13:22:38 +00: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 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3d109861dd 
							
						 
					 
					
						
						
							
							Render code blocks in repo description ( #26830 )  
						
						... 
						
						
						
						Backtick syntax now works in repo description too. Also, I replaced the
CSS for this was a new single class, making it more flexible and not
dependent on a parent. Also, very slightly reduced font size from 16.8px
to 16px.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2023-08-31 05:01:01 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1bb9b1c4d9 
							
						 
					 
					
						
						
							
							Remove polluted ".ui.left" style ( #26809 )  
						
						
						
						
					 
					
						2023-08-30 21:46:24 +08:00 
						 
				 
			
				
					
						
							
							
								delvh 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							dca2f9371d 
							
						 
					 
					
						
						
							
							Unify border-radius behavior ( #26770 )  
						
						... 
						
						
						
						## Changes
- no more hardcoded `border-radius`es (apart from `0`)
- no more value inconsistencies
- no more guessing what pixel value you should use
- two new variables:
- `--border-radius-medium` (for elements where the normal border radius
does not suffice)
  - `--border-radius-circle` (for displaying circles)
---------
Co-authored-by: silverwind <me@silverwind.io> 
						
						
					 
					
						2023-08-28 19:43:59 +00:00 
						 
				 
			
				
					
						
							
							
								Viktor Suprun 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7b05d66e60 
							
						 
					 
					
						
						
							
							Fixed text overflow in dropdown menu ( #26694 )  
						
						... 
						
						
						
						Fixes  #26622 

Co-authored-by: Giteabot <teabot@gitea.io> 
					
						2023-08-25 11:15:21 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							390ec619f3 
							
						 
					 
					
						
						
							
							Fix review bar misalignment ( #26711 )  
						
						
						
						
					 
					
						2023-08-24 23:46:30 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							42cbe6005a 
							
						 
					 
					
						
						
							
							Improve the branch selector tab UI ( #26631 )  
						
						
						
						
					 
					
						2023-08-21 13:35:02 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fe2b9274b1 
							
						 
					 
					
						
						
							
							Fix various line-height styles ( #26553 )  
						
						... 
						
						
						
						Fix  #26537 
Use the same default line-height as "normalize.css" instead of "1". "1"
is not right because it doesn't work with descent part and causes
overflow problems.

---------
Co-authored-by: silverwind <me@silverwind.io> 
					
						2023-08-17 21:50:32 +00:00 
						 
				 
			
				
					
						
							
							
								Denys Konovalov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ab78c39e41 
							
						 
					 
					
						
						
							
							Refactor project templates ( #26448 )  
						
						... 
						
						
						
						This PR refactors a bunch of projects-related code, mostly the
templates.
The following things were done:
  - rename boards to columns in frontend code
  - use the new `ctx.Locale.Tr` method
  - cleanup template, remove useless newlines, classes, comments
  - merge org-/user and repo level project template together
    - move "new column" button into project toolbar
- move issue card (shared by projects and pinned issues) to shared
template, remove useless duplicated styles
- add search function to projects (to make the layout more similar to
milestones list where it is inherited from 😆 )
  - maybe more changes I forgot I've done 😆  
Closes  #24893 
After:



---------
Co-authored-by: silverwind <me@silverwind.io> 
						
						
					 
					
						2023-08-12 10:30:28 +00:00 
						 
				 
			
				
					
						
							
							
								Earl Warren 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6ed4626ed5 
							
						 
					 
					
						
						
							
							Merge templates/projects/list.tmpl and templates/repo/projects/list.tmpl together ( #26265 )  
						
						... 
						
						
						
						(cherry picked from commit 473862a1d599382ca022482e2e044025872d240b)
Refs: https://codeberg.org/forgejo/forgejo/pulls/1126 
Co-authored-by: Louis Seubert <louis.seubert.ls@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-08-01 16:54:54 +00:00 
						 
				 
			
				
					
						
							
							
								Denys Konovalov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b9baed2c74 
							
						 
					 
					
						
						
							
							Introduce flex-list & flex-item elements for Gitea UI ( #25790 )  
						
						... 
						
						
						
						This PR introduces a new UI element type for Gitea called `flex-item`.
It consists of a horizontal card with a leading, main and trailing part:

The idea behind it is that in Gitea UI, we have many cases where we use
this kind of layout, but it is achieved in many different ways:
  - grid layout
  - `.ui.list` with additional hacky flexbox
- `.ui.key.list` - looks to me like a style set originally created for
ssh/gpg key list, was used in many other places
  - `.issue.list` - created for issue cards, used in many other places
  - ...
This new style is based on `.issue.list`, specifically the refactoring
of it done in #25750 .
In this PR, the new element is introduced and lots of templates are
being refactored to use that style. This allows to remove a lot of
page-specific css, makes many of the elements responsive or simply
provides a cleaner/better-looking way to present information.
A devtest section with the new style is also available.
<details>
<summary>Screenshots (left: before, right: after)</summary>



















</details>
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-08-01 00:13:42 +02:00 
						 
				 
			
				
					
						
							
							
								puni9869 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1d8d90fd37 
							
						 
					 
					
						
						
							
							Fixing the align of commit stats in commit_page template. ( #26161 )  
						
						... 
						
						
						
						Fixing the align center to row and space around for commit_page
template. 
						
						
					 
					
						2023-07-28 13:12:44 -04:00 
						 
				 
			
				
					
						
							
							
								HesterG 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2f0e79e639 
							
						 
					 
					
						
						
							
							Use frontend fetch for branch dropdown component  ( #25719 )  
						
						... 
						
						
						
						- Send request to get branch/tag list, use loading icon when waiting for
response.
- Only fetch when the first time branch/tag list shows.
- For backend, removed assignment to `ctx.Data["Branches"]` and
`ctx.Data["Tags"]` from `context/repo.go` and passed these data wherever
needed.
- Changed some `v-if` to `v-show` and used native `svg` as mentioned in
https://github.com/go-gitea/gitea/pull/25719#issuecomment-1631712757  to
improve perfomance when there are a lot of branches.
- Places Used the dropdown component:
     Repo Home Page
    
<img width="1429" alt="Screen Shot 2023-07-06 at 12 17 51"
src="https://github.com/go-gitea/gitea/assets/17645053/6accc7b6-8d37-4e88-ae1a-bd2b3b927ea0 ">
    Commits Page
<img width="1431" alt="Screen Shot 2023-07-06 at 12 18 34"
src="https://github.com/go-gitea/gitea/assets/17645053/2d0bf306-d1e2-45a8-a784-bc424879f537 ">
    Specific commit -> operations -> cherry-pick
    
<img width="758" alt="Screen Shot 2023-07-06 at 12 23 28"
src="https://github.com/go-gitea/gitea/assets/17645053/1e557948-3881-4e45-a625-8ef36d45ae2d ">
    Release Page
    
<img width="1433" alt="Screen Shot 2023-07-06 at 12 25 05"
src="https://github.com/go-gitea/gitea/assets/17645053/3ec82af1-15a4-4162-a50b-04a9502161bb ">
- Demo
https://github.com/go-gitea/gitea/assets/17645053/d45d266b-3eb0-465a-82f9-57f78dc5f9f3 
- Note:
UI of dropdown menu could be improved in another PR as it should apply
to more dropdown menus.
Fix  #14180 
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2023-07-21 11:20:04 +00:00 
						 
				 
			
				
					
						
							
							
								sebastian-sauer 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b81c013057 
							
						 
					 
					
						
						
							
							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:
 
						
						
					 
					
						2023-07-14 01:54:20 +00:00 
						 
				 
			
				
					
						
							
							
								Denys Konovalov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							eec45b43db 
							
						 
					 
					
						
						
							
							move issue filters to shared template ( #25729 )  
						
						... 
						
						
						
						Issue filters are being used on repo list page and on milestone issues
page, and the code is mostly duplicated.
This PR does the following changes:
- move issue filters into a shared template
- allow filtering milestone issues by project, so no need to hide this
filter on milestone issues page
- remove some dead code (e. g. issue actions in milestone issues
template)
- fix label filter dropdown width
---------
Co-authored-by: 6543 <6543@obermui.de> 
						
						
					 
					
						2023-07-13 20:00:38 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f8bb1018ae 
							
						 
					 
					
						
						
							
							Tweak repo topics bar ( #25769 )  
						
						... 
						
						
						
						Minor tweaks to repo topics:
- Use gap instead of margin to align "Manage Topics" when no topics
present
- Add margin to description instead
Before:
<img width="1232" alt="Screenshot 2023-07-08 at 13 08 15"
src="https://github.com/go-gitea/gitea/assets/115237/a5d3586c-6cbf-4b74-8137-11d91f2cbb45 ">
<img width="1233" alt="Screenshot 2023-07-08 at 13 08 05"
src="https://github.com/go-gitea/gitea/assets/115237/59b18d93-e4cb-4f2b-9bc2-d6aa63f93827 ">
After:
<img width="1232" alt="Screenshot 2023-07-08 at 13 08 42"
src="https://github.com/go-gitea/gitea/assets/115237/470d42ad-3f7e-40f9-b0a1-203b4af77eb9 ">
<img width="1231" alt="Screenshot 2023-07-08 at 13 08 32"
src="https://github.com/go-gitea/gitea/assets/115237/42d18048-748c-4a3f-ab89-3403866cef34 ">
--------- 
						
						
					 
					
						2023-07-08 18:12:30 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cc00fd50f3 
							
						 
					 
					
						
						
							
							Clarify "text-align" CSS helpers, fix clone button padding ( #25763 )  
						
						... 
						
						
						
						Changes:
* Rename gt-tl/gt-tc/gt-tr to gt-text-left/gt-text-center/gt-text-right
* The gt-ab and gt-br-0 are removed because they are not needed anymore
* Fix the clone dropdown button padding by ":not(.icon)"
Before:
<details>

</details>
After:
<details>

</details>
Fixes  #25758 
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-07-08 11:53:56 +02:00 
						 
				 
			
				
					
						
							
							
								Denys Konovalov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							753755bd4e 
							
						 
					 
					
						
						
							
							Fix commits table regression ( #25710 )  
						
						... 
						
						
						
						Fixes  #25693 
The commits table appearance fix in #25634  was incomplete and caused a
regression. This PR fixes that issue and removes some unneeded CSS
classes because of the proper fix.
<details>
<summary>Before</summary>


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


</details>
---------
Co-authored-by: silverwind <me@silverwind.io> 
					
						2023-07-06 23:07:57 +02:00 
						 
				 
			
				
					
						
							
							
								Denys Konovalov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							00dbba7f42 
							
						 
					 
					
						
						
							
							Several fixes for mobile UI ( #25634 )  
						
						... 
						
						
						
						Resolves  #25622  
<details>
<summary>Screenshots</summary>







</details>
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io> 
					
						2023-07-04 17:45:45 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							eea58a5d55 
							
						 
					 
					
						
						
							
							Fix UI misalignment on user setting page ( #25629 )  
						
						... 
						
						
						
						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> 
					
						2023-07-03 20:38:06 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							64f2d70262 
							
						 
					 
					
						
						
							
							Replace fomantic divider module with our own ( #25539 )  
						
						... 
						
						
						
						Should look exactly like before for normal dividers. "Horizontal" ones
look better because they no longer use image backgrounds.
<img width="917" alt="Screenshot 2023-06-27 at 19 07 56"
src="https://github.com/go-gitea/gitea/assets/115237/d97d8dec-6859-44a8-85ba-e4549b4dd9df ">
<img width="914" alt="Screenshot 2023-06-27 at 19 05 58"
src="https://github.com/go-gitea/gitea/assets/115237/8bf98544-2d82-4ebf-ac68-d6dc237bd6b2 ">
<img width="1246" alt="Screenshot 2023-06-27 at 19 00 42"
src="https://github.com/go-gitea/gitea/assets/115237/36a6bb21-6029-4f53-8bee-535f55c66fed ">
<img width="344" alt="Screenshot 2023-06-27 at 18 58 15"
src="https://github.com/go-gitea/gitea/assets/115237/a9e70aee-8e6b-4ea1-9e93-19c9f96aec6e ">
<img width="823" alt="Screenshot 2023-06-27 at 18 56 22"
src="https://github.com/go-gitea/gitea/assets/115237/e7a497cd-f262-4683-8872-23c3c8cce32f ">
<img width="330" alt="Screenshot 2023-06-27 at 19 21 11"
src="https://github.com/go-gitea/gitea/assets/115237/42f24149-a655-4c7e-bd26-8ab52db6446b "> 
						
						
					 
					
						2023-06-29 20:24:22 +08:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b943318617 
							
						 
					 
					
						
						
							
							Update JS dependencies and misc tweaks ( #25540 )  
						
						... 
						
						
						
						- Update all JS dependencies
- Enable `declaration-property-unit-disallowed-list` to forbid `em` on
`line-height`
- Rename dependency update targets to `update-js` and `update-py` and
document them
- Remove margin on Asciicast viewer
- Tested Swagger, Katex, Asciicast
<img width="1243" alt="Screenshot 2023-06-27 at 19 51 05"
src="https://github.com/go-gitea/gitea/assets/115237/2d2722a0-2aa7-4f4c-b8bd-17e1f3637b78 "> 
						
						
					 
					
						2023-06-27 21:44:17 +02:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							da6df0d063 
							
						 
					 
					
						
						
							
							Fix migrate page layout on mobile ( #25507 )  
						
						... 
						
						
						
						Fixes: https://github.com/go-gitea/gitea/issues/25462 
On supporting browsers, text in description is [wrapped
equally](https://caniuse.com/css-text-wrap-balance ).
<img width="488" alt="Screenshot 2023-06-26 at 00 17 21"
src="https://github.com/go-gitea/gitea/assets/115237/cb8e3a50-6225-4a8c-a6c0-f35a17d2af76 ">
<img width="1254" alt="Screenshot 2023-06-26 at 00 14 51"
src="https://github.com/go-gitea/gitea/assets/115237/0885404e-973e-45ce-b41e-5cb265a4cd1e "> 
						
						
					 
					
						2023-06-26 09:57:36 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							62ab55bacc 
							
						 
					 
					
						
						
							
							Improve wiki sidebar and TOC ( #25460 )  
						
						... 
						
						
						
						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. 
					
						2023-06-23 15:51:43 -04:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d2142ba3c3 
							
						 
					 
					
						
						
							
							Update octicons and use octicon-file-directory-symlink ( #25453 )  
						
						... 
						
						
						
						Make use of the [new
octicon](https://github.com/primer/octicons/issues/945 ) that indicates a
symlink to a directory:
<img width="189" alt="Screenshot 2023-06-22 at 22 50 57"
src="https://github.com/go-gitea/gitea/assets/115237/a70690ea-ebfc-48fe-af23-cdc33bcb2098 "> 
						
						
					 
					
						2023-06-22 22:05:52 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7fb539677b 
							
						 
					 
					
						
						
							
							Diff page enhancements ( #25398 )  
						
						... 
						
						
						
						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 "> 
						
						
					 
					
						2023-06-22 11:05:22 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							656d3cc719 
							
						 
					 
					
						
						
							
							Various UI fixes ( #25264 )  
						
						... 
						
						
						
						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 
						
						
					 
					
						2023-06-21 21:59:49 -04:00 
						 
				 
			
				
					
						
							
							
								sebastian-sauer 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							25455bc670 
							
						 
					 
					
						
						
							
							Show outdated comments in files changed tab ( #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-21 16:08:12 +00:00 
						 
				 
			
				
					
						
							
							
								HesterG 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1454f9dafc 
							
						 
					 
					
						
						
							
							Add actor and status dropdowns to run list ( #25118 )  
						
						... 
						
						
						
						Part of #25042 
1. Added actor and status dropdowns first in case something is offtrack
and PR is too large.
2. Also added "No results matched." and "The workflow has no runs yet.",
and "No results matched." will show if there is no filter results and
there is no workflows (with [reference to github
action](https://github.com/go-gitea/gitea/actions/workflows/files-changed.yml?query=actor%3AGiteaBot ))
Demo:
https://github.com/go-gitea/gitea/assets/17645053/6e76292c-4c1f-450d-8b48-99944cfc920c 
TODOs:
- [x] Get available status (same as those in `aggregateJobStatus`)
instead of getting from database
- [x] Use `JOIN` to get actors, actors order by name
- [x] Make self on top 
						
						
					 
					
						2023-06-21 04:25:14 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							831db53c21 
							
						 
					 
					
						
						
							
							Fix dropdown icon layout on diff page ( #25397 )  
						
						... 
						
						
						
						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"}}
```
 
						
						
					 
					
						2023-06-20 23:22:48 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bfab129fb9 
							
						 
					 
					
						
						
							
							Fix label list divider ( #25312 )  
						
						... 
						
						
						
						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.

 
						
						
					 
					
						2023-06-18 17:33:12 +00:00 
						 
				 
			
				
					
						
							
							
								Denys Konovalov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9e74063498 
							
						 
					 
					
						
						
							
							Fix UI on mobile view ( #25315 )  
						
						... 
						
						
						
						Various fixes to pages or elements which were looking ugly on mobile.
<details>
<summary>Screenshots</summary>









</details>
Co-authored by @silverwind
---------
Co-authored-by: silverwind <me@silverwind.io> 
						
						
					 
					
						2023-06-18 10:31:42 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3ee8970419 
							
						 
					 
					
						
						
							
							add stylelint-stylistic ( #25285 )  
						
						... 
						
						
						
						Add
[stylelint-stylistic](https://github.com/elirasza/stylelint-stylistic ),
autofix all issues with two manual tweaks. This restores all the
stylistic rules removed in Stylelint 15. 
						
						
					 
					
						2023-06-17 13:20:32 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6db66d8ca4 
							
						 
					 
					
						
						
							
							Fix some UI alignments ( #25277 )  
						
						... 
						
						
						
						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 `+` 
						
						
					 
					
						2023-06-15 15:12:08 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							46c17c8029 
							
						 
					 
					
						
						
							
							Use flex to align SVG and text ( #25163 )  
						
						... 
						
						
						
						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: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-06-14 16:40:15 +00:00