鲁汀 
							
						 
					 
					
						
						
							
						
						327d0a7fdd 
					 
					
						
						
							
							The status icon of the Action step is consistent with GitHub ( #35618 )  
						
						... 
						
						
						
						Before:
running:
<img width="45" height="34" alt="image"
src="https://github.com/user-attachments/assets/e2508f98-2f1f-4b7e-a80c-30b406f42531 "
/>
waiting:
<img width="44" height="33" alt="image"
src="https://github.com/user-attachments/assets/e7c8164e-fdc3-4546-b088-31166544edb0 "
/>
---
After:
running:
<img width="49" height="43" alt="image"
src="https://github.com/user-attachments/assets/b5a9b245-a995-458a-af23-d1723daa3692 "
/>
waiting:
<img width="42" height="44" alt="image"
src="https://github.com/user-attachments/assets/ff72551e-cfb5-4665-af52-938ef0cf8f1c "
/>
`gitea-running.svg` is not an icon from the @ primer/octicon library,
extracted from the Github page. Github did not assign a clear class name
to this icon
---------
Signed-off-by: 鲁汀 <131967983+lutinglt@users.noreply.github.com >
Co-authored-by: lutinglt <lutinglt@users.noreply.github.com > 
						
						
					 
					
						2025-10-10 11:25:03 -07:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
						
						02e49a0f47 
					 
					
						
						
							
							Fix vertical centering of file tree icons and use entryIcon for submodules/symlinks ( #34137 )  
						
						... 
						
						
						
						In the file tree, the icons are not vertically centered, which affects
the overall visual consistency.
Currently, the icons of submodules and symlinks do not adopt the value
of entryIcon, resulting in inconsistent icon display.
before:

after:

---------
Co-authored-by: silverwind <me@silverwind.io > 
						
						
					 
					
						2025-04-09 18:10:16 -07:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						06088ec672 
					 
					
						
						
							
							Remove "class-name" from svg icon ( #33540 )  
						
						... 
						
						
						
						Only use "class" attribute 
						
						
					 
					
						2025-02-09 22:39:54 +02:00 
						 
				 
			
				
					
						
							
							
								bytedream 
							
						 
					 
					
						
						
							
						
						5d6d62493b 
					 
					
						
						
							
							Add action auto-scroll ( #30057 )  
						
						... 
						
						
						
						Adds an auto-scroll/follow feature to running actions (fix  #25186 , fix
#28535 ).
When new log lines are appended and the bottom of the logs container
(`.action-view-right`) is visible at this time, the page automatically
scrolls down to the bottom of the logs.
---------
Co-authored-by: silverwind <me@silverwind.io >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2024-12-21 14:49:26 -08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						d28a4843b8 
					 
					
						
						
							
							Fix incomplete Actions status aggregations ( #32859 )  
						
						... 
						
						
						
						fix  #32857  
					
						2024-12-16 11:18:00 +08:00 
						 
				 
			
				
					
						
							
							
								Anbraten 
							
						 
					 
					
						
						
							
						
						348d1d0f32 
					 
					
						
						
							
							Migrate vue components to setup ( #32329 )  
						
						... 
						
						
						
						Migrated a handful Vue components to the `setup` syntax using
composition api as it has better Typescript support and is becoming the
new default in the Vue ecosystem.
- [x] ActionRunStatus.vue    
- [x] ActivityHeatmap.vue
- [x] ContextPopup.vue       
- [x] DiffFileList.vue
- [x] DiffFileTree.vue       
- [x] DiffFileTreeItem.vue    
- [x] PullRequestMergeForm.vue
- [x] RepoActivityTopAuthors.vue  
- [x] RepoCodeFrequency.vue
- [x] RepoRecentCommits.vue
- [x] ScopedAccessTokenSelector.vue
Left some larger components untouched for now to not go to crazy in this
single PR:
- [ ] DiffCommitSelector.vue  
- [ ] RepoActionView.vue
- [ ] RepoContributors.vue
- [ ] DashboardRepoList.vue  
- [ ] RepoBranchTagSelector.vue 
						
						
					 
					
						2024-10-28 20:15:05 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						5791a73e75 
					 
					
						
						
							
							Convert frontend code to typescript ( #31559 )  
						
						... 
						
						
						
						None of the frontend js/ts files was touched besides these two commands
(edit: no longer true, I touched one file in
61105d0618 
						
						
					 
					
						2024-07-07 15:32:30 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						04f9ad0568 
					 
					
						
						
							
							Fix incorrect tailwind migration ( #30007 )  
						
						... 
						
						
						
						Fixes https://github.com/go-gitea/gitea/issues/30005 . Regression from
https://github.com/go-gitea/gitea/pull/29945 .
There was only once instance of `tw-content-center` before that PR, so I
just ran below command and reverted that one instance.
```sh
perl -p -i -e 's#tw-content-center#tw-items-center#g' web_src/js/**/* templates/**/* models/**/* tests/**/*
``` 
						
						
					 
					
						2024-03-22 20:51:29 +01:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						3d751b6ec1 
					 
					
						
						
							
							Enforce trailing comma in JS on multiline ( #30002 )  
						
						... 
						
						
						
						To keep blame info accurate and to avoid [changes like
this](https://github.com/go-gitea/gitea/pull/29977/files#diff-c3422631a14edbe1e508c4b22f0c718db318be08a6e889427802f9b6165d88d6R359 ),
it's good to always have a trailing comma, so let's enforce it in JS.
This rule is completely automatically fixable with `make lint-js-fix`
and that's what I did here. 
						
						
					 
					
						2024-03-22 14:06:53 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						f88ad5424f 
					 
					
						
						
							
							Replace 10 more gt- classes with tw- ( #29945 )  
						
						... 
						
						
						
						Likely the biggest change of the tailwind refactors. Only thing of note
is that `tw-flex-1` resolves to `flex: 1 1 0%` while our `gt-f1` was
`flex: 1 1 0`, I don't think it will make any difference. Commands I've
ran:
```sh
perl -p -i -e 's#gt-vm#tw-align-middle#g' web_src/js/**/* templates/**/* models/**/*
perl -p -i -e 's#gt-fw#tw-flex-wrap#g' web_src/js/**/* templates/**/* models/**/*
perl -p -i -e 's#gt-f1#tw-flex-1#g' web_src/js/**/* templates/**/* models/**/*
perl -p -i -e 's#gt-fc#tw-flex-col#g' web_src/js/**/* templates/**/* models/**/*
perl -p -i -e 's#gt-sb#tw-justify-between#g' web_src/js/**/* templates/**/* models/**/*
perl -p -i -e 's#gt-je#tw-justify-end#g' web_src/js/**/* templates/**/* models/**/*
perl -p -i -e 's#gt-jc#tw-justify-center#g' web_src/js/**/* templates/**/* models/**/*
perl -p -i -e 's#gt-ac#tw-content-center#g' web_src/js/**/* templates/**/* models/**/* tests/**/*
perl -p -i -e 's#gt-df#tw-flex#g' web_src/js/**/* templates/**/* models/**/* tests/**/*
perl -p -i -e 's#gt-dib#tw-inline-block#g' web_src/js/**/* templates/**/* models/**/* tests/**/*
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2024-03-22 13:45:10 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						9a3de436f4 
					 
					
						
						
							
							Reorder blocks in vue SFCs ( #26874 )  
						
						... 
						
						
						
						The [recommended order](https://vuejs.org/guide/scaling-up/sfc.html ) for
SFC blocks is script -> template -> style, which we were violating
because template and script were swapped. I do find script first also
easier to read because the imports are on top, letting me immideatly see
a component's dependencies.
This is a pure cut-paste refactor with some removal of some empty lines.
---------
Co-authored-by: Lauris BH <lauris@nix.lv > 
						
						
					 
					
						2023-09-02 14:59:07 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						e06f3d2ee5 
					 
					
						
						
							
							Enable vue/html-closing-bracket-spacing eslint rule ( #24987 )  
						
						... 
						
						
						
						Enable
[`vue/html-closing-bracket-spacing`](https://eslint.vuejs.org/rules/html-closing-bracket-spacing.html )
and set it to never add any useless spaces inside tags. All issues were
fixed automatically with `make lint-js-fix`. 
						
						
					 
					
						2023-05-29 16:58:53 +00:00 
						 
				 
			
				
					
						
							
							
								HesterG 
							
						 
					 
					
						
						
							
						
						da461b5a08 
					 
					
						
						
							
							Improvements for action detail page ( #24718 )  
						
						... 
						
						
						
						Close  #24625  
Main changes:
1. For the left panel, show rerun icon only on hover, and add style when
the job is selected, and removed icon on the "rerun all" button and
modify the text on the button
https://github.com/go-gitea/gitea/assets/17645053/cc437a17-d2e9-4f1b-a8cf-f56e53962767 
2. Adjust fonts, and add on hover effects to the log lines. And add
loading effect when the job is done and the job step log is expanded for
the first time. (With reference to github)
https://github.com/go-gitea/gitea/assets/17645053/2808d77d-f402-4fb0-8819-7aa0a018cf0c 
3. Add `gt-ellipsis` to `step-summary-msg` and `job-brief-name`
<img width="898" alt="ellipsis"
src="https://github.com/go-gitea/gitea/assets/17645053/e2fb7049-3125-4252-970d-15b0751febc7 ">
4. Fixed
https://github.com/go-gitea/gitea/issues/24625#issuecomment-1541380010 
by adding explicit conditions to `ActionRunStatus.vue` and `status.tmpl`
5. Adjust some css styles
---------
Co-authored-by: silverwind <me@silverwind.io > 
					
						2023-05-22 12:17:24 +08:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						53a00017bb 
					 
					
						
						
							
							Fix flash of unstyled content in action view page ( #24712 )  
						
						... 
						
						
						
						# Before

# After

Ref: https://github.com/go-gitea/gitea/issues/24625 
Signed-off-by: Yarden Shoham <git@yardenshoham.com >
Co-authored-by: Giteabot <teabot@gitea.io > 
						
						
					 
					
						2023-05-14 14:58:59 +00:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						9a0652f0b2 
					 
					
						
						
							
							Attach a tooltip to the action status icon ( #24614 )  
						
						... 
						
						
						
						To clearly communicate the current state of the action






---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com > 
						
						
					 
					
						2023-05-09 21:39:16 +02:00 
						 
				 
			
				
					
						
							
							
								Hester Gong 
							
						 
					 
					
						
						
							
						
						5e7543fcf4 
					 
					
						
						
							
							Use same action status svg icons on actions list as on action page ( #24178 )  
						
						... 
						
						
						
						Close  #24020  
After:
These icons are the same now:
<img width="1287" alt="截屏2023-04-18 13 52 11"
src="https://user-images.githubusercontent.com/17645053/232684252-05ddc101-dc5b-41b5-b374-132c3d853a41.png ">
<img width="1141" alt="截屏2023-04-18 13 54 48"
src="https://user-images.githubusercontent.com/17645053/232684261-6ebd864a-a9aa-4982-af32-2cea91c35be8.png ">
In this PR, didn't use `ActionRunStatus.vue` because the mounting of the
component will cause flash of the icons like below:
https://user-images.githubusercontent.com/17645053/232682646-713202dc-9023-4b9c-a849-c3a1ae6dd155.mov 
Instead, modified and used `status.tmpl` to make it the same as
`ActionRunStatus.vue` to avoid the ui flash (Welcomed to show how to use
`ActionRunStatus.vue` without flashing if there is a way).
Added comments to both of them for reminding synchronization of these
two files.
---------
Co-authored-by: Jason Song <i@wolfogre.com > 
					
						2023-04-19 13:42:53 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						389e83f7eb 
					 
					
						
						
							
							Improve <SvgIcon> to make it output svg node and optimize performance ( #23570 )  
						
						... 
						
						
						
						Before, the Vue `<SvgIcon>` always outputs DOM nodes like: 
```html
<span class="outer-class">
    <svg class="class-name-defined" ...></svg>
</span>
```
The `span` is redundant and I guess such layout and the inconsistent
`class/class-name` attributes would cause bugs sooner or later.
This PR makes the `<SvgIcon>` clear, and it's faster than before,
because it doesn't need to parse the whole SVG string.
Before: 
<details>

</details>
After:

---------
Co-authored-by: silverwind <me@silverwind.io > 
						
						
					 
					
						2023-03-23 11:24:16 +08:00 
						 
				 
			
				
					
						
							
							
								yp05327 
							
						 
					 
					
						
						
							
						
						f0b0f22aed 
					 
					
						
						
							
							Add ActionRunStatus component ( #23259 )  
						
						... 
						
						
						
						Related to:
https://github.com/go-gitea/gitea/pull/23212#discussion_r1122856231 
Decrease duplication of SvgIcon when display a run status svg.
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com > 
						
						
					 
					
						2023-03-06 22:35:24 +08:00