aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
Commit message (Collapse)AuthorAgeFilesLines
* Fix empty repo clone panel border (#34219) (#34220)Giteabot39 hours1-3/+6
| | | | | | Backport #34219 by kerwin612 Co-authored-by: Kerwin Bryant <kerwin612@qq.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix markdown frontmatter rendering (#34102) (#34107)wxiaoguang2025-04-031-0/+12
| | | | Backport #34102 Fix #34101
* Fix repo-template.ts error in 1.23 (#34060)wxiaoguang2025-03-291-0/+2
| | | Fix #34059
* Adjust the layout of the toolbar on the Issues/Projects page (#33667) (#34047)wxiaoguang2025-03-282-12/+5
| | | | | | | | | | | And fix layout for mobile Backport #33667 Fix #33880 --------- Co-authored-by: Kerwin Bryant <kerwin612@qq.com>
* Simplify emoji rendering (#34048) (#34049)Giteabot2025-03-282-13/+1
| | | | | | Backport #34048 by silverwind Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* fix org repo creation being limited by user limits (#34030) (#34044)wxiaoguang2025-03-281-1/+15
| | | Backport #34030
* Polyfill WeakRef (#34025) (#34028)Giteabot2025-03-272-0/+23
| | | | | | | Backport #34025 by wxiaoguang Fix #33407 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix some UI problems for 1.23 (#33856)wxiaoguang2025-03-113-1/+9
| | | Partially backport #32927 #33851
* Support disable passkey auth (#33348) (#33819)wxiaoguang2025-03-071-1/+10
| | | | | | | | * Backport #33348 * Backport #33820 --------- Co-authored-by: yp05327 <576951401@qq.com>
* Fix navbar dropdown item align (#33782)wxiaoguang2025-03-041-4/+0
| | | | | 1.23 only Fix #33781
* Improve Open-with URL encoding (#33666) (#33680)Giteabot2025-02-222-1/+16
| | | | | | | Backport #33666 by wxiaoguang Fix #33665 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix mCaptcha bug (#33659) (#33661)Giteabot2025-02-212-5/+10
| | | | | | | Backport #33659 by wxiaoguang Fix #33658 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix issue sidebar dropdown keyboard support (#33447) (#33450)Giteabot2025-01-311-1/+4
| | | | | | | Backport #33447 by wxiaoguang Just a quick fix, fix #33444 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix flex width (#33414) (#33418)Giteabot2025-01-271-0/+1
| | | | | | | Backport #33414 by wxiaoguang Fix #33409 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix issue suggestion bug (#33389) (#33391)wxiaoguang2025-01-271-9/+53
| | | Backport #33389
* Clone button enhancements (#33362) (#33404)Giteabot2025-01-265-4/+12
| | | | | | | | | | | | | | | Backport #33362 by @silverwind - Add box-shadow to default tippy theme - Make colors for tabs match the ones from `.ui.tabular.menu` - Remove tippy arrow and slightly offset tooltip closer to the button - Fix setting of `aria-haspopup` when default role is used with tippy <img width="335" alt="image" src="https://github.com/user-attachments/assets/8633ebac-a43f-457a-86bd-7a88a83519ee" /> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Repo homepage styling tweaks (#33289) (#33381)Giteabot2025-01-241-3/+2
| | | | | | | | | Backport #33289 by @silverwind Reduce it to a value that results in `.repo-home-sidebar-top` and `.repo-home-sidebar-bottom` having 240px content width, the same as GitHub. Co-authored-by: silverwind <me@silverwind.io>
* Make issue suggestion work for all editors (#33340) (#33342)wxiaoguang2025-01-215-15/+34
| | | | | Backport #33340 And do not handle special keys when the text-expander popup exists
* Make tracked time representation display as hours (#33315) (#33334)wxiaoguang2025-01-211-20/+7
| | | | | | | | Try to backport #33315, the only trivial conflict is in the helper functions map in the helper.go Fix #33333 Co-authored-by: Sysoev, Vladimir <i@vsysoev.ru>
* Trivial fixes (#33304) (#33312)wxiaoguang2025-01-182-7/+18
| | | | | Backport #33304 The only conflict is caused by `templates/shared/issueicon.tmpl`
* Fix closed dependency title (#33285) (#33287)wxiaoguang2025-01-151-1/+1
| | | Backport #33285
* Fix upload file form (#33230) (#33233)Giteabot2025-01-131-3/+5
| | | | | | | Backport #33230 by @wxiaoguang Fix #33228 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix editor markdown not incrementing in a numbered list (#33187) (#33193)wxiaoguang2025-01-102-33/+273
| | | | | Backport #33187 (no conflict) Co-authored-by: Harry Vince <47283812+harryvince@users.noreply.github.com>
* Fix `git remote` error check, fix dependencies, fix js error (#33129) (#33133)wxiaoguang2025-01-081-1/+1
| | | | | | | | | | | | | And update some dependencies to fix bugs. Backport #33129, #33136 Fix #32889 Fix #33141 Fix #33139 --------- Co-authored-by: yp05327 <576951401@qq.com>
* Fix empty git repo handling logic and fix mobile view (#33101) (#33102)wxiaoguang2025-01-052-6/+7
| | | Backport #33101 and UI fix from main (including #33108)
* Fix line-number and scroll bugs (#33094) (#33095)wxiaoguang2025-01-033-18/+7
| | | | | | | Partially backport #33094 Fix the scroll bug in issue/pr view page. Fix a JS error when line number exceeds the max
* Fix broken forms (#33082)wxiaoguang2025-01-031-1/+1
|
* Make issue suggestion work for new PR page (#33035) (#33056)Giteabot2024-12-312-2/+4
| | | | | | | Backport #33035 by wxiaoguang Fix #33026 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix bug automerge cannot be chosed when there is only 1 merge style (#33040) ↵Giteabot2024-12-301-1/+1
| | | | | | | | | | | | | (#33043) Backport #33040 by @lunny This is a quick bug fix. Even if there is only 1 merge style, the dropdown menu will still be displayed to allow users to choose automerge. Fix #32448 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* fix toggle commit body button ui when latest commit message is long (#32997) ↵wxiaoguang2024-12-291-0/+5
| | | | | (#33034) backport #32997 and #33002
* fix scoped label ui when contains emoji (#33007) (#33014)Giteabot2024-12-281-1/+1
| | | | | Backport #33007 by metiftikci Co-authored-by: metiftikci <metiftikci@hotmail.com>
* fix textarea newline handle (#32966) (#32977)Giteabot2024-12-252-5/+20
| | | | | | Backport #32966 by metiftikci Co-authored-by: metiftikci <metiftikci@hotmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Backport 1.23 (#32868)wxiaoguang2024-12-171-0/+10
| | | Co-authored-by: delvh <dev.lh@web.de>
* Fix incomplete Actions status aggregations (#32859)wxiaoguang2024-12-163-7/+12
| | | fix #32857
* Fix remaining typescript issues, enable `tsc` (#32840)silverwind2024-12-1620-94/+115
| | | | | | | | | | | | Fixes 79 typescript errors. Discovered at least two bugs in `notifications.ts`, and I'm pretty sure this feature was at least partially broken and may still be, I don't really know how to test it. After this, only like ~10 typescript errors remain in the codebase but those are harder to solve. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Repo file list enhancements (#32835)silverwind2024-12-153-12/+34
| | | | | | | | | | | | 1. restore background color 2. fix border radius on top/bottom and on hover 3. parent link is now full-row again, much easier to click 4. parent link now uses directory icon, matching github 5 changed grid layout to remove auto width on file name column which could get too small. 6. mobile layout now shows more of the filename. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Tweak repo sidebar (#32847)silverwind2024-12-153-14/+11
| | | | | | | | | | | | | | | | | | | | | | | Before and after: <img width="218" alt="Screenshot 2024-12-15 at 04 53 53" src="https://github.com/user-attachments/assets/299b1f0a-ba72-47c6-b662-a9d540d4d741" /> <img width="222" alt="Screenshot 2024-12-15 at 04 53 41" src="https://github.com/user-attachments/assets/5a2b5332-e324-4d20-82e9-21d1c850e826" /> Diff without whitespace: https://github.com/go-gitea/gitea/pull/32847/files?diff=unified&w=1 The `tw-mt-2` is fine even if the element renders empty: <img width="387" alt="image" src="https://github.com/user-attachments/assets/76a976e4-ba2e-48a5-9248-c361552a937a" /> --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix overflow on org header (#32837)silverwind2024-12-141-5/+0
|
* Refactor markdown math render (#32831)wxiaoguang2024-12-142-11/+12
| | | Add more tests
* Improve JSX/TSX support in code editor (#32833)silverwind2024-12-141-4/+11
| | | | | | | | | | | | | | | | | Two tweaks to Monaco to improve JSX/TSX support. 1. Certain language features like JSX/TSX only work when passing `uri` (containing the filename), do this. 2. Set the `jsx` compiler option to avoid error annotations Before: <img width="441" alt="Screenshot 2024-12-13 at 15 11 33" src="https://github.com/user-attachments/assets/dac245a7-e80f-4249-8e09-13124b03d12a" /> After: <img width="441" alt="Screenshot 2024-12-13 at 15 10 46" src="https://github.com/user-attachments/assets/726ad712-d116-438d-88da-bc40534b6860" />
* Fix various UI bugs (#32821)wxiaoguang2024-12-133-3/+10
|
* Fix bug of branch/tag selector in the issue sidebar (#32744)hiifong2024-12-131-0/+1
| | | | | | | Fix: #32731 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Detect whether action view branch was deleted (#32764)Lunny Xiao2024-12-121-1/+2
| | | | | Fix #32761 ![图片](https://github.com/user-attachments/assets/a5a7eef8-0fea-4242-b199-1b0b73d9bbdb)
* Add "n commits" link to contributors in contributors graph page (#32799)Chai-Shi2024-12-122-4/+24
| | | | | | | | | | | | Fixes Issue #29365 and inherit PR #29429 - I should extend the #29429 fork but the fork is not synced, so I created another PR. - Use `silenced` class for the link, as in #29847 --------- Co-authored-by: Ben Chang <ben_chang@htc.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix "unicode escape" JS error (#32806)wxiaoguang2024-12-121-10/+11
| | | | | | | | | | | | | | | | | | | | | <details> ![image](https://github.com/user-attachments/assets/98aef2fb-791e-4b4a-b2ac-e880f8a52040) ![image](https://github.com/user-attachments/assets/532673ae-c4cf-4d84-a5c6-93e6eacd341c) ![image](https://github.com/user-attachments/assets/2a241a3d-b7f6-44ca-89d9-9d68386fbf3e) ![image](https://github.com/user-attachments/assets/1251e43d-41f2-42d1-a23b-3182e3812c3d) </details> --------- Co-authored-by: silverwind <me@silverwind.io>
* Fix JS error when dropping a file to a editor without dropzone (#32804)wxiaoguang2024-12-121-0/+1
| | | `dropzoneEl` may not exist
* Fix clone panel js error (#32798)wxiaoguang2024-12-121-3/+3
| | | side effect of jquery removal, fix #32797
* Fix repo home file list (#32788)wxiaoguang2024-12-116-483/+379
| | | | | | | 1. use grid instead of table, completely drop "ui table" from that list 2. move some "commit sign" related styles into a new file by the way (no change) because I need to figure out where `#repo-files-table` is used. 3. move legacy "branch/tag selector" related code into repo-legacy.ts, now there are 13 `import $` files left.
* Rearrange Clone Panel (#31142)Blender Defender2024-12-1110-96/+125
| | | | | | | | | | | | | Rearrange the clone panel to use less horizontal space. The following changes have been made to achieve this: - Moved everything into the dropdown menu - Moved the HTTPS/SSH Switch to a separate line - Moved the "Clone in VS Code"-Button up and added a divider - Named the dropdown button "Code", added appropriate icon --------- Co-authored-by: techknowlogick <techknowlogick@gitea.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix a number of typescript errors (#32773)silverwind2024-12-1119-80/+81
| | | | | | | Fixes 96 typescript errors. Behaviour changes are commented below. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>