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 
						 
				 
			
				
					
						
							
							
								6543 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b0215c40cd 
							
						 
					 
					
						
						
							
							Store and use seconds for timeline time comments ( #25392 )  
						
						... 
						
						
						
						this will allow us to fully localize it later
PS: we can not migrate back as the old value was a one-way conversion
prepare for  #25213 
---
*Sponsored by Kithara Software GmbH* 
						
						
					 
					
						2023-06-23 12:12:39 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							17965c8e79 
							
						 
					 
					
						
						
							
							Make "dismiss" content shown correctly ( #25461 )  
						
						... 
						
						
						
						Close  #25127 

Co-authored-by: Giteabot <teabot@gitea.io> 
					
						2023-06-23 12:33:20 +02: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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							af094fbb6c 
							
						 
					 
					
						
						
							
							Introduce shared template for search inputs ( #25338 )  
						
						... 
						
						
						
						- Set
[type=search](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search )
- Disable spellcheck
- Set maxLength 255 that I found in `templates/repo/issue/search.tmpl`
- Remove unnecessary `max-width`, it does nothing
---------
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-06-22 10:27:35 +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 
						 
				 
			
				
					
						
							
							
								sillyguodong 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							35a653d7ed 
							
						 
					 
					
						
						
							
							Support configuration variables on Gitea Actions ( #24724 )  
						
						... 
						
						
						
						Co-Author: @silverwind @wxiaoguang 
Replace: #24404 
See:
- [defining configuration variables for multiple
workflows](https://docs.github.com/en/actions/learn-github-actions/variables#defining-configuration-variables-for-multiple-workflows )
- [vars
context](https://docs.github.com/en/actions/learn-github-actions/contexts#vars-context )
Related to:
- [x] protocol: https://gitea.com/gitea/actions-proto-def/pulls/7 
- [x] act_runner: https://gitea.com/gitea/act_runner/pulls/157 
- [x] act: https://gitea.com/gitea/act/pulls/43 
#### Screenshoot
Create Variable:


Workflow:
```yaml
  test_vars:
    runs-on: ubuntu-latest
    steps:
      - name: Print Custom Variables
        run: echo "${{ vars.test_key }}"
      - name: Try to print a non-exist var
        run: echo "${{ vars.NON_EXIST_VAR }}"
```
Actions Log:

---
This PR just implement the org / user (depends on the owner of the
current repository) and repo level variables, The Environment level
variables have not been implemented.
Because
[Environment](https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#about-environments )
is a module separate from `Actions`. Maybe it would be better to create
a new PR to do it.
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-06-20 22:54:15 +00:00 
						 
				 
			
				
					
						
							
							
								Denys Konovalov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7f38cf71fe 
							
						 
					 
					
						
						
							
							Fix issue filters on mobile view ( #25368 )  
						
						... 
						
						
						
						Fix  #24846  applying the solution proposed by @silverwind 
<details>
<summary>Screenshots</summary>






</details>
Replaces #25335  
					
						2023-06-19 17:12:15 +00:00 
						 
				 
			
				
					
						
							
							
								6543 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							749802c922 
							
						 
					 
					
						
						
							
							Refactor: TotalTimest return seconds ( #25370 )  
						
						... 
						
						
						
						so template/browser can deal with string format
---
*Sponsored by Kithara Software GmbH* 
						
						
					 
					
						2023-06-19 18:40:06 +02:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a1c5057fe8 
							
						 
					 
					
						
						
							
							Batch delete issue and improve tippy opts ( #25253 )  
						
						... 
						
						
						
						1. Add "batch delete" button for selected issues, close  #22273 
2. Address the review in
https://github.com/go-gitea/gitea/pull/25219#discussion_r1229266083  
						
						
					 
					
						2023-06-19 15:46:50 +08: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 
						 
				 
			
				
					
						
							
							
								hiifong 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							57120d9969 
							
						 
					 
					
						
						
							
							When viewing a file, hide the add button ( #25320 )  
						
						... 
						
						
						
						Fix  #25281 
When viewing a file, hide the add button

 
					
						2023-06-18 09:21:50 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b71cb7acdc 
							
						 
					 
					
						
						
							
							Use fetch to send requests to create issues/comments ( #25258 )  
						
						... 
						
						
						
						Follow #23290 
Network error won't make content lost. And this is a much better
approach than "loading-button".
The UI is not perfect and there are still some TODOs, they can be done
in following PRs, not a must in this PR's scope.
<details>

</details> 
						
						
					 
					
						2023-06-16 06:32:43 +00:00 
						 
				 
			
				
					
						
							
							
								JakobDev 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a305c37e62 
							
						 
					 
					
						
						
							
							Show if File is Executable ( #25287 )  
						
						... 
						
						
						
						This simply shows if a File has the executable Permission

---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-06-16 07:46:12 +02: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 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5440d37c70 
							
						 
					 
					
						
						
							
							Fix variable in template ( #25267 )  
						
						... 
						
						
						
						Fix regression from https://github.com/go-gitea/gitea/pull/25212 . 
						
						
					 
					
						2023-06-14 20:42:52 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e24f651c86 
							
						 
					 
					
						
						
							
							Add template linting via djlint ( #25212 )  
						
						... 
						
						
						
						So I found this [linter](https://github.com/Riverside-Healthcare/djlint )
which features a mode for go templates, so I gave it a try and it did
find a number of valid issue, like unbalanced tags etc. It also has a
number of bugs, I had to disable/workaround many issues.
Given that this linter is written in python, this does add a dependency
on `python` >= 3.8 and `poetry` to the development environment to be
able to run this linter locally.
- `e.g.` prefixes on placeholders are removed because the linter had a
false-positive on `placeholder="e.g. cn=Search"` for the `attr=value`
syntax and it's not ideal anyways to write `e.g.` into a placeholder
because a placeholder is meant to hold a sample value.
- In `templates/repo/settings/options.tmpl` I simplified the logic to
not conditionally create opening tags without closing tags because this
stuff confuses the linter (and possibly the reader as well). 
						
						
					 
					
						2023-06-14 18:17:58 +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 
						 
				 
			
				
					
						
							
							
								HesterG 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a43ea22479 
							
						 
					 
					
						
						
							
							Change form actions to fetch for submit review box ( #25219 )  
						
						... 
						
						
						
						Co-author: @wxiaoguang 
Close  #25096  
The way to fix it in this PR is to change form submit to fetch using
formData, and add flags to avoid post repeatedly.
Should be able to apply to more forms that have the same issue after
this PR.
In the demo below, 'approve' is clicked several times, and then
'comment' is clicked several time after 'request changes' clicked.
After:
https://github.com/go-gitea/gitea/assets/17645053/beabeb1d-fe66-4b76-b048-4f022b4e83a0 
Update: screenshots from /devtest
>

> 
>

> 
>

---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2023-06-14 16:01:37 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6bbccdd177 
							
						 
					 
					
						
						
							
							Improve AJAX link and modal confirm dialog ( #25210 )  
						
						... 
						
						
						
						Clarify the "link-action" behavior:
>  // A "link-action" can post AJAX request to its "data-url"
> // Then the browser is redirect to: the "redirect" in response, or
"data-redirect" attribute, or current URL by reloading.
And enhance the "link-action" to support showing a modal dialog for
confirm. A similar general approach could also help PRs like
https://github.com/go-gitea/gitea/pull/22344#discussion_r1062883436 
> // If the "link-action" has "data-modal-confirm(-html)" attribute, a
confirm modal dialog will be shown before taking action.
And a lot of duplicate code can be removed now. A good framework design
can help to avoid code copying&pasting.
---------
Co-authored-by: silverwind <me@silverwind.io> 
						
						
					 
					
						2023-06-13 12:10:10 +00:00 
						 
				 
			
				
					
						
							
							
								Punit Inani 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2ad2d5a6ce 
							
						 
					 
					
						
						
							
							Disable Create column button while the column name is empty  ( #25192 )  
						
						... 
						
						
						
						
Fixes  #25116  
						
						
					 
					
						2023-06-13 09:57:03 +00:00 
						 
				 
			
				
					
						
							
							
								HesterG 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							06557a75db 
							
						 
					 
					
						
						
							
							Adjust style for action run list (align icons, adjust padding) ( #25170 )  
						
						... 
						
						
						
						Main changes:
- Moved the icon into `action-item-main`, and make it `position:
absolute` to allow add margin it to align with `issue-item-top-row`.
- Adjusted padding and color of texts.
# Before
<img width="721" alt="Screen Shot 2023-06-09 at 17 04 38"
src="https://github.com/go-gitea/gitea/assets/17645053/3fc00e94-bcd4-4e06-b1d8-93be0576dbc3 ">
# After
<img width="1421" alt="Screen Shot 2023-06-09 at 18 32 47"
src="https://github.com/go-gitea/gitea/assets/17645053/c2a0f9df-cac4-4197-9cbd-6c16dfef215b ">
On hover:
<img width="1431" alt="Screen Shot 2023-06-09 at 18 32 54"
src="https://github.com/go-gitea/gitea/assets/17645053/d0ab6fde-9722-4d76-831b-163fd6a1f560 "> 
						
						
					 
					
						2023-06-12 09:36:08 +00:00 
						 
				 
			
				
					
						
							
							
								yp05327 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							81211db077 
							
						 
					 
					
						
						
							
							Fix   #25133  ( #25162 )  
						
						... 
						
						
						
						Fix  #25133 
Thanks @wxiaoguang @silverwind.
I'm sorry I made a mistake, it will be fixed in this PR.
---------
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: silverwind <me@silverwind.io> 
					
						2023-06-09 10:27:10 +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 
						 
				 
			
				
					
						
							
							
								yp05327 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b5a2bb9ab3 
							
						 
					 
					
						
						
							
							Fix strange UI behavior of cancelling dismiss review modal ( #25133 )  
						
						... 
						
						
						
						Fixes https://github.com/go-gitea/gitea/issues/25130 
The old code uses `$(this).next()` to get `dismiss-review-modal`.
At first, it will get `$(#dismiss-review-modal)`, but the next time it
will get `$(#dismiss-review-modal).next();`
and then `$(#dismiss-review-modal).next().next();`.
Because div `dismiss-review-modal` will be removed when
`dismiss-review-btn` clicked.
Maybe the right usage is adding `show-modal` class and `data-modal`
attribute. 
						
						
					 
					
						2023-06-08 08:52:35 +00:00 
						 
				 
			
				
					
						
							
							
								HesterG 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							58536093b3 
							
						 
					 
					
						
						
							
							Add details summary for vertical menus in settings to allow toggling ( #25098 )  
						
						... 
						
						
						
						Close  #25051 
[referenced
answer](https://stackoverflow.com/questions/10813581/can-i-replace-the-expand-icon-of-the-details-element/69722686#69722686 )
for marker overwrite. One limitation is that fomantic does not have
hover and active effects for the vertical submenu
([reference](https://fomantic-ui.com/collections/menu.html#sub-menu )).
And we might need to overwrite some styles if hover and active effects
are needed.
Update:
Used `data:image/svg` instead of `marker` content. And adjusted styles
for hover effect.
Take admin settings as an example:
https://github.com/go-gitea/gitea/assets/17645053/63f69823-ef43-47d5-a518-544b5ea35ba6 
---------
Co-authored-by: silverwind <me@silverwind.io> 
					
						2023-06-07 10:49:48 +08:00 
						 
				 
			
				
					
						
							
							
								Yevhen Pavlov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8d7893e817 
							
						 
					 
					
						
						
							
							Don't display select all issues checkbox when no issues are available ( #25086 )  
						
						... 
						
						
						
						Before:

After:
 
						
						
					 
					
						2023-06-06 08:19:24 +08:00 
						 
				 
			
				
					
						
							
							
								6543 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							395a6fabf3 
							
						 
					 
					
						
						
							
							fix "Remove stars when repo goes private  #19904 " ( #25084 )  
						
						... 
						
						
						
						https://github.com/go-gitea/gitea/pull/19904#discussion_r1218111682  
					
						2023-06-05 15:23:09 +00:00 
						 
				 
			
				
					
						
							
							
								Wim 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							62ac3251fa 
							
						 
					 
					
						
						
							
							Remove stars when repo goes private ( #19904 )  
						
						... 
						
						
						
						Fixes  #18600  
					
						2023-06-05 13:25:43 +00: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 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4486dd39e7 
							
						 
					 
					
						
						
							
							Remove cancel button from branch protection form ( #25063 )  
						
						... 
						
						
						
						It caused bugs. To cancel, just navigate away.
- Follows #21381  and #21872 
- Resolves  #25038  
## Before

## After

Signed-off-by: Yarden Shoham <git@yardenshoham.com> 
						
						
					 
					
						2023-06-03 20:06:09 +08:00 
						 
				 
			
				
					
						
							
							
								Kyle D 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							72eedfb915 
							
						 
					 
					
						
						
							
							Show file tree by default ( #25052 )  
						
						... 
						
						
						
						Feel free to close this if there isn't interest.
The tree view looks amazing, and all of our users are really enjoying it
(major kudos to developers!), but only IF I tell them it exists!
Essentially, the file tree view as it is effectively undiscoverable.  
This PR changes the default state for the tree view to open, which
should significantly help with discoverability.
An alternative could be to reserve more horizontal space, as a typical
accordion panel would look (eg. VS Code), eg.
 
						
						
					 
					
						2023-06-02 23:39:01 +08:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c5ede35124 
							
						 
					 
					
						
						
							
							Add button on diff header to copy file name, misc diff header tweaks ( #24986 )  
						
						... 
						
						
						
						1. Add this button:
<img width="232" alt="Screenshot 2023-05-29 at 15 21 47"
src="https://github.com/go-gitea/gitea/assets/115237/5eaf6bd1-83db-4ffc-9503-eda0c59807d2 ">
<img width="297" alt="Screenshot 2023-05-29 at 15 20 22"
src="https://github.com/go-gitea/gitea/assets/115237/708a344f-f6d7-4229-bfda-76e1571b42c8 ">
2. Correct `button-link` styles to not have a background hover effect.
3. Tweak `.ui.container` padding to be the same for fluid and non-fluid.
4. Misc enhancements to diff header:
Before:
<img width="984" alt="Screenshot 2023-05-29 at 15 38 53"
src="https://github.com/go-gitea/gitea/assets/115237/c7926f6a-bd0a-4b05-97ad-c91fc25c62d5 ">
After:
<img width="987" alt="Screenshot 2023-05-29 at 15 43 10"
src="https://github.com/go-gitea/gitea/assets/115237/0149f545-45f8-42cf-b443-e1c76bd5cdeb "> 
						
						
					 
					
						2023-06-01 10:47:28 +00:00 
						 
				 
			
				
					
						
							
							
								delvh 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bf27fc3596 
							
						 
					 
					
						
						
							
							Merge new project templates into one ( #24985 )  
						
						... 
						
						
						
						Additionally simplify the `new project` template slightly.
Review hint: Disable whitespace changes.
<details><summary>Before</summary>
## New repo project

## Edit repo project

## New user/org project

## Edit user/org project

</details>
<details><summary>After</summary>
## New repo project

## Edit repo project

## New user/org project

## Edit user/org project

</details>
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-05-31 08:50:18 +02:00 
						 
				 
			
				
					
						
							
							
								Denys Konovalov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0c79a655d4 
							
						 
					 
					
						
						
							
							various style fixes ( #25008 )  
						
						... 
						
						
						
						- fixing various style issues (border color/radius, margin)
- added indent at some radio input blocks
---
### Before:







### After:







---------
Co-authored-by: silverwind <me@silverwind.io> 
						
						
					 
					
						2023-05-30 22:28:25 +00:00 
						 
				 
			
				
					
						
							
							
								HesterG 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1ea5c8b0ff 
							
						 
					 
					
						
						
							
							Add show timestamp/seconds and fullscreen options to action page ( #24876 )  
						
						... 
						
						
						
						Part of #24728 
- The timestamp shows local time and is parsed by `date.toLocaleString`;
- "show seconds" and "show timestamps" are mutually exclusive, and they
can be both hidden.
https://github.com/go-gitea/gitea/assets/17645053/89531e54-37b7-4400-a6a0-bb3cc69eb6f5 
Update for timestamp format:
<img width="306" alt="Screen Shot 2023-05-25 at 09 07 47"
src="https://github.com/go-gitea/gitea/assets/17645053/2d99768d-d39c-4c9e-81a2-7bc7470399dd ">
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2023-05-30 20:38:55 +00:00 
						 
				 
			
				
					
						
							
							
								JakobDev 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1b115296d3 
							
						 
					 
					
						
						
							
							Followup to pinned Issues ( #24945 )  
						
						... 
						
						
						
						This addressees some things from #24406  that came up after the PR was
merged. Mostly from @delvh.
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: delvh <dev.lh@web.de> 
						
						
					 
					
						2023-05-30 15:26:51 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ee99cf6313 
							
						 
					 
					
						
						
							
							Refactor diffFileInfo / DiffTreeStore  ( #24998 )  
						
						... 
						
						
						
						Follow  #21012 , #22399 
Replace #24983 , fix  #24938 
Help #24956 
Now, the `window.config.pageData.diffFileInfo` itself is a reactive
store, so it's quite easy to sync values/states by it, no need to do
"doLoadMoreFiles" or "callback".
Screenshot: these two buttons both work. After complete loading, the UI
is also right.
<details>



</details> 
						
						
					 
					
						2023-05-30 18:53:15 +08:00 
						 
				 
			
				
					
						
							
							
								Yevhen Pavlov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a36c620583 
							
						 
					 
					
						
						
							
							Display file mode for new file and file mode changes ( #24966 )  
						
						... 
						
						
						
						This MR introduces the addition of file mode display support for both
new file creation and file mode changes, following a similar approach as
GitLab.
GitLab:

Gitea:

Replaces: https://github.com/go-gitea/gitea/pull/23159 
Closes: https://github.com/go-gitea/gitea/issues/23021 
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-05-29 19:56:08 +02:00 
						 
				 
			
				
					
						
							
							
								HesterG 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							085a8857f9 
							
						 
					 
					
						
						
							
							Fix repo level project - edit column  ( #24982 )  
						
						... 
						
						
						
						Right now edit column of repo level project is not working, because edit
button does not have the `edit-column-button` class, which is used in
the [js
selector](28077e66c0/web_src/js/features/repo-projects.js (L106)https://github.com/go-gitea/gitea/assets/17645053/e1fba190-477d-4814-87f2-0fd979376840 
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-05-29 16:32:15 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							73b57c2992 
							
						 
					 
					
						
						
							
							Improve dropdown menus, remove inline styles ( #24954 )  
						
						... 
						
						
						
						Before:
<img width="190" alt="Screenshot 2023-05-27 at 10 46 43"
src="https://github.com/go-gitea/gitea/assets/115237/b9331fcd-db1d-476e-87f0-f79bae48b1a5 ">
After:
<img width="154" alt="Screenshot 2023-05-28 at 19 29 03"
src="https://github.com/go-gitea/gitea/assets/115237/8b7f99a2-01a8-4665-9342-a6201b51d30f ">
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-05-29 14:10:06 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							79a4c80f8d 
							
						 
					 
					
						
						
							
							Rework button coloring, add focus and active colors ( #24507 )  
						
						... 
						
						
						
						We were missing overrides for `:focus` and `:active` styles which I've
added here along with two new color variants `dark-1` and `dark-2` for
them. Fomantic UI has 4 different colors but I think 3 are sufficient. I
also changed it on arc-green so button goes darker when pressed.
<img width="129" alt="Screenshot 2023-05-04 at 01 21 43"
src="https://user-images.githubusercontent.com/115237/236072060-7389276a-275b-4d3e-aa52-20b37c6e6d92.png ">
<img width="130" alt="Screenshot 2023-05-04 at 01 17 59"
src="https://user-images.githubusercontent.com/115237/236071818-0e46414a-33db-4bb2-a3bd-35b514a8a2d0.png ">
<img width="129" alt="Screenshot 2023-05-04 at 01 18 07"
src="https://user-images.githubusercontent.com/115237/236071819-562b1e38-541f-432b-b3b6-48e6d7594d00.png ">
<img width="131" alt="Screenshot 2023-05-04 at 01 18 13"
src="https://user-images.githubusercontent.com/115237/236071820-89b7dba9-ce6c-48e5-a075-9053063e6ad3.png ">
<img width="133" alt="Screenshot 2023-05-04 at 01 18 30"
src="https://user-images.githubusercontent.com/115237/236071823-b6fe2df4-b3f0-4dc8-97a8-f90ba6d19bec.png ">
<img width="133" alt="Screenshot 2023-05-04 at 01 18 40"
src="https://user-images.githubusercontent.com/115237/236071824-b02ce61a-2367-4c29-8a25-45f231f5e5ee.png ">
One misc change includes some fixes to editor and slightly darker
selection.
<img width="1245" alt="Screenshot 2023-05-28 at 19 16 19"
src="https://github.com/go-gitea/gitea/assets/115237/1ea4a4b6-26ba-45af-9cbc-5b8c476c2338 "> 
						
						
					 
					
						2023-05-29 12:45:22 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e4e98979ff 
							
						 
					 
					
						
						
							
							Add PDF rendering via PDFObject ( #24086 )  
						
						... 
						
						
						
						Use [PDFObject](https://pdfobject.com/ ) to embed PDFs, replacing our
outdated PDF.js copy we vendor (the last non-webpack vendoring).
[Commit
1](673e0263da9336f5769dhttps://github.com/go-gitea/gitea/assets/115237/169ce50c-bd1d-4bb0-86e5-1710bd0400a9 ">
<img width="1257" alt="Screenshot 2023-05-27 at 10 12 50"
src="https://github.com/go-gitea/gitea/assets/115237/318f7ee9-fb11-4093-83e7-17475aa70629 ">
Fallback for unsupporting browsers (most mobile ones, except Firefox
Mobile):
<img width="358" alt="Screenshot 2023-05-27 at 09 43 34"
src="https://github.com/go-gitea/gitea/assets/115237/8c12d7ba-57d6-4228-89a0-5fef9fad0cbb ">
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-05-29 12:10:00 +00:00 
						 
				 
			
				
					
						
							
							
								Panagiotis "Ivory" Vasilopoulos 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							35ce7ca25b 
							
						 
					 
					
						
						
							
							Hide 'Mirror Settings' when unneeded, improve hints ( #24433 )  
						
						... 
						
						
						
						Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-05-29 11:32:52 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a70d853d06 
							
						 
					 
					
						
						
							
							Consolidate the two review boxes into one ( #24738 )  
						
						... 
						
						
						
						View diff:
https://github.com/go-gitea/gitea/pull/24738/files?diff=unified&w=1 
Improve layout and functionality in review area:
<img width="439" alt="Screenshot 2023-05-15 at 20 10 01"
src="https://github.com/go-gitea/gitea/assets/115237/be10452b-5829-4927-8801-7b26a57b3dbd ">
Remove the "Reviewers" timeline box that appears before the merge box.
it's a duplicate of the top-right review area and all functionality of
it has been moved to the other box:
<img width="868" alt="Screenshot 2023-05-15 at 19 39 31"
src="https://github.com/go-gitea/gitea/assets/115237/35489445-e54b-40d3-b3cf-38d029478f96 ">
Increase timeline item vertical padding from 12px to 16px:
<img width="449" alt="Screenshot 2023-05-15 at 19 43 50"
src="https://github.com/go-gitea/gitea/assets/115237/919c4f9d-a485-4f51-b08c-2c0fc714a413 ">
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-05-29 12:44:03 +02:00