Skip to content

GitHub like repo home page #27931

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

Closed
wants to merge 41 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
35d21b2
first change
yp05327 Nov 6, 2023
e688cfd
fix 500 error in empty repo
yp05327 Nov 6, 2023
f1f0647
Update templates/repo/sidebar/repo_info.tmpl
yp05327 Nov 7, 2023
7b27f1f
fix conflicts come from #27925
yp05327 Nov 7, 2023
b75bffb
Merge branch 'main' into new-repo-home-page
yp05327 Nov 7, 2023
bc67a30
improve latest release
yp05327 Nov 7, 2023
78e36e0
improve readme
yp05327 Nov 7, 2023
fa92277
fix conflicts come from #27924
yp05327 Nov 8, 2023
eb6c8d5
Merge branch 'main' into new-repo-home-page
yp05327 Nov 8, 2023
9281a58
move language bar to sidebar
yp05327 Nov 8, 2023
99a45f9
fix citation error #27958
yp05327 Nov 8, 2023
a63947a
move citation to sidebar
yp05327 Nov 8, 2023
4918668
improve
yp05327 Nov 8, 2023
ff05ac9
remove whitespace
yp05327 Nov 8, 2023
765a59c
improve UI
yp05327 Nov 9, 2023
ab22d31
fix 500 error when get latest release
yp05327 Nov 9, 2023
a1caf2c
improve mobile view
yp05327 Nov 9, 2023
1379c7d
fix repo search box
yp05327 Nov 29, 2023
39e6cae
fix manage topic button
yp05327 Nov 29, 2023
6707a7b
improve citation modal
yp05327 Nov 29, 2023
ebb5060
fix lint
yp05327 Nov 29, 2023
e034793
improve release tag
yp05327 Nov 29, 2023
88683cc
improve repo-clone-url
yp05327 Nov 29, 2023
3e40bba
fix search box
yp05327 Dec 4, 2023
fd91e9f
improve
yp05327 Dec 4, 2023
c5c7099
Merge branch 'main' into new-repo-home-page
yp05327 Dec 6, 2023
258479e
fix test
yp05327 Dec 7, 2023
c1b8c74
Merge branch 'main' into new-repo-home-page
yp05327 Feb 15, 2024
7511964
Merge branch 'main' into new-repo-home-page
yp05327 Feb 16, 2024
c740c9a
add `s` to repo_lang
yp05327 Feb 16, 2024
4eec664
draft add contributors
yp05327 Feb 16, 2024
7f781c3
Merge remote-tracking branch 'upstream/main' into new-repo-home-page
yp05327 Mar 11, 2024
f1e9ec6
fix lint
yp05327 Mar 13, 2024
941f42e
Merge branch 'main' into new-repo-home-page
yp05327 Mar 26, 2024
148bc0e
migrate gt to tw
yp05327 Mar 26, 2024
73190db
fix search locale
yp05327 Mar 26, 2024
e008986
avoid 500 error when generating contributorstats
yp05327 Mar 27, 2024
6e0e3d0
remove contributor stats
yp05327 Mar 27, 2024
16f84b9
fix cite
yp05327 Mar 27, 2024
d213cf9
improve
yp05327 Mar 27, 2024
6567bf8
fix lint
yp05327 Mar 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix lint
  • Loading branch information
yp05327 committed Mar 13, 2024
commit f1e9ec65df202a2627a861e2ec91d8bf591ee990
2 changes: 1 addition & 1 deletion services/context/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ func RepoAssignment(ctx *Context) context.CancelFunc {
ctx.ServerError("GetReleaseCountByRepoID", err)
return nil
}
numReleases, err := db.Count[repo_model.Release](ctx, repo_model.FindReleasesOptions{
numReleases, err := db.Count[repo_model.Release](ctx, repo_model.FindReleasesOptions{
// only show draft releases for users who can write, read-only users shouldn't see draft releases.
IncludeDrafts: ctx.Repo.CanWrite(unit_model.TypeReleases),
RepoID: ctx.Repo.Repository.ID,
Expand Down