Lunny Xiao
2d49aec197
Merge branch 'main' into lunny/issue_dev
2024-12-09 18:43:43 -08:00
Lunny Xiao
832b78eb69
Empty, mirror & archived repository will not allow create branch
2024-12-09 18:43:36 -08:00
wxiaoguang
5675efb3e0
Fix duplicate dropdown dividers ( #32760 )
...
Fix #27466
The problem is that any item in the menu could be hidden, pure CSS won't
work, and dropdown's builtin "hideDividers" doesn't work with our "scope
dividers". The newly introduced "archived" label makes the dividers
regression more.
2024-12-09 07:54:59 +00:00
wxiaoguang
c986718965
Fix repo home row-right grow ( #32763 )
...
Fix #32753
2024-12-09 00:16:32 +08:00
wxiaoguang
23471e1333
Refactor issue list ( #32755 )
...
1. add backend support for filtering "poster" and "assignee"
* due to the limits, there is no frontend support at the moment
2. rewrite TS code without jquery, now there are 14 jQuery files left:
2024-12-08 20:44:17 +08:00
Lunny Xiao
da7f700d28
Fix create branch permission
2024-12-07 21:13:49 -08:00
Lunny Xiao
a81c785918
Merge branch 'main' into lunny/issue_dev
2024-12-07 20:59:54 -08:00
wxiaoguang
96d3a03a08
Refactor LabelEdit ( #32752 )
...
And fix a regression:
https://github.com/go-gitea/gitea/pull/30053#discussion_r1874405470
Major changes:
* rewrite without jquery
* remove the "delete modal", using "link-action" is good enough
* merge "new modal" and "edit modal"
2024-12-08 02:35:28 +00:00
wxiaoguang
513da407f4
Support "merge upstream branch" (Sync fork) ( #32741 )
...
Add basic "sync fork" support (GitHub-like)
<details>
![image](https://github.com/user-attachments/assets/e71473f4-4518-48c7-b9e2-fedfcd564fc3 )
</details>
2024-12-06 21:10:35 +00:00
yp05327
faf5705d29
GitHub like repo home page ( #32213 )
...
Move some components (description, license, release, language stats) to sidebar
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-06 14:29:04 +00:00
Lunny Xiao
d869d3286f
Merge branch 'main' into lunny/issue_dev
2024-12-05 10:17:10 -08:00
Illya Marchenko
936665bf85
Issue time estimate, meaningful time tracking ( #23113 )
...
Redesign the time tracker side bar, and add "time estimate" support (in "1d 2m" format)
Closes #23112
---------
Co-authored-by: stuzer05 <stuzer05@gmail.com>
Co-authored-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-05 13:07:53 +00:00
Lunny Xiao
c5422fae9a
Fix fork page branch selection ( #32711 )
...
Fix #32709
2024-12-05 00:57:32 +00:00
Lunny Xiao
478fbd5f49
Merge branch 'main' into lunny/issue_dev
2024-12-04 15:44:30 -08:00
wxiaoguang
838653d1df
Fix file editor & preview ( #32706 )
...
Fix a regression caused by jQuery removal (`renderPreviewPanelContent`)
And simplify the file editor, it doesn't need to be that complex. And
remove jQuery code.
2024-12-04 09:26:54 +00:00
Lunny Xiao
051b42a4a8
Add ellipsis
2024-12-03 22:02:04 -08:00
Lunny Xiao
66dbadcf68
Merge branch 'main' into lunny/issue_dev
2024-12-03 21:55:18 -08:00
Lunny Xiao
029a444523
Fix dropdown list
2024-12-03 21:54:55 -08:00
wxiaoguang
c9e582c6b6
Refactor markdown editor and use it for milestone description editor ( #32688 )
...
Refactor markdown editor to clarify its "preview" behavior and remove
jQuery code.
Close #15045
---------
Co-authored-by: silverwind <me@silverwind.io>
2024-12-04 02:11:34 +00:00
wxiaoguang
2f43536c3e
Fix issue title rendering and refactor legacy function names ( #32703 )
...
Fix #32700 , regression of recent markup refactoring
And by the way, clarify many legacy problems:
1. Some "RenderXxx" functions do not really "render", they only call "post processors"
2. Merge "RenderEmoji | RenderCodeBlock", they are all for "simple issue title"
2024-12-04 01:39:33 +00:00
Lunny Xiao
3556305d15
Merge branch 'main' into lunny/issue_dev
2024-12-03 17:09:10 -08:00
Lunny Xiao
35b7d32725
add margin top 2 for item
2024-12-03 17:09:07 -08:00
yp05327
690d07470c
Fix word overflow in file search page ( #32695 )
2024-12-03 16:52:25 +00:00
Lunny Xiao
f77d7e71e6
Merge branch 'main' into lunny/issue_dev
2024-12-02 23:50:02 -08:00
Kerwin Bryant
576e31ae3b
Add "View all branches/tags" entry to Branch Selector ( #32653 )
...
![image](https://github.com/user-attachments/assets/7b62a38f-36d5-452a-8a97-204842c68b2e )
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-02 20:19:27 +00:00
wxiaoguang
13fbab5cf4
Remove all "floated" CSS styles ( #32691 )
...
flex but don't float
diff with ignoring spaces :
https://github.com/go-gitea/gitea/pull/32691/files?diff=split&w=1
related pages:
### admin users
![image](https://github.com/user-attachments/assets/40dd4c46-3f5b-4a68-89b0-d0a9a806f1fc )
### milestone
![image](https://github.com/user-attachments/assets/e3efb630-f07c-4c9d-b877-71e28cddcdce )
### user account setting
![image](https://github.com/user-attachments/assets/d15609ee-016d-4aee-999a-b5455fe6185c )
2024-12-03 03:54:33 +08:00
Kerwin Bryant
9a494af125
Optimize the styling of icon buttons within file-header-right ( #32675 )
...
Optimize partial layout and styling to achieve uniformity and
consistency.
Some buttons's structure is `<a><span><svg/></span></a>`, while others
buttons's structure is `<a><svg/></a>`. Additionally, some buttons have
icons that are **14** in size, while others have icons that are **16**.
Now, the layout has been unified to structure `<a><svg/></a>`, and the
icon size for all buttons has been standardized to the default size of
**16**.
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-02 22:36:16 +08:00
metiftikci
2824ae2128
fix: show tag name on branch/tag selector if repo shown from tag ref ( #32689 )
2024-12-02 13:34:16 +00:00
wxiaoguang
e3e32605a1
Refactor RepoBranchTagSelector ( #32681 )
2024-12-02 01:41:32 +00:00
Simon Pistache
2abef971dc
fix( #32667 ): 🐛 Fixe a keystring misuse and refactor duplicates keystrings ( #32668 )
...
- Fixes a translation keystring misuse where the string 'open
milestones' is used in place of 'closed milestones'.
- De-duplicates the use of 'open milesones' and 'closed milestones'
keystrings on the sidebar of an issue, reusing the ones on the issues
filter and action bars.
- Closes #32667
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-01 10:14:56 +08:00
Lunny Xiao
267a2ec367
fill default branch name
2024-11-28 21:07:07 -08:00
Lunny Xiao
c0d1960efb
Fix lint
2024-11-28 17:25:33 -08:00
Lunny Xiao
e5b581ccfa
More ui improvements
2024-11-28 16:49:17 -08:00
Lunny Xiao
b3086c9e00
improve the popup branch create window
2024-11-28 16:39:50 -08:00
Lunny Xiao
79cb88901b
display pull request on float window
2024-11-28 16:21:03 -08:00
Lunny Xiao
ab6d2ed9d7
Display forked repository's branch
2024-11-28 16:13:40 -08:00
Lunny Xiao
703eebfa92
Adjust development sidebar
2024-11-28 15:54:27 -08:00
Lunny Xiao
121b823971
Follow template change
2024-11-28 12:35:51 -08:00
Lunny Xiao
3d8ed0e853
Merge branch 'main' into lunny/issue_dev
2024-11-28 12:14:58 -08:00
Lunny Xiao
72d06ee533
Remove issue.ref
2024-11-28 11:57:52 -08:00
6543
846f618716
Add priority to protected branch ( #32286 )
...
## Solves
Currently for rules to re-order them you have to alter the creation
date. so you basicly have to delete and recreate them in the right
order. This is more than just inconvinient ...
## Solution
Add a new col for prioritization
## Demo WebUI Video
https://github.com/user-attachments/assets/92182a31-9705-4ac5-b6e3-9bb74108cbd1
---
*Sponsored by Kithara Software GmbH*
2024-11-27 05:41:06 +01:00
Kerwin Bryant
25cacaf0aa
Fixed Issue of Review Menu Shown Behind ( #32631 )
...
Fixed #31144
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-11-26 09:24:56 +08:00
Yarden Shoham
f2a9951741
Update the list of watchers and stargazers when clicking watch/unwatch or star/unstar ( #32570 )
...
We make sure the user cards are updated
- Fixes https://github.com/go-gitea/gitea/issues/32561
I also removed `ctx.Data["PageIsWatchers"] = true` and
`ctx.Data["PageIsStargazers"] = true` as they are not used anywhere.
# Before
![before](https://github.com/user-attachments/assets/e3bc3235-35eb-4eda-862d-bdf2510282ea )
# After
![after](https://github.com/user-attachments/assets/bc0488a5-8399-4cf6-95c9-17328a9702eb )
---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
2024-11-22 18:51:51 +00:00
Kerwin Bryant
bc7d599030
Fix issues with inconsistent spacing in areas ( #32607 )
...
Fix issues with inconsistent spacing in areas where the branch_dropdown
component is used.
before:
![1732238359257](https://github.com/user-attachments/assets/38edda1f-ec4e-419e-9264-68009375d177 )
![1732238334410](https://github.com/user-attachments/assets/c4770aea-bc83-477c-9b6a-632f984c0d7d )
after:
![1732238273317](https://github.com/user-attachments/assets/4d05068e-db97-45af-86c4-29442dff1bdf )
![1732238723881](https://github.com/user-attachments/assets/69acd286-f79b-44fe-ad73-2d5fc6dfc98c )
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-11-22 06:12:50 +00:00
Kerwin Bryant
81ac8d914c
Style unification for the issue_management area ( #32605 )
...
Style unification for the issue_management area (consistent across the
layout
before:
![1732237277916](https://github.com/user-attachments/assets/52a20b2d-d6a4-4118-9cdf-9b377115b7f7 )
![1732237288802](https://github.com/user-attachments/assets/05592fe8-cab2-412b-99bc-f0a201c08413 )
![1732237299849](https://github.com/user-attachments/assets/8be4a891-c514-4983-bad4-fcc5a7a9d838 )
after:
![1732237471086](https://github.com/user-attachments/assets/0bd19ef6-79c1-490a-8ffa-6a42208befd9 )
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-11-22 04:33:31 +00:00
Lunny Xiao
a175f9805c
Add line-through for deleted branch on pull request view page ( #32500 )
...
Base branch deleted
![图片](https://github.com/user-attachments/assets/bc45aa33-d514-47c8-885a-de9732f2f3d5 )
branch deleted comment
![图片](https://github.com/user-attachments/assets/83729bbb-2ee8-4bd3-b6f1-780d2daad3d4 )
Head branch deleted
![图片](https://github.com/user-attachments/assets/90120b22-34a9-4387-aae9-5c882e8d421a )
2024-11-21 17:04:18 +00:00
wxiaoguang
a32cfb2a8d
Fix issue sidebar regression ( #32598 )
2024-11-22 00:38:34 +08:00
silverwind
d11f8d24b0
Add 'Copy path' button to file view ( #32584 )
...
Also adds a tooltip which is replicated to the same button in the diff
box. Fixes: https://github.com/go-gitea/gitea/issues/32583
2024-11-21 04:03:17 +00:00
wxiaoguang
07373f1d5d
Improve issue sidebar UI ( #32587 )
...
1. remove duplicate dividers
2. align reviewer items
3. merge & remove unused CSS styles
Before:
<details>
![image](https://github.com/user-attachments/assets/1b3121ee-b5fa-4fe9-b0f2-344d96dc5fbc )
![image](https://github.com/user-attachments/assets/ba8b97e6-114d-488c-adee-48f6c7a3b580 )
</details>
After:
<details>
![image](https://github.com/user-attachments/assets/978eab3e-a5d7-4b68-90ce-079b61994d25 )
![image](https://github.com/user-attachments/assets/a8b58a27-dd05-4c8d-be60-816439ce77c6 )
![image](https://github.com/user-attachments/assets/b7e6a16c-bf98-4465-a805-9f4a642d366e )
</details>
2024-11-21 03:31:54 +00:00
a1012112796
23d0f9083e
make search box in issue sidebar dropdown list always show when scrolling ( #32576 )
...
as title, replace #31597 after #32460
---------
Signed-off-by: a1012112796 <1012112796@qq.com>
2024-11-21 09:23:50 +08:00