Kerwin Bryant
ec3dcafddd
Extract the parameter of RenderEntryIconWithOpenStatus
from git.TreeEntry
to FileEntry
to decouple it from git.TreeEntry
.
...
This change will allow integrating the file icons of the file tree on the diff page into the unified rendering logic without relying on `git.TreeEntry`.
2025-04-10 12:21:50 +00:00
Kerwin Bryant
34c63a3c92
fix
2025-04-10 08:48:37 +00:00
Kerwin Bryant
f8efcb9986
Update the hard-coded "octicon-file-directory-fill" to follow the configured icon.
2025-04-10 07:15:35 +00:00
Kerwin Bryant
cfa983eeea
remove redundant code
2025-04-10 05:34:30 +00:00
Kerwin Bryant
39eedc1323
support the open-icon of folder
2025-04-10 03:03:43 +00:00
Kerwin Bryant
8c9d2bdee3
Keep file tree view icons consistent with icon theme ( #33921 )
...
Fix #33914
before:

after:

---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-04-06 19:35:08 +00:00
wxiaoguang
86c1a33369
Fix some UI bugs and clean up unused tests ( #34088 )
...
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
wxiaoguang
0dfa94edc8
Add old svg class name to git entry icon ( #33884 )
...
Fix https://github.com/go-gitea/gitea/pull/33837#discussion_r1995521288
2025-03-14 23:11:29 +08:00
wxiaoguang
f61f30153b
Fix file icon mapping ( #33855 )
...
Use the file extension mapping from VSCode's extensions.
Otherwise js/ts/vba/... files won't get correct icons.
2025-03-11 21:06:59 +08:00
wxiaoguang
657239b480
Fix material icon & diff highlight ( #33844 )
2025-03-10 22:34:48 +08:00
wxiaoguang
34e5df6d30
Add material icons for file list ( #33837 )
2025-03-10 15:57:17 +08:00