GitHub like repo home page#32213
Conversation
|
Consider expanding the screen width for a better viewing experience. |
|
Need more works for mobile view. desktop view is almost finished. |
|
In mobile view, I want to move search code and descriptions to the top of the page. |
This comment was marked as resolved.
This comment was marked as resolved.
|
Have done my best to fix various problems (by the way, move some code to refactor the legacy functions) |
|
@yp05327 could you take a look at whether my changes are right? If nothing wrong, we can merge it and keep improving in following PRs. |
|
Tooltips looks not good (especially for license, it is designed for the original UI), changed into |
|
LGTM @hiifong |
The layout is still broken, This time I am using a Mac system. |
@wxiaoguang Can you fix this? |
And the spacing between the items is too tight |
|
The white space LGTM, but maybe you are using high DPI display, so the result is different to us. |
|
Fixed in 6412de6 |
LGTM |
|
This is by design. Same to GitHub. |
|
Then we could add a "sync fork" button like GitHub: -> Support "merge upstream branch" (Sync fork) #32741 |
| @@ -1,4 +1,4 @@ | |||
| <table id="repo-files-table" class="ui single line table tw-mt-0" {{if .HasFilesWithoutLatestCommit}}hx-indicator="tr.notready td.message span" hx-trigger="load" hx-swap="morph" hx-post="{{.LastCommitLoaderURL}}"{{end}}> | |||
| <table id="repo-files-table" class="ui single line fixed table tw-mt-0" {{if .HasFilesWithoutLatestCommit}}hx-indicator="tr.notready td.message span" hx-trigger="load" hx-swap="morph" hx-post="{{.LastCommitLoaderURL}}"{{end}}> | |||
There was a problem hiding this comment.
This fixed causes long commit messages to cut off too soon and the timestamp column to get too wide. I recommand against it. But without it, they table overflows on certain viewports. It needs more investigation. Ideally we should rewrite the table in flex layout.
* giteaofficial/main: [skip ci] Updated licenses and gitignores Fix repo home row-right grow (go-gitea#32763) Refactor issue list (go-gitea#32755) Fix compare page bug view as anonymous (go-gitea#32754) Split issue/pull view router function as multiple smaller functions (go-gitea#32749) fix: render job title as commit message (go-gitea#32748) Fix typescript errors in Vue files, fix regression in "Recent Commits" chart (go-gitea#32649) Refactor LabelEdit (go-gitea#32752) [skip ci] Updated translations via Crowdin fix(project): add title to project view page (go-gitea#32747) [skip ci] Updated translations via Crowdin Fix case of .tsbuildinfo in .gitignore (go-gitea#32737) Support "merge upstream branch" (Sync fork) (go-gitea#32741) Update changelog to add missed changelog (go-gitea#32734) GitHub like repo home page (go-gitea#32213) Refactor markdown render (go-gitea#32736) Make wiki pages visit fast (go-gitea#32732) Refactor markdown render (go-gitea#32728) Refactor RepoActionView.vue, add `::group::` support (go-gitea#32713)






Replace #27931
Laptop View:



Mobile View:
Small Laptop view:

TODO: (in other PRs, we can improve it one by one)
why: the original PR of the implement of contributors does not contain a usable function to fetch the top contributors