0ko 
								
							 
						 
						
							
							
								
							
							
	9b470d2709  
						 
						
							
							
								
								
								feat(ui): use simplified visibility label in dashboard orgs list ( #8582 )  
							
							 
							
							... 
							
							
							
							
							Followup to https://codeberg.org/forgejo/forgejo/pulls/6201 
Label height making entry height inconsistent isn't a concern because this change makes them 2px shorter. _And they are already inconsistent._
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8582 
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Co-committed-by: 0ko <0ko@noreply.codeberg.org> 
							
						 
						
							2025-07-21 09:20:24 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									0ko 
								
							 
						 
						
							
							
								
							
							
	c57dea336c  
						 
						
							
							
								
								
								fix(ui): small org dashboard ui cleanup ( #8327 )  
							
							 
							
							... 
							
							
							
							
							Small UI cleanups in this area with no visual changes:
https://codeberg.org/attachments/4282f225-63e0-41b7-9edb-8b64877092b2 
* remove classes `ui`, `top`, `attached`: following https://codeberg.org/forgejo/forgejo/pulls/2593 , it is no longer a fomantic ui segment for those classes to be relevant to it
* use gap in flexbox as it is a cleaner way than setting margins
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8327 
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: Robert Wolff <mahlzahn@posteo.de>
Reviewed-by: Beowulf <beowulf@beocode.eu> 
							
						 
						
							2025-06-29 16:22:07 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Michael Jerger 
								
							 
						 
						
							
							
								
							
							
	15bb6b7f92  
						 
						
							
							
								
								
								[gitea] week 2025-22 cherry pick (gitea/main -> forgejo) ( #8198 )  
							
							 
							
							... 
							
							
							
							
							## Checklist
- [x] go to the last cherry-pick PR (forgejo/forgejo#8040 ) to figure out how far it went: [gitea@d5bbaee64e](d5bbaee64e )
- [x] cherry-pick and open PR (forgejo/forgejo#8198 )
- [ ] have the PR pass the CI
- end-to-end (specially important if there are actions related changes)
  - [ ] add `run-end-to-end` label
  - [ ] check the result
- [ ] write release notes
- [ ] assign reviewers
- [ ] 48h later, last call
- merge 1 hour after the last call
## Legend
- ❓  - No decision about the commit has been made.
- 🍒  - The commit has been cherry picked.
- ⏩  - The commit has been skipped.
- 💡  - The commit has been skipped, but should be ported to Forgejo.
- ✍️  - The commit has been skipped, and a port to Forgejo already exists.
## Commits
- 🍒  [`gitea`](17cfae82a5 ) -> [`forgejo`](6397da88d3 ) Hide href attribute of a tag if there is no target_url ([gitea#34556](https://github.com/go-gitea/gitea/pull/34556 ))
- 🍒  [`gitea`](b408bf2f0b ) -> [`forgejo`](46bc899d57 ) Fix: skip paths check on tag push events in workflows ([gitea#34602](https://github.com/go-gitea/gitea/pull/34602 ))
- 🍒  [`gitea`](9165ea8713 ) -> [`forgejo`](04332f31bf ) Only activity tab needs heatmap data loading ([gitea#34652](https://github.com/go-gitea/gitea/pull/34652 ))
- 🍒  [`gitea`](3f7dbbdaf1 ) -> [`forgejo`](2a9019fd04 ) Small fix in Pull Requests page ([gitea#34612](https://github.com/go-gitea/gitea/pull/34612 ))
- 🍒  [`gitea`](497b83b75d ) -> [`forgejo`](9a83cc7bad ) Fix migration pull request title too long ([gitea#34577](https://github.com/go-gitea/gitea/pull/34577 ))
## TODO
- 💡  [`gitea`](6b8b580218 ) Refactor container and UI ([gitea#34736](https://github.com/go-gitea/gitea/pull/34736 ))
  Packages: Fix for container, needs careful merge.
------
- 💡  [`gitea`](bbee652e29 ) Prevent duplicate form submissions when creating forks ([gitea#34714](https://github.com/go-gitea/gitea/pull/34714 ))
  Fork: Fix, needs careful merge.
------
- 💡  [`gitea`](d21ce9fa07 ) Improve the performance when detecting the file editable ([gitea#34653](https://github.com/go-gitea/gitea/pull/34653 ))
  LFS: Performance improvement - needs careful merge.
------
- 💡  [`gitea`](8fed27bf6a ) Fix various problems ([gitea#34708](https://github.com/go-gitea/gitea/pull/34708 ))
  Various: Fixes, tests missing.
------
- 💡  [`gitea`](c9505a26b9 ) Improve instance wide ssh commit signing ([gitea#34341](https://github.com/go-gitea/gitea/pull/34341 ))
  CodeSign: Nice feature - needs careful merge.
------
- 💡  [`gitea`](fbc3796f9e ) Fix pull requests API convert panic when head repository is deleted. ([gitea#34685](https://github.com/go-gitea/gitea/pull/34685 ))
  Pull: Fix, needs careful merge.
------
- 💡  [`gitea`](1610a63bfd ) Fix commit message rendering and some UI problems ([gitea#34680](https://github.com/go-gitea/gitea/pull/34680 ))
  Various Fixes - needs carefull merge.
------
- 💡  [`gitea`](0082cb51fa ) Fix last admin check when syncing users ([gitea#34649](https://github.com/go-gitea/gitea/pull/34649 ))
  oidc: fix "first user is always admin". Needs careful merge.
------
- 💡  [`gitea`](c6b2cbd75d ) Fix footnote jump behavior on the issue page. ([gitea#34621](https://github.com/go-gitea/gitea/pull/34621 ))
  Issues: Fix Markdown rendering. Needs carefull merge
------
- 💡  [`gitea`](7a59f5a825 ) Ignore "Close" error when uploading container blob ([gitea#34620](https://github.com/go-gitea/gitea/pull/34620 ))
  No issue, no test.
------
- 💡  [`gitea`](6d0b24064a ) Keeping consistent between UI and API about combined commit status state and fix some bugs ([gitea#34562](https://github.com/go-gitea/gitea/pull/34562 ))
  Next PR in Commit-Status story.
------
- 💡  [`gitea`](f6041441ee ) Refactor FindOrgOptions to use enum instead of bool, fix membership visibility ([gitea#34629](https://github.com/go-gitea/gitea/pull/34629 ))
  Just for a common sense here: How should I consider refactorings?
------
- 💡  [`gitea`](cc942e2a86 ) Fix GetUsersByEmails ([gitea#34643](https://github.com/go-gitea/gitea/pull/34643 ))
  User: Seems to fix email validation - but seems not to be finished.
------
- 💡  [`gitea`](7fa5a88831 ) Add `--color-logo` for text that should match logo color ([gitea#34639](https://github.com/go-gitea/gitea/pull/34639 ))
  UI: Nice idea - can we adapt this?
------
- 💡  [`gitea`](47d69b7749 ) Validate hex colors when creating/editing labels ([gitea#34623](https://github.com/go-gitea/gitea/pull/34623 ))
  Label: Color validation but needs careful merge.
------
- 💡  [`gitea`](108db0b04f ) Fix possible pull request broken when leave the page immediately after clicking the update button ([gitea#34509](https://github.com/go-gitea/gitea/pull/34509 ))
  Nice fix for a bug hard to trace down.
  Needs careful merge & think about whether a test is possible.
------
- 💡  [`gitea`](79cc369892 ) Fix issue label delete incorrect labels webhook payload ([gitea#34575](https://github.com/go-gitea/gitea/pull/34575 ))
  Small fix but would expect a test, showing what was fixed.
------
- 💡  [`gitea`](fe57ee3074 ) fixed incorrect page navigation with up and down arrow on last item of dashboard repos ([gitea#34570](https://github.com/go-gitea/gitea/pull/34570 ))
  Small & simple - but tests are missing.
------
- 💡  [`gitea`](4e471487fb ) Remove unnecessary duplicate code ([gitea#34552](https://github.com/go-gitea/gitea/pull/34552 ))
  Fix arround "Split GetLatestCommitStatus".
------
- 💡  [`gitea`](c5e78fc7ad ) Do not mutate incoming options to SearchRepositoryByName ([gitea#34553](https://github.com/go-gitea/gitea/pull/34553 ))
  Large refactoring to simplify options handling. But needs careful merge.
------
- 💡  [`gitea`](f48c0135a6 ) Fix/improve avatar sync from LDAP ([gitea#34573](https://github.com/go-gitea/gitea/pull/34573 ))
  Nice fix but needs test.
------
- 💡  [`gitea`](e8d8984f7c ) Fix some trivial problems ([gitea#34579](https://github.com/go-gitea/gitea/pull/34579 ))
  Various fixes, tests missing.
------
## Skipped
- ⏩  [`gitea`](637070e07b ) Fix container range bug ([gitea#34725](https://github.com/go-gitea/gitea/pull/34725 ))
------
- ⏩  [`gitea`](0d3e9956cd ) [skip ci] Updated translations via Crowdin
------
- ⏩  [`gitea`](28debdbe00 ) [skip ci] Updated translations via Crowdin
------
- ⏩  [`gitea`](dcc9206a59 ) Raise minimum Node.js version to 20, test on 24 ([gitea#34713](https://github.com/go-gitea/gitea/pull/34713 ))
------
- ⏩  [`gitea`](bc28654b49 ) [skip ci] Updated translations via Crowdin
------
- ⏩  [`gitea`](65986f423f ) Refactor embedded assets and drop unnecessary dependencies ([gitea#34692](https://github.com/go-gitea/gitea/pull/34692 ))
------
- ⏩  [`gitea`](18bafcc378 ) Bump minimum go version to 1.24.4 ([gitea#34699](https://github.com/go-gitea/gitea/pull/34699 ))
------
- ⏩  [`gitea`](8d135ef5cf ) Update JS deps ([gitea#34701](https://github.com/go-gitea/gitea/pull/34701 ))
------
- ⏩  [`gitea`](d5893ee260 ) Fix markdown wrap ([gitea#34697](https://github.com/go-gitea/gitea/pull/34697 ))
  - gitea UI specific specific
------
- ⏩  [`gitea`](06ccb3a1d4 ) [skip ci] Updated translations via Crowdin
------
- ⏩  [`gitea`](94db956e31 ) frontport changelog ([gitea#34689](https://github.com/go-gitea/gitea/pull/34689 ))
------
- ⏩  [`gitea`](d5afdccde8 ) [skip ci] Updated translations via Crowdin
------
- ⏩  [`gitea`](e9f5105e95 ) Migrate to urfave v3 ([gitea#34510](https://github.com/go-gitea/gitea/pull/34510 ))
  already in Forgejo - see https://codeberg.org/forgejo/forgejo/pulls/8035 
------
- ⏩  [`gitea`](2c341b6803 ) [skip ci] Updated translations via Crowdin
------
- ⏩  [`gitea`](92e7e98c56 ) Update x/crypto package and make builtin SSH use default parameters ([gitea#34667](https://github.com/go-gitea/gitea/pull/34667 ))
------
- ⏩  [`gitea`](7b39c82587 ) Fix "oras" OCI client compatibility ([gitea#34666](https://github.com/go-gitea/gitea/pull/34666 ))
  Already in forgejo - see https://codeberg.org/forgejo/forgejo/issues/8070 
------
- ⏩  [`gitea`](1fe652cd26 ) [skip ci] Updated translations via Crowdin
------
- ⏩  [`gitea`](a9a705f4db ) Fix missed merge commit sha and time when migrating from codecommit ([gitea#34645](https://github.com/go-gitea/gitea/pull/34645 ))
  Migration: Seems to be an important fix, but no tests.
  As I know @earl-warren worked hard on migration, is this still relevant to us?
------
- ⏩  [`gitea`](1e0758a9f1 ) [skip ci] Updated translations via Crowdin
------
- ⏩  [`gitea`](f6f6aedd4f ) Update JS deps, regenerate SVGs ([gitea#34640](https://github.com/go-gitea/gitea/pull/34640 ))
------
- ⏩  [`gitea`](aa2b3b2b1f ) Misc CSS fixes ([gitea#34638](https://github.com/go-gitea/gitea/pull/34638 ))
  - gitea UI specific specific
------
- ⏩  [`gitea`](b38f2d31fd ) add codecommit to supported services in api docs ([gitea#34626](https://github.com/go-gitea/gitea/pull/34626 ))
------
- ⏩  [`gitea`](74a0178c6a ) add openssh-keygen to rootless image ([gitea#34625](https://github.com/go-gitea/gitea/pull/34625 ))
  already in Forgejo - see https://codeberg.org/forgejo/forgejo/issues/6896 
------
- ⏩  [`gitea`](5b22af4373 ) bump to alpine 3.22 ([gitea#34613](https://github.com/go-gitea/gitea/pull/34613 ))
------
- ⏩  [`gitea`](9e0e107d23 ) Fix notification count positioning for variable-width elements ([gitea#34597](https://github.com/go-gitea/gitea/pull/34597 ))
  - gitea UI specific specific
------
- ⏩  [`gitea`](e5781cec75 ) Fix margin issue in markup paragraph rendering ([gitea#34599](https://github.com/go-gitea/gitea/pull/34599 ))
  - gitea UI specific specific
------
- ⏩  [`gitea`](375dab1111 ) Make pull request and issue history more compact ([gitea#34588](https://github.com/go-gitea/gitea/pull/34588 ))
  - gitea UI specific specific
------
- ⏩  [`gitea`](2a1585b32e ) Refactor some tests ([gitea#34580](https://github.com/go-gitea/gitea/pull/34580 ))
------
<details>
<summary><h2>Stats</h2></summary>
<br>
Between [`gitea@d5bbaee64e`](d5bbaee64e ) and [`gitea@6b8b580218`](6b8b580218 ), **55** commits have been reviewed. We picked **5**, skipped **28** (of which **3** were already in Forgejo!), and decided to port **22**.
</details>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: NorthRealm <155140859+NorthRealm@users.noreply.github.com>
Co-authored-by: TheFox0x7 <thefox0x7@gmail.com>
Co-authored-by: endo0911engineer <161911062+endo0911engineer@users.noreply.github.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8198 
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Michael Jerger <michael.jerger@meissa-gmbh.de>
Co-committed-by: Michael Jerger <michael.jerger@meissa-gmbh.de> 
							
						 
						
							2025-06-17 18:28:07 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	0e5e383425 
 
						 
						
							
							
								
								
								Fix typo in HTML attribute ( #33599 )  
							
							 
							
							... 
							
							
							
							
							(cherry picked from commit 1ba7cbbfd6bb758b5c3796dfe46fa688dc20b5d1) 
							
						 
						
							2025-02-25 12:56:32 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	0ff2c11432 
 
						 
						
							
							
								
								
								Remove "class-name" from svg icon ( #33540 )  
							
							 
							
							... 
							
							
							
							
							Only use "class" attribute
(cherry picked from commit 06088ec672a053b11a20ca6dd21588380d67f396) 
							
						 
						
							2025-02-25 12:56:30 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Natalie Klestrup Röijezon 
								
							 
						 
						
							
							
								
							
							
	226994a6df  
						 
						
							
							
								
								
								fix: Remove autofocus on the dashboard repository search box ( #6734 )  
							
							 
							
							... 
							
							
							
							
							- No longer autofocus on the searchbox for the repository list that is on the dashboard. There is no justification for doing so.
- Fixes  #6653 
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6734 
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: Beowulf <beowulf@beocode.eu>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Natalie Klestrup Röijezon <nat@nullable.se>
Co-committed-by: Natalie Klestrup Röijezon <nat@nullable.se> 
							
						 
						
							2025-01-31 10:09:31 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									cloudchamb3r 
								
							 
						 
						
							
							
								
							
							
	
	
	68aa530fb2 
 
						 
						
							
							
								
								
								Fix checkbox bug on private/archive filter ( #32236 )  
							
							 
							
							... 
							
							
							
							
							fix  #32235 
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit cb739f533358a8cf6e1b6875b3d4f0da3bfa7c95) 
							
						 
						
							2024-10-13 14:17:08 +03:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Lunny Xiao 
								
							 
						 
						
							
							
								
							
							
	
	
	5ccf79d05c 
 
						 
						
							
							
								
								
								Include collaboration repositories on dashboard source/forks/mirrors list ( #31946 )  
							
							 
							
							... 
							
							
							
							
							Fix  #13489 
In the original implementation, only `All` will display your owned and
collaborated repositories. For other filters like `Source`, `Mirrors`
and etc. will only display your owned repositories.
This PR removed the limitations. Now except `collbrations`, other
filters will always display your owned and collaborated repositories.
(cherry picked from commit 4947bec8360c152daca23e120eae1732d3848492) 
							
						 
						
							2024-09-29 10:28:08 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Beowulf 
								
							 
						 
						
							
							
								
							
							
	
	
	1088c057e0 
 
						 
						
							
							
								
								
								Fixed link to commit status and tooltip on dashboard  
							
							 
							
							... 
							
							
							
							
							Regression introduced by 5a18b74632 
							
						 
						
							2024-07-14 13:03:03 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									0ko 
								
							 
						 
						
							
							
								
							
							
	16224ebd33  
						 
						
							
							
								
								
								ui: use alt bg color for labels in hovered menu items ( #4458 )  
							
							 
							
							... 
							
							
							
							
							A followup for https://codeberg.org/forgejo/forgejo/pulls/2935 .
Re-use the alt bg color for labels inside menu items that are hovered, to keep the label box visible.
Preview: https://codeberg.org/attachments/d649b2d9-0838-49af-be6a-766de2faf52e 
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4458 
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org> 
							
						 
						
							2024-07-12 11:12:51 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									0ko 
								
							 
						 
						
							
							
								
							
							
	39cdcb4daf  
						 
						
							
							
								
								
								Fix box rounding on dashboard  
							
							 
							
							... 
							
							
							
							
							Regression of d40127a3e8 (diff-1daf5eae38)  and 4711d3311b (diff-1daf5eae3) . 
							
						 
						
							2024-04-12 23:16:17 +05:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	d40127a3e8 
 
						 
						
							
							
								
								
								Remove fomantic input module ( #30194 )  
							
							 
							
							... 
							
							
							
							
							Another pure CSS module. Some styling is part of the `form` module which
will likely follow next.
(cherry picked from commit ff334749f58c71980ec19143bc21c0a799074b30)
Conflicts:
	- web_src/js/components/DashboardRepoList.vue
	  Resolved the conflict by manually applying the Gitea change. 
							
						 
						
							2024-04-07 15:40:31 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	c82bef515e 
 
						 
						
							
							
								
								
								Migrate margin and padding helpers to tailwind ( #30043 )  
							
							 
							
							... 
							
							
							
							
							This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g'   {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g'   {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g'   {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g'   {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g'   {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
	routers/web/repo/view.go
	templates/base/head_navbar.tmpl
	templates/repo/code/recently_pushed_new_branches.tmpl
	templates/repo/diff/box.tmpl
	templates/repo/diff/compare.tmpl
	templates/repo/diff/conversation.tmpl
	templates/repo/header.tmpl
	templates/repo/issue/filter_list.tmpl
	templates/repo/issue/view_content/conversation.tmpl
	templates/repo/issue/view_content/sidebar.tmpl
	templates/repo/settings/options.tmpl
	templates/repo/view_file.tmpl
	templates/shared/user/blocked_users.tmpl
	templates/status/500.tmpl
	web_src/js/components/DashboardRepoList.vue
	resolved by prefering Forgejo version and applying the
	commands to all files 
							
						 
						
							2024-03-30 07:17:29 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	3ea7437fa6 
 
						 
						
							
							
								
								
								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/**/*
```
(cherry picked from commit 04f9ad056882fc3f21b247b16f84437adf0f36d8)
Conflicts:
	templates/repo/diff/conversation.tmpl
	templates/repo/header.tmpl
	templates/repo/issue/filter_list.tmpl
	templates/repo/issue/view_content/conversation.tmpl
	templates/repo/wiki/view.tmpl
	web_src/js/components/DashboardRepoList.vue
	re-ran the command after discarding the Gitea changes to
	ensure all Forgejo files are also covered 
							
						 
						
							2024-03-26 19:04:27 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	b96845ae01 
 
						 
						
							
							
								
								
								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.
(cherry picked from commit 3d751b6ec18e57698ce86b79866031d2c80c2071)
Conflicts:
	web_src/js/components/DashboardRepoList.vue
	trivial context conflict because of '3b7b899afa  fix commit_status' 
							
						 
						
							2024-03-26 19:04:27 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Earl Warren 
								
							 
						 
						
							
							
								
							
							
	
	
	9c9f40f6d3 
 
						 
						
							
							
								
								
								Replace 10 more gt- classes with tw- ( #29945 ) (step 2)  
							
							 
							
							... 
							
							
							
							
							Same operation ran to cover all Forgejo specific files as well.
---
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>
(cherry picked from commit f88ad5424f381bf2a45fd863b551c5a72891bb68) 
							
						 
						
							2024-03-26 19:04:27 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	4711d3311b 
 
						 
						
							
							
								
								
								Migrate border and margin classes to Tailwind ( #29828 )  
							
							 
							
							... 
							
							
							
							
							Used all existing css vars, other migrations are 1:1.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit 34290a00c4501ffeba26db267be71ab68e3ec97f)
Conflicts:
	templates/repo/issue/filter_list.tmpl
	web_src/js/components/DashboardRepoList.vue
	trivial context conflicts 
							
						 
						
							2024-03-26 19:04:25 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	fbf0b3d661 
 
						 
						
							
							
								
								
								Only do counting when count_only=true for repo dashboard ( #29884 )  
							
							 
							
							... 
							
							
							
							
							Ref: #29878 
(cherry picked from commit b251e608c01392c947f84be387f956541bfea25c) 
							
						 
						
							2024-03-26 19:04:25 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									oliverpool 
								
							 
						 
						
							
							
								
							
							
	3b7b899afa  
						 
						
							
							
								
								
								fix commit_status  
							
							 
							
							
							
							
						 
						
							2024-03-24 07:11:19 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Earl Warren 
								
							 
						 
						
							
							
								
							
							
	6d340bcfea  
						 
						
							
							
								
								
								Merge pull request 'Update look of repo/org tabs on homepage' ( #2593 ) from 0ko/forgejo:hometab into forgejo  
							
							 
							
							... 
							
							
							
							
							Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2593 
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org> 
							
						 
						
							2024-03-20 11:45:17 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	5a16c9d9c0 
 
						 
						
							
							
								
								
								Add <overflow-menu>, rename webcomponents ( #29400 )  
							
							 
							
							... 
							
							
							
							
							1. Add `<overflow-menu>` web component
2. Rename `<gitea-origin-url>` to `<origin-url>` and make filenames
match.
<img width="439" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/2fbe4ca4-110b-4ad2-8e17-c1e116ccbd74 ">
<img width="444" alt="Screenshot 2024-03-02 at 21 36 52"
src="https://github.com/go-gitea/gitea/assets/115237/aa8f786e-dc8c-4030-b12d-7cfb74bdfd6e ">
<img width="537" alt="Screenshot 2024-03-03 at 03 05 06"
src="https://github.com/go-gitea/gitea/assets/115237/fddd50aa-adf1-4b4b-bd7f-caf30c7b2245 ">


TODO:
- [x] Check if removal of `requestAnimationFrame` is possible to avoid
flash of content. Likely needs a `MutationObserver`.
- [x] Hide tippy when button is removed from DOM.
- [x] ~~Implement right-aligned items
(https://github.com/go-gitea/gitea/pull/28976 )~~. Not going to do it.
- [x] Clean up CSS so base element has no background and add background
via tailwind instead.
- [x] Use it for org and user page.
---------
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit 256a1eeb9a67b18c62a10f5909b584b7b220848a)
Conflicts:
	options/locale/locale_en-US.ini
	templates/package/content/cargo.tmpl
	templates/package/content/cran.tmpl
	templates/package/content/debian.tmpl
	templates/package/content/maven.tmpl 
							
						 
						
							2024-03-20 08:46:29 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									0ko 
								
							 
						 
						
							
							
								
							
							
	6739b4f590  
						 
						
							
							
								
								
								Update look of repo/org tabs on homepage  
							
							 
							
							
							
							
						 
						
							2024-03-07 19:01:11 +05:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	abd79ddebf 
 
						 
						
							
							
								
								
								Update JS dependencies ( #27922 )  
							
							 
							
							... 
							
							
							
							
							- Update all JS dependencies minus @mcaptcha/vanilla-glue (unsolved
error, see https://github.com/mCaptcha/glue/issues/65 )
- Migrate deprecated eslint rules to `@stylistic/eslint-plugin-js`
- Enable and autofix `@stylistic/js/no-multiple-empty-lines`
- Regenerate poetry.lock with latest poetry
- Tested Mermaid, Swagger, Citation, Vue 
							
						 
						
							2023-11-06 21:14:32 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	5bf367f904 
 
						 
						
							
							
								
								
								Restore warning commit status ( #27504 )  
							
							 
							
							... 
							
							
							
							
							Partial revert of https://github.com/go-gitea/gitea/pull/25839 . This
commit status is used by a number of external integrations, so I think
we should not remove it (See
https://github.com/go-gitea/gitea/pull/25839#issuecomment-1729002077 ).
This is a rare case where an existing migration needed to be alterted to
avoid data loss.
---------
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-10-08 22:16:06 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	ae8e8f055e 
 
						 
						
							
							
								
								
								Use fetch helpers instead of fetch ( #27026 )  
							
							 
							
							... 
							
							
							
							
							WIP because:
- [x] Some calls set a `content-type` but send no body, can likely
remove the header
- [x] Need to check whether `charset=utf-8` has any significance on the
webauthn calls, I assume not as it is the default for json content.
- [x] Maybe `no-restricted-globals` is better for eslint, but will
require a lot of duplication in the yaml or moving eslint config to a
`.js` extension.
- [x] Maybe export `request` as `fetch`, shadowing the global. 
							
						 
						
							2023-09-19 00:50:30 +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  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	1bb9b1c4d9 
 
						 
						
							
							
								
								
								Remove polluted ".ui.left" style ( #26809 )  
							
							 
							
							
							
							
						 
						
							2023-08-30 21:46:24 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	576644d815 
 
						 
						
							
							
								
								
								Simplify helper CSS classes and avoid abuse ( #26728 )  
							
							 
							
							... 
							
							
							
							
							Removed CSS helper classes (some of them are not useful while some of
them are abused often)
* `gt-db`: in most cases it could be replaced by `gt-df` and the flex
layout should be encouraged. Other cases: either it does need the
`gt-df` (eg: by using `div` directly) or it is an abuse (eg: the warning
message in a form)
* `gt-di`: it doesn't seem useful, or it could be replaced by `gt-dib`
in most cases.
* `gt-dif`: not useful, it could be replaced by `flex-text-inline` or
`gt-df`
* `gt-js`: never used
* All `<i class="icon gt-df gt-ac gt-jc">` could be written as `<i
class="icon">`
## Some UI samples
### Admin Notice

### Admin Stacktrace

### Org Home

### Org Team Repo

### Release List

### User Setting Application Token Scope

Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-08-26 01:35:10 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	c052f76266 
 
						 
						
							
							
								
								
								Fix organization list in dashboard ( #26650 )  
							
							 
							
							... 
							
							
							
							
							Fix ui problem comes from #26326 
Before:

After:
 
							
						 
						
							2023-08-22 08:49:00 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	f6e7798405 
 
						 
						
							
							
								
								
								Add link to job details and tooltip to commit status in repo list in dashboard ( #26326 )  
							
							 
							
							... 
							
							
							
							
							Tooltip:

Link to the target job:
 
							
						 
						
							2023-08-21 15:26:10 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yarden Shoham 
								
							 
						 
						
							
							
								
							
							
	
	
	dbbae67f44 
 
						 
						
							
							
								
								
								Remove commit status running and warning from the dashboard repo list ( #26036 )  
							
							 
							
							... 
							
							
							
							
							Also added comments so the next time the dashboard repo list won't be
forgotten
Follows #25839 
Signed-off-by: Yarden Shoham <git@yardenshoham.com> 
							
						 
						
							2023-07-21 10:32:25 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	36010243f7 
 
						 
						
							
							
								
								
								Fix commit status color on dashboard repolist ( #25993 )  
							
							 
							
							... 
							
							
							
							
							Followup to https://github.com/go-gitea/gitea/pull/25935  which has
missed to change the icon on the repolist because the logic is not
shared with templates.
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-07-20 01:04:41 +02: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  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									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  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Tyrone Yeh 
								
							 
						 
						
							
							
								
							
							
	
	
	b6d8d695da 
 
						 
						
							
							
								
								
								Add up and down arrows to selected lookup repositories ( #24727 )  
							
							 
							
							... 
							
							
							
							
							Use up and down arrow key to select repositories

---------
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-06-02 18:39:07 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	245f2c08db 
 
						 
						
							
							
								
								
								Repo list improvements, fix bold helper classes ( #24935 )  
							
							 
							
							... 
							
							
							
							
							- Fix bold helper classes that were broken because of CSS syntax error
- Refined the repo list CSS and layout
- Removing bold
- Downsize the mirror icon to fit
- Fix icon positions
- Adapted the org list to match
- Center the '+' icon and mute it
<img width="385" alt="Screenshot 2023-05-25 at 18 38 31"
src="https://github.com/go-gitea/gitea/assets/115237/ac8d6efb-5751-4845-a4ab-db1ddaf36ec3 ">
<img width="384" alt="Screenshot 2023-05-25 at 18 30 29"
src="https://github.com/go-gitea/gitea/assets/115237/bbd39ae7-da9d-4c6f-bfe3-42f28b7a74c3 "> 
							
						 
						
							2023-05-29 16:55:23 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	19993d8814 
 
						 
						
							
							
								
								
								Change --font-weight-bold to --font-weight-semibold and 600 value, introduce new font weight variables ( #24827 )  
							
							 
							
							... 
							
							
							
							
							There was some recent discussion about this in Discord `ui-design`
channel and the conclusion was that
https://github.com/go-gitea/gitea/issues/24305  should have fixed their
OS font installation to have semibold weights.
I have now tested this 601 weight on a Windows 10 machine on Firefox
myself, and I immediately noticed that bold was excessivly bold and
rendering as 700 because browsers are biased towards bolder fonts. So
revert this back to the previous value. 
							
						 
						
							2023-05-21 23:37:32 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yarden Shoham 
								
							 
						 
						
							
							
								
							
							
	
	
	c641a22f2a 
 
						 
						
							
							
								
								
								Mute repo names in dashboard repo list ( #24811 )  
							
							 
							
							... 
							
							
							
							
							# Before

# After

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-19 17:03:09 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yarden Shoham 
								
							 
						 
						
							
							
								
							
							
	
	
	4810fe55e3 
 
						 
						
							
							
								
								
								Add status indicator on main home screen for each repo ( #24638 )  
							
							 
							
							... 
							
							
							
							
							It will show the calculated commit status state of the latest commit on
the default branch for each repository in the dashboard repo list
- Closes  #15620 
# Before

# After

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-13 21:59:01 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	4aec1f87a4 
 
						 
						
							
							
								
								
								Remove highlight in repo list ( #24675 )  
							
							 
							
							... 
							
							
							
							
							Before:

After:

private or internal repos have `lock` icon, no need to add highlights to
them. 
							
						 
						
							2023-05-12 10:00:17 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Hester Gong 
								
							 
						 
						
							
							
								
							
							
	
	
	97b70a0cd4 
 
						 
						
							
							
								
								
								Add org visibility label to non-organization's dashboard ( #24558 )  
							
							 
							
							
							
							
						 
						
							2023-05-07 08:33:43 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	5f21e0f8eb 
 
						 
						
							
							
								
								
								Automatically select the org when click create repo from org dashboard ( #24325 )  
							
							 
							
							... 
							
							
							
							
							
In org dashboard, the create repo link will be `repo/create?org={orgId}` 
							
						 
						
							2023-04-25 22:25:29 -04:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	ee6fa8d633 
 
						 
						
							
							
								
								
								Restore bold on repolist ( #24337 )  
							
							 
							
							... 
							
							
							
							
							Looking at it again, it does look a bit "odd" without bold, so revert
the repolist change done in
https://github.com/go-gitea/gitea/pull/24307 .
<img width="141" alt="image"
src="https://user-images.githubusercontent.com/115237/234331813-c6e2402f-e099-43b3-aed6-46a0e24e3899.png "> 
							
						 
						
							2023-04-25 17:19:22 -04:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	20a3b03fe5 
 
						 
						
							
							
								
								
								Add --font-weight-bold and set previous bold to 601 ( #24307 )  
							
							 
							
							... 
							
							
							
							
							Fix  #24305 
According to MDN, "bold" starts from 700, some fonts do not provide
"bolding" for weight 600
https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight 
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-04-24 13:46:00 -04:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	12fff36d05 
 
						 
						
							
							
								
								
								Fine tune more downdrop settings, use SVG for labels, improve Repo Topic Edit form ( #23626 )  
							
							 
							
							... 
							
							
							
							
							Although it seems that some different purposes are mixed in this PR,
however, they are all related, and can be tested together, so I put them
together to save everyone's time.
Diff: `+79 −84`, everything becomes much better.
### Improve the dropdown settings.
Move all fomantic-init related code into our `fomantic.js`
Fine-tune some dropdown global settings, see the comments.
Also help to fix the first problem in #23625  , cc: @yp05327 
The "language" menu has been simplified, and it works with small-height
window better.
### Use SVG instead of `<i class="delete icon">`
It's also done by `$.fn.dropdown.settings.templates.label` , cc:
@silverwind
### Remove incorrect `tabable` CSS class
It doesn't have CSS styles, and it was only in Vue. So it's totally
unnecessary, remove it by the way.
### Improve the Repo Topic Edit form
* Simplify the code
* Add a "Cancel" button
* Align elements
Before:
<details>

</details>
After:
 
							
						 
						
							2023-03-26 19:31:26 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	8d5fbeb7a2 
 
						 
						
							
							
								
								
								Use data-tooltip-content for tippy tooltip ( #23649 )  
							
							 
							
							... 
							
							
							
							
							Follow:
* #23574 
* Remove all ".tooltip[data-content=...]"
Major changes:
* Remove "tooltip" class, use "[data-tooltip-content=...]" instead of
".tooltip[data-content=...]"
* Remove legacy `data-position`, it's dead code since last Fomantic
Tooltip -> Tippy Tooltip refactoring
* Rename reaction attribute from `data-content` to
`data-reaction-content`
* Add comments for some `data-content`: `{{/* used by the form */}}`
* Remove empty "ui" class
* Use "text color" for SVG icons (a few) 
							
						 
						
							2023-03-24 18:35:38 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	9be90a5875 
 
						 
						
							
							
								
								
								Use a general approach to show tooltip, fix temporary tooltip bug ( #23574 )  
							
							 
							
							... 
							
							
							
							
							## TLDR
* Improve performance: lazy creating the tippy instances.
* Transparently support all "tooltip" elements, no need to call
`initTooltip` again and again.
* Fix a temporary tooltip re-entrance bug, which causes showing temp
content forever.
* Upgrade vue3-calendar-heatmap to 2.0.2 with lazy tippy init
(initHeatmap time decreases from 100ms to 50ms)
## Details
### The performance
Creating a lot of tippy tooltip instances is expensive. This PR doesn't
create all tippy tooltip instances, instead, it only adds "mouseover"
event listener to necessary elements, and then switches to the tippy
tooltip
### The general approach for all tooltips
Before, dynamically generated tooltips need to be called with
`initTooltip`.
After, use MutationObserver to:
* Attach the event listeners to newly created tooltip elements, work for
Vue (easier than before)
* Catch changed attributes and update the tooltip content (better than
before)
It does help a lot, eg:
1a4efa0ee9/web_src/js/components/PullRequestMergeForm.vue (L33-L36) 
### Temporary tooltip re-entrance bug
To reproduce, on try.gitea.io, click the "copy clone url" quickly, then
the tooltip will be "Copied!" forever.
After this PR, with the help of `attachTippyTooltip`, the tooltip
content could be reset to the default correctly.
### Other changes
* `data-tooltip-content` is preferred from now on, the old
`data-content` may cause conflicts with other modules.
* `data-placement` was only used for tooltip, so it's renamed to
`data-tooltip-placement`, and removed from `createTippy`. 
							
						 
						
							2023-03-23 17:56:15 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	06c067bb0f 
 
						 
						
							
							
								
								
								Remove stars in dashboard repo list ( #23530 )  
							
							 
							
							... 
							
							
							
							
							Discussion is here: https://github.com/go-gitea/gitea/pull/22816  
							
						 
						
							2023-03-17 00:43:58 -04:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	ac8d71ff07 
 
						 
						
							
							
								
								
								Refactor branch/tag selector to Vue SFC ( #23421 )  
							
							 
							
							... 
							
							
							
							
							Follow #23394 
There were many bad smells in old code. This PR only moves the code into
Vue SFC, doesn't touch the unrelated logic.
update: after
https://github.com/go-gitea/gitea/pull/23421/commits/5f23218c851e12132f538a404c946bbf6ff38e62 
, there should be no usage of the vue-rumtime-compiler anymore
(hopefully), so I think this PR could close  #19851 
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> 
							
						 
						
							2023-03-14 17:51:20 +08:00