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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						6a075589bf 
					 
					
						
						
							
							Fix mobile navbar and misc cleanups ( #25134 )  
						
						... 
						
						
						
						- 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 ">
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: Giteabot <teabot@gitea.io > 
						
						
					 
					
						2023-06-09 09:10:51 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						623b3b590e 
					 
					
						
						
							
							Button and color enhancements ( #24989 )  
						
						... 
						
						
						
						- 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 ">
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: Giteabot <teabot@gitea.io > 
						
						
					 
					
						2023-06-09 08:37:47 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						b6bcb79987 
					 
					
						
						
							
							Improve notification icon and navbar  ( #25111 )  
						
						... 
						
						
						
						Improvements to the notification icon and `<nav>`:
- Add a opaque color for header hover and use it, allowing the border to
be the right color on hover (sadly, not otherwise possible with CSS, not
even `color-mix`).
- Increase font size by 1px
- Use flexbox for slightly better text centering
- Reduce padding of user and add repo button, add margin on right side
of user menu
- Remove the `following bar` wrapper on navbar
<img width="176" alt="Screenshot 2023-06-07 at 00 07 08"
src="https://github.com/go-gitea/gitea/assets/115237/23cdc3d6-7f63-49df-bec3-f2e75e32a304 ">
<img width="63" alt="Screenshot 2023-06-07 at 00 07 14"
src="https://github.com/go-gitea/gitea/assets/115237/fae602c2-4467-4d50-b1ec-56317843f9a2 ">
<img width="84" alt="Screenshot 2023-06-07 at 00 07 36"
src="https://github.com/go-gitea/gitea/assets/115237/c48141b8-0b3c-48cc-846a-3a272524dbdb ">
<img width="329" alt="Screenshot 2023-06-07 at 00 25 10"
src="https://github.com/go-gitea/gitea/assets/115237/cda612f1-426e-466b-a351-fc992bfd18fd ">
<img width="186" alt="Screenshot 2023-06-07 at 00 35 45"
src="https://github.com/go-gitea/gitea/assets/115237/04484a2e-9bbf-493c-aa26-8e936da008fa ">
<img width="797" alt="Screenshot 2023-06-07 at 16 57 40"
src="https://github.com/go-gitea/gitea/assets/115237/e7ccb672-5807-4cb6-b306-b18ae0c7e321 "> 
						
						
					 
					
						2023-06-07 22:21:57 +00:00 
						 
				 
			
				
					
						
							
							
								zeripath 
							
						 
					 
					
						
						
							
						
						036fb7861f 
					 
					
						
						
							
							Clean up WebAuthn javascript code and remove JQuery code ( #22697 )  
						
						... 
						
						
						
						There were several issues with the WebAuthn registration and testing
code and the style
was very old javascript with jquery callbacks.
This PR uses async and fetch to replace the JQuery code.
Ref #22651 
Signed-off-by: Andrew Thornton <art27@cantab.net >
---------
Signed-off-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: delvh <dev.lh@web.de >
Co-authored-by: silverwind <me@silverwind.io > 
						
						
					 
					
						2023-06-06 13:29:37 +08:00 
						 
				 
			
				
					
						
							
							
								JakobDev 
							
						 
					 
					
						
						
							
						
						7d192cb674 
					 
					
						
						
							
							Add Progressbar to Milestone Page ( #25050 )  
						
						... 
						
						
						
						This is adds the progress bar, which is already on the Milestone List,
also to the Page of a Single Milestone.

---------
Co-authored-by: silverwind <me@silverwind.io > 
						
						
					 
					
						2023-06-05 14:25:46 +08:00