wxiaoguang
b758241f28
Fix runner list tmpl ( #34270 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
Fix #34269
And fix some layout problems.
2025-04-23 15:34:18 +00:00
Kerwin Bryant
c2c04ffff7
Add fullscreen mode as a more efficient operation way to view projects ( #34081 )
...
Maybe fix #33482 , maybe fix #34015
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-04-23 13:42:22 +08:00
wxiaoguang
4832cb9e27
Display when a release attachment was uploaded ( #34261 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
Fix #34260
2025-04-22 23:03:49 +08:00
wxiaoguang
c9aa9068b3
Fix various UI problems ( #34243 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
Also fix #34242
2025-04-19 08:43:22 +00:00
D
eda6d65818
markup: improve code block readability and isolate copy button ( #34009 )
...
Fix #33197
Improve the rendering of code blocks in markdown content
for better readability and UI stability across screen sizes.
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-04-19 05:53:39 +00:00
Kerwin Bryant
aeb7005245
Optimize the calling code of queryElems ( #34235 )
2025-04-19 08:17:07 +08:00
Kerwin Bryant
dd0caf7e16
Fix various misalignments and overflows ( #34227 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-04-17 10:32:41 +00:00
Kerwin Bryant
bde014e46d
Fix button alignments and remove unnecessary styles ( #34206 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-04-16 08:14:10 +00:00
Kerwin Bryant
e8c42ae601
Fix empty repo clone panel border ( #34219 )
...
Remove duplicate border
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-04-16 07:05:40 +00:00
Hyungsub (Danny) Kim
dcfa42dd8f
Fix: quoted replies incorrectly render user input as part of the quote ( #34216 )
...
Updated the quote insertion logic so that it adds one more line break
(`\n`) work like Github. This way, the cursor lands on a new line and
the user's reply is no longer interpreted as part of the quote.
Fixes #34177
2025-04-16 14:32:58 +08:00
Kerwin Bryant
2b99a58f54
Mark parent directory as viewed when all files are viewed ( #33958 )
...
Fix #25644
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-04-15 22:35:22 +08:00
Kerwin Bryant
33df23c1f0
Update RepoContributors.vue ( #34194 )
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
2025-04-14 14:51:49 +00:00
Kerwin Bryant
f4196a8843
Optimize overflow-menu ( #34183 )
...
Optimized the overflow-menu:
1. Close the tippy when a menu item inside the tippy is clicked.
2. When a menu item inside the tippy is selected, move the active state
of the menu to the tippy's button.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-04-13 01:59:36 +00:00
Thomas E Lackey
fa49cd719f
feat: Add sorting by exclusive labels (issue priority) ( #33206 )
...
Fix #2616
This PR adds a new sort option for exclusive labels.
For exclusive labels, a new property is exposed called "order", while in
the UI options are populated automatically in the `Sort` column (see
screenshot below) for each exclusive label scope.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-04-10 17:18:07 +00:00
Kerwin Bryant
02e49a0f47
Fix vertical centering of file tree icons and use entryIcon for submodules/symlinks ( #34137 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
In the file tree, the icons are not vertically centered, which affects
the overall visual consistency.
Currently, the icons of submodules and symlinks do not adopt the value
of entryIcon, resulting in inconsistent icon display.
before:

after:

---------
Co-authored-by: silverwind <me@silverwind.io >
2025-04-09 18:10:16 -07:00
Kerwin Bryant
8c9d2bdee3
Keep file tree view icons consistent with icon theme ( #33921 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
Fix #33914
before:

after:

---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-04-06 19:35:08 +00:00
wxiaoguang
a62ed19da6
Use overflow-wrap: anywhere
to replace word-break: break-all
( #34126 )
2025-04-06 17:13:02 +08:00
wxiaoguang
e1c2d05bde
Fix markdown render behaviors ( #34122 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
* Fix #27645
* Add config options `MATH_CODE_BLOCK_DETECTION`, problematic syntaxes
are disabled by default
* Fix #33639
* Add config options `RENDER_OPTIONS_*`, old behaviors are kept
2025-04-05 11:56:48 +08:00
wxiaoguang
ee6929d96b
Refactor dropdown ellipsis ( #34123 )
...
Remove legacy `truncated-item-container` and `truncated-item-name`.
2025-04-05 03:21:11 +00:00
wxiaoguang
ba921fd903
Fix markdown frontmatter rendering ( #34102 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
Fix #34101
2025-04-03 05:48:24 +00:00
wxiaoguang
86c1a33369
Fix some UI bugs and clean up unused tests ( #34088 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
1. Make the material icon falls back to basic theme correctly
2. Remove `TestAttributeReader`, the problem has been resolved.
3. Fix `toggleElem` bug and add tests
2025-04-01 07:02:30 +00:00
Kerwin Bryant
741b53eb30
[Fix] Resolve the problem of commit_statuses not being loaded at the top - right when switching files from the file tree ( #34079 )
...
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-03-31 18:39:08 +00:00
Kerwin Bryant
0fd5392087
Fix markup content overflow ( #34072 )
...
Fix #34069 : use `overflow-wrap: anywhere` to correctly wrap overflowed
content.
2025-03-31 11:56:03 +08:00
Kerwin Bryant
2a9c5c9e3d
Add toggleClass function in dom.ts ( #34063 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
This PR adds a toggleClass function in dom.ts, aiming to implement DOM
class toggling functionality.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-03-30 14:19:54 +08:00
silverwind
58d0a3f4c2
Simplify emoji rendering ( #34048 )
...
It seems like most of our custom styles around the .emoji class are
useless and we can just make them render like any other text. Rendering
should now match GitHub.
Fixes: https://github.com/go-gitea/gitea/issues/34019
Also see https://github.com/go-gitea/gitea/pull/11541 and
https://github.com/go-gitea/gitea/pull/12317 for some context. I think
browser emoji rendering has improved in recent years so these hacks are
no longer needed.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-03-28 18:25:13 +08:00
Kerwin Bryant
b542769102
Adjust the layout of the toolbar on the Issues/Projects page ( #33667 )
...
On the list page, labels and milestones do not serve as a switch-tab.
Instead, they function as page navigation. The switch-tab is only
appropriate for use on the labels and milestones pages.
And fix projects page layout.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-03-28 07:55:12 +00:00
TheFox0x7
053592d847
fix org repo creation being limited by user limits ( #34030 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
fixes an issue where user is unable to create new repository in
organization via UI if repository limits are in place and user has
exhausted them for their own namespace.
closes: https://github.com/go-gitea/gitea/issues/15504
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-03-27 13:16:17 +00:00
wxiaoguang
c7b85f7070
Fix dropdown module accessing ( #34026 )
...
Follow #34014 .
2025-03-26 16:01:43 +00:00
wxiaoguang
d70be9d0fe
Polyfill WeakRef ( #34025 )
...
Fix #33407
2025-03-26 23:56:25 +08:00
wxiaoguang
d28a7f9fea
Fix dropdown delegating and some UI problems ( #34014 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
The old logic is incomplete. See the comment for the improved logic.
Fix #34011
And more fixes:
1. use empty "alt" for images, otherwise the width is not right when the
image fails to load
2. remove the "dropdown icon" patch, because it has been clearly done in
"dropdown.js" now
3. remove the "dropdown filtered item" patch, added a clear callback,
and improve the logic
4. fix global init when a node is removed and added back gain (eg: the
"cherry pick" dialog with a dropdown)
2025-03-26 02:51:22 +00:00
wxiaoguang
51d86adb6d
Fix some migration and repo name problems ( #33986 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
1. Ignore empty inputs in `UnmarshalHandleDoubleEncode`
2. Ignore non-existing `stateEvent.User` in gitlab migration
3. Enable `release` and `wiki` units when they are selected in migration
4. Sanitize repo name for migration and new repo
2025-03-24 20:26:58 -07:00
Andreas Svanberg
0da7318cf3
Allow filtering issues by any assignee ( #33343 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
This is the opposite of the "No assignee" filter, it will match all
issues that have at least one assignee.
Before

After

---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-03-21 04:25:36 +00:00
YaFou
e25f860735
Fix "toAbsoluteLocaleDate" test when system locale is not en-US ( #33939 )
2025-03-19 19:49:05 +08:00
Kerwin Bryant
dcbf6c2d13
Optimize Layout Styles of Filelist ( #33920 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Align items
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-03-19 00:59:33 +08:00
Kerwin Bryant
e1feb438a4
Fix file tree issues ( #33916 )
2025-03-17 14:55:15 +00:00
wxiaoguang
9d89dfe142
Remove unused or abused styles ( #33918 )
...
* `top aligned` => `tw-align-top`
* label list: it was broken, this PR fixes it
* reference link: simplified
* settings/repos: not affected
2025-03-17 22:11:24 +08:00
silverwind
1ea5216f4a
Replace text-align classes with tailwind ( #33905 )
...
Small refactor to remove these CSS classes in favor of tailwind.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-03-16 12:08:16 +00:00
silverwind
01c8f092a0
Simplify secure context check ( #33906 )
...
As discussed in
https://github.com/go-gitea/gitea/pull/33820/files#r1997532169 .
2025-03-16 19:05:26 +08:00
silverwind
52663113d4
Update JS and PY deps, misc tweaks ( #33903 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
- Update all updateable dependencies
- Add a few more unupgradable ones to updates blocklist
- Adapt to breaking changes
- Update to typescript 5.8, enable `erasableSyntaxOnly` which
necessitated a change because of forbidden syntax
- Misc cleanups
- Tested htmx, easymde, swagger, chart.js
2025-03-16 10:04:18 +01:00
Kerwin Bryant
92f997ce6b
Add file tree to file view page ( #32721 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Resolve #29328
This pull request introduces a file tree on the left side when reviewing
files of a repository.
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-03-15 16:26:49 +08:00
wxiaoguang
0dfa94edc8
Add old svg class name to git entry icon ( #33884 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Fix https://github.com/go-gitea/gitea/pull/33837#discussion_r1995521288
2025-03-14 23:11:29 +08:00
wxiaoguang
91610a987e
Fix various Fomantic UI and htmx problems ( #33851 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Also fix #31328 , fix #33854
2025-03-11 11:35:05 -07:00
wxiaoguang
608ccc32e5
Drop fomantic build ( #33845 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
We would never update or build fomantic again, we have forked it as a
private library long time ago.
So just put the JS and CSS files in "fomantic/build" into git. And use
"import" to use them.
Remove "form.js", rewrite "tab" component.
All source code is from official Fomantic UI build. Will apply patches
in separate PRs.
2025-03-11 12:44:52 +08:00
wxiaoguang
34e5df6d30
Add material icons for file list ( #33837 )
2025-03-10 15:57:17 +08:00
wxiaoguang
6f13331754
Improve theme display ( #30671 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Document: https://gitea.com/gitea/docs/pulls/180

2025-03-08 21:38:11 +00:00
wxiaoguang
b8c2afdc5f
Do not show passkey on http sites ( #33820 )
...
Fix #33615
2025-03-07 19:37:27 +00:00
Kerwin Bryant
f0f10413ae
Update TypeScript types ( #33799 )
...
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-03-05 08:03:44 -08:00
wxiaoguang
75e85c25c1
Refactor repo-issue.ts ( #33784 )
...
And remove jQuery
2025-03-04 17:58:17 +00:00
wxiaoguang
ca0ce003ab
Refactor repo-settings.ts ( #33785 )
...
and remove jQuery
2025-03-05 01:19:03 +08:00
wxiaoguang
163bbca0eb
Refactor admin/common.ts ( #33788 )
...
Only remove jQuery
2025-03-04 23:42:07 +08:00