-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Add file tree to file view page #32721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add file tree to file view page #32721
Conversation
7229b60
to
59e46d4
Compare
e45940d
to
c4e7f0c
Compare
68f0407
to
40b61f3
Compare
web_src/css/repo/home.css
Outdated
} | ||
|
||
#view-file-tree.is-loading { | ||
aspect-ratio: 5.415; /* the size is about 790 x 145 */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In other PRs I have asked the same question: why? It doesn't seem right.
Almost done from my side. Still not ideal, could leave the improvements to the future. @kerwin612 @lunny please confirm whether the changes look good |
405fa10
to
b66330b
Compare
b66330b
to
19e23da
Compare
Merged, do more improvements in the future. |
data-tooltip-content="{{ctx.Locale.Tr "repo.diff.hide_file_tree"}}"> | ||
{{svg "octicon-sidebar-expand"}} | ||
</button> | ||
<b>Files</b> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should translate this, fwiw.
* giteaofficial/main: (23 commits) [skip ci] Updated translations via Crowdin Update tool dependencies (go-gitea#33907) Move hooks function to gitrepo and reduce expose repopath (go-gitea#33890) Replace text-align classes with tailwind (go-gitea#33905) Simplify secure context check (go-gitea#33906) Update JS and PY deps, misc tweaks (go-gitea#33903) Refactor functions to reduce repopath expose (go-gitea#33892) Move git references checking to gitrepo packages to reduce expose of repository path (go-gitea#33891) [skip ci] Updated translations via Crowdin Add missing translation (go-gitea#33900) Give organisation members access to organisation feeds (go-gitea#33508) Add lock for a repository pull mirror (go-gitea#33876) Fix cannot delete runners via the modal dialog (go-gitea#33895) Add file tree to file view page (go-gitea#32721) [skip ci] Updated translations via Crowdin Feature: Ephemeral action runners (go-gitea#33570) Add abstraction layer to delete repository from disk (go-gitea#33879) Make SearchMode have default value and add comments (go-gitea#33863) Fix maven panic when no package exists (go-gitea#33888) Add old svg class name to git entry icon (go-gitea#33884) ... # Conflicts: # templates/repo/wiki/revision.tmpl
Resolve #29328
This pull request introduces a file tree on the left side when reviewing files of a repository.